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

RDF in text/html #468

Closed
elf-pavlik opened this issue Oct 16, 2022 · 1 comment
Closed

RDF in text/html #468

elf-pavlik opened this issue Oct 16, 2022 · 1 comment

Comments

@elf-pavlik
Copy link
Member

In #465 I suggested a dedicated issue to deal with nuances of embedding RDF in text/html.

I think this issue could result in a CG NOTE which compiles all the relevant information for everyone who wants to work with this feature.

One of the main topics, in my opinion, will be documenting the pros and cons of using either a <script> tag with various RDF formats or RDFa. I think this page on W3C wiki gives a decent start: https://www.w3.org/wiki/N3inHTML

Contrasted with RDFa

This method differs from RDFa and some other methods for embedding RDF in HTML.

  • It's a multi-graph technique.
  • The RDF is hidden from browsers. (RDFa is usually used to make text that's already human-readable machine-readable too.)
  • Plain old N-Triples can be easily dumped into the HTML without worrying about splitting predicates into prefix:suffix pairs, and without worrying about how to format it to look good for human readers.

I think we should also mention shortly the W3C Microdata to RDF TR since the HTML spec itself defines Microdata

@csarven
Copy link
Member

csarven commented Oct 16, 2022

Not particularly in the scope of the Solid CG but seems suitable for the RDF-DEV CG: https://www.w3.org/groups/cg/rdf-dev

@csarven csarven closed this as completed Oct 16, 2022
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