Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jekyll-RDF in Databus Maven Plugin #277

Open
kurzum opened this issue Aug 24, 2019 · 0 comments
Open

Jekyll-RDF in Databus Maven Plugin #277

kurzum opened this issue Aug 24, 2019 · 0 comments

Comments

@kurzum
Copy link
Member

kurzum commented Aug 24, 2019

Hi @white-gecko,
at the moment, we produce a dataid.ttl file with each call of mvn deploy on https://github.com/dbpedia/databus-maven-plugin/issues
The dataid.ttl is then published on the web server and linked from our site: https://databus.dbpedia.org/dbpedia/mappings/mappingbased-literals/2018.12.01

I think it would be cool to have a HTML rendering of the dataid.ttl produced alongside the dataid, like a dataid.html

Jekyll-RDF is definitely the tool for this. Some ways to integrate this:

  1. I quickly checked and there seem to be a lot of ruby maven projects like: https://rubygems.org/gems/ruby-maven/versions/3.3.12 or https://mvnrepository.com/artifact/rubygems
    Besides this, there is always the possibility to execute any scripts like bash or whatever:
    https://stackoverflow.com/questions/3491937/i-want-to-execute-shell-commands-from-mavens-pom-xml

I can help with the maven and bash part, but I have no ideay what Ruby needs to run.

  1. We wrote a mod system, based on your feedback.
    https://github.com/dbpedia/databus-mods/

So you can run it for all dataids.ttl on your server and publish the HTML as a ResultEntity.
Here is the query to get all dataid URLs from the bus:

PREFIX dataid: <http://dataid.dbpedia.org/ns/core#>

 # query all files and their mod results
SELECT * WHERE {
  ?dataset a dataid:DataId
} 
  1. Databus Maven Plugin could call a Jekyll-RDF webservice rendering the HTML, but this would require online access. You need to be online for mvn deploy to announce your data to the bus, but mvn package works locally.

What do you think. I would prefer 1. as this would publish the HTML docu de-centrally on each data publishers website.
This would be a cool feature, Semantics/DBpedia is on September 12th and we will present the baseline version of the Databus and new DBpedia Releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant