[Pellet-users] Rdf:datatype in pellet
Bijan Parsia
bijan at clarkparsia.com
Wed Jul 30 14:35:10 UTC 2008
On Wednesday, July 30, 2008 9:58am, "Wyrwas, Garrett (Mission Systems)" <Garrett.Wyrwas at ngc.com> said:
> We have two issues:
> First when we get query results with literals we receive back the
> literal with the data type and are forced to parse it back out.
Not if you use str:
http://www.w3.org/TR/rdf-sparql-query/#func-str
> Second, if we run a SPARQL query searching for a literal we get a null
> result returned because we need to specify the datatype but wouldn't
> know what it is.
Not, I think, if you use str.
> We wouldn't know the datatype because we are offering
> an open text searchbox to users who wouldn't know what the datatype is.
er.. str(?x) == whatTheyTypedIn?
Cheers,
Bijan.
More information about the Pellet-users
mailing list