@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:encryptedText rdfs:subPropertyOf gist:containedText .

gist:uniqueText rdfs:subPropertyOf gist:containedText .

gist:Tag rdfs:subClassOf [ a owl:Restriction ;
            owl:onProperty gist:containedText ;
            owl:someValuesFrom xsd:string ] .

gist:Text owl:equivalentClass [ a owl:Class ;
            owl:intersectionOf ( gist:ContentExpression [ a owl:Restriction ;
                        owl:onProperty gist:isExpressedIn ;
                        owl:someValuesFrom gist:Language ] [ a owl:Restriction ;
                        owl:onProperty gist:containedText ;
                        owl:someValuesFrom xsd:string ] ) ] .

gist:containedText a owl:DatatypeProperty ;
    rdfs:label "contained text"^^xsd:string ;
    rdfs:comment "DEFINITION: Relates an entity containing textual information to the string constituting that textual information."^^xsd:string,
        "EXAMPLE: The string associated with a tag or with text content."^^xsd:string,
        "NOTE: If there are multiple strings associated with an entity, it is an implementation decision whether to combine them into a single contained text value or to use multiple contained text assertions."^^xsd:string ;
    rdfs:isDefinedBy <https://w3id.org/semanticarts/ontology/gistCore14.1.0> ;
    skos:definition "Relates an entity containing textual information to the string constituting that textual information."^^xsd:string ;
    skos:example "The string associated with a tag or with text content."^^xsd:string ;
    skos:prefLabel "contained text"^^xsd:string ;
    skos:scopeNote "If there are multiple strings associated with an entity, it is an implementation decision whether to combine them into a single contained text value or to use multiple contained text assertions."^^xsd:string ;
    gist:domainIncludes gist:Content,
        gist:ContentExpression,
        gist:Tag,
        gist:Text .

