Skip to content

Commit

Permalink
Add some domain to begin and end to match the paper (they make sense …
Browse files Browse the repository at this point in the history
…as well)
  • Loading branch information
JervenBolleman committed Jan 28, 2014
1 parent 60fdbdd commit 43834f4
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions faldo.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@

<http://biohackathon.org/resource/faldo>
rdf:type owl:Ontology ;
spin:imports <http://topbraid.org/spin/owlrl-all> , <http://topbraid.org/spin/rdfsplus> , <http://topbraid.org/spin/spinowl> ;
spin:imports <http://topbraid.org/spin/spinowl> , <http://topbraid.org/spin/rdfsplus> , <http://topbraid.org/spin/owlrl-all> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .

:BagOfRegions
rdf:type owl:Class ;
rdfs:comment "Used to describe a location that consists of a number of Regions but where the order is not known. e.g. the oddly named order() keyword in a INSDC file."^^xsd:string ;
rdfs:seeAlso <http://www.insdc.org/files/feature_table.html> ;
rdfs:subClassOf :CollectionOfRegions , rdf:Bag .
rdfs:subClassOf rdf:Bag , :CollectionOfRegions .

:BothStrandsPosition
rdf:type owl:Class ;
rdfs:comment "The 'both strands position' indicates a region that is best described as being on 'both' strands of a double-stranded sequence, rather than one or the other."^^xsd:string ;
rdfs:label "Both strands"^^xsd:string ;
rdfs:subClassOf :StrandedPosition ;
owl:disjointWith :ReverseStrandPosition , :ForwardStrandPosition .
owl:disjointWith :ForwardStrandPosition , :ReverseStrandPosition .

:CollectionOfRegions
rdf:type owl:Class ;
Expand All @@ -48,14 +48,14 @@
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty :position
] ;
owl:disjointWith :OneOfPosition , :InRangePosition , :InBetweenPosition .
owl:disjointWith :InBetweenPosition , :InRangePosition , :OneOfPosition .

:ForwardStrandPosition
rdf:type owl:Class ;
rdfs:comment "The position is on the forward (positive, 5' to 3') strand. Shown as a '+' in GFF3 and GTF."^^xsd:string ;
rdfs:label "Positive strand"^^xsd:string ;
rdfs:subClassOf :StrandedPosition ;
owl:disjointWith :ReverseStrandPosition , :BothStrandsPosition .
owl:disjointWith :BothStrandsPosition , :ReverseStrandPosition .

:FuzzyPosition
rdf:type owl:Class ;
Expand All @@ -82,7 +82,7 @@
"1"^^xsd:nonNegativeInteger
])
] ;
owl:disjointWith :InRangePosition , :OneOfPosition , :ExactPosition .
owl:disjointWith :ExactPosition , :OneOfPosition , :InRangePosition .

:InRangePosition
rdf:type owl:Class ;
Expand All @@ -103,20 +103,20 @@
owl:onProperty :end
])
] ;
owl:disjointWith :InBetweenPosition , :ExactPosition , :StrandedPosition , :OneOfPosition .
owl:disjointWith :OneOfPosition , :StrandedPosition , :ExactPosition , :InBetweenPosition .

:ListOfRegions
rdf:type owl:Class ;
rdfs:comment "As an ordered list of regions (but the list might not be complete)."^^xsd:string , "Should be used when the location of a region is defined by an ordered list of Regions. However, try to avoid using these types in favor of using more explicit semantics about why the order is important."^^xsd:string ;
rdfs:comment "Should be used when the location of a region is defined by an ordered list of Regions. However, try to avoid using these types in favor of using more explicit semantics about why the order is important."^^xsd:string , "As an ordered list of regions (but the list might not be complete)."^^xsd:string ;
rdfs:seeAlso <http://www.insdc.org/files/feature_table.html> ;
rdfs:subClassOf :CollectionOfRegions , rdf:Seq .
rdfs:subClassOf rdf:Seq , :CollectionOfRegions .

:OneOfPosition
rdf:type owl:Class ;
rdfs:comment "The position is known to be one of the more detailed positions listed by the location predicate."^^xsd:string ;
rdfs:label "One of positions"^^xsd:string ;
rdfs:subClassOf :FuzzyPosition ;
owl:disjointWith :ExactPosition , :InRangePosition , :InBetweenPosition .
owl:disjointWith :InBetweenPosition , :InRangePosition , :ExactPosition .

:Position
rdf:type owl:Class ;
Expand Down Expand Up @@ -154,7 +154,7 @@
rdfs:comment "The position is on the reverse (complement, 3' to 5') strand of the sequence. Shown as '-' in GTF and GFF3."^^xsd:string ;
rdfs:label "Negative strand"^^xsd:string ;
rdfs:subClassOf :StrandedPosition ;
owl:disjointWith :BothStrandsPosition , :ForwardStrandPosition .
owl:disjointWith :ForwardStrandPosition , :BothStrandsPosition .

:StrandedPosition
rdf:type owl:Class ;
Expand All @@ -177,6 +177,10 @@
:begin
rdf:type owl:ObjectProperty ;
rdfs:comment "The inclusive beginning of a position. Also known as start."^^xsd:string ;
rdfs:domain
[ rdf:type owl:Class ;
owl:unionOf (:Region :InRangePosition)
] ;
rdfs:range :Position ;
owl:inverseOf :beginOf .

Expand All @@ -196,14 +200,14 @@
:location
rdf:type owl:ObjectProperty ;
rdfs:comment "This is the link between the concept whose location you are annotating and its range or position. For example, when annotating the region that describes an exon, the exon would be the subject and the region would be the object of the triple or: 'active site' 'location' [is] 'position 3'."^^xsd:string ;
rdfs:range
rdfs:domain

This comment has been minimized.

Copy link
@ktym

ktym Sep 1, 2014

Collaborator

I believe it should be rdfs:range. Why you have changed it?

This comment has been minimized.

Copy link
@JervenBolleman

JervenBolleman Sep 12, 2014

Author Collaborator

You seem to be right. Looks like an error by me.

This comment has been minimized.

Copy link
@peterjc

peterjc Nov 13, 2014

Member

Pull request at #17 from @tfuji to fix this after it was rediscovered during BioHackathon 2014.

[ rdf:type owl:Class ;
owl:unionOf (:CollectionOfRegions :Region :Position)
] .

:position
rdf:type owl:DatatypeProperty ;
rdfs:comment "Denoted in 1-based closed coordinates, i.e. the position on the first amino acid or nucleotide of a sequence has the value 1."^^xsd:string , "The position value is the offset along the reference where this position is found. Thus the only the position value in combination with the reference determines where a position is."^^xsd:string ;
rdfs:comment "The position value is the offset along the reference where this position is found. Thus the only the position value in combination with the reference determines where a position is."^^xsd:string , "Denoted in 1-based closed coordinates, i.e. the position on the first amino acid or nucleotide of a sequence has the value 1."^^xsd:string ;
rdfs:domain :ExactPosition ;
rdfs:range
[ rdf:type rdfs:Datatype ;
Expand Down

0 comments on commit 43834f4

Please sign in to comment.