view sparql/examples/retrieve_top_5.rq @ 686:d9bb0dba8e7a

* First iteration of query UI xib
author mas01mj
date Thu, 11 Mar 2010 12:09:32 +0000
parents 190c6a9e85a5
children
line wrap: on
line source
PREFIX mo: <http://purl.org/ontology/mo/>
PREFIX af: <http://purl.org/ontology/af/>
PREFIX musim: <http://purl.org/ontology/musim#> 

SELECT ?signal ?distance
WHERE
{
        ?signal a mo:Signal.

        _:s a musim:Similarity;
            musim:element <http://KSA_CHARM_306>;
            musim:element ?signal;
            musim:distance ?distance.
} ORDER BY (?distance) LIMIT 5