Skip to content

Instantly share code, notes, and snippets.

View jplu's full-sized avatar

Julien Plu jplu

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jplu on github.
  • I am jplu (https://keybase.io/jplu) on keybase.
  • I have a public key ASBwiQ-AOP1DalhpTkxc1yGUfEUW6lRTBYE7fdwmD4N2FAo

To claim this, I am signing this object:

@jplu
jplu / sampleTypeMapping.nt
Created March 29, 2017 13:19
Sample of types mapping.
@prefix schema: <http://schema.org/> .
@prefix dbo: <http://dbpedia.org/ontology/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dul: <http://ontologydesignpatterns.org/ont/dul/DUL.owl#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix nerd: <http://nerd.eurecom.fr/ontology#> .
@prefix neel: <http://neelchallenge/ontology/> .
@prefix stanford: <http://stanfordnlp.github.io/CoreNLP/ner.html#> .
@prefix mo: <http://purl.org/ontology/mo/> .
@prefix itsrdf: <http://www.w3.org/2005/11/its/rdf#> .
# -*- coding: utf-8 -*-
import json
import codecs
json1 = """{
"NEEL2016-dev": {
"Earth----http://dbpedia.org/resource/Earth": ["P1"],
"EtihadAirways----http://dbpedia.org/resource/Etihad_Airways": ["P2","P3"],
"FBI----http://dbpedia.org/resource/Federal_Bureau_of_Investigation": ["P3"]