Giter Club home page Giter Club logo

websitetordf's Introduction

Convert HTML+RDFa to Turtle

This repository contains a simple pipeline that extracts HTML+RDFa data from webpages and combines them into a single Turtle file from it. Semantic gaps are filled by reasoning.

As a result, your website's data can be queried with SPARQL at 100% completeness and without worrying about vocabularies.

The article “Piecing the puzzle – Self-publishing queryable research data on the Web” explains in detail what the pipeline does and how it works.

Requirements

Running the pipeline

$ ./extract-website-data https://example.org/ /var/www/example.org/

where https://example.org/ is the URL of your homepage and /var/www/example.org/ the location of its HTML files.

Customizing the pipeline

Place the ontologies you want to reason on in the ontologies folder.

Rules for common RDFS and OWL constructs are available at the EYE website.

Run via Docker

  • Build the Docker image with docker build -t WebsiteToRDF .
  • Run container with docker run -v /path/to/site:/data -v /path/to/results/folder:/result -i --rm WebsiteToRDF https://example.org/.
  • The RDF triples will be available in /path/to/results/folder/website.nt.

License

©2017 Ruben VerborghMIT License.

websitetordf's People

Contributors

rubenverborgh avatar pheyvaer avatar

Stargazers

 avatar Phill Ayers avatar Harshvardhan Pandit avatar Samuel ROZE avatar Akshay Kanthi avatar Ben Companjen avatar Sarven Capadisli avatar Trevor Lazarus avatar  avatar Brad Jones avatar Zoggy avatar Pano Maria avatar Matt Kohl avatar David Newbury avatar Carsten Klee avatar Alfredo Serafini avatar  avatar Tim Thompson avatar Conal Tuohy avatar

Watchers

Brad Jones avatar  avatar James Cloos avatar  avatar Teodora Petkova avatar

Forkers

pheyvaer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.