I uploaded the mesh ontology in fuseki,
but when I try with the query the sample queries recommended in their
documentation:
https://hhs.github.io/meshrdf/sample-queries

I get no results.

For instance:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX meshv: <http://id.nlm.nih.gov/mesh/vocab#>
PREFIX mesh: <http://id.nlm.nih.gov/mesh/>
PREFIX mesh2015: <http://id.nlm.nih.gov/mesh/2015/>
PREFIX mesh2016: <http://id.nlm.nih.gov/mesh/2016/>
PREFIX mesh2017: <http://id.nlm.nih.gov/mesh/2017/>
SELECT DISTINCT ?p
FROM <http://id.nlm.nih.gov/mesh>
WHERE {
?s ?p ?o
}
ORDER BY ?p

It gives me no results, but when I comment out the line with the FROM
clause, I get some results.

I assume the data with namespace meshv is in the default graph, and the
other data is in a specific named graph, but I am not sure how I have to
write the query to get the data in the named graphs.

Thanks in advanced


Luis Ramos

Reply via email to