Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] SPARQL endpoint federated query

Madani,Sina AHMadani at mdanderson.org
Wed Aug 6 08:55:54 PDT 2014


Hi,
We are trying to troubleshoot our updated SPARQL app that supposed to do federated query.
Should below same query (from NCBO document) work in our environment (querying your endpoint) with my APIkey ? (user: sina)
We are getting this error

Executing query failed: Error during SPARQL execution: 'Remote server returned error code 403.


http://www.bioontology.org/wiki/index.php/SPARQL_BioPortal


PREFIX map: <http://protege.stanford.edu/ontologies/mappings/mappings.rdfs#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT DISTINCT ?mappedParent WHERE {
    SERVICE <http://sparql.bioontology.org/mappings/sparql/?apikey=YOUR API KEY HERE> {
        ?mapping map:target <http://purl.bioontology.org/ontology/CSP/0468-5952> .
        ?mapping map:source ?source .
    }
    SERVICE <http://sparql.bioontology.org/ontologies/sparql/?apikey=YOUR API KEY HERE> {
        ?source rdfs:subClassOf ?mappedParent .
    }
}


Thanks!
Sina




--------------------
Sina Madani, MD, PhD
MD Anderson Cancer Center
Clinical Analytics & Informatics
Phone: 713-583-1803


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20140806/b53727b7/attachment.html>


More information about the bioontology-support mailing list