view tests/misc-queries/test-roqet @ 109:78a7c77ba432

A more general solution (I hope) to the problem of making sure transforms are always run in a consistent order
author Chris Cannam
date Thu, 02 Oct 2014 14:54:09 +0100
parents 92911f967a16
children
line wrap: on
line source

PREFIX : <file:///work/runner/transforms/test.n3#>

SELECT ?result ?mand

FROM <file:///work/runner/transforms/test.n3>

WHERE {
  ?result :mand ?mand .
  OPTIONAL { ?result :opt1 ?opt1 } .
  OPTIONAL { ?result :opt2 ?opt2 } .
}