All Downloads are FREE. Search and download functionalities are using the official Maven repository.

play-commons-constants.1.0.source-code.play-epsparql-clic2call.eprq Maven / Gradle / Ivy

There is a newer version: 1.1
Show newest version
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)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy