mirror of https://gitlab.com/bashrc2/epicyon
Consistent ontology filenames
parent
c33a7578b6
commit
1c510beae7
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
"@context":{
|
||||
"dfc-p": "http://static.datafoodconsortium.org/ontologies/dfc_ProductGlossary.owl#",
|
||||
"dfc-u":"http://static.datafoodconsortium.org/data/units.rdf#"
|
||||
},
|
||||
"@graph":[
|
||||
{
|
||||
"@id":"dfc-u:kg",
|
||||
"@type":"dfc-p:Unit",
|
||||
"rdfs:label":"kilogramme"
|
||||
},
|
||||
{
|
||||
"@id":"dfc-u:u",
|
||||
"@type":"dfc-p:Unit",
|
||||
"rdfs:label":"unité"
|
||||
},
|
||||
{
|
||||
"@id":"dfc-u:g",
|
||||
"@type":"dfc-p:Unit",
|
||||
"rdfs:label":"gramme"
|
||||
},
|
||||
{
|
||||
"@id":"dfc-u:l",
|
||||
"@type":"dfc-p:Unit",
|
||||
"rdfs:label":"litre"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"@context": {
|
||||
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
|
||||
"dfc-b": "http://static.datafoodconsortium.org/ontologies/DFC_BusinessOntology.owl#",
|
||||
"dfc-p": "http://static.datafoodconsortium.org/ontologies/DFC_ProductOntology.owl#",
|
||||
"dfc-p": "http://static.datafoodconsortium.org/ontologies/DFC_ProductGlossary.owl#",
|
||||
"dfc-t": "http://static.datafoodconsortium.org/ontologies/DFC_TechnicalOntology.owl#",
|
||||
"dfc-u": "http://static.datafoodconsortium.org/data/units.rdf#",
|
||||
"dfc-u": "http://static.datafoodconsortium.org/data/units.json#",
|
||||
"dfc-p:specialize": {
|
||||
"@type": "@id"
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
"@context": {
|
||||
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
|
||||
"dfc-b": "http://static.datafoodconsortium.org/ontologies/DFC_BusinessOntology.owl#",
|
||||
"dfc-p": "http://static.datafoodconsortium.org/ontologies/DFC_ProductOntology.owl#",
|
||||
"dfc-p": "http://static.datafoodconsortium.org/ontologies/DFC_ProductGlossary.owl#",
|
||||
"dfc-t": "http://static.datafoodconsortium.org/ontologies/DFC_TechnicalOntology.owl#",
|
||||
"dfc-u": "http://static.datafoodconsortium.org/data/units.rdf#",
|
||||
"dfc-u": "http://static.datafoodconsortium.org/data/units.json#",
|
||||
"dfc-p:specialize": {
|
||||
"@type": "@id"
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
"@context": {
|
||||
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
|
||||
"dfc-b": "http://static.datafoodconsortium.org/ontologies/DFC_BusinessOntology.owl#",
|
||||
"dfc-p": "http://static.datafoodconsortium.org/ontologies/DFC_ProductOntology.owl#",
|
||||
"dfc-p": "http://static.datafoodconsortium.org/ontologies/DFC_ProductGlossary.owl#",
|
||||
"dfc-t": "http://static.datafoodconsortium.org/ontologies/DFC_TechnicalOntology.owl#",
|
||||
"dfc-u": "http://static.datafoodconsortium.org/data/units.rdf#",
|
||||
"dfc-u": "http://static.datafoodconsortium.org/data/units.json#",
|
||||
"dfc-p:specialize": {
|
||||
"@type": "@id"
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
"@context": {
|
||||
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
|
||||
"dfc-b": "http://static.datafoodconsortium.org/ontologies/DFC_BusinessOntology.owl#",
|
||||
"dfc-p": "http://static.datafoodconsortium.org/ontologies/DFC_ProductOntology.owl#",
|
||||
"dfc-p": "http://static.datafoodconsortium.org/ontologies/DFC_ProductGlossary.owl#",
|
||||
"dfc-t": "http://static.datafoodconsortium.org/ontologies/DFC_TechnicalOntology.owl#",
|
||||
"dfc-u": "http://static.datafoodconsortium.org/data/units.rdf#",
|
||||
"dfc-u": "http://static.datafoodconsortium.org/data/units.json#",
|
||||
"dfc-p:specialize": {
|
||||
"@type": "@id"
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
"@context": {
|
||||
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
|
||||
"dfc-b": "http://static.datafoodconsortium.org/ontologies/DFC_BusinessOntology.owl#",
|
||||
"dfc-p": "http://static.datafoodconsortium.org/ontologies/DFC_ProductOntology.owl#",
|
||||
"dfc-p": "http://static.datafoodconsortium.org/ontologies/DFC_ProductGlossary.owl#",
|
||||
"dfc-t": "http://static.datafoodconsortium.org/ontologies/DFC_TechnicalOntology.owl#",
|
||||
"dfc-u": "http://static.datafoodconsortium.org/data/units.rdf#",
|
||||
"dfc-u": "http://static.datafoodconsortium.org/data/units.json#",
|
||||
"dfc-p:specialize": {
|
||||
"@type": "@id"
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"@context":{
|
||||
"dfc-p": "http://static.datafoodconsortium.org/ontologies/dfc_ProductGlossary.owl#",
|
||||
"dfc-p": "http://static.datafoodconsortium.org/ontologies/DFC_ProductGlossary.owl#",
|
||||
"dfc-u":"http://static.datafoodconsortium.org/data/units.rdf#"
|
||||
},
|
||||
"@graph":[
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
||||
xmlns:dfc-u="http://static.datafoodconsortium.org/data/units.rdf#"
|
||||
xmlns:dfc-b="http://static.datafoodconsortium.org/ontologies/dfc_ProductGlossary.owl#">
|
||||
xmlns:dfc-b="http://static.datafoodconsortium.org/ontologies/DFC_ProductGlossary.owl#">
|
||||
|
||||
<dfc-b:Unit rdf:about="http://static.datafoodconsortium.org/data/unit.rdf#kg">
|
||||
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">kilogramme</rdfs:label>
|
|
@ -1157,7 +1157,7 @@ def sharesCatalogAccountEndpoint(baseDir: str, httpPrefix: str,
|
|||
dfcUrl = \
|
||||
httpPrefix + '://' + domainFull + '/ontologies/DFC_FullModel.owl#'
|
||||
dfcPtUrl = \
|
||||
httpPrefix + '://' + domainFull + '/ontologies/productTypes.rdf#'
|
||||
httpPrefix + '://' + domainFull + '/ontologies/productGlossary.rdf#'
|
||||
owner = localActorUrl(httpPrefix, nickname, domainFull)
|
||||
if sharesFileType == 'shares':
|
||||
dfcInstanceId = owner + '/catalog'
|
||||
|
@ -1246,7 +1246,7 @@ def sharesCatalogEndpoint(baseDir: str, httpPrefix: str,
|
|||
dfcUrl = \
|
||||
httpPrefix + '://' + domainFull + '/ontologies/DFC_FullModel.owl#'
|
||||
dfcPtUrl = \
|
||||
httpPrefix + '://' + domainFull + '/ontologies/productTypes.rdf#'
|
||||
httpPrefix + '://' + domainFull + '/ontologies/productGlossary.rdf#'
|
||||
dfcInstanceId = httpPrefix + '://' + domainFull + '/catalog'
|
||||
endpoint = {
|
||||
"@context": {
|
||||
|
|
Loading…
Reference in New Issue