jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r866584 [21/21] - in /websites/staging/jena/trunk/content: ./ documentation/assembler/ documentation/inference/ documentation/io/ documentation/javadoc/arq/ documentation/javadoc/fuseki/ documentation/javadoc/jena/ documentation/javadoc/lar...
Date Thu, 20 Jun 2013 10:18:36 GMT
Modified: websites/staging/jena/trunk/content/tutorials/sparql_union_pt.html
==============================================================================
--- websites/staging/jena/trunk/content/tutorials/sparql_union_pt.html (original)
+++ websites/staging/jena/trunk/content/tutorials/sparql_union_pt.html Thu Jun 20 10:18:34
2013
@@ -160,27 +160,27 @@
 <h2 id="union-duas-maneiras-para-o-mesmo-dado">UNION - duas maneiras para o mesmo dado</h2>
 <p>Ambos os vocabulários de vcard e de FOAF possuem propriedades para nome de pessoas.
Em vcard, é vcard:FN, o nome formatado, e em FOAF, é foaf:name. Nesta sessão, vamos
olhar um pequeno conjunto de dados onde o nome das pessoas podem ser dados por ambos os vocabulários
de FOAF e vcard.</p>
 <p>Suponha que temos um <a href="sparql_data/vc-db-3.ttl">an RDF graph</a>
que contém a informação de nome usando os vocabulários de vcard e FOAF.</p>
-<div class="codehilite"><pre><span class="nv">@prefix</span> <span
class="n">foaf:</span> <span class="sr">&lt;http://xmlns.com/foaf/0.1/&gt;</span>
<span class="o">.</span>
-<span class="nv">@prefix</span> <span class="n">vcard:</span> <span
class="sr">&lt;http://www.w3.org/2001/vcard-rdf/3.0#&gt;</span> <span
class="o">.</span>
+<div class="codehilite"><pre><span class="p">@</span><span class="n">prefix</span>
<span class="n">foaf</span><span class="p">:</span> <span class="o">&lt;</span><span
class="n">http</span><span class="p">:</span><span class="o">//</span><span
class="n">xmlns</span><span class="p">.</span><span class="n">com</span><span
class="o">/</span><span class="n">foaf</span><span class="o">/</span>0<span
class="p">.</span>1<span class="o">/&gt;</span> <span class="p">.</span>
+<span class="p">@</span><span class="n">prefix</span> <span class="n">vcard</span><span
class="p">:</span> <span class="o">&lt;</span><span class="n">http</span><span
class="p">:</span><span class="o">//</span><span class="n">www</span><span
class="p">.</span><span class="n">w3</span><span class="p">.</span><span
class="n">org</span><span class="o">/</span>2001<span class="o">/</span><span
class="n">vcard</span><span class="o">-</span><span class="n">rdf</span><span
class="o">/</span>3<span class="p">.</span>0#<span class="o">&gt;</span>
<span class="p">.</span>
 
-<span class="n">_:a</span> <span class="n">foaf:name</span>   <span
class="s">&quot;Matt Jones&quot;</span> <span class="o">.</span>
+<span class="n">_</span><span class="p">:</span><span class="n">a</span>
<span class="n">foaf</span><span class="p">:</span><span class="n">name</span>
  &quot;<span class="n">Matt</span> <span class="n">Jones</span>&quot;
<span class="p">.</span>
 
-<span class="n">_:b</span> <span class="n">foaf:name</span>   <span
class="s">&quot;Sarah Jones&quot;</span> <span class="o">.</span>
+<span class="n">_</span><span class="p">:</span><span class="n">b</span>
<span class="n">foaf</span><span class="p">:</span><span class="n">name</span>
  &quot;<span class="n">Sarah</span> <span class="n">Jones</span>&quot;
<span class="p">.</span>
 
-<span class="n">_:c</span> <span class="n">vcard:FN</span>    <span
class="s">&quot;Becky Smith&quot;</span> <span class="o">.</span>
+<span class="n">_</span><span class="p">:</span><span class="n">c</span>
<span class="n">vcard</span><span class="p">:</span><span class="n">FN</span>
   &quot;<span class="n">Becky</span> <span class="n">Smith</span>&quot;
