dracor-org / dracor-schema

ODD and schemas for dracor.org files
https://dracor.org/doc/odd
5 stars 2 forks source link

add data types to ontology #31

Open ingoboerner opened 2 years ago

ingoboerner commented 2 years ago

see implemented data types in rdf-generated module!

<dracon:averageClustering rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">

<dracon:averagePathLength rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">

<dracon:averageDegree rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">

<dracon:density rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">

<dracon:diameter rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">

<dracon:maxDegree rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">

https://www.data2type.de/xml-xslt-xslfo/xml-schema/datentypen-referenz/xs-decimal see built in datatypes here: https://www.w3.org/TR/xmlschema-2/

ingoboerner commented 2 years ago

should also check haskell library and corresponding issues in dracor API: https://github.com/dracor-org/dracor-api/issues/87 https://github.com/dracor-org/dracor-api/issues/84 https://github.com/dracor-org/dracor-api/issues/83 ...