which genomic locus has the chromosome of chromosome 15 (human) and minimum end base?
Entity
m.02kwt__
Locus for Human Cytogenetic Band 15p13
class literal entity
biology.genomic_locus 0^^http://www.w3.org/2001/XMLSchema#int m.02kwgky
biology.genomic_locus type.int biology.chromosome
Genomic Locus 0 Chromosome 15 (human)
none argmin none
biology.genomic_locus.end_base biology.genomic_locus.chromosome
End Base Chromosome
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :biology.genomic_locus . 
{
SELECT (MIN(?y1) AS ?x1)  WHERE { 
?y0 :type.object.type :biology.genomic_locus . 
VALUES ?y2 { :m.02kwgky } 
?y0 :biology.genomic_locus.end_base ?y1 . 
?y0 :biology.genomic_locus.chromosome ?y2 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y1 != ?y2  )
}
}
VALUES ?x2 { :m.02kwgky } 
?x0 :biology.genomic_locus.end_base ?x1 . 
?x0 :biology.genomic_locus.chromosome ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(ARGMIN (AND biology.genomic_locus (JOIN biology.genomic_locus.chromosome m.02kwgky)) biology.genomic_locus.end_base)