I am trying to do some searches and understanding SPARQL queries. I want to Restrict the query to include only bindings to ?capital that have a rdfs:label
relation with the English language literals "Amsterdam" or "Berlin". How can i do do this?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbpedia: <http://dbpedia.org/resource/>
SELECT DISTINCT ?capital ?area
WHERE {
?country dbo:capital ?capital.
?capital dbo:areaTotal ?area .
}