Re[2]: Jena Riot infers invalid RDF (with literals as subjects)

2025-01-17 Thread Larysa Zhuchyi
Dear Andy >From my understanding both solutions should work. Is it possible to have these >using riot command line tool? I ask about "literals-as-subject triples" because this is the line which riot reports as error. Currently I delete rdfs:range from datatype properties in the ontology before

Re: Jena Riot infers invalid RDF (with literals as subjects)

2025-01-17 Thread Andy Seaborne
Hi Larysa, Are you looking to simply not get the literals-as-subject triples or have an RDF-legal blank node form: https://www.w3.org/TR/rdf12-semantics/#entailment_rules Instead of: ex:a ex:p "literal" . ex:p rdfs:range xsd:string . - "literal" rdf:type xsd:string then this is possible