Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch fertilizer concentrations #123

Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
434 changes: 433 additions & 1 deletion src/ontology/agro-edit.owl

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions src/ontology/modules/chemical_area_density.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
defined_class,defined_class_label,chemical,chemical_label,subclass,subclass_label
AGRO:00040000,,CHEBI:62982,ammonium dihydrogen phosphate,AGRO:00000169,'ammonium area density'
AGRO:00040001,,CHEBI:149425,ammonium magnesium phosphate,AGRO:00000169,'ammonium area density'
AGRO:00040002,,CHEBI:149427,ammonium magnesium phosphate hexahydrate,AGRO:00000169,'ammonium area density'
AGRO:00040003,,CHEBI:63038,ammonium nitrate,AGRO:00000169,'ammonium area density'
AGRO:00040004,,CHEBI:147420,ammonium nitrate phosphate,AGRO:00000169,'ammonium area density'
AGRO:00040005,,CHEBI:147419,ammonium phosphate sulfate,AGRO:00000169,'ammonium area density'
AGRO:00040006,,CHEBI:147408,ammonium polyphosphate,AGRO:00000169,'ammonium area density'
AGRO:00040007,,CHEBI:62946,ammonium sulfate,AGRO:00000169,'ammonium area density'
AGRO:00040008,,CHEBI:140457,ammonium sulfate nitrate,AGRO:00000169,'ammonium area density'
AGRO:00040009,,CHEBI:91240,ammonium sulfate urea,AGRO:00000169,'ammonium area density'
AGRO:00040010,,CHEBI:147402,ammonium thiosulfate,AGRO:00000169,'ammonium area density'
AGRO:00040011,,CHEBI:91238,calcium ammonium nitrate,AGRO:00000170,'calcium area density'
AGRO:00040012,,CHEBI:35433,calcium bis(dihydrogenphosphate),AGRO:00000170,'calcium area density'
AGRO:00040013,,CHEBI:3311,calcium carbonate,AGRO:00000170,'calcium area density'
AGRO:00040014,,CHEBI:64301,calcium cyanamide,AGRO:00000170,'calcium area density'
AGRO:00040015,,CHEBI:3312,calcium dichloride,AGRO:00000170,'calcium area density'
AGRO:00040016,,CHEBI:64205,calcium nitrate,AGRO:00000170,'calcium area density'
AGRO:00040017,,CHEBI:31344,calcium oxide,AGRO:00000170,'calcium area density'
AGRO:00040018,,CHEBI:23414,copper(II) sulfate,AGRO:00000177,'copper area density'
AGRO:00040019,,CHEBI:147423,cyanoguanidine,PATO:0001351,area density
AGRO:00040020,,CHEBI:63051,diammonium hydrogen phosphate,AGRO:00000169,'ammonium area density'
AGRO:00040021,,CHEBI:48838,gypsum,PATO:0001351,area density
AGRO:00040022,,ENVO:00002053,limestone,PATO:0001351,area density
AGRO:00040023,,CHEBI:31793,magnesium carbonate,AGRO:00000174,'magnesium area density'
AGRO:00040024,,CHEBI:64736,magnesium nitrate,AGRO:00000174,'magnesium area density'
AGRO:00040025,,CHEBI:31794,magnesium oxide,AGRO:00000174,'magnesium area density'
AGRO:00040026,,CHEBI:32599,magnesium sulfate,AGRO:00000174,'magnesium area density'
AGRO:00040027,,CHEBI:26078,phosphoric acid,AGRO:00000160,'phosphorus area density'
AGRO:00040028,,CHEBI:131526,potassium carbonate,AGRO:00000201,'potassium area density'
AGRO:00040029,,CHEBI:32588,potassium chloride,AGRO:00000201,'potassium area density'
AGRO:00040030,,CHEBI:63036,potassium dihydrogen phosphate,AGRO:00000201,'potassium area density'
AGRO:00040031,,CHEBI:148438,potassium metaphosphate,AGRO:00000201,'potassium area density'
AGRO:00040032,,CHEBI:63043,potassium nitrate,AGRO:00000201,'potassium area density'
AGRO:00040033,,CHEBI:63005,sodium nitrate,PATO:0001351,area density
AGRO:00040034,,CHEBI:77775,sodium selenate,PATO:0001351,area density
AGRO:00040035,,CHEBI:16199,urea,PATO:0001351,area density
AGRO:00040036,,CHEBI:88276,urea ammonium nitrate,AGRO:00040035,'urea area density'
AGRO:00040037,,CHEBI:35176,zinc sulfate,AGRO:00000176,'zinc area density'
1,028 changes: 1,028 additions & 0 deletions src/ontology/modules/chemical_area_density.owl

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/ontology/modules/chemical_entities.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
defined_class,defined_class_label,attribute,attribute_label,entity,entity_label
AGRO:00050000,,,,,
2 changes: 2 additions & 0 deletions src/ontology/modules/entity_attribute_location.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
defined_class,defined_class_label,attribute,attribute_label,entity,entity_label,location,location_label
AGRO:00030000,,,,,,,
53 changes: 53 additions & 0 deletions src/ontology/patterns/chemical_area_density.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
pattern_name: agro/patterns/chemical_area_density
contributors:
- https://orcid.org/0000-0002-2627-0696

