Reputation: 51
SELECT ?pt ?vl
WHERE {<http://dbpedia.org/resource/Havana_Storm> ?pt ?vl.}
My query will return list of property-value pairs of this book; but with the "abstract" property, I only want to take English language. How can I do it?
Upvotes: 2
Views: 1122
Reputation: 3551
This filters all values to the English language.
SELECT ?pt ?vl
WHERE {
<http://dbpedia.org/resource/Havana_Storm> ?pt ?vl.
FILTER(LANG(?vl) = "en")
}
Upvotes: 1