which patent has an associated invention that is associated with the patent method for node ranking in a linked database?
Entity Entity Entity
m.0gkk4w1 m.0gkk4w7 m.0gkk4wf
Method for node ranking in a linked database Scoring documents in a linked database Method for scoring documents in a linked database
class class entity
law.us_patent law.invention m.0gkk4ty
law.us_patent law.invention law.us_patent
Patent Invention Method for node ranking in a linked database
none none none
law.us_patent.associated_inventions law.invention.patents
Associated Inventions Patents
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 :law.us_patent . 
?x1 :type.object.type :law.invention . 
VALUES ?x2 { :m.0gkk4ty } 
?x0 :law.us_patent.associated_inventions ?x1 . 
?x1 :law.invention.patents ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND law.us_patent (JOIN law.us_patent.associated_inventions (JOIN law.invention.patents m.0gkk4ty)))