<span class="p">.</span>
 
-<span class="n">_:d</span> <span class="n">vcard:FN</span>    <span
class="s">&quot;John Smith&quot;</span> <span class="o">.</span>
+<span class="n">_</span><span class="p">:</span><span class="n">d</span>
<span class="n">vcard</span><span class="p">:</span><span class="n">FN</span>
   &quot;<span class="n">John</span> <span class="n">Smith</span>&quot;
<span class="p">.</span>
 </pre></div>
 
 
 <p>Uma consulta para acessar a informação do nome, poderia ser (<a href="sparql_data/q-union1.rq">q-union1.rq</a>):</p>
-<div class="codehilite"><pre><span class="n">PREFIX</span> <span
class="n">foaf:</span> <span class="sr">&lt;http://xmlns.com/foaf/0.1/&gt;</span>
-<span class="n">PREFIX</span> <span class="n">vCard:</span> <span
class="sr">&lt;http://www.w3.org/2001/vcard-rdf/3.0#&gt;</span>
+<div class="codehilite"><pre><span class="n">PREFIX</span> <span
class="n">foaf</span><span class="p">:</span> <span class="o">&lt;</span><span
class="n">http</span><span class="p">:</span><span class="o">//</span><span
class="n">xmlns</span><span class="p">.</span><span class="n">com</span><span
class="o">/</span><span class="n">foaf</span><span class="o">/</span>0<span
class="p">.</span>1<span class="o">/&gt;</span>
+<span class="n">PREFIX</span> <span class="n">vCard</span><span
class="p">:</span> <span class="o">&lt;</span><span class="n">http</span><span
class="p">:</span><span class="o">//</span><span class="n">www</span><span
class="p">.</span><span class="n">w3</span><span class="p">.</span><span
class="n">org</span><span class="o">/</span>2001<span class="o">/</span><span
class="n">vcard</span><span class="o">-</span><span class="n">rdf</span><span
class="o">/</span>3<span class="p">.</span>0#<span class="o">&gt;</span>
 
-<span class="n">SELECT</span> <span class="p">?</span><span class="n">name</span>
+<span class="n">SELECT</span> ?<span class="n">name</span>
 <span class="n">WHERE</span>
 <span class="p">{</span>
-   <span class="p">{</span> <span class="o">[]</span> <span class="n">foaf:name</span>
<span class="p">?</span><span class="n">name</span> <span class="p">}</span>
<span class="n">UNION</span> <span class="p">{</span> <span class="o">[]</span>
<span class="n">vCard:FN</span> <span class="p">?</span><span class="n">name</span>
<span class="p">}</span>
+   <span class="p">{</span> <span class="p">[]</span> <span class="n">foaf</span><span
class="p">:</span><span class="n">name</span> ?<span class="n">name</span>
<span class="p">}</span> <span class="n">UNION</span> <span class="p">{</span>
<span class="p">[]</span> <span class="n">vCard</span><span class="p">:</span><span
class="n">FN</span> ?<span class="n">name</span> <span class="p">}</span>
 <span class="p">}</span>
 </pre></div>
 
@@ -188,24 +188,24 @@
 <p>isso retorna:</p>
 <div class="codehilite"><pre><span class="o">-----------------</span>
 <span class="o">|</span> <span class="n">name</span>          <span
class="o">|</span>
-<span class="o">=================</span>
-<span class="o">|</span> <span class="s">&quot;Matt Jones&quot;</span>
 <span class="o">|</span>
-<span class="o">|</span> <span class="s">&quot;Sarah Jones&quot;</span>
<span class="o">|</span>
-<span class="o">|</span> <span class="s">&quot;Becky Smith&quot;</span>
<span class="o">|</span>
-<span class="o">|</span> <span class="s">&quot;John Smith&quot;</span>
 <span class="o">|</span>
