play-commons-constants.1.0.source-code.play-epsparql-clic2call.eprq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of play-commons-constants Show documentation
Show all versions of play-commons-constants Show documentation
Some constants of important, shared values for the platform
PREFIX rdf:
PREFIX uctelco:
PREFIX geo:
PREFIX xsd:
PREFIX :
CONSTRUCT {
:e rdf:type :UcTelcoClic2Call .
:e :stream .
:e uctelco:callerPhoneNumber ?alice .
:e uctelco:calleePhoneNumber ?bob .
:e uctelco:direction ?direction .
:e :location .
geo:lat ?Latitude1 ;
geo:long ?Longitude1 .
:e :message "The caller tried to reach the callee three times within 1 minute with no success." .
:e :members ?e1, ?e2, ?e3 .
}
WHERE {
WINDOW {
EVENT ?id1 {
?e1 rdf:type :UcTelcoCall .
?e1 :stream .
?e1 uctelco:callerPhoneNumber ?alice .
?e1 uctelco:calleePhoneNumber ?bob .
?e1 uctelco:direction ?direction .
?e1 :location [ geo:lat ?Latitude1; geo:long ?Longitude1 ] .
}
SEQ
EVENT ?id2 {
?e2 rdf:type :UcTelcoCall .
?e2 :stream .
?e2 uctelco:callerPhoneNumber ?alice .
?e2 uctelco:calleePhoneNumber ?bob .
?e2 uctelco:direction ?direction .
}
SEQ
EVENT ?id3 {
?e3 rdf:type :UcTelcoCall .
?e3 :stream .
?e3 uctelco:callerPhoneNumber ?alice .
?e3 uctelco:calleePhoneNumber ?bob .
?e3 uctelco:direction ?direction .
}
} ("PT1M"^^xsd:duration, sliding)
}