Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT ?auth ?authLabel ?desc ?linkPattern ?countryLabel ?remoteID WHERE {
- ?auth wdt:P31 wd:Q19595382; # Properties of type "person authority"
- schema:description ?desc; # Plain-english description
- wdt:P1630 ?linkPattern . # Link pattern
- OPTIONAL { ?auth wdt:P17 ?country. } # Country of origin, if you have it
- FILTER((LANG(?desc)) = "en")
- SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
- }
- SELECT ?auth ?authLabel ?desc ?linkPattern ?countryLabel ?remoteID WHERE {
- ?auth wdt:P31 wd:Q19595382;
- schema:description ?desc;
- wdt:P1630 ?linkPattern .
- wd:Q5145349 ?auth ?remoteID . # <-- Authority record property must appear in person Q5145349 (Colin McCahon)
- OPTIONAL { ?auth wdt:P17 ?country. }
- FILTER((LANG(?desc)) = "en")
- SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement