- From: Tim L via GitHub <sysbot+gh@w3.org>
- Date: Fri, 03 Aug 2018 20:19:32 +0000
- To: public-sdwig@w3.org
timrdf has just created a new issue for https://github.com/w3c/sdw: == SOSA and SSN skos:definition and rdfs:comment do not match in 3 cases == ``` prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix skos: <http://www.w3.org/2004/02/skos/core#> select distinct ?term ?definition ?comment where { graph ?ontology { ?term skos:definition ?definition; rdfs:comment ?comment . filter(substr(?definition,1,10) = substr(?comment,1,10)) filter( ?definition != ?comment) } } ``` Finds three terms within SOSA and SSN that do not have exactly matching skos:definition and rdfs:comment values: ``` { "head": { "vars": [ "term" , "definition" , "comment" ] } , "results": { "bindings": [ { "term": { "type": "uri" , "value": "http://www.w3.org/ns/sosa/Sensor" } , "definition": { "type": "literal" , "xml:lang": "en" , "value": "Device, agent (including humans), or software (simulation) involved in, or implementing, a (Sensing) Procedure. Sensors respond to a stimulus, e.g., a change in the environment, or input data composed from the results of prior Observations, and generate a Result. Sensors can be hosted by Platforms." } , "comment": { "type": "literal" , "xml:lang": "en" , "value": "Device, agent (including humans), or software (simulation) involved in, or implementing, a Procedure. Sensors respond to a stimulus, e.g., a change in the environment, or input data composed from the results of prior Observations, and generate a Result. Sensors can be hosted by Platforms." } } , { "term": { "type": "uri" , "value": "http://www.w3.org/ns/ssn/System" } , "definition": { "type": "literal" , "xml:lang": "en" , "value": "System is a unit of abstraction for pieces of infrastructure that implement Procedures. A System may have components, its subsystems, which are other systems." } , "comment": { "type": "literal" , "xml:lang": "en" , "value": "System is a unit of abstraction for pieces of infrastructure that implements Procedures. A System may have components, its subsystems, which are other systems." } } , { "term": { "type": "uri" , "value": "http://www.w3.org/ns/ssn/detects" } , "definition": { "type": "literal" , "xml:lang": "en" , "value": "A relation from a Sensor to the Stimulus that the Sensor detects. The Stimulus itself will be serving as a proxy for some ObservableProperty." } , "comment": { "type": "literal" , "xml:lang": "en" , "value": "A relation from a Sensor to the Stimulus that the Sensor can detect. The Stimulus itself will be serving as a proxy for some ObservableProperty." } } ] } } ``` For sosa:Sensor, the difference is `a (Sensing) Procedure` vs. `a Procedure.` For ssn:System, the difference is `implement Procedures` vs. `implements Procedures` For ssn:detects, the difference is `the Sensor detects` vs. `the Sensor can detect`. Please view or discuss this issue at https://github.com/w3c/sdw/issues/1062 using your GitHub account
Received on Friday, 3 August 2018 20:19:36 UTC