+<span class="o">================</span><span class="p">=</span>
+<span class="o">|</span> &quot;<span class="n">Matt</span> <span
class="n">Jones</span>&quot;  <span class="o">|</span>
+<span class="o">|</span> &quot;<span class="n">Sarah</span> <span
class="n">Jones</span>&quot; <span class="o">|</span>
+<span class="o">|</span> &quot;<span class="n">Becky</span> <span
class="n">Smith</span>&quot; <span class="o">|</span>
+<span class="o">|</span> &quot;<span class="n">John</span> <span
class="n">Smith</span>&quot;  <span class="o">|</span>
 <span class="o">-----------------</span>
 </pre></div>
 
 
 <p>Não importa que forma de expressão usasse para o nome, a variável ?name
é preenchida. Isso pode ser obtido usando um <code>FILTER</code> como mostra
essa consulta (<a href="sparql_data/q-union1alt.rq">q-union-1alt.rq</a>):</p>
-<div class="codehilite"><pre><span class="n">PREFIX</span> <span
class="n">foaf:</span> <span class="sr">&lt;http://xmlns.com/foaf/0.1/&gt;</span>
-<span class="n">PREFIX</span> <span class="n">vCard:</span> <span
class="sr">&lt;http://www.w3.org/2001/vcard-rdf/3.0#&gt;</span>
+<div class="codehilite"><pre><span class="n">PREFIX</span> <span
class="n">foaf</span><span class="p">:</span> <span class="o">&lt;</span><span
class="n">http</span><span class="p">:</span><span class="o">//</span><span
class="n">xmlns</span><span class="p">.</span><span class="n">com</span><span
class="o">/</span><span class="n">foaf</span><span class="o">/</span>0<span
class="p">.</span>1<span class="o">/&gt;</span>
+<span class="n">PREFIX</span> <span class="n">vCard</span><span
class="p">:</span> <span class="o">&lt;</span><span class="n">http</span><span
class="p">:</span><span class="o">//</span><span class="n">www</span><span
class="p">.</span><span class="n">w3</span><span class="p">.</span><span
class="n">org</span><span class="o">/</span>2001<span class="o">/</span><span
class="n">vcard</span><span class="o">-</span><span class="n">rdf</span><span
class="o">/</span>3<span class="p">.</span>0#<span class="o">&gt;</span>
 
-<span class="n">SELECT</span> <span class="p">?</span><span class="n">name</span>
+<span class="n">SELECT</span> ?<span class="n">name</span>
 <span class="n">WHERE</span>
 <span class="p">{</span>
-  <span class="o">[]</span> <span class="p">?</span><span class="n">p</span>
<span class="p">?</span><span class="n">name</span>
-  <span class="n">FILTER</span> <span class="p">(</span> <span
class="p">?</span><span class="n">p</span> <span class="o">=</span>
<span class="n">foaf:name</span> <span class="o">||</span> <span
class="p">?</span><span class="n">p</span> <span class="o">=</span>
<span class="n">vCard:FN</span> <span class="p">)</span>
+  <span class="p">[]</span> ?<span class="n">p</span> ?<span class="n">name</span>
+  <span class="n">FILTER</span> <span class="p">(</span> ?<span
class="n">p</span> <span class="p">=</span> <span class="n">foaf</span><span
class="p">:</span><span class="n">name</span> <span class="o">||</span>
?<span class="n">p</span> <span class="p">=</span> <span class="n">vCard</span><span
class="p">:</span><span class="n">FN</span> <span class="p">)</span>
 <span class="p">}</span>
 </pre></div>
 
@@ -213,22 +213,22 @@
 <p>testando se a propriedade é uma URI ou a outra. As soluções podem não
vir na mesma ordem. A primeira forma é conhecida como a mais rápida, dependendo dos
dados e do armazenamento utilizado, porque a segunda forma tem que pegar todas as triplas
do grafo para casar com o padrão da tripla  com variáveis não ligadas (ou blank nodes)
em cada slot, então testa cada ?p para ver se casa com algum dos valores. Isso vai depender
da sofisticação do otimizador de consultas para saber se ele vai executar a consulta
mais eficientemente e transcender para a camada de armazenamento.</p>
 <h2 id="union-relembrando-onde-o-dado-foi-encontrado">Union - relembrando onde o dado
foi encontrado.</h2>
 <p>O exemplo acima usou a mesma variável em cada ramo. Se diferentes variáveis
forem usadas, a aplicação pode descobrir que sub-padrão causou o casamento (<a
href="sparql_data/q-union2.rq">q-union2.rq</a>):</p>
-<div class="codehilite"><pre><span class="n">PREFIX</span> <span
class="n">foaf:</span> <span class="sr">&lt;http://xmlns.com/foaf/0.1/&gt;</span>
-<span class="n">PREFIX</span> <span class="n">vCard:</span> <span
class="sr">&lt;http://www.w3.org/2001/vcard-rdf/3.0#&gt;</span>
+<div class="codehilite"><pre><span class="n">PREFIX</span> <span
class="n">foaf</span><span class="p">:</span> <span class="o">&lt;</span><span
class="n">http</span><span class="p">:</span><span class="o">//</span><span
class="n">xmlns</span><span class="p">.</span><span class="n">com</span><span
class="o">/</span><span class="n">foaf</span><span class="o">/</span>0<span
class="p">.</span>1<span class="o">/&gt;</span>
+<span class="n">PREFIX</span> <span class="n">vCard</span><span
class="p">:</span> <span class="o">&lt;</span><span class="n">http</span><span
class="p">:</span><span class="o">//</span><span class="n">www</span><span
class="p">.</span><span class="n">w3</span><span class="p">.</span><span
class="n">org</span><span class="o">/</span>2001<span class="o">/</span><span
class="n">vcard</span><span class="o">-</span><span class="n">rdf</span><span
class="o">/</span>3<span class="p">.</span>0#<span class="o">&gt;</span>
 
-<span class="n">SELECT</span> <span class="p">?</span><span class="n">name1</span>
<span class="p">?</span><span class="n">name2</span>
+<span class="n">SELECT</span> ?<span class="n">name1</span> ?<span
class="n">name2</span>
 <span class="n">WHERE</span>
 <span class="p">{</span>
-   <span class="p">{</span> <span class="o">[]</span> <span class="n">foaf:name</span>
<span class="p">?</span><span class="n">name1</span> <span class="p">}</span>
<span class="n">UNION</span> <span class="p">{</span> <span class="o">[]</span>
<span class="n">vCard:FN</span> <span class="p">?</span><span class="n">name2</span>
<span class="p">}</span>
+   <span class="p">{</span> <span class="p">[]</span> <span class="n">foaf</span><span
class="p">:</span><span class="n">name</span> ?<span class="n">name1</span>
<span class="p">}</span> <span class="n">UNION</span> <span class="p">{</span>
<span class="p">[]</span> <span class="n">vCard</span><span class="p">:</span><span
class="n">FN</span> ?<span class="n">name2</span> <span class="p">}</span>
 <span class="p">}</span>
 
 <span class="o">---------------------------------</span>
 <span class="o">|</span> <span class="n">name1</span>         <span
class="o">|</span> <span class="n">name2</span>         <span class="o">|</span>
-<span class="o">=================================</span>
-<span class="o">|</span> <span class="s">&quot;Matt Jones&quot;</span>
 <span class="o">|</span>               <span class="o">|</span>
-<span class="o">|</span> <span class="s">&quot;Sarah Jones&quot;</span>
<span class="o">|</span>               <span class="o">|</span>
-<span class="o">|</span>               <span class="o">|</span> <span
class="s">&quot;Becky Smith&quot;</span> <span class="o">|</span>
-<span class="o">|</span>               <span class="o">|</span> <span
class="s">&quot;John Smith&quot;</span>  <span class="o">|</span>
+<span class="o">================================</span><span class="p">=</span>
+<span class="o">|</span> &quot;<span class="n">Matt</span> <span
class="n">Jones</span>&quot;  <span class="o">|</span>          
    <span class="o">|</span>
+<span class="o">|</span> &quot;<span class="n">Sarah</span> <span
class="n">Jones</span>&quot; <span class="o">|</span>           
   <span class="o">|</span>
