view sparql/examples/retrieve_top_5.rq @ 703:14b48e1b9ca4

Fix to start vector / length (ta Christophe!)
author mas01mj
date Fri, 30 Apr 2010 15:31:08 +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