Finding element nodes by URI possible?

5 views
Skip to first unread message

Christoph LANGE

unread,
Jan 19, 2010, 12:08:15 PM1/19/10
to rdfq...@googlegroups.com, Catalin David
Dear rdfQuery developers,

is there a function that provides a mapping from RDF resources (URIs or
bnodes) to XHTML element nodes of the document? In our current setting we
don't have any bnodes, and our @about attributes only have full URI values (no
CURIEs), so we might as well use jQuery or XPath to look for all elements
having about="URI". But that would not be future-proof, as it doesn't cover
all possibilities of RDFa.

Background: We are working on interactive mathematical documents (see
https://jomdoc.omdoc.org/wiki/AI-Mashup) and have so far enabled certain
features inside MathML formulae (which don't use RDF but a different way of
annotating semantics). Now we are working on interactivity for anything that
is not a formula. We already have the relevant structures annotated as
XHTML+RDFa and would now like to realize tasks like "for all elements that
are in the result set of some RDF query (e.g. instances of some class),
execute some JavaScript code". E.g. we'd like to implement an easier
RDFa-based way for making the steps of a complex mathematical proof foldable.

Cheers, and thanks in advance,

Christoph

--
Christoph Lange, Jacobs Univ. Bremen, http://kwarc.info/clange, Skype duke4701

Reply all
Reply to author
Forward
0 new messages