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


On Fri, May 22, 2009 at 10:16 AM, Hugh Williams <[email protected]>wrote:

> Hi Sherman,
> How intermittent is the 500 error, as I have run the query below from my
> location in the UK to the lod.openlinksw.com server in the US repeatedly
> and don't have a problem:
>
> hugh-williams-computer-1614:~ hughwilliams$ more sherman.xml
> <?xml version="1.0" standalone="yes"?><query timeout='2000' xmlns='
> http://openlinksw.com/services/facets/1.0'<http://openlinksw.com/services/facets/1.0%27>><text
> property='http://www.w3.org/2000/01/rdf-schema#label'<http://www.w3.org/2000/01/rdf-schema#label%27>>Person</text><property
> iri='http://www.w3.org/1999/02
> /22-rdf-syntax-ns#type'><value datatype='uri'>
> http://www.w3.org/2002/07/owl#Class</value></property><property iri='
> http://www.w3.org/1999/02/22-rdf-syntax-ns#type'<http://www.w3.org/1999/02/22-rdf-syntax-ns#type%27>><value
> datatype='uri'>http://sw.opencyc.org/2008/06/10/conc
> ept/Mx4rvWXYgJwpEbGdrcN5Y29ycA</value></property><property iri='
> http://www.w3.org/1999/02/22-rdf-syntax-ns#type'<http://www.w3.org/1999/02/22-rdf-syntax-ns#type%27>></property><property
> iri='http://www.w3.org/2002/07/owl#sameAs'<http://www.w3.org/2002/07/owl#sameAs%27>><value
> datatype='uri'>http://umbel.org/umbel/s
> c/MaleHuman</value><property iri='
> http://www.w3.org/1999/02/22-rdf-syntax-ns#type'<http://www.w3.org/1999/02/22-rdf-syntax-ns#type%27>><value
> datatype='uri'>http://umbel.org/umbel#SubjectConcept</value></property></property><property-of
> iri='http://www.w3.org/2000/01/rdf-sch
> ema#subClassOf'></property-of><property-of iri='
> http://www.w3.org/2000/01/rdf-schema#range'<http://www.w3.org/2000/01/rdf-schema#range%27>></property-of><view
> offset='0' limit='250' type='classes'></view></query>
> hugh-williams-computer-1614:~ hughwilliams$ curl -H "Content-Type:
> text/xml" -d @sherman.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=65854&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=65854" >
>         <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="65854"/>
>         <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="65854"/>
>         <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 15:25, Sherman Monroe wrote:
>
> Hi,
>
> I am occasionally getting 500 errors, but I can't seem to tell what's wrong
> with my queries, as they look well-formed and valid, here is one that throws
> the 500 error:
>
> <?xml version="1.0" standalone="yes"?><query timeout='2000' xmlns='
> http://openlinksw.com/services/facets/1.0'><text property='
> http://www.w3.org/2000/01/rdf-schema#label'>Person</text><property iri='
> http://www.w3.org/1999/02/22-rdf-syntax-ns#type'><value datatype='uri'>
> http://www.w3.org/2002/07/owl#Class</value></property><property iri='
> http://www.w3.org/1999/02/22-rdf-syntax-ns#type'><value datatype='uri'>
> http://sw.opencyc.org/2008/06/10/concept/Mx4rvWXYgJwpEbGdrcN5Y29ycA</value></property><property
> iri='http://www.w3.org/1999/02/22-rdf-syntax-ns#type'></property><property
> iri='http://www.w3.org/2002/07/owl#sameAs'><value datatype='uri'>
> http://umbel.org/umbel/sc/MaleHuman</value><property iri='
> http://www.w3.org/1999/02/22-rdf-syntax-ns#type'><value datatype='uri'>
> http://umbel.org/umbel#SubjectConcept</value></property></property><property-of
> iri='http://www.w3.org/2000/01/rdf-schema#subClassOf'></property-of><property-of
> iri='http://www.w3.org/2000/01/rdf-schema#range'></property-of><view
> offset='0' limit='250' type='classes'></view></query>
>
> Any clues?
>
> --
>
> Thanks,
> -sherman
>
> I pray that you may prosper in all things and be healthy, even as your soul
> prospers
> (3 John 1:2)
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals.
> Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. 
> http://www.creativitycat.com_______________________________________________
> Virtuoso-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-devel
>
>
>


-- 

Thanks,
-sherman

I pray that you may prosper in all things and be healthy, even as your soul
prospers
(3 John 1:2)

Reply via email to