title: Choosing namespace prefixes for WordNet data in RDF
body: <p>I have a line of text that I want to make into N3 format so i can eventually change them to RDF. Each line of the text file has an entry like this:</p>
  
  <p><strong>09827177 18 n 03 aristocrat 0 blue_blood 0 patrician 0 013 @ 09646208 n 0000 #m 08404938 n 0000 + 01594891 a 0306 + 01594891 a 0102 ~ 09860027 n 0000 ~ 09892248 n 0000 ~ 10103592 n 0000 ~ 10194721 n 0000 ~ 10304832 n 0000 ~ 10492384 n 0000 ~ 10493649 n 0000 ~ 10525325 n 0000 ~ 10526235 n 0000 | a member of the aristocracy</strong></p>
  
  <p>I am trying to make triples out of the above statement so they will look like the table below. </p>
  
  <pre><code>  Subject        Predicate           Object
  (synset_offset)  
  
    09807754       lex_filenum           18
    09807754       ss_type               n
    09807754       lexical_entry     aristocrat
    09807754       lexical_entry     blue_blood
    09807754       lexical_entry     patrician
    09807754       has_pointer       09623038
    09623038       ss_type               n
    09623038       source_target        0000
    09807754       description    a member of aristocracy
  </code></pre>
  
  <p>I have been able to read most of the variables from each line of the text using this:</p>
  
  <pre><code>f = open("wordnetSample.txt", "r")
  for line in f:
      L = line.split()
      L2 = line.split('|')
      synset_offset = L[0]
      lex_filenum = L[1]
      ss_type = L[2]
      word = (L[4:4 + 2 * int(L[3]):2])
      gloss = (L2[1].split('\n')[0])
  </code></pre>
  
  <p>The problem I am having is that I don't know what namespaces to use or anything like that. I am new to this style of formatting and to python in general. I have been researching and feel it should be something like this:</p>
  
  <pre><code>'''&lt;http://example.org/#'''+synset_offset+'''&gt; &lt;http://xmlns.com/foaf/0.1/lex_filenum&gt; '''+lex_filenum+''' .
  </code></pre>
  
  <p>I have also been told that Turtle notation may be a better option, but i just cant get my head around it.</p>