W3C home > Mailing lists > Public > public-sdwig@w3.org > March 2018

[sdw] Inverse property for ssn:hasSubSystem

From: Sander Vanden Hautte via GitHub <sysbot+gh@w3.org>
Date: Wed, 28 Mar 2018 07:51:41 +0000
To: public-sdwig@w3.org
Message-ID: <issues.opened-309256803-1522223498-sysbot+gh@w3.org>
sanderzz91 has just created a new issue for https://github.com/w3c/sdw:

== Inverse property for ssn:hasSubSystem ==
Hi,

I'd like to point out that adding an inverse property for ssn:hasSubSystem may be an improvement.

The application that I'm developing now knows the URLs of sensors from the start, but not the system hierarchy in which the sensor is deployed, so the goal is to host at the URL of the sensor what its parent system is. This is impossible with the ssn:hasSubSystem property, I would need the inverse property, which does not exist. 

And once the application fetches the semantic description of a sensor's parent system, it should read if it also has a parent system, and so on. Again, this isn't possible with ssn:hasSubSystem.

I guess I'm going to write a little extension to the ssn ontology to provide an inverse property for ssn:hasSubSystem.

But maybe such a change would benefit other developers. I see that you thought of this already anyway, since you have this statement in the ssn ontology file:

```
ssn:System rdfs:subClassOf [ 
    a owl:Restriction ; 
    owl:onProperty [ 
        owl:inverseOf ssn:hasSubSystem 
    ] ; 
    owl:allValuesFrom ssn:System 
]
```

Kind regards.

Please view or discuss this issue at https://github.com/w3c/sdw/issues/1022 using your GitHub account
Received on Wednesday, 28 March 2018 07:51:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:17:47 UTC