larsga / Duke

Duke is a fast and flexible deduplication engine written in Java
Apache License 2.0
615 stars 193 forks source link

added query element with CDATA instead of attribute in param element #187

Open muschneider opened 9 years ago

muschneider commented 9 years ago
<query>
 <![CDATA[
  SELECT DISTINCT ?instance ?p ?o
      WHERE {
        ?instance a <http://xmlns.com/foaf/0.1/Person> .
        ?instance ?p ?o .
      }
      ORDER BY ?instance ?p ?o
  ]]>
</query>

instead of

<param name="query" value="
      SELECT DISTINCT ?instance ?p ?o
      WHERE {
        ?instance a &lt;http://xmlns.com/foaf/0.1/Person> .
        ?instance ?p ?o .
      }
      ORDER BY ?instance ?p ?o
    "/>