Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PREFIX dbo: <http://dbpedia.org/ontology/>
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
- PREFIX owl: <http://www.w3.org/2002/07/owl#>
- PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
- PREFIX schema: <http://schema.org/>
- SELECT ?subject ?label ?sameAs WHERE {
- SERVICE <http://dbpedia.org/sparql> {
- ?subject rdf:type dbo:Museum .
- ?subject owl:sameAs ?sameAs .
- ?sameAs schema:description ?label .
- FILTER (REGEX(STR(?sameAs), "wikidata.org", "i") && LANGMATCHES(LANG(?label), "EN"))
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement