snikproject / ontology

Public SNIK Ontology. An ontology of information management in hospitals.
https://snikproject.github.io/ontology/
Other
10 stars 1 forks source link

Conflicting values for consolidated #226

Closed KonradHoeffner closed 2 years ago

KonradHoeffner commented 5 years ago

For example, http://www.snik.eu/ontology/he/StrategischeSchlagkraft has meta:consolidated 0 and 1 as values. Drop the zero and go with the one in those cases?

KonradHoeffner commented 5 years ago
g no yes both
http://www.snik.eu/ontology/he 1470 583 158

Created by

select *
{
 {
 select ?g count(?x) as ?no
 {
 graph ?g
 {
 ?x meta:consolidated "0"^^xsd:integer.
 }
 }
 }

 {
 select ?g count(?y) as ?yes
 {
 graph ?g
 {
 ?y meta:consolidated "1"^^xsd:integer.
 }}}

 {
 select ?g count(?z) as ?both
 {
 graph ?g
 {
 ?z meta:consolidated "1"^^xsd:integer.
 ?z meta:consolidated "0"^^xsd:integer.
 }}}

} group by ?g
AlfredWinter commented 5 years ago

Keep it like this to mark possibly conflicting base information.