Exact matching of strings in SPARQL?
Posted
by Taz
on Stack Overflow
See other posts from Stack Overflow
or by Taz
Published on 2010-04-07T10:47:03Z
Indexed on
2010/04/07
11:23 UTC
Read the original article
Hit count: 458
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.
}
© Stack Overflow or respective owner