Hi

A very similar query not working as expected is this one.
In this case multiple form is not involved but It's a very similar 
pattern and I suppose is related.

This query return 0:
SELECT   ?s
WHERE
  {
?s rdf:type <http://dbpedia.org/ontology/Agent>.
?s <http://purl.org/dc/terms/subject>  ?p2 .

FILTER NOT EXISTS {  ?s <http://dbpedia.org/ontology/alias> "The Bad 
Samaritans" .  }
  FILTER ( 
?p2=<http://dbpedia.org/resource/Category:British_punk_rock_groups> || 
?p2=<http://dbpedia.org/resource/Category:English_rock_music_groups> )
}

This query return lots of result (removing or):
SELECT   ?s
WHERE
  {
?s rdf:type <http://dbpedia.org/ontology/Agent>.
?s <http://purl.org/dc/terms/subject>  ?p2 .

FILTER NOT EXISTS {  ?s <http://dbpedia.org/ontology/alias> "The Bad 
Samaritans" .  }
  FILTER ( 
?p2=<http://dbpedia.org/resource/Category:British_punk_rock_groups> )
}


Nicola


On 26/11/2013 12:55, Hugh Williams wrote:
> Hi Nicola,
>
> Are you able to provide a test case for recreation ie minimum sample 
> data to recreate the problem ?


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to