Finding the names of the Artists similar to another Artist to at least 80%

From Music Ontology Wiki

Jump to: navigation, search

 1        PREFIX mo:      <http://purl.org/ontology/mo/>
 2        PREFIX sim:     <http://purl.org/ontology/sim/>
 3        PREFIX foaf:    <http://xmlns.com/foaf/0.1/>
 4        SELECT DISTINCT ?level ?similar_artist_name
 5        WHERE 
 6        {
 7            ?artist  a mo:MusicArtist;
 8                     foaf:name "Shakira".

 9            ?artist  sim:link ?blank.
 10           ?blank   sim:relation mo:similar_to;
 11                    sim:level ?level;
 12                    sim:to ?similar_artist.

 14            ?similar_artist a mo:MusicArtist;
 16                            foaf:name ?similar_artist_name.
 17       }   

Personal tools