Exact matching of strings in SPARQL?
- by Taz
I have this query. It match anything which has "South in its Name". But I only want the one whose foaf:name exactly matches "South"
SELECT Distinct ?TypeLabel
Where
{
?a foaf:name "South".
?a rdf:type ?Type.
?Type rdfs:label ?TypeLabel.
}