Translations:Project:SPARQL/examples/66/en: Difference between revisions

From Resistance in Belgium
(Importing a new version from external source)
 
(No difference)

Latest revision as of 18:26, 15 October 2024

Message definition (Project:SPARQL/examples)
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
}

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

}