Query Service: Difference between revisions

From Swedish Museum
No edit summary
No edit summary
Line 1: Line 1:
 
<sparql tryit="1">
PREFIX wd: <https://swedishmuseum.wikibase.cloud/entity/>
PREFIX wd: <https://swedishmuseum.wikibase.cloud/entity/>
PREFIX wdt: <https://swedishmuseum.wikibase.cloud/prop/direct/>
PREFIX wdt: <https://swedishmuseum.wikibase.cloud/prop/direct/>
Line 10: Line 10:
}
}
LIMIT 100
LIMIT 100
</sparql>

Revision as of 22:12, 21 November 2023

PREFIX wd: <https://swedishmuseum.wikibase.cloud/entity/>
PREFIX wdt: <https://swedishmuseum.wikibase.cloud/prop/direct/>

SELECT ?konstverk ?konstverkLabel ?geografiska_koordinater
WHERE {
  ?konstverk wdt:P3 wd:Q9 .
  ?konstverk wdt:P17 ?geografiska_koordinater .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "sv" . }
}
LIMIT 100

Try it!