I am working in Protege 5.
Class Document is a document (the body).
Class Word is a word (string).
This is my model now:
Object property: containsWord-- domain Document, range Word
Data property: occuranceCount-- domain Word, range integer(built in)
Instead I need something like:
Object property: Document conatainsWord "x" with count "n".
Where "x" is a word instance and "n" a the number of times that individual is found in the body of a particular Document.
Either each unique document should have attributes describing how many times "x" occurs in them.
OR
Each Word "x" should have a list of Document instances in which it appears along with how many times it appears.
Do I really have to make a new instance of a word just so I can count how many times it occurs in each document? (ridiculous waste of space but possible).