#### owl_entity Dictionaries
classes:
chemical entity: CHEBI:24431
area density: PATO:0001351

relations:
inheres in: RO:0000052

# Var types
vars:
chemical: "'chemical entity'"
subclass: "'subclass'"

subClassOf:

text: '%s'
vars:
- 'subclass'

annotationProperties:
exact_synonym: oio:hasExactSynonym

# OBO fields
name:
text: "%s area density"
vars:
- chemical

# Specifying axioms:
annotations:
- annotationProperty: exact_synonym
text: "amount of %s applied"
vars:
- chemical

def:
text: "An area density quality which inheres in %s by virtue of some influence exerted by the mass of %s applied in a given surface area."
vars:
- chemical
- chemical

equivalentTo:
text: "'inheres in' some %s"
vars:
- chemical

comment:
text: "Generated by pattern 'agro/patterns/chemical_area_density', using dosdp-tools and ROBOT tool"

34 changes: 34 additions & 0 deletions src/ontology/patterns/chemical_entities.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
pattern_name: agro/patterns/chemical_entities

classes:

relations:
part of: BFO:0000050
inheres in: RO:0000052

vars:
chemical: "'chemical'"
entity: "owl:Thing"
area density: "'area density'"

name:
text: "%s %s"
vars:
- chemical
- area density

annotationProperties:
exact_synonym: oio:hasExactSynonym

annotations:
- annotationProperty: exact_synonym
text: "amount of %s applied"
vars:
- chemical

def:
text: "An %s quality which inheres in %s by virtue of some influence exerted by the mass of %s applied in a given surface area."
vars:
- area density
- chemical
- chemical
44 changes: 44 additions & 0 deletions src/ontology/patterns/entity_attribute_location.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
pattern_name: agro/patterns/entity_attribute_location

classes:

relations:
part of: BFO:0000050
inheres in: RO:0000052

vars:
attribute: "owl:Thing"
entity: "owl:Thing"
location: "owl:Thing"

name:
text: "%s of %s in %s"
vars:
- attribute
- entity
- location

annotationProperties:
exact_synonym: oio:hasExactSynonym

annotations:
- annotationProperty: exact_synonym
text: "%s %s %s"
vars:
- location
- entity
- attribute

def:
text: "The %s of a %s when measured in %s."
vars:
- attribute
- entity
- location

equivalentTo:
text: "%s and 'inheres in' some (%s and 'part of' some %s)"
vars:
- attribute
- entity
- location