Good morning. If we consider this query SPARQL, for example:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT DISTINCT ?name
WHERE {
?x rdf:type foaf:Person .
?x foaf:name ?name
}
ORDER BY ?name
The query is taken from this link
My question is: it does not have any FROM CLAUSE. So how can it query the dataset? Finally, must I set a FROM CLAUSE when I have to do a SPARQL query?