Il 11/03/2010 11:13, "Manuel Schölling" ha scritto:
> for the FILTER statement convert functions are allowed.
> See [1] at the end of the paragraph:
> ...FILTER ( xsd:dateTime(?date)< xsd:dateTime("2005-01-01T00:00:00Z") )...
>
Casting is allowed only in FILTERing (using Xpath casting functions).
In fact you can query something as:
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:decimal($meltingPoint))
}
This is valid, but you cannot say "convert the results into another
datatype"...I think. ;-)
chhers,
roberto
------------------------------------------------------------------------------
Download Intel® 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