PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX allie: <http://purl.org/allie/ontology/201108#> PREFIX mesh: <http://id.nlm.nih.gov/mesh/>
xxxxxxxxxx
SELECT DISTINCT ?namedgraph ?label
WHERE {
GRAPH ?namedgraph { ?s ?p ?o }
OPTIONAL { ?namedgraph rdfs:label ?label }
}
ORDER BY ?namedgraph