view tests/misc-queries/test-roqet @ 210:8b98a8e57672

Write Track in RDF only if title/artist metadata present, not simply on the basis of a TrackMetadata object existing
author Chris Cannam
date Wed, 04 Nov 2015 12:06:12 +0000
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 } .
}