SPARQL on WordPress

For various reasons I needed to look at SPARQL again. What’s the easiest way to put it up?, Here! I’ve been working with LH-Tools which is commented on at its authors site, and LH-RDF. I did not get this to finish satisfactorily, mainly based on my lack of SPARQL skills. May 2015

LH-Tools implements a SPARQL endpoint, and LH-RDF implements a series of alternative RDF schemas. LH-RDF has been deactivated at the moment, but the SPARQL query screen is here; it uses the default rdf feed as a source.

Pool Party are now playing. i,e. there’s a Pool Party plugin.

I have errors occurring when using LH-RDF; see the comments to track. Jan 2017

Queries

I think that, http://${SITENAME}/feed/rdf offers rdf based on standard wordpress functionality. LH Tools via its settings panel can use this as the query target. This seems to be working. The settings panel has been used to point the query screen at the default feed URL.

HTML Headers

These applications and wordpress do not write the HTML <link> record. I  need to check if this is still true. (How to best  insert the code into header.php, or do I have to get inside the plugin code?) May 2015. I don’t understand this, the documentation for LH-RDF claims it does, but it’s otherwise broken at the moment. Jan 2017.

LH-RDF

There is a readme file in the LH-RDF plugins directory, by re-saving the permalinks options the pretty rdf name becomes visible.

However in the summer of 2015, the LH RDF panel needed “post-to-posts” plugin which is no longer supported by it’s original author. Also when installed php error’s occurred and were displayed on the panel page and the feed pages.

SPARQL

An example tutorial

Some Links

  1. The Endpoint i.e. Query Screen on this blog/wiki.
  2. http://wiki.davelevy.info/feed/rdf/, the default RDF feed on this blog/wiki
  3. The lh tools plugin i.e the endpoint at the wordpress codex
  4. The RDF feed generator (LH RDF) plugin at the wordpress codex
  5. The author’s comments on LH-TOOLs
  6. A commentary on LD RDF on lhero.org

and Pool Party plugin

  1. https://en-gb.wordpress.org/plugins/poolparty-thesaurus/

and the ticket requests

  1. https://wordpress.org/support/topic/v121-lh-rdf-error-message/

 

Related Posts

  • Disqus This is page contains complex html i.e. javascript, the page must only be edited as […]
  • Embedding Code in WordPress. So I need to use Artiss Code Embed a wordpress plugin designed to overcome the RTF […]
  • WordPress and robots.txt WordPress has a virtual robots.txt file; best not to muck around with the filesystem. […]
  • zbench, footer.php When written the zbench theme's footer text was Copyright © 2013 wiki.davelevy.info | […]
  • Snipsnap and the ‘html’ macro One of the add on features contributed  by the community to the snipsnap project was an […]

5 thoughts on “SPARQL on WordPress

  1. I used a plugin LH RDF to render the feed into RDF. This became incompatible with the wordpress rewrite module on 21/8/2015 when I updated the module. I have deactivated the plugin.

  2. LH RDF broke this a.m. i.e. 21 August 2015, when I upgraded some stuff. A further upgrade was issued that fixed the destructive behaviour. It was fixed within 24 hours.

  3. I returned to this last night, and recognise that the page is not well organised, but probably matches my thoughts. I shall have another look and probably adjust the page.

  4. The LH RDF readme says, “If you wish to map additional relationships install the Posts 2 Posts add some connections then map them to rdf by going to Settings LH RDF->Mappings”. I have no idea what does add some connections mean? Has the author made some assumptions when mapping the WP Schema to an RDF object map, and this is a way of adding RDF relationships; the settings screen doesn’t make it seem so.

    This comment was made in Jan 2017, to preserve content originally created in 2015.

Leave a Reply

Your email address will not be published. Required fields are marked *