Translations:Project:SPARQL/examples/74/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)
WHERE {
  ?person wdt:P1 wd:Q2 .                  # Selects all persons (P1 = Q2)
  ?person  wdt:P3 ?surname .              # Retrieves the surname (P3)
  ?person  wdt:P2 ?firstName .            # Retrieves the first name (P2)

WHERE {

 ?person wdt:P1 wd:Q2 .                  # Selects all persons (P1 = Q2)
 ?person  wdt:P3 ?surname .              # Retrieves the surname (P3)
 ?person  wdt:P2 ?firstName .            # Retrieves the first name (P2)