andrecastro0o / ontology2smw

automating an RDF ontology import into Semantic Mediawiki
GNU General Public License v3.0
16 stars 5 forks source link

provide cli argument for smw_datatype #19

Open andrecastro0o opened 4 years ago

andrecastro0o commented 4 years ago

https://github.com/TIBHannover/ontology2smw/blob/ad280ca7992249c1a5d651478429315d0a25a9b5/ontology2smw/queries/query_classes_properties.rq#L29

By default In aeon the property that determines the datatype that imported property/class will have in SMW is aeon:smw_datatype. However ontology designers might want to use a different property, for this task. Which will be associated with variable ?smw_datatype in https://github.com/TIBHannover/ontology2smw/blob/ad280ca7992249c1a5d651478429315d0a25a9b5/ontology2smw/queries/query_classes_properties.rq#L29

Argument could be -sp OR --smwpropety