who owned the ski area first?
Entity
m.04kp4g8
Zane Doyle
class class literal
skiing.ski_area_owner skiing.ski_area_ownership 0^^http://www.w3.org/2001/XMLSchema#int
skiing.ski_area_owner skiing.ski_area_ownership type.datetime
Ski Area Owner Ski Area Ownership 0
none none argmin
skiing.ski_area_ownership.owner skiing.ski_area_ownership.end_date
Owner End date
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 :skiing.ski_area_owner . 
?x1 :type.object.type :skiing.ski_area_ownership . 
{
SELECT (MIN(?y2) AS ?x2)  WHERE { 
?y0 :type.object.type :skiing.ski_area_owner . 
?y1 :type.object.type :skiing.ski_area_ownership . 
?y1 :skiing.ski_area_ownership.owner ?y0 . 
?y1 :skiing.ski_area_ownership.end_date ?y2 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y1 != ?y2  )
}
}
?x1 :skiing.ski_area_ownership.owner ?x0 . 
?x1 :skiing.ski_area_ownership.end_date ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(ARGMIN skiing.ski_area_owner (JOIN (R skiing.ski_area_ownership.owner) skiing.ski_area_ownership.end_date))