Hi!
Is there any way to search for numbers using bif:contains?
regex takes too long:
SELECT DISTINCT ?s ?date FROM <http://dbpedia.org> WHERE { ?s ?p ?date .
FILTER regex(?date, "^1945")}LIMIT 10
but bif:contains doesn't seem to work:
SELECT DISTINCT ?s ?date FROM <http://dbpedia.org> WHERE { ?s ?p ?
date .FILTER( bif:contains(?date, 1945 ) && ( str(?p) != rdfs:label
))}LIMIT 30
Thanks!!
Vanessa.
--
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity
in England & Wales and a charity registered in Scotland (SC 038302).