@prefix gist: <https://w3id.org/semanticarts/ns/ontology/gist/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

gist:Offer owl:equivalentClass [ a owl:Class ;
            owl:intersectionOf ( gist:ContingentObligation [ a owl:Restriction ;
                        owl:onProperty gist:hasGiver ;
                        owl:someValuesFrom [ a owl:Class ;
                                owl:unionOf ( gist:Organization gist:Person ) ] ] [ a owl:Restriction ;
                        owl:onProperty gist:offersToProvide ;
                        owl:someValuesFrom owl:Thing ] [ a owl:Restriction ;
                        owl:onProperty gist:offersToReceive ;
                        owl:someValuesFrom owl:Thing ] [ a owl:Restriction ;
                        owl:onProperty gist:plannedEndDateTime ;
                        owl:someValuesFrom xsd:dateTime ] [ a owl:Restriction ;
                        owl:onProperty gist:plannedStartDateTime ;
                        owl:someValuesFrom xsd:dateTime ] ) ] .

gist:plannedEndDate rdfs:subPropertyOf gist:plannedEndDateTime .

gist:plannedEndMinute rdfs:subPropertyOf gist:plannedEndDateTime .

gist:plannedEndYear rdfs:subPropertyOf gist:plannedEndDateTime .

gist:plannedEndDateTime a owl:DatatypeProperty ;
    rdfs:label "planned end date time"^^xsd:string ;
    rdfs:comment "DEFINITION: The date that something is or was planned to end, with no implied precision."^^xsd:string,
        "NOTE: This is an abstraction over the various precisions of planned end time, and is not expected to be asserted directly. Values of predicates with different precisions can be compared since they are all formally xsd:datetimes."^^xsd:string,
        "NOTE: This property, unlike gist:actualEndDateTime, does not have a subproperty for microsecond precision, because planned times typically are not expressed at that level of granularity. Typically a planned date is in the future when first captured, but when tasks run late, we leave the plan where it was and compare it to the actual."^^xsd:string ;
    rdfs:isDefinedBy <https://w3id.org/semanticarts/ontology/gistCore14.1.0> ;
    rdfs:range xsd:dateTime ;
    rdfs:subPropertyOf gist:endDateTime ;
    skos:definition "The date that something is or was planned to end, with no implied precision."^^xsd:string ;
    skos:prefLabel "planned end date time"^^xsd:string ;
    skos:scopeNote "This is an abstraction over the various precisions of planned end time, and is not expected to be asserted directly. Values of predicates with different precisions can be compared since they are all formally xsd:datetimes."^^xsd:string,
        "This property, unlike gist:actualEndDateTime, does not have a subproperty for microsecond precision, because planned times typically are not expressed at that level of granularity. Typically a planned date is in the future when first captured, but when tasks run late, we leave the plan where it was and compare it to the actual."^^xsd:string .

