according to the jewish calendar what is the last day of the week,
Entity
m.0747p
Shabbat
class literal entity
time.day_of_week 0^^http://www.w3.org/2001/XMLSchema#int m.03l3n
time.day_of_week type.int time.calendar
Day Of Week 0 jewish calendar
none argmax none
time.day_of_week.sequence_number time.calendar.days_of_week
Sequence Number Days of week
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 :time.day_of_week . 
{
SELECT (MAX(?y1) AS ?x1)  WHERE { 
?y0 :type.object.type :time.day_of_week . 
VALUES ?y2 { :m.03l3n } 
?y0 :time.day_of_week.sequence_number ?y1 . 
?y2 :time.calendar.days_of_week ?y0 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y1 != ?y2  )
}
}
VALUES ?x2 { :m.03l3n } 
?x0 :time.day_of_week.sequence_number ?x1 . 
?x2 :time.calendar.days_of_week ?x0 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(ARGMAX (AND time.day_of_week (JOIN (R time.calendar.days_of_week) m.03l3n)) time.day_of_week.sequence_number)