eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

217
active users

#rdfa

0 posts0 participants0 posts today

I've started a draft spec defining high level processing and rendering rules to bind an RDF graph to HTML elements.

The UI data binding is specified using HTML attributes, which when hydrated provides valid RDFa.

The idea is to enable bringing pages of data together within a single document

Still early days, but here's the description of a subject-connected list

jg10.solidcommunity.net/open-w

jg10.solidcommunity.netRDF HTML UI data binding

📢 Releasing tei-rdfa (beta)

▶️ Python utility for extracting RDFa data from TEI-XML documents
▶️ Resolves native TEI namespace formatting (through <prefixDef>)

🌐 pypi.org/project/tei-rdfa/
🌐 github.com/timofruehwirth/tei_

We welcome beta testing, feedback & contribution via #GitHub.
Boosts will be very much appreciated.

@ACDHCH_OeAW @oeaw @fwf @TEIConsortium @w3c @hcayless

PyPItei-rdfaA Python utility for extracting RDFa data from TEI-XML documents.
#TEI#XML#RDFa

The four most popular ways to use RDF-based metadata on websites are RDFa-Core, RDFa-Lite, Microdata, and inline JSON-LD.

I can’t use RDFa-Lite because I need rel HTML attributes. rel silently upgrades RDFa-Lite to RDFa-Core, which parses differently. I doubt all parsers upgrade correctly; some will try to parse RDFa-Core as RDFa-Lite. Conformant RDFa parsers upgrade RDFa-Lite pages to RDFa-Core despite many authors only being familiar with RDFa-Lite. I suppose resources like Schema.org and Google’s documentation only documenting RDFa-Lite markup worsens the confusion.

With RDFa split between two incompatible alternatives with a confusing upgrade mechanism, the alternatives are Microdata and JSON-LD. I use structured data extensively; JSON-LD would duplicate most of the page. Let’s use this relatively short article as an example. Exruct can convert the embedded Microdata into a massive JSON document featuring JSON-LD. Take a look at the JSON-LD and HTML side by side. Microdata attributes take a fraction of the footprint, encode the same information, and don’t require duplicating nearly the entire page.

Originally posted on seirdy.one: See Original (POSSE). #Microdata #SemanticWeb #RDFa #HTML

www.ctrl.blogThe difference between RDFa’s property and rel attributesYou can easily get unexpected HTML+RDFa Lite parsing results by unknowingly using it with RDFa Core attributes that just happens to also be HTML attributes.
Replied in thread

@egonw @eloquence sounds maybe harder to govern than already dodged cross-border tax. CC also seems to have resisted adding clauses to help define commercial use. I only know of #CCRel (wiki.creativecommons.org/image), which built on Aaron Swartz's #RDFa syntax for CC licenses, to let people construct & define more complex rights docs: "publishers can use ccREL descriptions in combination with
additional attributes taken from other publishers, or with entirely new attributes", but not heard of its use.