query-59fed2df01b6f96300c2df94a29ac809
SELECT DISTINCT ?work ?inventory_number ?image ?inception ?instance_of ?instance_ofLabel ?collection ?collectionLabel ?creator ?creatorLabel ?idurl WHERE { SELECT DISTINCT ?work ?workLabel ?inventory_number ?idurl WHERE { ?work wdt:P195 wd:Q1948674. SERVICE wikibase:label { bd:serviceParam wikibase:language "nl". } OPTIONAL { ?work wdt:P217 ?inventory_number. } OPTIONAL { ?work wdt:P18 ?image. } OPTIONAL { ?work wdt:P571 ?inception. } OPTIONAL { ?work wdt:P31 ?instance_of. } OPTIONAL { ?work wdt:P195 ?collection. } OPTIONAL { ?work wdt:P170 ?creator. } OPTIONAL { ?work ?identifierproperty ?identifier . ?property wikibase:directClaim ?identifierproperty . ?property wikibase:propertyType wikibase:ExternalId . ?property wdt:P1630 ?formatterurl . BIND(IRI(REPLACE(?identifier, '^(.+)$', ?formatterurl)) AS ?idurl). }
} ORDER BY ?work
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#SELECT DISTINCT ?work ?inventory_number ?image ?inception ?instance_of ?instance_ofLabel ?collection ?collectionLabel ?creator ?creatorLabel ?idurl WHERE {
SELECT DISTINCT ?work ?workLabel ?inventory_number ?idurl WHERE {
?work wdt:P195 wd:Q1948674.
SERVICE wikibase:label { bd:serviceParam wikibase:language "nl". }
OPTIONAL { ?work wdt:P217 ?inventory_number. }
OPTIONAL { ?work wdt:P18 ?image. }
OPTIONAL { ?work wdt:P571 ?inception. }
OPTIONAL { ?work wdt:P31 ?instance_of. }
OPTIONAL { ?work wdt:P195 ?collection. }
OPTIONAL { ?work wdt:P170 ?creator. }
OPTIONAL {
?work ?identifierproperty ?identifier .
?property wikibase:directClaim ?identifierproperty .
?property wikibase:propertyType wikibase:ExternalId .
?property wdt:P1630 ?formatterurl .
BIND(IRI(REPLACE(?identifier, '^(.+)$', ?formatterurl)) AS ?idurl).
}
} ORDER BY ?work