semanticarts / gist

Semantic Arts gist upper enterprise ontology
Creative Commons Attribution 4.0 International
158 stars 18 forks source link

gist:containedText and gist:uniqueText proposals #1043

Open rjyounes opened 7 months ago

rjyounes commented 7 months ago

Proposals:

skos:definition "A string that is closely associated with an individual."

This sounds like any resource could have contained text. E.g., do I contain my name? Obviously not.

rjyounes commented 2 months ago

As of gist 13.0.0:

gist:containedText
    a owl:DatatypeProperty ;
    rdfs:range xsd:string ;
    skos:definition "A string that is closely associated with an individual."^^xsd:string ;
    skos:example
        "The string associated with a tag."^^xsd:string ,
        "The string associated with text content."^^xsd:string
        ;
    skos:prefLabel "contained text"^^xsd:string ;
    gist:domainIncludes
        gist:Tag ,
        gist:Text
        ;
    .

gist:uniqueText
    a
        owl:DatatypeProperty ,
        owl:FunctionalProperty
        ;
    rdfs:subPropertyOf gist:containedText ;
    rdfs:range xsd:string ;
    skos:definition "The unique string value of some content object, to be used when there is no possibility of having more than one value."^^xsd:string ;
    skos:example "The unique string for a vehicle identification number."^^xsd:string ;
    skos:prefLabel "unique text"^^xsd:string ;
    skos:scopeNote "Note that the uniqueness only goes in one direction: a product catalog number might also be an employee ID."^^xsd:string ;
    gist:domainIncludes
        gist:ID ,
        gist:MediaType ,
        gist:Tag ,
        gist:Text
        ;
    .