Skip to content

Commit e29e7ff

Browse files
committedJan 29, 2023
family ontology added disjointness axiom
1 parent a535585 commit e29e7ff

File tree

4 files changed

+220
-20
lines changed

4 files changed

+220
-20
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.ipynb_checkpoints/
12
## Core latex/pdflatex auxiliary files:
23
*.aux
34
*.lof

‎notebooks/data/family.owl

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
</owl:Class>
5757
</owl:equivalentClass>
5858
<rdfs:subClassOf rdf:resource="http://Person"/>
59+
<owl:disjointWith rdf:resource="http://Male"/>
5960
</owl:Class>
6061

6162

‎notebooks/model-theoretic.ipynb

+217-20
Large diffs are not rendered by default.

‎scripts/fo.py

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def main():
2727
axioms.add(adapter.create_subclass_of(parent, person))
2828
axioms.add(adapter.create_subclass_of(mother, female))
2929
axioms.add(adapter.create_subclass_of(father, male))
30+
axioms.add(adapter.create_disjoint_classes(male, female))
3031
parent_and_male = adapter.create_object_intersection_of(parent, male)
3132
axioms.add(adapter.create_subclass_of(parent_and_male, father))
3233
parent_and_female = adapter.create_object_intersection_of(parent, female)

0 commit comments

Comments
 (0)
Please sign in to comment.