+<span class="o">|</span>               <span class="o">|</span> &quot;<span
class="n">Becky</span> <span class="n">Smith</span>&quot; <span
class="o">|</span>
+<span class="o">|</span>               <span class="o">|</span> &quot;<span
class="n">John</span> <span class="n">Smith</span>&quot;  <span
class="o">|</span>
 <span class="o">---------------------------------</span>
 </pre></div>
 
@@ -237,24 +237,24 @@
 <h2 id="optional-e-union">OPTIONAL e UNION</h2>
 <p>Na prática, <code>OPTIONAL</code> é mais comum que <code>UNION</code>
mas ambas têm seu uso. <code>OPTIONAL</code> é útil para aumentar as
soluções encontradas, <code>UNION</code> é útil para concatenar soluções
de diferentes possibilidades. Eles não retornam necessariamente a informação da mesma
maneira.</p>
 <p>Consulta(<a href="sparql_data/q-union3.rq">q-union3.rq</a>):</p>
-<div class="codehilite"><pre><span class="n">PREFIX</span> <span
class="n">foaf:</span> <span class="sr">&lt;http://xmlns.com/foaf/0.1/&gt;</span>
-<span class="n">PREFIX</span> <span class="n">vCard:</span> <span
class="sr">&lt;http://www.w3.org/2001/vcard-rdf/3.0#&gt;</span>
+<div class="codehilite"><pre><span class="n">PREFIX</span> <span
class="n">foaf</span><span class="p">:</span> <span class="o">&lt;</span><span
class="n">http</span><span class="p">:</span><span class="o">//</span><span
class="n">xmlns</span><span class="p">.</span><span class="n">com</span><span
class="o">/</span><span class="n">foaf</span><span class="o">/</span>0<span
class="p">.</span>1<span class="o">/&gt;</span>
+<span class="n">PREFIX</span> <span class="n">vCard</span><span
class="p">:</span> <span class="o">&lt;</span><span class="n">http</span><span
class="p">:</span><span class="o">//</span><span class="n">www</span><span
class="p">.</span><span class="n">w3</span><span class="p">.</span><span
class="n">org</span><span class="o">/</span>2001<span class="o">/</span><span
class="n">vcard</span><span class="o">-</span><span class="n">rdf</span><span
class="o">/</span>3<span class="p">.</span>0#<span class="o">&gt;</span>
 
-<span class="n">SELECT</span> <span class="p">?</span><span class="n">name1</span>
<span class="p">?</span><span class="n">name2</span>
+<span class="n">SELECT</span> ?<span class="n">name1</span> ?<span
class="n">name2</span>
 <span class="n">WHERE</span>
 <span class="p">{</span>
-  <span class="p">?</span><span class="n">x</span> <span class="n">a</span>
<span class="n">foaf:Person</span>
-  <span class="n">OPTIONAL</span> <span class="p">{</span> <span
class="p">?</span><span class="n">x</span>  <span class="n">foaf:name</span>
 <span class="p">?</span><span class="n">name1</span> <span class="p">}</span>
-  <span class="n">OPTIONAL</span> <span class="p">{</span> <span
class="p">?</span><span class="n">x</span>  <span class="n">vCard:FN</span>
  <span class="p">?</span><span class="n">name2</span> <span class="p">}</span>
+  ?<span class="n">x</span> <span class="n">a</span> <span class="n">foaf</span><span
class="p">:</span><span class="n">Person</span>
+  <span class="n">OPTIONAL</span> <span class="p">{</span> ?<span
class="n">x</span>  <span class="n">foaf</span><span class="p">:</span><span
class="n">name</span>  ?<span class="n">name1</span> <span class="p">}</span>
+  <span class="n">OPTIONAL</span> <span class="p">{</span> ?<span
class="n">x</span>  <span class="n">vCard</span><span class="p">:</span><span
class="n">FN</span>   ?<span class="n">name2</span> <span class="p">}</span>
 <span class="p">}</span>
 
 <span class="o">---------------------------------</span>
 <span class="o">|</span> <span class="n">name1</span>         <span
