Closed psiotwo closed 4 years ago
Will the rdf:type be anything other than z-sgov-pojem:model (as well as owl:Ontology)? Also, what IRI should the project have? I have left it up to the user for now, but I imagine such information will be generated based on the project context in the future.
rdf:type is a generic typing link. So in glossary you can find different statements with the predicate of rdf:type. Some examples follow (the word 'a' can be used as an equivalent to 'rdf:type' in Turtle) :
:glosář a z-sgov-pojem:glosář, skos:ConceptScheme, owl:Ontology . :model a z-sgov-pojem:model, owl:Ontology . :term1 a skos:Concept . :term2 a skos:Concept .
My question was perhaps worded a bit unclearly, I apologise. I understand what rdf:type is and what it means. I am going off section 4.4.1 (page 44) in the .pdf you sent.
My question was if z-sgov-pojem:model should always be among the exported model's rdf:types or if there will be a scenario in which we would want to export the model with a different type than this specific one. In other words, should the types be (besides the knowledge structure) immutable or not. For example, I understand that we want to export
:model1 a z-sgov-pojem:model, z-sgov-pojem:základní-struktura, owl:Ontology ; ... labels, imports ...
But would we ever want to export something like :model2 a some-different-sgov:model, owl:Ontology ; ... labels, imports ...
also? The reason I am asking is more because of planning for future changes, the exports are currently implemented according to the section of the document mentioned above, with the exception that the z-sgov-pojem:model type can be changed to something else.
Ah I see ...Currently you can stick to the IRIs in the doc, there is no plan to support other schemata.
Current bugs:
Progress update: This seems to be fixed as of 7060e7b, but I will do further testing tomorrow to make sure I haven't missed anything.
In this picture, https://slovník.gov.cz/základní/Untitled-project/pojem/Typ-objektu
should be https://slovník.gov.cz/základní/Untitled-project/pojem/aaaa
As of 9adaeef725e129ee1376a94a4c2e162efe50a32f, I get given
checked.
Allow exporting model to SKOS format (serialized in RDF/Turtle) compliant with
https://opendata.gov.cz/_media/dokumenty:s%C3%A9mantick%C3%BD-slovn%C3%ADk-pojm%C5%AF:c1v2d1_n%C3%A1vrh_koncepce_s%C3%A9mantick%C3%A9ho_slovn%C3%ADku_pojm%C5%AF.pdf