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

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

PrefixNamespace IRI
n18http://docs.openlinksw.com/virtuoso/sparqlextensions.html#
dctermshttp://purl.org/dc/terms/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n13http://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/
n8http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n21http://docs.openlinksw.com/virtuoso/rdfsparql.html#
n12http://rdfs.org/sioc/services#
siocthttp://rdfs.org/sioc/types#
n20http://docs.openlinksw.com/virtuoso/functions.
n10http://vos.openlinksw.com/dataspace/person/dav#
n16http://www.w3.org/TR/rdf-sparql-query/#
n5http://vos.openlinksw.com/dataspace/owiki/wiki/
n22http://docs.openlinksw.com/virtuoso/sparqlextensions.
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n19http://vos.openlinksw.com/dataspace/owiki#
n7http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtTipsAndTricksGuideCustomSPARQLExtensionFunction/sioc.
xsdhhttp://www.w3.org/2001/XMLSchema#
n23http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n10:this
foaf:made
n2:VirtTipsAndTricksGuideCustomSPARQLExtensionFunction
Subject Item
n8:this
sioc:creator_of
n2:VirtTipsAndTricksGuideCustomSPARQLExtensionFunction
Subject Item
n13:item
n12:services_of
n2:VirtTipsAndTricksGuideCustomSPARQLExtensionFunction
Subject Item
n19:this
sioc:creator_of
n2:VirtTipsAndTricksGuideCustomSPARQLExtensionFunction
Subject Item
n5:VOS
sioc:container_of
n2:VirtTipsAndTricksGuideCustomSPARQLExtensionFunction
atom:entry
n2:VirtTipsAndTricksGuideCustomSPARQLExtensionFunction
atom:contains
n2:VirtTipsAndTricksGuideCustomSPARQLExtensionFunction
Subject Item
n2:VirtTipsAndTricksGuideCustomSPARQLExtensionFunction
rdf:type
atom:Entry sioct:Comment
dcterms:created
2017-06-13T05:46:20.510933
dcterms:modified
2017-06-13T05:46:20.510933
rdfs:label
VirtTipsAndTricksGuideCustomSPARQLExtensionFunction
foaf:maker
n10:this n23:this
dc:title
VirtTipsAndTricksGuideCustomSPARQLExtensionFunction
opl:isDescribedUsing
n7:rdf
sioc:has_creator
n8:this n19:this
sioc:content
%META:TOPICPARENT{name="VirtTipsAndTricksGuide"}% ---+ Are custom SPARQL extension functions supported? How can I use them? Virtuoso supports two ways to write one's own custom [[http://www.w3.org/TR/rdf-sparql-query/#extensionFunctions][SPARQL extension functions]]: %TOC% ---++ Use a Stored Procedure You can create a SQL stored procedure in Virtuoso PL and, call it using the <code><b>sql:</b></code> prefix: <verbatim> SQL> CREATE PROCEDURE testfunc() { -- your code here } ; Done; SQL> SPARQL SELECT * WHERE { ?s ?p `sql:testfunc(?o)` }; </verbatim> For more details see [[http://docs.openlinksw.com/virtuoso/rdfsparql.html#rdfsqlfromsparql][Calling SQL from SPARQL]] Virtuoso Documentation. ---++ Create a built-in function You can also make a built-in function, which is basically a <code>C</code> function that can be called from both SQL and SPARQL, as in the example from below, using the <code><b>bif:</b></code> prefix. In this SPARQL example, we use the <code>CONTAINS</code> function to do a freetext search on all <code>?o</code> that contain words starting with <code>"Timo"</code>. <verbatim> SELECT * FROM <http://www.w3.org/people#> WHERE { ?s ?p ?o . ?o bif:contains '"Timo*"' } </verbatim> For more details see [[http://docs.openlinksw.com/virtuoso/sparqlextensions.html#rdfsparqlrulefulltext][Using Full Text Search in SPARQL]] Virtuoso Documentation. This feature also allows you to use relevant functions from the [[http://docs.openlinksw.com/virtuoso/functions.html][Virtuoso SQL Functions Guide]] inside a SPARQL query. ---++ Related * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[http://docs.openlinksw.com/virtuoso/sparqlextensions.html][Virtuoso Documentation]]
sioc:id
bd58927ed48a87e1d39830f80ee08a2d
sioc:link
n2:VirtTipsAndTricksGuideCustomSPARQLExtensionFunction
sioc:has_container
n5:VOS
n12:has_services
n13:item
atom:title
VirtTipsAndTricksGuideCustomSPARQLExtensionFunction
sioc:links_to
n16:extensionFunctions n18:rdfsparqlrulefulltext n20:html n21:rdfsqlfromsparql n22:html
atom:source
n5:VOS
atom:author
n10:this
atom:published
2017-06-13T05:46:20Z
atom:updated
2017-06-13T05:46:20Z
sioc:topic
n5:VOS