aucampia opened a new issue, #1873:
URL: https://github.com/apache/jena/issues/1873

   ### Version
   
   4.8.0
   
   ### What happened?
   
   Given this N-Quads input (saved as `test/data/variants/diverse_quads.nq`) 
that contains triples with graphs labels 
[[ref]([url](https://www.w3.org/TR/n-quads/#grammar-production-graphLabel))] 
(i.e. contains named 
graphs[[ref](https://www.w3.org/TR/rdf11-concepts/#section-dataset)]):
   
   ```nquads
   <http://example.com/subject> <http://example.com/predicate> "日本語の表記体系"@jpx 
<example:graph> .
   <urn:example:subject> <example:predicate> <example:subject> <example:graph> .
   <example:subject> <example:predicate> <example:object> <example:graph> .
   <example:subject> <example:predicate> 
"12"^^<http://www.w3.org/2001/XMLSchema#integer> <example:graph> .
   <example:subject> <example:predicate> <example:object> <urn:example:graph> .
   <example:subject> <http://example.com/predicate> <http://example.com/object> 
<urn:example:graph> .
   <example:subject> <http://example.com/predicate> "XSD string" 
<urn:example:graph> .
   <example:subject> <example:predicate> <example:object> .
   <http://example.com/subject> <http://example.com/predicate> "typeless" .
   <urn:example:subject> <urn:example:predicate> <urn:example:object> .
   ```
   
   When processing it with `riot --syntax=nquads --formatted=ntriples`, riot 
generates output and no error, but the output only contains the triples from 
the default graph.
   
   ```console
   $ jbang run --main riotcmd.riot --deps='org.slf4j:slf4j-simple:1.7+' 
'org.apache.jena:jena-cmds:4.8.0' --syntax=nquads --formatted=ntriples 
test/data/variants/diverse_quads.nq; echo status=$?
   SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
   SLF4J: Defaulting to no-operation (NOP) logger implementation
   SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
   <http://example.com/subject> <http://example.com/predicate> "typeless" .
   <example:subject> <example:predicate> <example:object> .
   <urn:example:subject> <urn:example:predicate> <urn:example:object> .
   status=0
   ```
   
   I would expect it to at least exit with an error status code, and also 
preferably print an error message.
   
   ### Relevant output and stacktrace
   
   _No response_
   
   ### Are you interested in making a pull request?
   
   Maybe


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