Hi,

Is it possible to filter aggregate value such as :

PREFIX res: <http://dbpedia.org/resource/>
SELECT  ?o
WHERE{
?o    rdf:type <http://dbpedia.org/ontology/Country>;
   dbpedia-owl:language  ?l1.
  res:Germany    rdf:type <http://dbpedia.org/ontology/Country>;
   dbpedia-owl:language  ?l2.
res:Italy    rdf:type <http://dbpedia.org/ontology/Country>;
   dbpedia-owl:language  ?l3.
}
GROUP BY ?o
HAVING(count(?l1)> count(?l2)+count(?l3))
Thanks.
Regards
Olivier
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to