class="o">|</span> <span class="n">name2</span>         <span class="o">|</span>
-<span class="o">=================================</span>
-<span class="o">|</span> <span class="s">&quot;Matt Jones&quot;</span>
 <span class="o">|</span>               <span class="o">|</span>
-<span class="o">|</span> <span class="s">&quot;Sarah Jones&quot;</span>
<span class="o">|</span>               <span class="o">|</span>
-<span class="o">|</span>               <span class="o">|</span> <span
class="s">&quot;Becky Smith&quot;</span> <span class="o">|</span>
-<span class="o">|</span>               <span class="o">|</span> <span
class="s">&quot;John Smith&quot;</span>  <span class="o">|</span>
+<span class="o">================================</span><span class="p">=</span>
+<span class="o">|</span> &quot;<span class="n">Matt</span> <span
class="n">Jones</span>&quot;  <span class="o">|</span>          
    <span class="o">|</span>
+<span class="o">|</span> &quot;<span class="n">Sarah</span> <span
class="n">Jones</span>&quot; <span class="o">|</span>           
   <span class="o">|</span>
+<span class="o">|</span>               <span class="o">|</span> &quot;<span
class="n">Becky</span> <span class="n">Smith</span>&quot; <span
class="o">|</span>
+<span class="o">|</span>               <span class="o">|</span> &quot;<span
class="n">John</span> <span class="n">Smith</span>&quot;  <span
class="o">|</span>
 <span class="o">---------------------------------</span>
 </pre></div>
 

Modified: websites/staging/jena/trunk/content/tutorials/using_jena_with_eclipse_pt.html
==============================================================================
--- websites/staging/jena/trunk/content/tutorials/using_jena_with_eclipse_pt.html (original)
+++ websites/staging/jena/trunk/content/tutorials/using_jena_with_eclipse_pt.html Thu Jun
20 10:18:34 2013
@@ -159,8 +159,8 @@
     <p><strong>Original credits to: <a href="http://www.iandickinson.me.uk/articles/jena-eclipse-helloworld/">Ian
dickinson</a></strong></p>
 <p>Eu com certa frequência recebo emails da seguinte forma:</p>
 <blockquote>
-<div class="codehilite"><pre><span class="n">Prezado</span> <span
class="n">Sr</span><span class="sr">/Dr/</span><span class="n">Prof</span>
<span class="n">Dickinson</span>
-<span class="n">Eu</span> <span class="n">sou</span> <span class="n">novo</span>
<span class="n">em</span> <span class="n">Jena</span><span class="o">.</span>
<span class="n">Eu</span> <span class="n">n</span><span class="err">ã</span><span
class="n">o</span> <span class="n">consigo</span> <span class="n">configurar</span>
<span class="n">o</span> <span class="n">Jena</span> <span class="nb">no</span>
<span class="n">eclipse</span><span class="o">.</span> <span class="n">Seria</span>
<span class="n">poss</span><span class="err">í</span><span class="n">vel</span><span
class="p">,</span> <span class="n">por</span> <span class="n">favor</span><span
class="p">,</span> <span class="n">me</span> <span class="n">ajudar</span>
<span class="n">a</span> <span class="n">resolver</span> <span
class="n">este</span> <span class="n">problema</span><span class="p">?</span>
+<div class="codehilite"><pre><span class="n">Prezado</span> <span
class="n">Sr</span><span class="o">/</span><span class="n">Dr</span><span
class="o">/</span><span class="n">Prof</span> <span class="n">Dickinson</span>
+<span class="n">Eu</span> <span class="n">sou</span> <span class="n">novo</span>
<span class="n">em</span> <span class="n">Jena</span><span class="p">.</span>
<span class="n">Eu</span> <span class="n">n</span>ã<span class="n">o</span>
<span class="n">consigo</span> <span class="n">configurar</span> <span
class="n">o</span> <span class="n">Jena</span> <span class="n">no</span>
<span class="n">eclipse</span><span class="p">.</span> <span class="n">Seria</span>
<span class="n">poss</span>í<span class="n">vel</span><span
class="p">,</span> <span class="n">por</span> <span class="n">favor</span><span
class="p">,</span> <span class="n">me</span> <span class="n">ajudar</span>
<span class="n">a</span> <span class="n">resolver</span> <span
class="n">este</span> <span class="n">problema</span>?
 </pre></div>
 
 
