Not logged in : Login

About: VirtTipsAndTricksGuideSPARQLMINUS     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
  • VirtTipsAndTricksGuideSPARQLMINUS
maker
Title
  • VirtTipsAndTricksGuideSPARQLMINUS
isDescribedUsing
has creator
content
  • %META:TOPICPARENT{name="VirtTipsAndTricksGuide"}% ---+ How Do I use MINUS in a SPARQL query? Virtuoso supports the <code>MINUS</code> function of SPARQL 1.1, as shown below -- <verbatim> SQL> SPARQL SELECT COUNT(*) WHERE { { ?s ?p "Novosibirsk" } MINUS { ?s ?p "???????????" } } callret-0 INTEGER 313 No. of rows in result: 1 </verbatim> [[http://lod.openlinksw.com/sparql?default-graph-uri=&query=SELECT+COUNT%28*%29+%0D%0AWHERE+%0D%0A++%7B+%0D%0A++++%7B+%3Fs+%3Fp+%22Novosibirsk%22+%7D+MINUS+%7B+%3Fs+%3Fp+%22%D0%9D%D0%BE%D0%B2%D0%BE%D1%81%D0%B8%D0%B1%D0%B8%D1%80%D1%81%D0%BA%22+%7D%0D%0A++%7D&should-sponge=&format=text%2Fhtml&CXML_redir_for_subjs=121&CXML_redir_for_hrefs=&timeout=15000&debug=on][View the results]] of the query execution on the [[http://lod.openlinksw.com][LOD]] instance. This query is equivalent to the following query, also conforming to SPARQL 1.1 -- <verbatim> SQL> SPARQL SELECT COUNT(*) WHERE { ?s ?p "Novosibirsk" FILTER NOT EXISTS { ?s ?p "???????????" } } callret-0 INTEGER 313 No. of rows in result: 1 </verbatim> [[http://lod.openlinksw.com/sparql?default-graph-uri=&query=SELECT+COUNT%28*%29+%0D%0AWHERE+%0D%0A++%7B%0D%0A++++%3Fs+%3Fp+%22Novosibirsk%22++FILTER+NOT+EXISTS+%7B+%3Fs+%3Fp+%22%D0%9D%D0%BE%D0%B2%D0%BE%D1%81%D0%B8%D0%B1%D0%B8%D1%80%D1%81%D0%BA%22+%7D+%0D%0A++%7D&should-sponge=&format=text%2Fhtml&CXML_redir_for_subjs=121&CXML_redir_for_hrefs=&timeout=15000&debug=on][View the results]] of the query execution on the [[http://lod.openlinksw.com][LOD]] instance. ---++Related * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[http://docs.openlinksw.com/virtuoso/rdfsparql.html][Virtuoso Documentation]]
id
  • 9bcaf8441bd0c06ae51f7e333240ac1c
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtTipsAndTricksGuideSPARQLMINUS
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:43:22Z
atom:updated
  • 2017-06-13T05:43:22Z
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_git150 as of Jan 20 2025


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, 791 MB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2025 OpenLink Software