This HTML5 document contains 29 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/
n17http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
dchttp://purl.org/dc/elements/1.1/
n11http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtSPARQLSubQuery/sioc.
n4http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n16http://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#
n8http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n18http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n6:this
foaf:made
n2:VirtSPARQLSubQuery
Subject Item
n4:this
sioc:creator_of
n2:VirtSPARQLSubQuery
Subject Item
n17:item
n16:services_of
n2:VirtSPARQLSubQuery
Subject Item
n8:this
sioc:creator_of
n2:VirtSPARQLSubQuery
Subject Item
n9:VOS
sioc:container_of
n2:VirtSPARQLSubQuery
atom:entry
n2:VirtSPARQLSubQuery
atom:contains
n2:VirtSPARQLSubQuery
Subject Item
n2:VirtSPARQLSubQuery
rdf:type
atom:Entry sioct:Comment
dcterms:created
2017-06-13T05:48:42.340908
dcterms:modified
2017-06-13T05:48:42.340908
rdfs:label
VirtSPARQLSubQuery
foaf:maker
n6:this n18:this
dc:title
VirtSPARQLSubQuery
opl:isDescribedUsing
n11:rdf
sioc:has_creator
n4:this n8:this
sioc:content
%META:TOPICPARENT{name="VirtTipsAndTricksGuide"}% ---+How can I use sub-queries to enable literal value based joins? ---++What? Use of SPARQL sub-queries to enable the dynamic generation of literal values for SPO triple objects. ---++Why? Sophisticated access to literal values via sub-queries provides a powerful mechanism for enhancing SPARQL graph patterns via dynamic literal value generation. ---++How? Use select list variables from sub-queries to produce literal object values in SPARQL graph patterns as demonstrated in the example below. ---+++Example Assume the following query in which for <code>?app</code> there is only exactly one resource which has this identifier: <verbatim> SELECT DISTINCT ?r WHERE { graph ?g { ?r nie:url ?url . } . ?g nao:maintainedBy ?app . ?app nao:identifier "nepomukindexer" . } </verbatim> If one is not sure that <code>?app</code> is the only identifier (e.g., if triple <code>?app nao:identifier "nepomukindexer"</code> can appear in more than one graph), then the query can be rewritten to: <verbatim> SELECT DISTINCT ?r WHERE { graph ?g { ?r nie:url ?url . } . ?g nao:maintainedBy ?app . FILTER (?app = (SELECT ?a WHERE { ?a nao:identifier "nepomukindexer" })) } </verbatim> or even simpler: <verbatim> SELECT DISTINCT ?r WHERE { graph ?g { ?r nie:url ?url . } . ?g nao:maintainedBy `(SELECT ?a WHERE { ?a nao:identifier "nepomukindexer" })` . } </verbatim> ---+++Related * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]]
sioc:id
920636110876bb3eda7eb466949e524a
sioc:link
n2:VirtSPARQLSubQuery
sioc:has_container
n9:VOS
n16:has_services
n17:item
atom:title
VirtSPARQLSubQuery
atom:source
n9:VOS
atom:author
n6:this
atom:published
2017-06-13T05:48:42Z
atom:updated
2017-06-13T05:48:42Z
sioc:topic
n9:VOS