parent
045fb8cbf6
commit
54c6652ea5
@ -0,0 +1,3 @@ |
|||||||
|
PREFIX ex: <http://example.com/> |
||||||
|
INSERT DATA { ex:s ex:salary 1200 . ex:s2 ex:salary 1250 . ex:boss ex:salary 1600 . }; |
||||||
|
DELETE { ?s ex:salary ?o } INSERT { ?s ex:salary ?v } WHERE { ?s ex:salary ?o FILTER(?o < 1500) BIND(?o + 100 AS ?v) } |
@ -0,0 +1,5 @@ |
|||||||
|
@prefix ex: <http://example.com/> . |
||||||
|
|
||||||
|
ex:s ex:salary 1300 . |
||||||
|
ex:s2 ex:salary 1350 . |
||||||
|
ex:boss ex:salary 1600 . |
@ -1,3 +0,0 @@ |
|||||||
PREFIX ex: <http://example.com/> |
|
||||||
INSERT DATA { ex:s ex:p 1 . ex:s ex:p 5 }; |
|
||||||
INSERT { ex:s ex:p ?v } WHERE { VALUES ?o { 1 2 5 6 } FILTER EXISTS { ?s ex:p ?o } BIND(?o + 1 AS ?v) } |
|
@ -1,3 +0,0 @@ |
|||||||
@prefix ex: <http://example.com/> . |
|
||||||
|
|
||||||
ex:s ex:p 1 , 2 , 5 , 6 . |
|
Loading…
Reference in new issue