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

   > Size g1: 2
   > Size g2: 1
   
   Different sizes.
   
   There is a difference between `<< >>` and `<<( )>>`.
   
   The meaning of `<< >>` in RDF 1.2 is not the same as the meaning in the 
earlier RDF-star community group.
   
   ```turtle
   << :s :p :o >> :q :z .
   ```
   is syntatic sugar for 
   
   ```turtle
   _:b rdf:reifies <<( :s :p :o )>> .
   _:b :q :z .
   ```
   with a blank node created by the parser.
   
   `NodeFactory.createTripleTerm` creates ` <<( ... )>>` not a `<< ... >>`.
   
   `<< ... >>` is a parser convenience like `( 1 2 3 )` is a convenience syntax.
   
   
   > Have I built the triple term incorrectly? 
   
   Try using `riot` to parse a file with g1string in it and see it is two 
triples.


-- 
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