john of biclaro is the subject of which written work?
Entity
m.012hr23q
Braga and Tours: some observations on Gregory's De virtutibus sancti Martini (1.11)
class entity
book.written_work m.03jc7h
book.written_work book.book_subject
Written Work John of Biclaro
none none
book.written_work.subjects
Subjects
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 :book.written_work . 
VALUES ?x1 { :m.03jc7h } 
?x0 :book.written_work.subjects ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND book.written_work (JOIN book.written_work.subjects m.03jc7h))