- From: Vinicius Maran <viniciusmaran@gmail.com>
- Date: Thu, 28 Aug 2014 11:54:26 -0300
- To: public-linked-json@w3.org
- Message-ID: <CAKOD2LC5DYYSTz2i0iRbwn7kJbtBgpeKGO+C8XbU0VFZ_=n-uw@mail.gmail.com>
Hello all,
i`m starting to develop using JSON-ld, and i have a question.
I`m trying to serialize owl-dl files in json-ld (i saw a related project
but i want to do this for my own :P)
*For example, i'm trying to serialize pizza owl ontology (only the owl-dl
description of ontology, without axioms)* ( http://pastebin.com/Y1hyZaJj ) :
{
"@context": {
"pizza": {
"@id": "http://130.88.198.11/co-ode-files/ontologies/pizza.owl",
"@type": "@id"
},
"rdf": "http: //www.w3.org/1999/02/22-rdf-syntax-ns#",
"xsd": "http: //www.w3.org/2001/XMLSchema#",
"rdfs": "http: //www.w3.org/2000/01/rdf-schema#",
"owl": "http: //www.w3.org/2002/07/owl#"
},
"owl: Ontology": {
"rdf: about": "",
"owl: versionInfo": [
{
"info":
"v.1.4.AddedFoodclass(usedindomain/rangeofhasIngredient
AddedseveralhasCountryOfOriginrestrictionsonpizzas
MadehasToppinginversfunctional",
"@language": "en"
},
{
"info":
"v.1.5.Removedprotege.owlimportandreferences.MadeontologyURIdate-independent",
"@language": "en"
}
],
"rdfs:comment": {
"info":
"AnexampleontologythatcontainsallconstructsrequiredforthevariousversionsofthePizzaTutorialrunbyManchesterUniversity(seehttp:
//www.co-ode.org/resources/tutorials/)",
"@language": "en"
}
}
}
*This is valid to JSON validators, but i've tested in json-ld playground,
and i got this (expanded):*
[
{
"http: //www.w3.org/2002/07/owl# Ontology": [
{
"http: //www.w3.org/2002/07/owl# versionInfo": [],
"http: //www.w3.org/1999/02/22-rdf-syntax-ns# about": [
{
"@value": ""
}
]
}
]
}
]
Anyone can help me to find why it don't show info and language information
about info and language in comment and version info ?
Thanks,
VinÃcius Maran
Received on Friday, 29 August 2014 07:13:52 UTC