Re: [Virtuoso-users] Get a exact mapping for a date

2011-02-24 Thread Ivan Mikhailov
Hello Vanessa, An integer 1950 or date 1950-01-01 are not texts, so they're not in free-text index and thus invisible for CONTAINS free-text predicate. A possible way to make them visible that way is to introduce an additional RDF predicate that will contain objects of the "interesting" triples c

[Virtuoso-users] Get a exact mapping for a date

2011-02-24 Thread Vanessa Lopez
Hi all! I wonder how can I get an exact mapping for the literal "1950" using the following sparql query with bif:contains: WHY I CAN'T GET THE EXACT MAPPINGS FOR "1950" SELECT DISTINCT ?s ?o FROM WHERE {?s ?p ? o.FILTER( (?o, '"1950"') && isLiteral(?o) && ( str(?p) ! =