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/
n6http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n4http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
n16http://docs.openlinksw.com/virtuoso/rdfsparql.
dchttp://purl.org/dc/elements/1.1/
n13http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n5http://rdfs.org/sioc/services#
siocthttp://rdfs.org/sioc/types#
n9http://vos.openlinksw.com/dataspace/person/dav#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/
n11http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtTipsAndTricksSPARQLEscapeQuotesInEntity/sioc.
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n14http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n12http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n9:this
foaf:made
n4:VirtTipsAndTricksSPARQLEscapeQuotesInEntity
Subject Item
n13:this
sioc:creator_of
n4:VirtTipsAndTricksSPARQLEscapeQuotesInEntity
Subject Item
n6:item
n5:services_of
n4:VirtTipsAndTricksSPARQLEscapeQuotesInEntity
Subject Item
n14:this
sioc:creator_of
n4:VirtTipsAndTricksSPARQLEscapeQuotesInEntity
Subject Item
n2:VOS
sioc:container_of
n4:VirtTipsAndTricksSPARQLEscapeQuotesInEntity
atom:entry
n4:VirtTipsAndTricksSPARQLEscapeQuotesInEntity
atom:contains
n4:VirtTipsAndTricksSPARQLEscapeQuotesInEntity
Subject Item
n4:VirtTipsAndTricksSPARQLEscapeQuotesInEntity
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:48:41.064842
dcterms:modified
2017-06-13T05:48:41.064842
rdfs:label
VirtTipsAndTricksSPARQLEscapeQuotesInEntity
foaf:maker
n9:this n12:this
dc:title
VirtTipsAndTricksSPARQLEscapeQuotesInEntity
opl:isDescribedUsing
n11:rdf
sioc:has_creator
n13:this n14:this
sioc:content
%META:TOPICPARENT{name="VirtTipsAndTricksGuide"}% ---+Example of Handling Double Quotes in SPARQL Query Entity Name Subject ---++What? Escape double quotes in entity name. ---++Why? If double quotes are not escaped properly, a syntax error will be presented. ---++How? Here is sample scenario: 1 Load sample data: <verbatim> SQL> SPARQL INSERT INTO GRAPH <http://mygraph.com> { `iri (bif:concat ('http://dbpedia.org/resource/Raiders_of_the_', '"Lost"', '_Car_Park'))` a `iri (<http://dbpedia.org/class/yago/1994Novels> )` . `iri (bif:concat ('http://dbpedia.org/resource/Raiders_of_the_', '"Found"', '_Car_Park'))` a `iri (<http://dbpedia.org/class/yago/1995Novels> )` . }; Done. -- 78 msec. </verbatim> 1 Find triple(s) with entity name <b> &lt;<nowiki>http://dbpedia.org/resource/Raiders_of_the_"Lost"_Car_Park</nowiki>&gt; </b> by using the <code>iri</code> function: <verbatim> SQL> SPARQL SELECT * FROM <http://mygraph.com> WHERE { {`iri('http://dbpedia.org/resource/Raiders_of_the_"Lost"_Car_Park')` ?a ?b} }; a b VARCHAR VARCHAR _______________________________________________________________________________ http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/class/yago/1994Novels 1 Rows. -- 47 msec. </verbatim> ---++Related * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[http://docs.openlinksw.com/virtuoso/rdfsparql.html][Virtuoso Documentation]]
sioc:id
7afacc4b3c08097fbd452d6bae1cd615
sioc:link
n4:VirtTipsAndTricksSPARQLEscapeQuotesInEntity
sioc:has_container
n2:VOS
n5:has_services
n6:item
atom:title
VirtTipsAndTricksSPARQLEscapeQuotesInEntity
sioc:links_to
n16:html
atom:source
n2:VOS
atom:author
n9:this
atom:published
2017-06-13T05:48:41Z
atom:updated
2017-06-13T05:48:41Z
sioc:topic
n2:VOS