diff --git a/src/curation/upheno-config.yaml b/src/curation/upheno-config.yaml index 94046746..1c567f51 100644 --- a/src/curation/upheno-config.yaml +++ b/src/curation/upheno-config.yaml @@ -250,7 +250,7 @@ sources: #- ncit - id: zp mirror_from: http://purl.obolibrary.org/obo/zp/zp-base.owl - root: http://purl.obolibrary.org/obo/ZP_00000000 + root: http://purl.obolibrary.org/obo/ZP_0000000 prefix_iri: http://purl.obolibrary.org/obo/ZP_ taxon: http://purl.obolibrary.org/obo/UPHENO_ZP taxon_label: ZPO diff --git a/src/ontology/upheno-odk.yaml b/src/ontology/upheno-odk.yaml index 5bf12cd8..a1e71250 100644 --- a/src/ontology/upheno-odk.yaml +++ b/src/ontology/upheno-odk.yaml @@ -195,7 +195,7 @@ sources: #- ncit - id: zp mirror_from: http://purl.obolibrary.org/obo/zp/zp-base.owl - root: http://purl.obolibrary.org/obo/ZP_00000000 + root: http://purl.obolibrary.org/obo/ZP_0000000 prefix_iri: http://purl.obolibrary.org/obo/ZP_ taxon: http://purl.obolibrary.org/obo/ZP taxon_label: ZPO diff --git a/src/sparql/zp_phenotypes.sparql b/src/sparql/zp_phenotypes.sparql index 851a6118..526984ca 100644 --- a/src/sparql/zp_phenotypes.sparql +++ b/src/sparql/zp_phenotypes.sparql @@ -4,7 +4,7 @@ prefix rdf: SELECT ?s ?lab ?ldef WHERE { -?s rdfs:subClassOf* . +?s rdfs:subClassOf* . OPTIONAL { ?s rdfs:label ?lab } OPTIONAL { ?s owl:equivalentClass [ rdf:type owl:Restriction ; owl:onProperty ;