I will like to use python language to query an Ontology a know the class of a given instance from that Ontology
Could use GUID like tags as they are instantiated.
Thanks Sir,
I will like to know if it is possible to query a concept ( Ontology Class) given an Instance ?
eg : I have an instance -> ontology how can I look for it Class in the Education Concept to tell someone that in this case ontology is a school-subject
Do you have relevant publication on this domain ?
Thanks
Hello,
your question seems too general and the answer depends on the API you are using to access your ontology.
Are you using owlready, jena, or something else ?
Look at this links for owlready.
https://pythonhosted.org/Owlready2/index.html
https://pythonhosted.org/Owlready2/onto.html
There is a library in python dealing with ontology owlready / owlready2
you can check the publication :
Article Owlready: Ontology-oriented programming in Python with autom...
and :
https://bitbucket.org/jibalamy/owlready2/src
Thanks ...
The problem was solve using RDFLib python Library.
Have to acces the Object of the Property "rdf:type"
I highly recommend the kglab - https://derwen.ai/docs/kgl/tutorial/.
I would like to add an abstract to a book published last year
18 December 2023 6,581 2 View
Sorry for asking probably stupid question, but I got stick at simple application of ISO 2859 sampling plan. Let's take a simple example of sampling according to ISO 2859 as featured on...
02 May 2023 2,340 2 View
Several papers describe a modified DNA isolation protocol with the common DNeasy Blood & Tissue Kit, which introduce an additional step of incubation at 70 °C for 10 min after adding the AL...
01 November 2021 1,356 3 View
Teaching Mathematics at school to all students is commonly justified by the opinion that it improves their problem-solving skills and "makes them smarter" (whichever measure is implied by this). I...
15 February 2021 7,852 7 View
I am currently looking for journal articles that explain better the corrosion behavior of steel metal in corrosive medium when using the potentiostatic polarization technique with a plotted graph...
15 December 2020 4,635 7 View
I am trying to extract some information (metadata) from GenBank using the R package "rentrez" and the example I found here https://ajrominger.github.io/2018/05/21/gettingDNA.html. Specifically,...
12 August 2020 6,067 2 View
Hello everyone, I would appreciate any hints on the identity of this male Mesostigmata. The specimen is badly damaged but looks very peculiar and hopefully can be recognized at least to the...
09 August 2020 6,520 6 View
Good day all, I am working on a paper on illegal logging, for now, I only have data on illegal logging from the Chatham house, I am looking for other data sources to triangulate information to be...
20 July 2020 3,057 0 View
Hello, I did an analysis with MrBayes version 3.2.6 (Ronquist et al., 2012) with the GTR + G + I model with these commands ; END;Begin mrbayes; outgroup polyzona; lset nst = 6 rates =...
07 July 2020 6,631 2 View
As an author and a reviewer for several editions I have come across a problem pointed out on many occasions previously, namely the consistency and value of peer-reviews. I have seen good, valuable...
28 June 2020 9,234 8 View
Superposition is real, I know this. It's usually represented as containing contradictions (opposite spins of electrons). Therefore it's claimed that Aristotle's Logic does not work here. But is...
23 January 2024 1,003 11 View
We're considering developing a tool that functions as either groupware or a personal knowledge base, automatically classifying and placing each document alongside the most similar ones. How would...
12 August 2023 9,450 0 View
Is the hierarchical structure observed in the Gene Ontology (GO) OBO-basic file limited to the 'is a' relationship, or do the relationships 'has part' and 'regulates' also exhibit a similar...
22 June 2023 8,398 4 View
I want to annotate each gene in the Homo sapiens taxon with its respective GO terms and its hierarchical parent terms in the GO database. How can I systematically do that? While I am aware that...
18 June 2023 2,517 5 View
I've read several articles about OntoQA, but I still don't understand the calculations. is here who can help me to be able to understand the ontoQA calculation?? example: I want to evaluate the...
07 June 2023 3,533 0 View
Ontological arguments in philosophy have been used over the centuries to support a variety of ideas mostly commonly serving as purported proofs of the existence of God. Although these arguments...
04 May 2023 330 9 View
I conducted an extensive search for a comprehensive database that encompasses the biological processes involved in various diseases. Although there are existing resources, such as KEGG and...
27 March 2023 6,290 1 View
Continuation of the former discussion (27) Are there Dead Ends in Fabric of Reality possible_.pdf - see the attached file:
19 March 2023 6,759 6 View
The similarity analysis feature in discourses, is an analytical tool of the IRAMUTEQ software. As a result, a tree diagram is generated which can be configured as a Venn diagram. However, the...
30 January 2023 2,716 2 View
I am working with the latest release of annotated Marmoset genome (GCF_009663435.1_Callithrix_jacchus_cj1700_1.1). Also, see the link...
16 January 2023 5,491 0 View