diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2017-01-08 00:23:24 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2017-01-08 00:23:24 +0100 |
commit | d8c8bb05d9a5c1ab759e8155d10dba3a64139714 (patch) | |
tree | 38b89a86e54a916f38f950e576947c2394708538 /owl | |
parent | 0958273a71dd19c2a90471a182ccc5b90b14e5b4 (diff) | |
download | eda-rdf-d8c8bb05d9a5c1ab759e8155d10dba3a64139714.tar.gz eda-rdf-d8c8bb05d9a5c1ab759e8155d10dba3a64139714.tar.bz2 eda-rdf-d8c8bb05d9a5c1ab759e8155d10dba3a64139714.tar.xz eda-rdf-d8c8bb05d9a5c1ab759e8155d10dba3a64139714.zip |
Starting on a KiCAD ontology.
o Supporting many version of a single project.
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 |