- From: CVS User fsasaki <cvsmail@w3.org>
- Date: Fri, 06 Sep 2013 11:29:54 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory gil:/tmp/cvs-serv7772
Modified Files:
its20.html its20.odd
Log Message:
updated nif conversion output to be ttl
--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2013/09/06 11:09:50 1.495
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2013/09/06 11:29:53 1.496
@@ -5594,7 +5594,7 @@
<a href="http://www.xulplanet.com/" shape="rect"><cite>exTensible User Interface Language</cite></a>. Available at <a href="http://www.xulplanet.com/" shape="rect">
http://www.xulplanet.com/</a>.</dd></dl></div><div class="div1">
<h2><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="conversion-to-nif" id="conversion-to-nif" shape="rect"/>F Conversion to NIF (Non-Normative)</h2><p>This section provides an informative algorithm to convert XML or HTML documents (or their DOM
- representations) that contain ITS metadata to the RDF format based on <a title="" href="#nif-reference" shape="rect">[NIF]</a>. The conversion results in RDF triples.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The algorithm creates URIs that in the query part contain the characters "[" and "]", as part of XPath expressions. In the conversion output (see an <a href="examples/nif/EX-nif-conversion-output.xml" shape="rect">example</a>), The URIs are escaped as "%5B" and "%5D". For readability the URIs shown in this section do not escape these characters.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>The algorithm is intended to extract the text from the XML/HTML/DOM for an NLP tool. It can
+ representations) that contain ITS metadata to the RDF format based on <a title="" href="#nif-reference" shape="rect">[NIF]</a>. The conversion results in RDF triples.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The algorithm creates URIs that in the query part contain the characters "[" and "]", as part of XPath expressions. In the conversion output (see an <a href="examples/nif/EX-nif-conversion-output.ttl" shape="rect">example</a>), The URIs are escaped as "%5B" and "%5D". For readability the URIs shown in this section do not escape these characters.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>The algorithm is intended to extract the text from the XML/HTML/DOM for an NLP tool. It can
produce a lot of "<span class="quote">phantom</span>" predicates from excessive whitespace, which 1)
increases the size of the intermediate mapping and 2) extracts this whitespace as
text, and therefore might decrease NLP performance. It is strongly recommended to
@@ -5695,7 +5695,7 @@
nif:endIndex "28" ;
itsrdf:translate "no";
nif:referenceContext <http://example.com/myitsservice?informat=html&intype=url&input=http://example.com/doc.html&char=0,29> .
-</pre></div></div><p>A complete sample output in RDF/XML format after step 7, given the input document <a href="#EX-HTML-whitespace-normalization" shape="rect">Example 97</a>, is available at <a href="examples/nif/EX-nif-conversion-output.xml" shape="rect">examples/nif/EX-nif-conversion-output.xml</a>.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The conversion to NIF is a possible basis for a natural language processing (NLP) application
+</pre></div></div><p>A complete sample output in RDF/XML format after step 7, given the input document <a href="#EX-HTML-whitespace-normalization" shape="rect">Example 97</a>, is available at <a href="examples/nif/EX-nif-conversion-output.ttl" shape="rect">examples/nif/EX-nif-conversion-output.ttl</a>.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The conversion to NIF is a possible basis for a natural language processing (NLP) application
that creates, for example, named entity annotations. A non-normative algorithm to
integrate these annotations into the original input document is given in <a class="section-ref" href="#nif-backconversion" shape="rect">Appendix G: Conversion NIF2ITS</a>. Many decisions to be made in this algorithm
depend on the particular NLP application being used.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>NIF allows an URL for a String resource to be referenced as URIs
@@ -5716,7 +5716,7 @@
fragment types, while a potentially attractive feature, is beyond the
scope of this specification.</p></div></div><div class="div1">
<h2><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="nif-backconversion" id="nif-backconversion" shape="rect"/>G Conversion NIF2ITS (Non-Normative)</h2><p>The following algorithm relies on <a href="#EX-HTML-whitespace-normalization" shape="rect">Example 97</a>. It is assumed that the example has been
- converted to NIF, leading to the <a href="examples/nif/EX-nif-conversion-output.xml" shape="rect">output</a> exemplified for the <a href="#its2nif-algorithm" shape="rect">ITS2NIF conversion
+ converted to NIF, leading to the <a href="examples/nif/EX-nif-conversion-output.ttl" shape="rect">output</a> exemplified for the <a href="#its2nif-algorithm" shape="rect">ITS2NIF conversion
algorithm</a>.</p><p>This example uses <a href="https://github.com/dbpedia-spotlight/dbpedia-spotlight" shape="rect">DBpedia
Spotlight</a> as an example natural language processing (NLP) tool. In it, DBpedia
Spotlight linked "Ireland" to DBpedia:</p><div class="exampleInner"><div class="exampleOuter"><pre xml:space="preserve"><http://example.com/myitsservice?informat=html&intype=url&input=http://example.com/doc.html&char=21,28>
--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2013/09/06 11:09:51 1.510
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2013/09/06 11:29:54 1.511
@@ -5536,7 +5536,7 @@
<p>This section provides an informative algorithm to convert XML or HTML documents (or their DOM
representations) that contain ITS metadata to the RDF format based on <ptr
target="#nif-reference" type="bibref"/>. The conversion results in RDF triples.</p>
- <note> <p>The algorithm creates URIs that in the query part contain the characters "[" and "]", as part of XPath expressions. In the conversion output (see an <ref target="examples/nif/EX-nif-conversion-output.xml">example</ref>), The URIs are escaped as "%5B" and "%5D". For readability the URIs shown in this section do not escape these characters.</p></note>
+ <note> <p>The algorithm creates URIs that in the query part contain the characters "[" and "]", as part of XPath expressions. In the conversion output (see an <ref target="examples/nif/EX-nif-conversion-output.ttl">example</ref>), The URIs are escaped as "%5B" and "%5D". For readability the URIs shown in this section do not escape these characters.</p></note>
<note><p>The algorithm is intended to extract the text from the XML/HTML/DOM for an NLP tool. It can
produce a lot of <quote>phantom</quote> predicates from excessive whitespace, which 1)
increases the size of the intermediate mapping and 2) extracts this whitespace as
@@ -5663,8 +5663,8 @@
]]></eg>
<p>A complete sample output in RDF/XML format after step 7, given the input document <ptr
target="#EX-HTML-whitespace-normalization" type="exref"/>, is available at <ref
- target="examples/nif/EX-nif-conversion-output.xml"
- >examples/nif/EX-nif-conversion-output.xml</ref>.</p>
+ target="examples/nif/EX-nif-conversion-output.ttl"
+ >examples/nif/EX-nif-conversion-output.ttl</ref>.</p>
<note><p>The conversion to NIF is a possible basis for a natural language processing (NLP) application
that creates, for example, named entity annotations. A non-normative algorithm to
integrate these annotations into the original input document is given in <ptr
@@ -5694,7 +5694,7 @@
<head>Conversion NIF2ITS</head>
<p>The following algorithm relies on <ptr type="exref"
target="#EX-HTML-whitespace-normalization"/>. It is assumed that the example has been
- converted to NIF, leading to the <ref target="examples/nif/EX-nif-conversion-output.xml"
+ converted to NIF, leading to the <ref target="examples/nif/EX-nif-conversion-output.ttl"
>output</ref> exemplified for the <ref target="#its2nif-algorithm">ITS2NIF conversion
algorithm</ref>.</p>
<p>This example uses <ref
Received on Friday, 6 September 2013 11:29:56 UTC