We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPARQL answers with wrong dataformat.
Import this Resource into a virtuoso backed OntoWiki:
<http://localhost/activity/1/> a aair:Activity ; aair:activityActor <http://comiles.eu/natanael.rdf#me> ; ns3:published "2012-01-01T00:00:01+02:00"^^xsd:dateTime ; aair:activityVerb aair:Post ; aair:activityObject <http://localhost/object/1/> .
Do following query with the QueryEditor and with the Virtuoso Conductor
PREFIX atom: <http://www.w3.org/2005/Atom/> PREFIX aair: <http://xmlns.notu.be/aair#> SELECT ?activity ?date ?verb ?object WHERE { ?activity a aair:Activity ; aair:activityActor <http://comiles.eu/natanael.rdf#me> ; atom:published ?date ; aair:activityVerb ?verb ; aair:activityObject ?object . }
correct answer by Virtuoso and OW with ZendDB
activity: http://localhost/1/ date: 2012-01-01T00:00:01+02:00 verb: http://xmlns.notu.be/aair#Post object: http://localhost/object/1/
wrong answer by OW with Virtuoso
activity: http://localhost/1/ date: 2012-01-01 00:00:01 verb: http://xmlns.notu.be/aair#Post object: http://localhost/object/1/
As you can see the date format is converted before the query result is returned.
Same with $model->sparqlQuery($query).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SPARQL answers with wrong dataformat.
Import this Resource into a virtuoso backed OntoWiki:
Do following query with the QueryEditor and with the Virtuoso Conductor
correct answer by Virtuoso and OW with ZendDB
activity: http://localhost/1/
date: 2012-01-01T00:00:01+02:00
verb: http://xmlns.notu.be/aair#Post
object: http://localhost/object/1/
wrong answer by OW with Virtuoso
activity: http://localhost/1/
date: 2012-01-01 00:00:01
verb: http://xmlns.notu.be/aair#Post
object: http://localhost/object/1/
As you can see the date format is converted before the query result is returned.
Same with $model->sparqlQuery($query).
The text was updated successfully, but these errors were encountered: