Extending IKScE Demo Module with RDFa

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
bshambaugh's picture

Dear All,

I was checking out the IKS Content Enhancement Demo for Drupal 7 [1]. This involves annotate.js [2] in conjunction with Wolfgang Ziegler's combination of Drupal, Apache Stanbol, and VIE.js [3].
I like what the code makes possible, but I would like the change the substitution that jQuery gives for each annotation.
Right now I see markup that does not serialize to RDF inside the "content:enconded" tags. I believe changing line 895
for newElement in [2] would allow me to add some RDFa content.

I believe the question I should be asking is how do I structure the syntax so that I could add the necessary HTML tags to get the markup above?

Once I get this started, I'd like this RDFa to be indexed by the ARC2 store. Will this happen automatically when I set one up as in "Indexing RDF data and providing a SPARQL endpoint" [4], or do I need to do something special?

Thanks,

-Brent

P.S. For some reason I was unable to add the XML markup and code snippets that I was referring to. It was stripped by the spam filter. If this is a problem, let me know.

[1] https://www.drupal.org/project/iksce
[2] https://github.com/szabyg/annotate.js/blob/gh-pages/lib/annotate.js
[3] http://wolfgangziegler.net/semantic-content-enhancements-drupal-apache-s...
[4] https://www.drupal.org/node/2028111

Comments

Changed to an Issue

bshambaugh's picture

I changed this to an issue ( https://www.drupal.org/node/2666140 ) for the
IKScE Content Enhancement Demo: https://www.drupal.org/project/iksce .

Tags Solution

bshambaugh's picture

For tagging, I ended up writing a script that scrapes the URI out of the resulting taxonomy page. https://github.com/bshambaugh/ARC2-Experiments/tree/master/scrape_and_write

Thanks for creating the issue

scor's picture

Thanks for creating the issue at https://www.drupal.org/node/2666140.

For some reason I was unable to add the XML markup and code snippets that I was referring to. It was stripped by the spam filter. If this is a problem, let me know.

You should have no problem if you add those to the issue summary, which you can edit at any point after creating the issue. See you in the issue.

Semantic Web

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: