# Task 2 - find all the people and their names BASE PREFIX rdf: PREFIX foaf: SELECT ?person ?name FROM NAMED FROM NAMED FROM NAMED FROM NAMED FROM NAMED WHERE { GRAPH ?g { ?person rdf:type foaf:Person; foaf:name ?name } . }