|
Hey everyone I am really thankful to those who tried to answer my previous questions.I have another question which goes as follows: I have a sentence as following "The dog chased the cat." This is what I get after parsing: (ROOT (S (NP (DT The) (NN dog)) (VP (VBD chased) (NP (DT the) (NN cat))) (. .))) Now I need to make triples and also draw ontology. How to do it? Are there any tools available for this purpose but I need something which does triple formation and ontology drawing automatically. |
|
IMO, you'd better use the dependency parsing technique instead of the one you're doing now which is called the constituency parsing. This way you'd find it quite straightforward to get the triples from a sentence. Say, I have the following sentence:
The dependency graph for the sentence is the following:
And guess what? Yes, the results are already in triples. You just need to annotate them with terms from some NLP (Natural Language Processing) ontology. References: @fadirra Thank you so much.But can you help a bit further regarding how to annotate them exactly. I mean NLP ontology and tools to use. 1
This paper that I wrote might give you some ideas of how to do the job: http://ir.cs.ui.ac.id/publication/2010/owlizr.pdf I went through it but the KB Generator and KB Reasoner, I cannot find a way to do it, I mean are there any tools available to do that or may be I am not getting it properly. |

