All Downloads are FREE. Search and download functionalities are using the official Maven repository.

report_queries.duplicate_definition.rq Maven / Gradle / Ivy

Go to download

Core library for ROBOT: Library for working with OWL ontologies, especially Open Biological and Biomedical Ontologes (OBO).

The newest version!
# # Duplicate Definition
#
# **Problem:** An entity shares an exact definition or elucidation with another entity. Excludes deprecated entities.
#
# **OBO Foundry Principle:** [6 - Textual Definitions](http://obofoundry.org/principles/fp-006-textual-definitions.html)
#
# **Solution:** Update the definition to reflect the entities, or determine if the entities are the same.

PREFIX obo: 
PREFIX owl: 
PREFIX rdfs: 

SELECT DISTINCT ?entity ?property ?value WHERE {
  VALUES ?property { obo:IAO_0000115
                     obo:IAO_0000600 }
  ?entity ?property ?value .
  ?entity2 ?property ?value .
  FILTER NOT EXISTS { ?entity owl:deprecated true }
  FILTER NOT EXISTS { ?entity2 owl:deprecated true }
  FILTER (?entity != ?entity2)
  FILTER (!isBlank(?entity))
}
ORDER BY DESC(UCASE(str(?value)))




© 2015 - 2025 Weber Informatics LLC | Privacy Policy