Hi all. The following statements were created using the Jena API. I cast the bNode of rdf:_1 to an OntResource and called addLiteral() to get the rdfs:label. If I pass the resultant RDF/XML through the W3C RDF Validator it passes.
@prefix u4convert: <http://www.unit4.com/2011/11/01/u4convert-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . <http://www.example.org/id/3e4e77e9-de15-4a21-b6f6-bdb935045d82> a u4convert:Convert ; u4convert:rowSteps [ a rdf:Bag ; rdf:_1 [ a rdf:Seq ; rdfs:label "Default"^^xsd:string ] ] . If I cast the bNode of rdf:_1 to a Seq and call the iterator() method it returns the rdfs:label. Q1 I'm assuming the Seq.iterator() method returns all "other" Property/RDFNode pairs for the Seq (i.e. it doesn't return the a rdf:Seq pair) whether the pair is an rdf:_nnn or not? Q2 Whilst the above is "valid" RDF is it "good" RDF? FYI the above is to model a group (Bag) of named steps (Seq) i.e. the model can be queried for a named set of steps which can then be read in order. TIA DMurray.
