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)