Skip to content

openDataWrapper allows you to convert XML files into RDF-XML and Turtle files

Notifications You must be signed in to change notification settings

hala54/openDataWrapper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openDataWrapper

Generic wrapper converting data sources from data.paysdelaloire.fr into RDF (N3 and RDF-XML). It uses API call. Data sources are XML files. Also uses Apache Maven

Quick Start

  1. Requirement :

    • JAVA 1.7

    • Maven : 2.2

      • Eclipse with maven and git plugins installed
  2. Start

  1. Data (For non-XML-friendly users)

    Create a file called import.odw into openDataWrapper folder. You can add data from data.paysdelaloire.fr API. Write into the import.odw file the name of your new data, =, and 4 informations separated by ';' : mydata = api_url;api_url_description;title;publisher Select add new sources in the main menu.

    If you are more a more XML friendly, you can add new dataSources directly writing dataSources.xml (more documentation in document.pdf)

  2. Convert data

    Select the convert data menu and check the result. The converted files should be in output/ folder.

  3. Exporting your data

    Select the Sparql management menu and select the import option. Your dataset will be stored in .openDataWrapper folder. Run fuseki from the menu if you want to expose your data

  4. Running SPARQL requests on your DataSets

    Write requests on src/main/resources/queries (1 request per file). Run Principale.java, then follow the instructions through running queries. Before running a query, you shall load a dataset.

  5. Linking datasets

    Run Principale.java, then follow the instructions through linking datasets. Select datasets to link, separating datasets numbers by a ';'. Result into src/main/resources/output/linkedData folder

  6. Making RDFS inferences

    Write you dataset schema into src/main/resources/input/rdfsSchema. Then run Principale.java and follow the instructions through making RDFS inferences over selected (linked)datasets in relationship with the written schema.

  7. Making OWL inferences

    Write you dataset schema into src/main/resources/input/owlSchema. Then run Principale.java and follow the instructions through making OWL inferences over selected (linked)datasets in relationship with the written schema.

About

openDataWrapper allows you to convert XML files into RDF-XML and Turtle files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • XSLT 64.2%
  • Java 24.8%
  • TeX 8.1%
  • Shell 1.8%
  • CSS 0.6%
  • Erlang 0.4%
  • Perl 0.1%