profile
viewpoint

dbpedia/DataId-Ontology 31

The DBpedia DataID vocabulary is a metadata system for detailed descriptions of datasets and their physical instances, as well as their relation to agents like persons or organizations in regard to their rights and responsibilities.

aligned-h2020/ALIGNED_Ontologies 4

A repository to hold the descriptions of ontologies developed within the ALIGNED project

dbpedia/databus 2

Databus

dbpedia/databus-lib 0

Lib, mainly used for Databus Mods

firmao/DataIDGraph 0

Project to generate DataIDGraph based on Void-Graph project.

gcpdev/ontology-tracker 0

Here we keep track of modification requests in the DBpedia Ontology

gone-phishing/SDW 0

Ingestion Framework for Smart Data Web

push eventdbpedia/databus

kurzum

commit sha 7ef7b3c70eaf0aa2732e20d1fe55a606689648cd

removed @language and xsd:string from context

view details

push time in 18 hours

issue commentdbpedia/databus

language tag vs. xsd:string vs. nothing in title,abstract,description

we found out that 1. Jena SPARQL HTTP always removes xsd:string  from the query before sending and 2. GSTORE converts the file to JSON-LD and therefore removes xsd:string  before loading. So there are different results for the same Virtuoso version, but it is not the problem or virtuoso as virtuoso behaviour is consistent with 1.0

kurzum

comment created time in 19 hours

issue commentdbpedia/databus

language tag vs. xsd:string vs. nothing in title,abstract,description

@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix dct:   <http://purl.org/dc/terms/> .

<https://a.cc/test>
  dct:hasVersion "with"^^xsd:string ;
  dct:hasVersion "without" .
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 

