GraphStore`
GraphStore`

SPARQLOptional

SPARQLOptional[patt]

represents part of a pattern that does not need to match in order for the whole pattern to match.

Details

  • In SPARQLOptional[patt], patt can take the same form as in SPARQLSelect[patt].

Examples

Basic Examples  (1)

Data about fruits:

Find the color and optionally the shape of fruits: