SELECT ?givenName WHERE { ?y "Smith" . ?y ?givenName . }