The figure is an attempt to map part-whole relations, the rea ontology, and Wordnet terms to triples using the part-whole and rea model diagrams earlier.
Please note the other urls: http://www.w3.org/2006/03/wn/wn20/instances/word-automobile.rdf (wn20instances:word-automobile), http://www.w3.org/2006/03/wn/wn20/instances/word-item.rdf (wn20instances:word-item)
I would like to expand the word item with lexical file number 06, frequency 16, offset 03593583 and definition "a whole or individual unit; especially when included in a list or collection". (from: wordnet.princeton.edu)
However, I am not sure how to query the WordNet data on the w3c site. The website http://w3.org/TR/wordnet-rdf/#queries gives some example queries. I will have to figure out how to load these into a triple store and query them. Perhaps I will use Neo4j (http://www.neo4j.org/) and set up a sparql endpoint with this. (or just figure out how to run a sparql query of the one at w3.org). Later, I would like to use a tuplestore such as Linda.
Earlier I thought about using regular expressions to go through the wn20full.zip [download available at (http://www.w3.org/2006/03/wn./wn20/download/)]. I'd want to use something like grep (http://www.gnu.org/software/grep/manual/grep.html), which may be made easier by looking at the regexone site (http://regexone.com/).
One super hacker once used sed and awk with grep?
ReplyDelete[1] sed: http://www.grymoire.com/Unix/Sed.html
[2] awk: http://www.grymoire.com/Unix/Sed.html
[2] http://www.grymoire.com/Unix/Awk.html
DeleteI guess find will not do me much good beyond the file name?
ReplyDelete[1] http://www.grymoire.com/Unix/Find.html
At some point it would be interesting to look at what Phil Dow said about http requests: https://github.com/okcoders
ReplyDeleteOr Ryan Dahl's demo in "Introduction to Node.js"
https://www.youtube.com/watch?v=jo_B4LTHi3I