diff --git a/src/curation/upheno-config.yaml b/src/curation/upheno-config.yaml index 5ca82d11..f2760fa0 100644 --- a/src/curation/upheno-config.yaml +++ b/src/curation/upheno-config.yaml @@ -242,7 +242,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 67558bc2..60067d31 100644 --- a/src/ontology/upheno-odk.yaml +++ b/src/ontology/upheno-odk.yaml @@ -113,8 +113,6 @@ sources: mirror_from: http://purl.obolibrary.org/obo/xao.owl - id: zfa-uberon mirror_from: http://purl.obolibrary.org/obo/uberon/bridge/uberon-bridge-to-zfa.owl - - id: bspo-uberon - mirror_from: https://raw.githubusercontent.com/obophenotype/uberon/master/bridge/uberon-bridge-to-bspo.obo - id: caro-uberon mirror_from: http://purl.obolibrary.org/obo/uberon/bridge/uberon-bridge-to-caro.owl - id: xao-uberon @@ -177,7 +175,6 @@ sources: - bfo - xao - xao-uberon - - bspo-uberon - caro-uberon - id: planp mirror_from: http://purl.obolibrary.org/obo/planp/planp-base.owl @@ -190,12 +187,11 @@ sources: dependencies: - plana #- plana-uberon - - bspo-uberon - caro-uberon #- 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 @@ -207,7 +203,6 @@ sources: - mpath - bfo - zfa-uberon - - bspo-uberon - caro-uberon - id: dpo mirror_from: http://purl.obolibrary.org/obo/dpo/dpo-base.owl 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 ;