Hi Sherman,

This works for me also having run multiple times:

hugh-williams-computer-1614:~ hughwilliams$ more sherman1.xml
<?xml version="1.0" standalone="yes"?><query timeout='2000' xmlns='http://openlinksw.com/services/facets/1.0'><property iri='http://www.w3.org/1999/02/22-rdf-syntax-ns#type'><value datatype='uri '>http://umbel.org/umbel/sc/Person</value></property><value datatype='uri'>http://dbpedia.org/resource/Drew_Barrymore</ value><property iri='http://dbpedia.org/property/reference'></ property><val ue datatype='uri'>http://dbpedia.org/resource/Drew_Barrymore</ value><view offset='0' limit='250' type='text'></view></query> hugh-williams-computer-1614:~ hughwilliams$ curl -H "Content-Type: text/xml" -d @sherman1.xml http://lod.openlinksw.com
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
<title>Entity Search, Find, and Explore</title>
<link rel="stylesheet" media="screen" type="text/css" href="styles/ default.css"/>
<script type="text/javascript" >
    var featureList=["map", "combolist", "ajax2", "tab", "json"];
</script>
<script type="text/javascript" src="oat/toolkit/loader.js"></script>
<script type="text/javascript" src="facet.js"></script>
</head>
<body>
<div id="PG">
<div id="HD">
  <a href="http://www.openlinksw.com"; class="logo">
<img id="opl_logo" src="/fct/images/openlink_site_logo.png" alt="OpenLink Software"/>
  </a>
</div><!-- #HD -->
<div id="MD">

  <div id="main_srch" style="display: none">
    <div id="TAB_ROW">
      <div class="tab" id="TAB_TXT">Text Search</div>
      <div class="tab" id="TAB_URILBL">URI Lookup (by Label)</div>
      <div class="tab" id="TAB_URI">URI Lookup</div>
      <div class="tab_act">
<a href="/fct/facet.vsp? cmd=featured&sid=65937&no_qry=1">Featured Queries</a>
        &nbsp;|&nbsp;
        <a href="/b3s/">Demo Queries</a>
        &nbsp;|&nbsp;
        <a href="facet_doc.html">About</a>
      </div>
    </div> <!-- #TAB_ROW -->
    <div id="TAB_CTR">
    </div> <!-- #TAB_CTR -->
    <div id="TAB_PAGE_TXT" class="tab_page" style="display: none">
      <h2>Entity Search, Find, and Explore</h2>
      <form method="post"
            action="/fct/facet.vsp?cmd=text&sid=65937" >
        <div id="new_srch">
          <label class="left_txt"
                 for="new_search_txt">Search Text</label>
          <input id=  "new_search_txt"
                 size="60"
                 type="text"
                 name="search_for"/>
          <input type=submit  value="Search"><br/>
        </div>
      </form>
    </div> <!-- #TAB_PAGE_TXT -->
    <div id="TAB_PAGE_URILBL" class="tab_page" style="display: none">
      <h2>Entity Search, Find, and Explore</h2>
      <form method="get" action="/describe/" id="new_lbl_fm">
        <input type="hidden" name="url" id="new_lbl_val"/>
        <input type="hidden" name="sid" value="65937"/>
        <input type="hidden" name="urilookup" value="1"/>
      </form>
      <div id="new_uri">
        <label class="left_txt"
               for=  "new_lbl_txt">Label</label>

        <input id=  "new_lbl_txt"
               size="60"
               type="text"
               autocomplete="off"/>

        <button id="new_lbl_btn">Describe</button><br/>
      </div>

    </div>
    <div id="TAB_PAGE_URI" class="tab_page" style="display: none">
      <h2>Entity Search, Find, and Explore</h2>
      <form method="get" action="/describe/" id="new_uri_fm">
        <input type="hidden" name="url" id="new_uri_val"/>
        <input type="hidden" name="sid" value="65937"/>
        <input type="hidden" name="urilookup" value="1"/>
      </form>
      <div id="new_uri">
        <label class="left_txt"
               for=  "new_uri_txt">URI</label>

        <input id=  "new_uri_txt"
               size="60"
               type="text"
               autocomplete="off"/>
        <button id="new_uri_btn">Describe</button><br/>
      </div>
    </div> <!-- #TAB_PAGE_URI -->
  </div> <!-- #main_srch -->
  <div class="main_expln"><br/>
    Faceted Search &amp; Find Service<br/>
  </div>

</div><!-- #MD -->
<div id="FT">
<a href="http://virtuoso.openlinksw.com/";><img src="/fct/images/ virt_power_no_border.png" alt="Powered by OpenLink Virtuoso"/></a> <a href="http://linkeddata.org";><img src="/fct/images/LoDLogo.gif" alt="Linked Data"/></a><br/> <span class="copyright">Copyright &copy; 2009 OpenLink Software</ span>
  <div id="FT_L"></div>
  <div id="FT_R"></div>
</div>
</div> <!-- #PG -->
</body>
</html>

hugh-williams-computer-1614:~ hughwilliams$

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support



On 22 May 2009, at 16:56, Sherman Monroe wrote:

Hugh,

It occurs fairly often (~ 30% of the time). Here is another error, this time with the error diagnostics from the server. I think it has to do with the 'dirty data' issue, could it be that somehow some dirty URIs or labels got into the SPARQL?. I don't see any weird characters in the query:

Query xml string:

<?xml version="1.0" standalone="yes"?><query timeout='2000' xmlns='http://openlinksw.com/services/facets/1.0'><property iri='http://www.w3.org/1999/02/22-rdf-syntax-ns#type'><value datatype='uri'>http://umbel.org/umbel/sc/Person</value></ property><value datatype='uri'>http://dbpedia.org/resource/ Drew_Barrymore</value><property iri='http://dbpedia.org/property/ reference'></property><value datatype='uri'>http://dbpedia.org/ resource/Drew_Barrymore</value><view offset='0' limit='250' type='text'></view></query>


Error Msg:

<error>
<code>37000</code>
<message>Error while executing query</message>
<diagnostics>SQ074: Line 21: SP030: SPARQL compiler, line 1: syntax error at &#39;)&#39; before &#39;,&#39; at &#39;)&#39; before &#39;xx&#39;</diagnostics>
</error>

-sherman



Reply via email to