To make a SPARQL Query, you can use
These are both generic endpoints where you can run SPARQL queries. Each endpoint provides a form where we can input a query, and the results are returned (as HTML).
Using sparql.org, paste this into the large box:
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
?person foaf:name ?name .
and this into the Target graph