afs commented on issue #3883:
URL: https://github.com/apache/jena/issues/3883#issuecomment-4326786553

   Jena support RDF 1.2
   
   In RDF-star, `<<>>` was a kind of RDF term but was often used as an 
occurrence, not as a triple term.
   
   In RDF 1.2 `<< :s :p :o >>` is a Turtle syntax form equivalent form (c.f. 
lists) for an occurrence and the triple term is `<<( ... )>>`
   
   ```turtle
     :alice :claims << :bob :age 23 >> .
   ```
   becomes the triples
   ```turtle
     :alice :claims _:b .
     _:b rdf:reifies <<( :bob :age 23 )>> .
   ```
   That is where the blank node is coming from.
   
   You use use a variable to find the blank node
   
   ```sparql
   DELETE WHERE { :alice :claims << :bob :age 23 ~ ?R >> }
   ```
   
   or give URIs to reifications in the data.
   
   ```turtle
   :alice :claims << :bob :age 23 ~ :r >> .
   :alice :claims :r .
   :r rdf:reifies <<( :bob :age 23 )>> .
   ```
   ```sparql
   DELETE DATA {  :alice :claims << :bob :age 23 ~:r >> . }
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to