From f94914a74af88398102e837065c37c3cf9b2dd87 Mon Sep 17 00:00:00 2001 From: Nico Matentzoglu Date: Sun, 21 Jan 2024 22:10:10 +0200 Subject: [PATCH 1/3] ZP to seven digits --- src/ontology/upheno-odk.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 2ab4bee38c68ec3a6a9f056c6d12a4e6224ea88b Mon Sep 17 00:00:00 2001 From: Nico Matentzoglu Date: Sun, 21 Jan 2024 22:12:43 +0200 Subject: [PATCH 2/3] upheno-config.yaml ZP seven digits --- src/curation/upheno-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 2eb010be573342f857c0e8a43a0cc4f43b4c75f1 Mon Sep 17 00:00:00 2001 From: Nico Matentzoglu Date: Sun, 21 Jan 2024 22:13:37 +0200 Subject: [PATCH 3/3] Update zp_phenotypes.sparql ZP to 7 digits --- src/sparql/zp_phenotypes.sparql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;