Protege json file

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Protege json file

akhila
The json file from protege is unstructured (i.e it has classes information
and then data properties information etc..) .To use it in the database , the
file should have info about each and the data properties present in that
class and then next class.
Please help to understand the structure so that i can convert it and then
load it in my database.



--
Sent from: http://protege-project.136.n4.nabble.com/Protege-User-f4659818.html
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
Reply | Threaded
Open this post in threaded view
|

Re: Protege json file

samsontu


On Aug 15, 2018, at 4:48 AM, akhila <[hidden email]> wrote:

The json file from protege is unstructured (i.e it has classes information
and then data properties information etc..) .To use it in the database , the
file should have info about each and the data properties present in that
class and then next class.
Please help to understand the structure so that i can convert it and then
load it in my database.


If you are referring to the json-ld save format of Protege, you should post your question to the OWL-API mailing list, as Protege uses OWL-API for loading and saving ontologies.

In OWL, properties do not “belong” to a class. Your desired DB-friendly save format may not be appropriate for an axiom-based language like OWL.

With best regards,
Samson


_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
Reply | Threaded
Open this post in threaded view
|

Re: Protege json file

Car, Nicholas (L&W, Dutton Park)

At a guess, because I’ve seen this sort of question posed in projects many times before and as alluded to in Samson’s answer, the questioner needs to better understand the graph structure of RDF which can be expressed in JSON-LD or other formats and understand that guides output, not pure JSON structures.

 

To parse JSON-LD well (and RDF/XML) you really do have to understand RDF conceptually!

 

Cheers,

 

Nick

 

From: protege-user <[hidden email]> On Behalf Of Samson Tu
Sent: Thursday, 16 August 2018 7:43 AM
To: User support for WebProtege and Protege Desktop <[hidden email]>
Subject: Re: [protege-user] Protege json file

 

 



On Aug 15, 2018, at 4:48 AM, akhila <[hidden email]> wrote:

 

The json file from protege is unstructured (i.e it has classes information
and then data properties information etc..) .To use it in the database , the
file should have info about each and the data properties present in that
class and then next class.
Please help to understand the structure so that i can convert it and then
load it in my database.

 

If you are referring to the json-ld save format of Protege, you should post your question to the OWL-API mailing list, as Protege uses OWL-API for loading and saving ontologies.

 

In OWL, properties do not “belong” to a class. Your desired DB-friendly save format may not be appropriate for an axiom-based language like OWL.

 

With best regards,

Samson

 


_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user