This HTML5 document contains 30 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
dctermshttp://purl.org/dc/terms/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n11http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
n19http://docs.openlinksw.com/virtuoso/rdfsparql.
n17http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtTipsAndTricksGuideCustomExactDate/sioc.
dchttp://purl.org/dc/elements/1.1/
n5http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n10http://rdfs.org/sioc/services#
siocthttp://rdfs.org/sioc/types#
n6http://vos.openlinksw.com/dataspace/person/dav#
n9http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n15http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n13http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n6:this
foaf:made
n2:VirtTipsAndTricksGuideCustomExactDate
Subject Item
n5:this
sioc:creator_of
n2:VirtTipsAndTricksGuideCustomExactDate
Subject Item
n11:item
n10:services_of
n2:VirtTipsAndTricksGuideCustomExactDate
Subject Item
n15:this
sioc:creator_of
n2:VirtTipsAndTricksGuideCustomExactDate
Subject Item
n9:VOS
sioc:container_of
n2:VirtTipsAndTricksGuideCustomExactDate
atom:entry
n2:VirtTipsAndTricksGuideCustomExactDate
atom:contains
n2:VirtTipsAndTricksGuideCustomExactDate
Subject Item
n2:VirtTipsAndTricksGuideCustomExactDate
rdf:type
atom:Entry sioct:Comment
dcterms:created
2017-06-13T05:49:32.944762
dcterms:modified
2017-06-13T05:49:32.944762
rdfs:label
VirtTipsAndTricksGuideCustomExactDate
foaf:maker
n6:this n13:this
dc:title
VirtTipsAndTricksGuideCustomExactDate
opl:isDescribedUsing
n17:rdf
sioc:has_creator
n5:this n15:this
sioc:content
%META:TOPICPARENT{name="VirtTipsAndTricksGuide"}% ---+How Can I Get an exact mapping for a date? Assume a given attempts to get an exact mapping for the literal "1950" using <b>bif:contains</b>: <verbatim> SPARQL SELECT DISTINCT ?s ?o FROM <http://dbpedia.org> WHERE { ?s ?p ?o . FILTER( bif:contains (?o, '"1950"') &amp;&amp; isLiteral(?o) &amp;&amp; ( str(?p) ! = rdfs:label || str(?p) != foaf:name &amp;&amp; ( ?o='1950') ) } </verbatim> As an <b>integer</b> 1950 or <b>date</b> 1950-01-01 are not texts, they are 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 triples in question, converted to strings via str() function. Thus better results will be approached: if searches about dates are frequent then a new predicate can have date/datetime values extracted from texts, eliminating the need for bif:contains. Therefor, the query from above should be changed to: <verbatim> SPARQL SELECT DISTINCT ?s ?o FROM <http://dbpedia.org> WHERE { ?s ?p ?o . FILTER ( isLiteral(?o) &amp;&amp; ( str(?p) != str(rdfs:label) || str(?p) != foaf:name ) &amp;&amp; str(?o) in ("1950", "1950-01-01")) } </verbatim> ---+++Related * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[http://docs.openlinksw.com/virtuoso/rdfsparql.html][SPARQL]]
sioc:id
04d0ed989d3bb960892130e44cc0c594
sioc:link
n2:VirtTipsAndTricksGuideCustomExactDate
sioc:has_container
n9:VOS
n10:has_services
n11:item
atom:title
VirtTipsAndTricksGuideCustomExactDate
sioc:links_to
n19:html
atom:source
n9:VOS
atom:author
n6:this
atom:published
2017-06-13T05:49:32Z
atom:updated
2017-06-13T05:49:32Z
sioc:topic
n9:VOS