[email protected] wrote:
Not sure if that will help do what I want. I'd like something that can be used with a search box that can be used for free-text queries to find items of a specific class.

For example to look for movies it could set to find items of rdf:type http://freebase.com/film/film, where the search terms could be from something like rdfs:label from the movie and rdfs:label from http://freebase.com/film/film/directed_by, http://freebase.com/film/film/produced_by and http://freebase.com/film/film/starring. A query with the terms "Scorsese DiCaprio gangs" might then return, http://freebase.com/guid/9202a8c04000641f800000000014e9f1, the movie "Gangs of New York" which has the actor "Leonardo DiCaprio", director "Martin Scorsese" and "gangs" in the title. The point here though is that when the query is executed, it won't know that Scorsese is the director, DiCaprio is an actor and gangs is from the title, just that each of the terms should be in either the movie label, directed_by, produced_by or starring.

Are you telling me that via Solr you can perform a disambiguated full text search?

Did you try putting: Gangs of New York, into the "URI Lookup (By Label)" tab?

If you have a URL for a Solr instance that performs disambiguated search against a full text pattern, please send it to me.


Kingsley


On Fri, May 21, 2010 at 12:51 AM, Kingsley Idehen <[email protected] <mailto:[email protected]>> wrote:

    [email protected] <mailto:[email protected]> wrote:

        Okay, that could for work for some blogs.

        Something similar though is looking up an album. For example
        if I want to find "Great Eagle Flying With the Wind" by Wayra,
        and I type in "wayra great eagle flying with the wind" in
        lod.openlinksw.com <http://lod.openlinksw.com>
        <http://lod.openlinksw.com>, it doesn't find anything. In this
        case the album has dc:title "Great Eagle Flying With the Wind"
        and it has a foaf:maker link to the artist which has foaf:name
        "Wayra". The index would have to include both dc:title from
        the album and foaf:name from the artist for the query to work,
        or is there a way to do it without adding an extra index
        property on the album with the artist and album name?


    See:
    http://lod.openlinksw.com/fct/facet.vsp?cmd=load&fsq_id=191109
    <http://lod.openlinksw.com/fct/facet.vsp?cmd=load&fsq_id=191109>

    Sequence:

    1. Enter pattern: Great Eagle Flying With the Wind
    2. Click on Properties link in the Navigation DIV
    3. Click on dc:title -- you will see IRI of the .

    Alternatively:
    http://lod.openlinksw.com/fct/facet.vsp?cmd=load&fsq_id=191111
    <http://lod.openlinksw.com/fct/facet.vsp?cmd=load&fsq_id=191111>
    Sequence:

    1. Enter pattern
    2. Click on Properties
    3. Pick dc:title
    4. Click on Properties
    5. Pick foaf:maker.

    Click SPARQL button to see SPARQL behind each route.


    Kingsley






------------------------------------------------------------------------

------------------------------------------------------------------------------

------------------------------------------------------------------------

_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


--

Regards,

Kingsley Idehen President & CEO OpenLink Software Web: http://www.openlinksw.com
Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca: kidehen





Reply via email to