Re: Sparql Update: Insert a property whose value is a calculated average

2017-06-10 Thread Aya Hamdy
Yes, I see. I don't get why it does not add them when I run it... Do you see the new tuples when you print or when you open the file ontology file? Cause with me, when I used your syntax, the new triples show in the print but when I open the ontology file on Eclipse which I am running the query on

Re: Sparql Update: Insert a property whose value is a calculated average

2017-06-10 Thread Aya Hamdy
Yes, I see. I don't get why it does not add them when I run it... Do you see the new tuples when you print or when you open the file ontology file? Cause with me, when I used your syntax, the new triples show in the print but when I open the ontology file on Eclipse which I am running the query on

Re: Sparql Update: Insert a property whose value is a calculated average

2017-06-10 Thread Lorenz B.
That can't be. I tried your example b.java with my query PREFIX rdf: PREFIX cv: INSERT { ?ass cv:recorded_speed ?avg . } WHERE { SELECT ?ass (AVG(?speed) AS ?avg)