Open KonradHoeffner opened 4 years ago
SELECT COUNT DISTINCT ?c ?f
{
?c meta:typicalFeature ?f
}
Result: 174
meta:typicalFeature is not defined at all. Investigate its usage.
SELECT DISTINCT ?c ?f
{
?c meta:typicalFeature ?f
}
SELECT DISTINCT ?s ?sup COUNT(?c) as ?COUNT
FROM <http://www.snik.eu/ontology>
{
?c meta:typicalFeature ?f.
?c meta:subTopClass ?s.
?c rdfs:subClassOf ?sup.
}
SELECT DISTINCT ?s ?sup COUNT(DISTINCT(?c)) as ?COUNT
FROM <http://www.snik.eu/ontology>
{
?c meta:typicalFeature ?f.
?c meta:subTopClass ?s.
?c rdfs:subClassOf ?sup.
}
So we can nearly define the domain as meta:ComputerBasedApplicationComponent, however there are a few exceptions:
Middleware is a subclass of IntegrationTechnology. Both of them don't have a superclass of ComputerBasedApplicationComponent. We could change property of those 4 triples to isAssociatedWith.
:Feature a owl:Class ;
rdfs:label "feature"@en .
:feature a owl:ObjectProperty ; rdfs:domain :ComputerBasedApplicationComponent ; rdfs:label "feature"@en ; rdfs:range :Feature .
Added in commit 65e13e1ae7b5c135d9759056b214c1fa1f3781bb.
The easiest way is to make bb:IntegrationTechnology a ComputerBasedApplicationComponent.
@FranziskaJahn: Is it correct to make that change?
SPARQL
WITH <http://www.snik.eu/ontology/bb>
DELETE DATA {bb:IntegrationTechnology rdfs:subClassOf bb:InformationManagementEntityType.}
INSERT DATA {bb:IntegrationTechnology rdfs:subClassOf meta:ComputerBasedApplicationComponent.}
@FranziskaJahn : Bitte Grafik vom Metamodell um "Feature" erweitern.
@BirgitSNIK: Kannst du mir bitte mir die Quelldatei schicken, dann kümmere ich mich selbst darum. Welches Programm braucht man dafür?
There are 307 instances of meta:Feature but this class is not in our diagram, where is it coming from?
The meta:typicalFeature triples were already included in the initial GitHub commit from 2016-08-09, https://raw.githubusercontent.com/IMISE/snik-ontology/a0aef41ed23292c7b25313badf8b5e5b29cb92b7/bb.rdf.
The instances aren't well described however: