Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mapping change data to the release diff #7266

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion src/sparql/reports/release-report.sparql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PREFIX definition: <http://purl.obolibrary.org/obo/IAO_0000115>
PREFIX obsoletion_candidate: <http://purl.obolibrary.org/obo/mondo#obsoletion_candidate>
PREFIX in_subset: <http://www.geneontology.org/formats/oboInOwl#inSubset>

SELECT ?mondo_term ?label ?definition ?obsoletion_candidate ?obsolete WHERE {
SELECT ?mondo_term ?label ?definition ?obsoletion_candidate ?obsolete ?xref WHERE {
?mondo_term a owl:Class .
OPTIONAL {
?mondo_term rdfs:label ?label .
Expand All @@ -17,6 +17,16 @@ SELECT ?mondo_term ?label ?definition ?obsoletion_candidate ?obsolete WHERE {
OPTIONAL {
?mondo_term owl:deprecated ?obsolete_value .
}
OPTIONAL {
?mondo_term oboInOwl:hasDbXref ?xref .
}
OPTIONAL {
?mondo_term oboInOwl:hasDbXref ?xref .
?xref_anno owl:annotatedSource ?mondo_term ;
owl:annotatedProperty oboInOwl:hasDbXref ;
owl:annotatedTarget ?xref ;
oboInOwl:source ?source .
}
OPTIONAL {
VALUES ?subset {obsoletion_candidate:} .
?mondo_term in_subset: ?subset .
Expand Down