triple

triple – A RDFa parser written in awk, capable of outputting content in

A simple RDFa parser written in awk(1). The various commands can output content formatted as Turtle (Terse RDF Triple Language) or plain text suitable for command line parsing.

Examples

$ cat page.rdfa
<article typeof="schema:webpage" resource="/hello" lang="en">
<h1> property="schema:headline">Hello</h1>
<p>This is a web page.</p>
</article>
$ triple-turtle page.rdfa
@prefix schema: <https://schema.org/> .
</hello>
a schema:webpage ;
schema:headline "Hello" ;
schema:inlanguage "en" .

Requirements

License

Internet Software Consortium

Download

Current version: 0.0.1

Repository: https://git.senzilla.io/triple

Components