Closed GeorgFerdinandSchneider closed 3 years ago
Should be reintroduced as discussed in https://github.com/w3c-lbd-cg/bot/pull/53
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix bot: <https://w3id.org/bot#> .
bot:hostsElement a owl:ObjectProperty ;
rdfs:label "hosts element"@en ;
rdfs:comment "Relation between an element a) and another element b) hosted by element a). Example: inst:wall bot:hostsElement inst:window"@en ;
owl:deprecated "true"^^xsd:boolean .
would it be good to add some words to the (english) definition? E.g. "DEPRECATED" and a word on the new approach (in this case, "use bot:hasSubElement instead")?
+1
We can use the rdfs:seeAlso annotation property for this purpose and add a note in the description:
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix bot: <https://w3id.org/bot#> .
bot:hostsElement a owl:ObjectProperty ;
rdfs:label "hosts element"@en ;
rdfs:comment "This property is DEPRECATED, use bot:hasSubElement instead."@en ;
rdfs:seeAlso bot:hasSubElement ;
owl:deprecated "true"^^xsd:boolean .
Looks good. Maybe also keep the old definition in the rdfs:comment
?
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix bot: <https://w3id.org/bot#> .
bot:hostsElement a owl:ObjectProperty ;
rdfs:label "hosts element"@en ;
rdfs:comment "This property is DEPRECATED, use bot:hasSubElement instead /// ORIGINAL definition: Relation between an element a) and another element b) hosted by element a). Example: inst:wall bot:hostsElement inst:window "@en ;
rdfs:seeAlso bot:hasSubElement ;
owl:deprecated "true"^^xsd:boolean .
+1
Let's use the turtle shortcut: owl:deprecated true
should deprecated concepts also be added to the HTML?
During the W3C-LBD-CG call of the 23rd of March, the group decided the following:
The bot:hostsElement property will be added as deprecated to the current v0.3.2 (using owl:deprecated and starting rdfs:comment with “This property is DEPRECATED, use bot:hasSubElement instead // ORIGINAL definition: ...”. In addition, an rdfs:seeAlso to the other BOT property that should be used instead (bot:hasSubElement) is included. The HTML doc of BOT will also include this deprecated property.
Up to now they have been removed completely from the ontology file.
In one of the upcoming next calls it should be determined whether outdated properties should be reintroduced, marked as deprecated.
Example:
The removed properties are: