Thanks Bob, that got rid of the error message at least :)

I'm running my own instance of the MusicBrainz EC2 AMI because the endpoint
on dbtune doesn't run on Virtuoso and I want to use bif:contains to use
full-text search.

I still haven't been able to get any data out though, when I try some
queries they seem to go on forever. Do I need to set up some indexes?

On Sat, May 15, 2010 at 5:33 PM, Bob Ferris <[email protected]> wrote:

> Hi Mats,
>
> I do not really know, which SPARQL endpoint you are querying, but for
> the case you tried http://dbtune.org/musicbrainz/sparql
>
> 1. you should change
>        ?artist mo:creatorOf ?album
>    to
>        ?album foaf:maker ?artist
>
> 2. you should query with out the ";" at the end of your query.
>
> Good luck ;)
>
> Cheers,
>
> Bob
>
> Am 15.05.2010 16:59, schrieb [email protected]:
> > I'm trying to query a MusicBrainz EC2 AMI, but I'm getting an error. Can
> > anyone tell me what's wrong with this query?
> >
> >      PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> >      PREFIX foaf: <http://xmlns.com/foaf/0.1/>
> >      PREFIX mo: <http://purl.org/ontology/mo/>
> >      PREFIX dc: <http://purl.org/dc/elements/1.1/>
> >      SELECT ?artist_name ?album_title
> >
> >      WHERE
> >      {
> >      ?artist rdf:type mo:SoloMusicArtist .
> >      ?artist foaf:name ?artist_name .
> >      ?artist mo:creatorOf ?album .
> >
> >      ?album rdf:type mo:Record .
> >      ?album dc:title ?album_title .
> >
> >      FILTER bif:contains(?artist_name, "Paul") .
> >      FILTER bif:contains(?album_title, "Press and Play") .
> >      };
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> >
> >
> >
> >
> > _______________________________________________
> > Virtuoso-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>

Reply via email to