Update Connector to match latest SPARQLer commit
The only thing I do not understand here is the fact that the generated SHACL file does not define the sphn
prefix but uses the following instead @prefix : <https://biomedit.ch/rdf/sphn-schema/sphn#> .
. It is strange because the changes do not have anything to do with the SHACLer logic. Any ideas why this happens? Is that an issue?
Extract:
@prefix : <https://biomedit.ch/rdf/sphn-schema/sphn#> .
@prefix chop: <https://biomedit.ch/rdf/sphn-resource/chop/> .
@prefix constraints: <https://biomedit.ch/rdf/sphn-schema-constraints/sphn#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix eco: <http://purl.obolibrary.org/obo/ECO_> .
@prefix edam: <http://edamontology.org/> .
@prefix efo: <http://www.ebi.ac.uk/efo/EFO_> .
@prefix emdn: <https://biomedit.ch/rdf/sphn-resource/emdn/> .
@prefix geno: <http://purl.obolibrary.org/obo/GENO_> .
@prefix icd-10-gm: <https://biomedit.ch/rdf/sphn-resource/icd-10-gm/> .
@prefix obi: <http://purl.obolibrary.org/obo/OBI_> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix snomed: <http://snomed.info/id/> .
@prefix so: <http://purl.obolibrary.org/obo/SO_> .
@prefix sphn-atc: <https://biomedit.ch/rdf/sphn-resource/atc/> .
@prefix sphn-individual: <https://biomedit.ch/rdf/sphn-schema/sphn/individual#> .
@prefix sphn-loinc: <https://biomedit.ch/rdf/sphn-resource/loinc/> .
@prefix ucum: <https://biomedit.ch/rdf/sphn-resource/ucum/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
constraints: a owl:Ontology ;
dcterms:created "2024-05-28"^^xsd:date ;
dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
rdfs:comment "Generated by the the SHACLer tool, that is developed by the SPHN DCC (PHI, SIB Swiss Institute of Bioinformatics): https://git.dcc.sib.swiss/sphn-semantic-framework/sphn-shacl-generator"^^xsd:string ;
owl:versionIRI <https://biomedit.ch/rdf/sphn-schema/sphn/2024/2> ;
sh:entailment <http://www.w3.org/ns/entailment/RDFS> .
constraints:AccessDevice a sh:NodeShape ;
sh:closed false ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:class snomed:105789008 ;
sh:maxCount 1 ;
sh:minCount 0 ;
sh:path :hasTypeCode ],
[ sh:class :Software ;
sh:minCount 0 ;
sh:path :hasSoftware ],
[ sh:maxCount 1 ;
sh:minCount 0 ;
sh:or ( [ sh:class :Code ] [ sh:class :Terminology ] ) ;
sh:path :hasProductCode ] ;
sh:targetClass :AccessDevice .
Edited by Nicola Stoira