@@ -197,8 +197,7 @@ eles, se você puder. Então, a inst
 <h2 id="guia-passo-a-passo">Guia passo a passo</h2>
 <p>Este tutorial é realmente para os novatos no Eclipse, então vou fazer um 
 passo por vez. Se você já tem alguma experiência com Eclipse, sinta-se à 
-vontade para pular alguns passos.<br />
-</p>
+vontade para pular alguns passos.  </p>
 <h2 id="passo-1-cria-um-java-project">Passo 1 – Cria um Java Project</h2>
 <p>Eclipse organiza arquivos em projetos (<em>projects</em>), então
nós vamos precisar de um projeto neste tutorial. Dependendo dos plugins instalados, o Eclipse
pode mostrar um grande número de diferentes tipos de projetos. Um projeto simples em Java
é o suficiente para uma aplicação simples em Jena.  Se ao invés disso, você
quisesse desenvolver um servlet Java que usa Jena, então use um tipo de projeto adequado.

 Por clareza, eu vou começar com um workspace vazio no Eclipse:</p>
@@ -222,8 +221,7 @@ estrutura básica que vem do  <a href=
 conhece o suficiente para se importar com esses detalhes ainda, apenas 
 aceite as configurações padrões. Alternativamente, se o projeto que você 
 faz parte ou sua instituição educacional têm padrões já estabelecidos para
- isto, use-os.<br />
-</p>
+ isto, use-os.  </p>
 <p align="center">
 <img border="0" src="figures/jhw_fig4.png"></p>
 
@@ -236,8 +234,7 @@ faz parte ou sua instituição educa
  de “hello world”. No <em>project explorer</em> (que fica no lado esquerdo
por padrão,
  mas você pode movê-lo por quase todo o Eclipse), eu seleciono a pasta source
  (src) do projeto que estamos trabalhando e clico com o botão direito para
- abrir o menu de contexto (context menu): <br />
-</p>
+ abrir o menu de contexto (context menu):   </p>
 <p align="center">
 <img border="0" src="figures/jhw_fig6.png"></p>
 
@@ -293,8 +290,7 @@ do Jena. Arquivos <code>.jar</code> cont
  com o próprio código Jena em  <code>jena.jar</code>. A janela de <em>selection</em>
(seleção) 
 que abre me permite selecionar quais arquivos <code>.jar</code> estarão na
minha biblioteca
  de usuário. Eu selecionei todos (<em>ALL</em>) os arquivos <code>.jar</code>
no diretório <code>/lib</code> 
-do diretório de instalação do meu Jena.<br />
-</p>
+do diretório de instalação do meu Jena.  </p>
 <p align="center">
 <img border="0" src="figures/jhw_fig12.png"></p>
 
@@ -328,8 +324,7 @@ use este recurso aqui. </p>
 <img border="0" src="figures/jhw_fig16.png"></p>
 
 <p>Com a biblioteca de usuário Jena configurada, eu clico em Ok para fechar a 
-caixa de diálogo de configurações de biblioteca.<br />
-</p>
+caixa de diálogo de configurações de biblioteca.  </p>
 <h2 id="passo-4-finalizando-o-programa-hello-world">Passo 4: Finalizando o programa
“hello world”</h2>
 <p>Agora eu posso voltar ao meu projeto e configurar o <em>build path</em>
de Java para 
 a biblioteca que eu acabei de criar. Para começar, clico com o botão direito 
@@ -363,8 +358,7 @@ esquerda), ou posicionando o cursor logo
 
 <p>Quando eu seleciono a primeira das opções apresentadas (i.e. <code>ModelFactory</code>
ao
  invés de <code>ModelFactoryBase</code>), o Eclipse irá completar a declaração
de <code>import</code>
- automaticamente.<br />
-</p>
+ automaticamente.  </p>
 <p align="center">
 <img border="0" src="figures/jhw_fig22.png"></p>
 



Mime
View raw message