Created on Feb. 23, 2013, 11:23 a.m. by Hevok & updated by Hevok on May 2, 2013, 5:20 p.m.

From Graph Patterns one can combine different Graph Patterns with a logical and, i.e. both conditions must be fulfilled in the same way.

In the other hand if one wants to combine some Patterns via an or Expression then one has to use the keyword UNION. One can combine the answers from two or more vocabularies via an or condition and combine these two Graph Patterns in one Statement.

Each Graph Pattern of which there might by multiple can be combined via an UNION where each one must stand in its own curly braces by Definition. Then one can combine them and all Patterns will be selected that comply one of the Graph Pattern, i.e. it is a set based Union.

  • The keyword UNION allows for alternatives (logical disjunction)

Tags: coding, programming, keyword
Categories: Tutorial
Parent: SPARQL

Update entry (Admin) | See changes

Comment on This Data Unit