[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] HTML + RDFa export/publishing ?
From: |
Olivier Berger |
Subject: |
Re: [O] HTML + RDFa export/publishing ? |
Date: |
Fri, 17 Apr 2015 10:59:41 +0200 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) |
Hi.
John Kitchin <address@hidden> writes:
> Can you give us an example of what you are trying to do?
For instance, I'd like to link my WebID to publications of mine in a
semantic way, using dcterm or FOAF vocabularies.
This is done as RDFa by using links like :
<p><span about="#me" rel="foaf:homepage">The canonical address of my
homepage is at <a
href="http://example.com/~bob/">http://example.com/~bob/</a></span>
This would ideally be encoded in org in a way that is more compact than
this construct ;)
> I don't think
> org-mode supports this rich of behavior out of the box, but see
> http://kitchingroup.cheme.cmu.edu/blog/2015/02/05/Extending-the-org-mode-link-syntax-with-attributes/
> for an example idea of what you could imagine doing with a link type
> approach that could be inline with text.
>
Yes, this looks interesting.
Ideally, a mix of org-mode and Turtle [0] could be great, as Turtle
seems the most human-friendly way to write RDF.
In Turtle, the relation above is described with :
<#me>
foaf:homepage <http://example.com/~bob/> .
for instance.
So I don't know exactly how both could be mixed...
It's hard to think about a compact notation that would allow decorating
org-mode stuff with RDF properties or relations on the fly...
Hope this makes sense (at least for the Semantic Web aware fools ;).
Best regards,
[0] http://www.w3.org/TR/turtle/
--
Olivier BERGER
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)