view sparql/examples/retrieve_top_5.rq @ 711:ec23b53ffa14

* Added text for about box (feedback email and project URL) * Fixed up library path
author mas01mj
date Fri, 18 Jun 2010 14:06:03 +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