Not logged in : Login

About: VirtTipsAndTricksSPARQLEscapeQuotesInEntity     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : atom:Entry, within Data Space : ods.openlinksw.com associated with source document(s)

AttributesValues
type
Date Created
Date Modified
label
  • VirtTipsAndTricksSPARQLEscapeQuotesInEntity
maker
Title
  • VirtTipsAndTricksSPARQLEscapeQuotesInEntity
isDescribedUsing
has creator
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: SQL> SPARQL INSERT INTO GRAPH { `iri (bif:concat ('http://dbpedia.org/resource/Raiders_of_the_', '"Lost"', '_Car_Park'))` a `iri ( )` . `iri (bif:concat ('http://dbpedia.org/resource/Raiders_of_the_', '"Found"', '_Car_Park'))` a `iri ( )` . }; Done. -- 78 msec. 1 Find triple(s) with entity name <http://dbpedia.org/resource/Raiders_of_the_"Lost"_Car_Park> by using the iri function: SQL> SPARQL SELECT * FROM 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. ---++Related * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[http://docs.openlinksw.com/virtuoso/rdfsparql.html][Virtuoso Documentation]]
id
  • 7afacc4b3c08097fbd452d6bae1cd615
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtTipsAndTricksSPARQLEscapeQuotesInEntity
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:48:41Z
atom:updated
  • 2017-06-13T05:48:41Z
topic
is made of
is container of of
is link of
is http://rdfs.org/si...vices#services_of of
is creator of of
is atom:entry of
is atom:contains of
Faceted Search & Find service v1.17_git132 as of May 12 2023


Alternative Linked Data Documents: iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3332 as of Sep 11 2024, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (15 GB total memory, 2 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software