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).


------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to