Coder Social home page Coder Social logo

dnkg-pilot's Introduction

dnkg-pilot

Dutch National Knowledge Graph (DNKG) Pilot

A repo to capture the necessary information to build the DNKG via DBpedia cartridges. We use Github prototyping to capture information in files and version them. Once we feel confident that information is complete and things run smooth, we will implement a user interface and better tools. The structure is very similar to the Databus folder structure.

License

CC-BY - contributions to this repo will be licensed to give attribution to the DBpedia Knowledge Library.

Details

We keep the detailed instructions in this Google Doc

Mappings Viewer

Technical Section

To contribute to this repository please create a pull request and follow the instructs in the details section.

Folder structure

cartridges/user/source/partition

where

  • user is the person or organisation producing the data
  • source is a short name for the general source of the dataset within that organisation
  • partition is a name for the partition generated by export.construct. Often a class or category, but arbitrary partitions can be selected in the where clause.

Files

  • metadata.ttl specifies where to acquire the data in a single triple. Note that later the Databus will keep much better metadata and provenance.
    @prefix dev: <http://example.com/dev#>.
    <> dev:databusversion <https://databus.dbpedia.org/jj-author/kadaster/bag/2020.07.29> . 
    
  • export.construct executed over the data to create a partition to be indexed: see 2.4.4. Specify ID space or look at the examples
  • links.construct executed over the data to construct the links
  • $dbo-property.pt-construct 0...n files that export the complex structure described in the where clause, to a flat, coarse-grained DBpedia-like structure in the CONSTRUCT clause

Void Stats

Mod SPARQL Endpoint

Example query to get all property partitions for the kadaster cartridge-input

PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX void: <http://rdfs.org/ns/void#>
PREFIX dataid: <http://dataid.dbpedia.org/ns/core#>
PREFIX dcat:   <http://www.w3.org/ns/dcat#>
PREFIX dct:    <http://purl.org/dc/terms/>

SELECT DISTINCT ?property (SUM(?count) AS ?counts) {
 SERVICE <https://databus.dbpedia.org/repo/sparql> {
  ?s dct:publisher <https://dbpedia.github.io/accounts/shared-webids/dnkg.ttl#this> .
  ?s dataid:artifact <https://databus.dbpedia.org/dnkg/cartridge-input/kadaster> .
  ?s dcat:distribution/dataid:file ?used .
 }
 ?mod prov:generated ?generated .
 ?mod prov:used ?used .
 ?generated void:propertyPartition [
   void:triples ?count ;
   void:property ?property
 ] .
} GROUP BY ?property

Mod File Server

Path structure:

$modName/$publisherName/$group/$artifact/$version/$file/$modFiles

dnkg-pilot's People

Contributors

jj-author avatar ragnarok85 avatar julio-noe avatar kurzum avatar vehnem avatar wouterbeek avatar bmark92 avatar aklakan avatar

Stargazers

Edwin Wisze avatar Alex Olieman avatar Christophe Gueret avatar

Watchers

Anja Jentzsch avatar Magnus avatar Chris Bizer avatar James Cloos avatar Milan Dojčinovski avatar Dimitris Kontokostas avatar Sandro avatar  avatar  avatar  avatar Markus Ackermann avatar Edgard Marx avatar Alexandru Todor avatar Gustavo Publio avatar Kirill Yankov avatar  avatar Pano Maria avatar  avatar  avatar  avatar  avatar  avatar  avatar Pieter J.C. van Everdingen avatar

Forkers

aklakan bmark92

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.