According to the spec (which Jena implements), rdfs:Literal values cannot be compared and therefore you need to change the data to use xsd:string. This has no disadvantages and is hopefully a one-time global replace that can be done with a SPARQL UPDATE.

Holger


On 7/13/14, 3:11 AM, Jack Hodges wrote:
That makes sense, but all of these tree Classes (i.e., the ones in the trees being displayed using ClassTreeDataProvider) have xsd values for their refs:labels. I checked with a SPARQL query.

On Friday, July 11, 2014 4:46:56 PM UTC-7, Holger Knublauch wrote:

    The source of the error is

    Can't compare "InteraXon
    Muse"^^<http://www.w3.org/2000/01/rdf-schema#Literal>
    <http://www.w3.org/2000/01/rdf-schema#Literal> and "Imec EEG
    Headset"^^<http://www.w3.org/2000/01/rdf-schema#Literal>
    <http://www.w3.org/2000/01/rdf-schema#Literal>

    For the auto-complete index to work, it needs to have xsd:string
    values (or untyped literals) for rdfs:label, skos:prefLabel etc.

    Holger


    On 7/12/14, 7:52 AM, Jack Hodges wrote:
    I have a 'find/search' widget in my SWP page that searches a
    large (but for now, small) class tree. It matches keystroke at a
    time, when it works, but I am getting an illegal argument
    exception (failed to construct SWP argument:
    http://spinrdf.org/arg#resultSet...Since
    <http://spinrdf.org/arg#resultSet...Since> this is a TQ function,
    maybe you can make better sense of the stack trace than I can?
    This is running under 4.2. I'll work on 4.4 (and onward) once I
    get this SWP working. Stack trace attached. Thanks,

    Jack Hodges
-- -- You received this message because you are subscribed to the Google
    Group "TopBraid Suite Users", the topics of which include
    Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid
    Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
    To post to this group, send email to
    topbrai...@googlegroups.com <javascript:>
    To unsubscribe from this group, send email to
    topbraid-user...@googlegroups.com <javascript:>
    For more options, visit this group at
    http://groups.google.com/group/topbraid-users?hl=en
    <http://groups.google.com/group/topbraid-users?hl=en>
    ---
    You received this message because you are subscribed to the
    Google Groups "TopBraid Suite Users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to topbraid-user...@googlegroups.com <javascript:>.
    For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.

--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-users+unsubscr...@googlegroups.com <mailto:topbraid-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL 
Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to