Hi Bob,

Not sure about the namespace for dbpedia2, but try to change the filters 
for:


     ?artistName bif:contains "Miles".
     ?album bif:contains "Blue".




Good luck,



Fred
> Sometimes the following query works, and sometimes it times out. Can 
> anyone give me any suggestions about ways to make it more efficient, or 
> at least point out which parts are most inefficient? (Besides the 
> filters, which I assume add a good deal to the required processing.)
>
>
>    SELECT ?s, ?artistName, ?album, ?wpURL, ?releaseDate, ?prevAlbum,
>        ?nextAlbum, ?producer, ?coverURL
>    WHERE {
>      ?s dbpedia2:artist    ?artistName;
>         dbpedia2:name      ?album;
>         foaf:page          ?wpURL;
>         dbpedia2:released  ?releaseDate;
>         dbpedia2:lastAlbum ?prevAlbum;
>         dbpedia2:nextAlbum ?nextAlbum;
>         dbpedia2:producer  ?producer;
>         dbpedia2:cover     ?coverURL.
>
>      FILTER (regex(?artistName, "Miles")).
>      FILTER (regex(?album, "Blue")).
>    }
>    LIMIT 30
>
>
> thanks,
>
> Bob DuCharme
> http://www.snee.com/bobdc.blog
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Dbpedia-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to