PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www/w3/org/2001/XMLSchema#>
PREFIX odysseus: <http://marmotta.tno.nl:8080/marmotta/context/>
PREFIX cmo: <http://www.modelservers.org/public/ontologies/cmo/cmo.ttl#>
PREFIX depc: <http://www.modelservers.org/public/ontologies/odysseus/depc.ttl#>
PREFIX rome: <http://www.modelservers.org/public/ontologies/odysseus/rome.ttl#>
SELECT ?Profile ?TimeStamp ?Quantity
WHERE
{
GRAPH odysseus:romedata
{
{
?Profile depc:measuredBy rome:1824 ;
depc:hasTimePointProperty ?TimePoint .
?TimePoint depc:timeStamp ?TimeStamp .
?TimePoint cmo:quantity ?Quantity .
FILTER (xsd:dateTime(?TimeStamp) >
xsd:dateTime('2015-09-01T00:00:00')) .
FILTER (xsd:dateTime(?TimeStamp) <
xsd:dateTime('2015-09-01T02:00:00')) .
}
}
}
Applied at: http://marmotta.tno.nl:8080/marmotta/
Stack trace at server I cannot Access right now….
I also tried things like:
FILTER (?TimeStamp > '2015-09-01T00:00:00') .
FILTER (?TimeStamp < '2015-09-01T02:00:00') .
Giving no results at all (but no error…).
Thx a lot! michel
Dr. ir. H.M. (Michel) Bohms
Sr. Research Scientist
Structural Reliability
T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E [email protected]<mailto:[email protected]>
Location<http://www.tno.nl/locaties/DTM>
[cid:[email protected]]<http://www.tno.nl/>
This message may contain information that is not intended for you. If you are
not the addressee or if this message was sent to you by mistake, you are
requested to inform the sender and delete the message. TNO accepts no liability
for the content of this e-mail, for the manner in which you use it and for
damage of any kind resulting from the risks inherent to the electronic
transmission of messages.
From: Sergio Fernández [mailto:[email protected]]
Sent: woensdag 23 september 2015 13:53
To: [email protected]
Subject: Re: error while evaluating property...whats wrong here?
Hi Michel, a textual version of the query and stacktrace would help to give you
an answer ;-)
On Wed, Sep 23, 2015 at 1:37 PM, Bohms, H.M. (Michel)
<[email protected]<mailto:[email protected]>> wrote:
[cid:[email protected]]
Fyi: data in file is of form 2015-09-01T23:45:00.000+02:00^^xsd:dateTime
I also tried:
FILTER (xsd:dateTime(?TimeStamp) >
xsd:dateTime('2015-09-01T00:00:00')) .
FILTER (xsd:dateTime(?TimeStamp) <
xsd:dateTime('2015-09-01T02:00:00')) .
Same result…
Thanks for advice!
Dr. ir. H.M. (Michel) Bohms
Sr. Research Scientist
Structural Reliability
T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E [email protected]<mailto:[email protected]>
Location<http://www.tno.nl/locaties/DTM>
[cid:[email protected]]<http://www.tno.nl/>
This message may contain information that is not intended for you. If you are
not the addressee or if this message was sent to you by mistake, you are
requested to inform the sender and delete the message. TNO accepts no liability
for the content of this e-mail, for the manner in which you use it and for
damage of any kind resulting from the risks inherent to the electronic
transmission of messages.
--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 6602747925
e: [email protected]<mailto:[email protected]>
w: http://redlink.co<http://redlink.co/>