Translations:Project:SPARQL/examples/66/en
OPTIONAL { ?person wdt:P7 ?residence. } # Retrieves the residence if available (P7)
OPTIONAL { ?person p:P34 ?archive_statement . ?archive_statement ps:P34 ?archiveCollection ; pq:P35 ?inventoryNo.} # Reference to the archives SERVICE wikibase:label { bd:serviceParam wikibase:language "en,[AUTO_LANGUAGE]". } # Retrieves the labels in English
}