gibson dated what celebrity?
Entity Entity
m.05zk7_g m.09wmk_
Oksana Pochepa Oksana Grigorieva
class class entity entity
celebrities.celebrity celebrities.romantic_relationship m.0c1pj m.02_7k44
celebrities.celebrity celebrities.romantic_relationship celebrities.celebrity celebrities.romantic_relationship_type
Celebrity Romantic relationship gibson Dated
none none none none
celebrities.celebrity.sexual_relationships celebrities.romantic_relationship.celebrity celebrities.romantic_relationship.relationship_type
Romantic relationships (with celebrities) Celebrity Relationship type
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 :celebrities.celebrity . 
?x1 :type.object.type :celebrities.romantic_relationship . 
VALUES ?x2 { :m.0c1pj } 
VALUES ?x3 { :m.02_7k44 } 
?x0 :celebrities.celebrity.sexual_relationships ?x1 . 
?x1 :celebrities.romantic_relationship.celebrity ?x2 . 
?x1 :celebrities.romantic_relationship.relationship_type ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(AND celebrities.celebrity (JOIN celebrities.celebrity.sexual_relationships (AND (JOIN celebrities.romantic_relationship.celebrity m.0c1pj) (JOIN celebrities.romantic_relationship.relationship_type m.02_7k44))))