Il 11/03/2010 13:39, "Manuel Schölling" ha scritto:
> But that's ok. All I want is that the results "-79" and -79 are merged by the 
> UNION statement and this is accomplished using FILTER.
>    

Actually FILTER does not merge results, but it drops out results that do 
no respect the filtering. For example, if your query is:

SELECT ?meltingPoint
WHERE {
      ?s rdfs:label "Nikotin"@de .
    { ?s<http://dbpedia.org/property/meltingPoint>  ?meltingPoint }
    UNION
    { ?s<http://dbpedia.org/ontology/meltingPoint>  ?meltingPoint } .
    FILTER( xsd:string($meltingPoint))
}

You will not have any results.


cheers,
roberto

-- 
Roberto Mirizzi
Ph.D student at Politecnici di Bari (ITALY)
http://sisinflab.poliba.it/mirizzi

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to