diff options
Diffstat (limited to 'owl')
-rw-r--r-- | owl/kicad.owl | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/owl/kicad.owl b/owl/kicad.owl new file mode 100644 index 0000000..ae9c763 --- /dev/null +++ b/owl/kicad.owl @@ -0,0 +1,76 @@ +Prefix(:=<https://trygvis/purl/kicad#>) +Prefix(owl:=<http://www.w3.org/2002/07/owl#>) +Prefix(rdf:=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>) +Prefix(xml:=<http://www.w3.org/XML/1998/namespace>) +Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>) +Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>) +Prefix(kicad-random:=<https://trygvis/purl/kicad-random/>) + + +Ontology(<https://trygvis/purl/kicad> + +Declaration(Class(:component)) +Declaration(Class(:field)) +Declaration(Class(:footprint)) +Declaration(Class(:project)) +Declaration(Class(:project-version)) +Declaration(Class(:sheet)) +Declaration(ObjectProperty(:hasComponent)) +Declaration(ObjectProperty(:hasProjectVersion)) +Declaration(ObjectProperty(:hasTimestamp)) +Declaration(DataProperty(:field-name)) +Declaration(DataProperty(:field-value)) +Declaration(DataProperty(:timestamp)) + +############################ +# Object Properties +############################ + +# Object Property: owl:topObjectProperty (owl:topObjectProperty) + +ObjectPropertyDomain(owl:topObjectProperty :project) + +# Object Property: :hasComponent (:hasComponent) + +InverseObjectProperties(:hasComponent :hasProjectVersion) +ObjectPropertyDomain(:hasComponent :project-version) +ObjectPropertyRange(:hasComponent :component) + +# Object Property: :hasProjectVersion (:hasProjectVersion) + +ObjectPropertyDomain(:hasProjectVersion :component) +ObjectPropertyRange(:hasProjectVersion :project-version) + +# Object Property: :hasTimestamp (:hasTimestamp) + +ObjectPropertyDomain(:hasTimestamp :project-version) + + +############################ +# Data Properties +############################ + +# Data Property: :field-name (:field-name) + +DataPropertyRange(:field-name xsd:string) + +# Data Property: :field-value (:field-value) + +DataPropertyRange(:field-value xsd:string) + +# Data Property: :timestamp (:timestamp) + +DataPropertyRange(:timestamp xsd:dateTime) + + + +############################ +# Classes +############################ + +# Class: :project (:project) + +AnnotationAssertion(rdfs:comment :project "KiCAD Project"@en) + + +)
\ No newline at end of file |