Translations:Tutorial/59/en
WHERE { ... }:Describes the structure and conditions of the query:
?person wdt:P1 wd:Q2: selects items that are human beings (P1 = item type, Q2 = person).wdt:P3 ?lastName: associates the last name with the variable?lastName(P3).wdt:P2 ?firstName: associates the first name with the variable?firstName(P2).