what is the {language of work or name} for {Monday} has {named after} as {2} ?
What is Monday named after?
what name is given to the day Monday is named after?
SELECT ?x WHERE { ?u property:language_of_work_or_name ?x . resource:Monday property:named_after ?u . ?u property:named_after resource:2 }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q105> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P138> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q200> .
?statement <http://www.wikidata.org/entity/P407> ?value. 
} 

SELECT ?value WHERE { wd:Q105 p:P138 ?s . ?s ps:P138 wd:Q200 . ?s pq:P407 ?value}