title: how can I Import and index rdf data in solr from virtuoso sparql endpoint
body: <p>I am trying to implement solr dataimport handler in solr using jdbc driver method.</p>
  
  <p>My use case is
  I have RDF data in virtuoso and i want to index this data in solr using dataimport handler ( Auto commit )</p>
  
  <p>Here is my code</p>
  
  <p>solrconfig.xml</p>
  
  <pre><code>&lt;lib dir="${solr.install.dir:../../../..}/dist/" regex="virt_dialect-.*\.jar" /&gt;
    &lt;lib dir="${solr.install.dir:../../../..}/dist/" regex="virtjdbc-.*\.jar" /&gt;
  
  &lt;requestHandler name="/dataimport" class="solr.DataImportHandler"&gt;
      &lt;lst name="defaults"&gt;
        &lt;str name="config"&gt;db-data-config.xml&lt;/str&gt;
      &lt;/lst&gt;
    &lt;/requestHandler&gt;
  </code></pre>
  
  <p>db-data-config.xml</p>
  
  <pre><code>&lt;dataConfig&gt;
      &lt;dataSource driver="virtuoso.jdbc4.Driver" url="jdbc:virtuoso://localhost:1111/" user="dba" password "dba" /&gt;
      &lt;document&gt;
          &lt;entity name="item" query="SELECT ?S, ?P, ?O FROM &lt;http://localhost:8890/sparql&gt; { ?S ?P ?O }"
                  deltaQuery="select id from item where last_modified &gt; '${dataimporter.last_index_time}'"&gt;
              &lt;field column="subject" name="item.S" /&gt;
              &lt;field column="description" name="item.P" /&gt;
              &lt;field column="title" name="item.O" /&gt;
          &lt;/entity&gt;
      &lt;/document&gt;
  &lt;/dataConfig&gt;
  </code></pre>
  
  <p>I am also trying to follow this link 
  <a href="http://fatac.github.io/configuration.html" rel="nofollow">http://fatac.github.io/configuration.html</a>
  But because of new in this technology I can not implement this correctly.
  Thanks</p>