Not logged in : Login
(Sponging disallowed)

About: VirtTipsAndTricksGuideSPARQLNOTEXISTS     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : atom:Entry, within Data Space : www.openlinksw.com associated with source document(s)
QRcode icon
http://www.openlinksw.com/describe/?url=http%3A%2F%2Fwww.openlinksw.com%2Fdataspace%2Fdav%2Fwiki%2FMain%2FVirtTipsAndTricksGuideSPARQLNOTEXISTS

AttributesValues
has container
Date Created
maker
topic
described by
seeAlso
Date Modified
link
id
  • 14488c12c502df809a44beab4f6211fe
content
  • %META:TOPICPARENT{name="VirtTipsAndTricksSPARQL11FeaturesExamplesCollection"}% ---+ Virtuoso SPARQL 1.1. NOT EXISTS and MINUS ---++What? This guide contains example queries using SPARQL 1.1 <code>NOT EXISTS</code> and <code>MINUS</code>, which you should be able to run against any SPARQL 1.1 endpoint. ---++Why? <code>NOT EXISTS</code> and <code>MINUS</code> offer flexible ways to check for the absence of a given pattern, or to exclude possible solutions from the result set. ---++How? Here are some examples showcasing Virtuoso's support for this functionality: ---+++NOT EXISTS <verbatim> SELECT COUNT(*) WHERE { ?s ?p "Novosibirsk" FILTER NOT EXISTS { ?s ?p "???????????" } } </verbatim> * [[http://bit.ly/WCQsvi][View the SPARQL Query Definition via SPARQL Protocol URL]] * [[http://bit.ly/16GYhmC][View the SPARQL Query Results via SPARQL Protocol URL]] ---+++MINUS <verbatim> SELECT COUNT(*) WHERE { { ?s ?p "Novosibirsk" } MINUS { ?s ?p "???????????" } } </verbatim> * [[http://bit.ly/XZTlID][View the SPARQL Query Definition via SPARQL Protocol URL]] * [[http://bit.ly/ZH6VfM][View the SPARQL Query Results via SPARQL Protocol URL]] ---++Related * [[http://www.w3.org/TR/sparql11-query/#neg-notexists-minus][SPARQL 1.1. -- Relationship and differences between NOT EXISTS and MINUS]] * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[VirtTipsAndTricksSPARQL11FeaturesExamplesCollection][Virtuoso SPARQL 1.1 Usage Examples Collection]] * [[http://virtuoso.openlinksw.com/tutorials/sparql/SPARQL_Tutorials_Part_9/SPARQL_Tutorials_Part_9.html][Virtuoso SPARQL 1.1 Syntax Tutorial]]
Title
  • VirtTipsAndTricksGuideSPARQLNOTEXISTS
has creator
is described using
atom:source
atom:updated
  • 2014-04-04T12:00:41Z
atom:title
  • VirtTipsAndTricksGuideSPARQLNOTEXISTS
links to
atom:author
label
  • VirtTipsAndTricksGuideSPARQLNOTEXISTS
topic
atom:published
  • 2011-11-14T14:48:07Z
type
is topic of
is interest of
Faceted Search & Find service v1.17_git122 as of Jan 03 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.3330 as of Apr 5 2024, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (30 GB total memory, 26 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software