SELECT * {
OPTIONAL {?a <http://purl.org/dc/terms/hasVersion> "with" .}
OPTIONAL {?b <http://purl.org/dc/terms/hasVersion> "without" .} 

OPTIONAL {?c <http://purl.org/dc/terms/hasVersion> "with"^^xsd:string . }
OPTIONAL {?d <http://purl.org/dc/terms/hasVersion> "without"^^xsd:string . }
}
tool what a b c d comment/interpretation
Jena SPARQL on in memory model (3.5.17, 4.3.2) a b c d ok
Jena SPARQL API via HTTP on Virtuoso 7&8 b d explicit xsd:string ("with") can never be queried
Curl HTTP SPARQL /sparql on Virtuoso 7&8 b c query as is, i.e. if xsd:string, query also needs xsd:string
GSTORE VOS 7 Docker, then HTTP on '/sparql' a b only plain literals work in query
kurzum

comment created time in 19 hours

issue commentdbpedia/gstore

JSON-LD Format

@manonthegithub attached are the files that I compared with meld json-ld_gstore.zip

the decision here seems to be straigthforward for flatten/pretty, as it is more consistent, i.e. regular json parsers do not need to code additional if/else. compare, e.g. schema flatten/compact to dataid flatten/compact. schema is different, dataid is identical. Do you have further comments or options, otherwise flatten is the way to go?

One last thing. Could you post these files as flatten pretty:

{
  "@context": {
    "dataid": "http://dataid.dbpedia.org/ns/core#",
    "dct": "http://purl.org/dc/terms/",

    "Group": "dataid:Group",

    "license": {
        "@context":{"@base": null },
        "@id": "dct:license",
        "@type": "@id"
      }
  },
  "@id" : "https://dev.databus.dbpedia.org/janni/test",
  "@type" : "Group",
  "license" : ["https://creativecommons.org/licenses/by-sa/3.0/"  , "aaa"]
}

{
  "@context": "https://downloads.dbpedia.org/databus/context.jsonld",
  "@id" : "https://dev.databus.dbpedia.org/janni/test",
  "@type" : "Group",
  "license" : ["https://creativecommons.org/licenses/by-sa/3.0/"  , "aaa"]
}

not sure if the second snippet is working. We might need to update the external context.jsonld first

kurzum

comment created time in 20 hours

issue commentdbpedia/gstore

JSON-LD Format

Comparison between compact and flatten:

kurzum

comment created time in 21 hours

issue commentdbpedia/databus

language tag vs. xsd:string vs. nothing in title,abstract,description

method a b c d
GSTORE loading in docker VOS 7, then HTTP query a b
Jena Model a b c d
Jena SPARQL API to query VOS b d
VOS HTTP SPARQL API /sparql directly b c
kurzum

comment created time in 4 days

issue commentdbpedia/gstore

JSON-LD Format

@manonthegithub ok, thanks, hm, it is a bit weird, flatten and compact are pretty much the same , although compact should nest the triples like JSON Playground does, but jena does not do that for some reason. I also see that the context is minimized. Anyhow, overall the format looks quite similar to "normal" JSON, except for the part that uses language tags.

kurzum

comment created time in 25 days

issue commentdbpedia/gstore

JSON-LD Format

@manonthegithub made some small edits on the jsonld above, so please copy it again, if you already did.

kurzum

comment created time in a month

issue commentdbpedia/databus

language tag vs. xsd:string vs. nothing in title,abstract,description

@jimkont I would rather say it is virtuoso specific as well. there are two issues here. One is the languagetag, the other is the behaviour of virtuoso with xsd:string.

When loading:

@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix dct:   <http://purl.org/dc/terms/> .

<https://a.cc/test>
  dct:hasVersion "with"^^xsd:string ;
  dct:hasVersion "without" .

and then querying:

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 

SELECT * {
OPTIONAL {?a <http://purl.org/dc/terms/hasVersion> "with" .}
OPTIONAL {?b <http://purl.org/dc/terms/hasVersion> "without" .} 

OPTIONAL {?c <http://purl.org/dc/terms/hasVersion> "with"^^xsd:string . }
OPTIONAL {?d <http://purl.org/dc/terms/hasVersion> "without"^^xsd:string . }
}

it returns:

a | b | c | d
-- | -- | -- | --
https://a.cc/test | https://a.cc/test |   |  

so ?c and ?d are empty. Can someone confirm this? I was using vos docker openlink/virtuoso-opensource-7:latest

kurzum

comment created time in a month

issue commentdbpedia/gstore

JSON-LD Format

{
 "@context" : {
	"@language": "en",
	"dataid": "http://dataid.dbpedia.org/ns/core#",
    "dcv": "http://dataid.dbpedia.org/ns/cv#",
	"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
	"dct": "http://purl.org/dc/terms/",
	"dcat": "http://www.w3.org/ns/dcat#",
	"xsd": "http://www.w3.org/2001/XMLSchema#",
	"cert": "http://www.w3.org/ns/auth/cert#",
	"dbo": "http://dbpedia.org/ontology/",
	"foaf": "http://xmlns.com/foaf/0.1/",
	"sec": "https://w3id.org/security#",


    "Group": "dataid:Group",

"group": {
	"@id": "dataid:group",
	"@type": "@id"
	},

"title": {
    "@id": "dct:title",
    "@language": "en"
  },

"abstract": {
      "@id": "dct:abstract",
      "@language": "en"
    },

"description": {
      "@id": "dct:description",
      "@language": "en"
    },

"Dataset": "dataid:Dataset" ,

"publisher": {
      "@id": "dct:publisher",
      "@type": "@id"
    },

"group": {
      "@id": "dataid:group",
      "@type": "@id"
    },

"artifact": {
      "@id": "dataid:artifact",
      "@type": "@id"
    },

"version": {
      "@id": "dataid:version",
      "@type": "@id"
    },

"hasVersion": {
      "@id": "dct:hasVersion",
      "@type": "xsd:string"
    },

"issued": {
      "@id": "dct:issued",
      "@type": "xsd:dateTime"
    },

"modified": {
      "@id": "dct:modified",
      "@type": "xsd:dateTime"
    },

"license": {
      "@context":{"@base": null },
      "@id": "dct:license",
      "@type": "@id"
    },

"distribution": {
      "@type": "@id",
      "@id": "dcat:distribution"
},

"Part": "dataid:Part" ,

"file": {
      "@id": "dataid:file",
      "@type": "@id"
    },

"format": {
      "@id": "dataid:format",
      "@type": "xsd:string"
    },

"formatExtension": {
      "@id": "dataid:formatExtension",
      "@type": "xsd:string"
    },

"compression": {
      "@id": "dataid:compression",
      "@type": "xsd:string"
    },

"downloadURL": {
      "@id": "dcat:downloadURL",
      "@type": "@id"
    },

"sha256sum": {
      "@id": "dataid:sha256sum",
      "@type": "xsd:string"
    },

"hasVersion": {
      "@id": "dct:hasVersion",
      "@type": "xsd:string"
    },

"subPropertyOf" : {
    "@id" : "rdfs:subPropertyOf",
    "@type" : "@id"
  },

"maker": {
    "@id": "foaf:maker",
    "@type": "@id"
  },
  "primaryTopic": {
    "@id": "foaf:primaryTopic",
    "@type": "@id"
  },
  "name": {
    "@id": "foaf:name",
    "@type": "xsd:string"
  },
  "account": {
    "@id": "foaf:account",
    "@type": "@id"
  },
  "img": {
    "@id": "foaf:img",
    "@type": "@id"
  },
  "key": {
    "@id": "cert:key"
  },
  "modulus": {
    "@id": "cert:modulus"
  },
  "exponent": {
    "@id": "cert:exponent"
  },
  "signature": {
    "@id": "dataid:signature",
    "@type": "xsd:string"
  },
  "tractate": {
    "@id": "databus:tractate"
  }

},
  
  
    "@id": "https://databus.dbpedia.org/janni/onto_dep_projectx/dbpedia-ontology/2021-12-06#Dataset",
	"@type": "dataid:Dataset",
	"title": "DBpedia Ontology",
	"abstract": "Registered a version of the DBpedia Ontology into my account",
	"description": "Registered a version of the DBpedia Ontology into my account. Using markdown:\n  1. This is the version used in [project x](http://example.org) as a stable snapshot dependency\n  2. License was checked -> CC-BY",
	"publisher": "https://databus.dbpedia.org/janni#this",
	"version": "https://databus.dbpedia.org/janni/onto_dep_projectx/dbpedia-ontology/2021-12-06",
	"hasVersion": "2021-12-06",
	"license": "http://creativecommons.org/licenses/by/4.0/",
	"distribution": [{
		"@id": "https://databus.dbpedia.org/janni/onto_dep_projectx/dbpedia-ontology/2021-12-06#ontology--DEV_type=parsed_sorted.nt",
		"@type": "dataid:Part",
		"file": "https://databus.dbpedia.org/janni/onto_dep_projectx/dbpedia-ontology/2021-12-06/ontology--DEV_type=parsed_sorted.nt",
		"format": "nt",
		"compression": "none",
		"downloadURL": "https://akswnc7.informatik.uni-leipzig.de/dstreitmatter/archivo/dbpedia.org/ontology--DEV/2021.07.09-070001/ontology--DEV_type=parsed_sorted.nt",
		"byteSize": "4439722",
		"sha256sum": "b3aa40e4a832e69ebb97680421fbeff968305931dafdb069a8317ac120af0380",
		"hasVersion": "2021-12-06",
		"dcv:type": "parsed_sorted"
    }]
}
@manonthegithub they all look the same. Could you try again with the above, more complex example? 
kurzum

comment created time in a month

push eventdbpedia/databus

kurzum

commit sha 756f66e47aa0b8ed4b60863b62873c961dea340e

fixed context.jsonld

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha 5da59a4a503800a563c8c3cf1db217c579a93f3d

finished todos

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha 76cef34c7709b8bb62e986c70a0c447c2da60c21

added todos

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha cc6d54899ebfa5349b601f1c663175d36aade3be

added /usr/bin/php

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha 150b83addf77d148a90da5477380570fbe12c8cf

adding todos

view details

push time in a month

issue openeddbpedia/databus

impose a limit on dct:abstract? 200 chars?

opinions?

created time in a month

issue openeddbpedia/databus

language tag vs. xsd:string vs. nothing in title,abstract,description

We have three options: <a> dct:title "title"@en <a> dct:title "title"^^xsd:string <a> dct:title "title"

created time in a month

push eventdbpedia/databus

kurzum

commit sha 8c0a6ceb05b84969bddae0542b0240adb8b9ce69

some cleanup

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha 5079206304810734066605b3eb0c1fbf0dbe2a52

some cleanup

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha 35338bf966f1c9ae51a37581e1980aba049275ff

completed finetuning and also debugged shacl syntax

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha f286260b3f9303cfa5f29856dcaf7e4012efccfc

more finetuning

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha 7dc47ffe921dd37b7d6c45f65210be0ebf5caf36

more finetuning

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha f9c8d8a26c9817dfa9abe1bb6286e8f09d279f1b

more finetuning

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha a8d7d53f820e98aefcb242033faeb1803341159a

went over the doc once

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha f4b57e28aeeb4e7e4f5e37cb347cea4659e37a4a

finished merging remaining shacl

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha 4b35c74e5fe2e10cbb9298548227e3302b2ca8ce

started merging shacl tests

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha ed3013347f55c93af2b03a3e4a954128f98d6ca5

removed

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha c75f0fbc52187761a570bb463ca106c29a86037e

added example

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha ae30f492a260bdc24c80a1f959720939a02b6d71

added constraint for URI pattern

view details

push time in a month

push eventdbpedia/databus

kurzum

commit sha ebcb0f4bc984c782e2e954bc2163fecbfc360f37

started example section

view details

push time in a month

more