Having just started out in RDF and ontology, mainly in converting unstructured text to RDF (maybe manually), I found many examples for converting simple sentences to RDF triples 1 2 3, but not much about complex sentences (using adjectives or adverbs) 4.
Example of complex sentence: Those kids who, with great pleasure, like chocolate ice-cream and those who like vanilla ice-cream, which of them is better?
Never mind the meaning of the sentence, what is remarkable is the use of adjectives for ice-cream (chocolate, vanilla) and liking (with pleasure), and the comparison between the two types of kids (who is better) and a question. How do we represent such sentences as a collection of SPO triple (RDF) statements - so that it can take care of adjectives, or adverbs or comparisons or other operations?
S1: Kids - Liking - (ice-cream, flavor, Chocolate)
S2: Kids - Liking - (ice-cream, flavor, Vanilla)
S3: liking with pleasure
S4: better(S1+S3, S2+S3)
Is there a general way to approach translating such statements?Where should one look for some exploration in this direction - unstructured text to n-tuples? Maybe I am not asking the right questions - in that case please let me know. Thanks!
Far from attempting to describe a gneric way for translating such statements I thought of how that concrete example sentence could be modelled in RDF triples.
That's my first (late night) draft:
This would be 23 triples using quite an expressive Question/Activity/IceCream ontology.