Hello Kjetil,
> DESCRIBE ?resource WHERE { > { ?resource dct:title ?free1 . ?free1 bif:contains "Da*" . > } > UNION > { ?resource dct:subject ?var . > ?var skos:prefLabel ?free2 . > ?free2 bif:contains "Da*" . > } > } > > will work? Yes, of course, because each of bif:contains has appropriate triple pattern in front of it. > > > > I was wondering if I > > > could somehow exclude the sub:literals predicate from the DESCRIBE > > > result? > > > > It's a problem of SPARQL spec. There's no syntax for configuration > > options > > It seems to me that a solution to this problem would be to allow matching > graphs that are not part of the result set, e.g. > > DESCRIBE ?foo FROM </foo> WHERE GRAPH </bar> { ?foo dct:title "Foo" . } or > something like that... Unfortunately, this trick will not work when graphs are not known in advance, because it is impossible to specify "from everything except </bar>". Otherwise it's OK. Best Regards, Ivan Mikhailov OpenLink Software http://virtuoso.openlinksw.com