textanalysis5html.html (1023B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <script type="application/its+xml"> 5 <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:h="http://www.w3.org/1999/xhtml"> 6 <its:param name="taCityParam">dublin</its:param> 7 <its:param name="taCapitalParam">capital</its:param> 8 <its:textAnalysisRule selector="//h:body/h:p/h:*[@id=$taCityParam]" 9 taClassRefPointer="@typeof" 10 taIdentRefPointer="@property"/> 11 <its:textAnalysisRule selector="//h:body/h:p/h:*[@id=$taCapitalParam]" 12 taClassRefPointer="@typeof" 13 taSourcePointer="@property" 14 taIdentPointer="@about"/> 15 </its:rules> 16 </script> 17 <meta charset=utf-8> 18 <title>Textanalysis: Local Test</title> 19 </head> 20 <body> 21 <p><span id="dublin" typeof="http://nerd.eurecom.fr/ontology#Location" property="http://dbpedia.org/resource/Dublin">Dublin</span> is the <span id="capital" typeof="http://nerd.eurecom.fr/ontology#City" about="301467919" property="Wordnet3.0">capital</span> of Ireland.</p> 22 </body> 23 </html>