encodings (preselected windows-type character encoding which is typical
for CSV files). Fixed also other problems with character encoding in
dictionary files. Automatically generated vocabularies are now also
noted in the API steering.
@ -107,17 +107,35 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
This stub is used to find all matching URLs. If the remaining path from the matching URLs then denotes a single file, the file name is used as vocabulary term.
This works best with wikis. Try to use a wiki url as objectspace path.
from file name <inputtype="radio"name="discovermethod"value="path"disabled="disabled"onclick="document.getElementById('discoverobjectspace').disabled=''"/><br/>
from page title <inputtype="radio"name="discovermethod"value="title"disabled="disabled"onclick="document.getElementById('discoverobjectspace').disabled=''"/><br/>
from page title (splitted) <inputtype="radio"name="discovermethod"value="titlesplitted"disabled="disabled"onclick="document.getElementById('discoverobjectspace').disabled=''"/><br/>
from page author <inputtype="radio"name="discovermethod"value="author"disabled="disabled"onclick="document.getElementById('discoverobjectspace').disabled=''"/></dt>
<dd>
<inputtype="radio"name="discovermethod"value="none"checked="checked"/> no auto-discovery (empty vocabulary)
<inputtype="radio"name="discovermethod"value="path"/> from file name
<inputtype="radio"name="discovermethod"value="title"/> from page title
<inputtype="radio"name="discovermethod"value="titlesplitted"/> from page title (splitted)
<inputtype="radio"name="discovermethod"value="author"/> from page author</dd>
<inputtype="radio"name="discovermethod"value="csv"/> from a csv file</dd>
<dt>Import from a csv file <inputtype="radio"name="discovermethod"value="csv"disabled="disabled"onclick="document.getElementById('discoverpath').disabled='';document.getElementById('discovercolumnliteral').disabled='';document.getElementById('discovercolumnobjectlink').disabled='';"/></dt>
<dd><inputtype="number"id="discovercolumnliteral"name="discovercolumnliteral"min="0"max="99"step="1"size="2"value="0"disabled="disabled"style="width:50px;"> (first has index 0)</dd>
<dt><i>Column for Object Link (optional)</i></dt>
<dd><inputtype="number"id="discovercolumnobjectlink"name="discovercolumnobjectlink"min="-1"max="99"step="1"size="2"value="-1"disabled="disabled"style="width:50px;"> (first has index 0, if unused set -1)</dd>
@ -136,12 +154,6 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
<dt>Prefix</dt><dd>#[prefix]#</dd>
<dt>Objectspace</dt><dd>#(editable)##[objectspace]#::<inputtype="text"name="objectspace"value="#[objectspace]#"size="78"maxlength="128"/><br/>if set, uses the predicate <ahref="#[objectspacepredicate]#"target="_blank">#[objectspacepredicate]#</a> for generated objects. Hint: use 'http://dbpedia.org/resource/' as default.#(/editable)#</dd>
</dl>
<p>This produces the following triples in the triplestore if a term or synonym matches in a document:</p>
<dl>
<dt>Triple #1</dt><dd>#[triple1]#</dd>
<dt>Triple #2</dt><dd>#[triple2]#</dd>
<dt>more Triples for linking into objectspace</dt><dd>#[tripleN]#</dd>