Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"@container": "@sequence"? #837

Open
ebremer opened this issue Mar 28, 2024 · 3 comments
Open

"@container": "@sequence"? #837

ebremer opened this issue Mar 28, 2024 · 3 comments

Comments

@ebremer
Copy link

ebremer commented Mar 28, 2024

Is there a "@container": "@sequence" to map an array to rdf:Seq?

@gkellogg
Copy link
Member

In the early days, we discussed different kinds of containers (at the time the Ordered List Ontology), but nothing emerged. The feeling about rdf:Seq (and rdf:Bag) is that they are a bit archaic and there was no demonstrated use case for them, and introducing the rdf:nnn properties into JSON-LD at least for the RDF serialization parts wasn't too attractive.

RDF-star could provide another way of ordering relationships by annotating specific triples. That hasn't emerged as a use case, though, IIRC.

@ebremer
Copy link
Author

ebremer commented Mar 28, 2024

Just curious. I've seen rdf:Seq used in image metadata in the Adobe XMP (700) tiff tag in NASA imagery and pathology whole slide imaging. Triple-wise, rdf:Seq is a bit less verbose than rdf:List, but yeah, at the cost of adding rdf:nnn to the mix. Personally, I would be happy if rdf:first cardinality is 0 or 1 with support for it in all the pertinent places and accepted as "well-formed" .... :-)

Should the "archaic" features be officially deprecated in 1.2?

@gkellogg
Copy link
Member

As you note, rdf:Seq is used in XMP and other areas that go back to the RDF/XML RDF 1.0 era. I don't think we'll see them removed before a hypothetical RDF 2.0 release, which I doubt will ever happen. What to do with 1.0 reification (rdf:Statement) is another question, as it will overlap the RDF-star reification direction. But, there hasn't been much appetite to touch RDF/XML so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants