Simple Question (Direct)
Simple Question
Q609467
P161
Q502895
USER
Which people were casted in Capricorn One ?
(Q609467,P161,c(Q502895))
action filter_type
action find
entity Q609467
relation P161
type Q502895
['Q609467', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q609467 property:P161 ?u . ?u rdf:type ontology:Q502895 }
Capricorn One
action filter_type
action find
entity Capricorn One
relation cast member
type common name
['Capricorn One', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Capricorn_One property:cast_member ?u . ?u rdf:type ontology:common_name }
[]
common name
Q209471 Q284876 Q232333
SYSTEM
Telly Savalas, Sam Waterston, Karen Black
Q44473 Q284876 Q2159115 Q315051 Q232333 Q314801 Q240658 Q209471 Q2636696 Q1681105 Q1372953 Q659962 Q314805 Q119198
(Q609467,P161,c(Q502895))
action filter_type
action find
entity Q609467
relation P161
type Q502895
[ANSWERS] were casted in Capricorn One
['Q609467', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q609467 property:P161 ?u . ?u rdf:type ontology:Q502895 }
O. J. Simpson Sam Waterston Robert Walden James Brolin Karen Black Hal Holbrook Brenda Vaccaro Telly Savalas Alan Fudge James Sikking James Karen David Huddleston Elliott Gould David Doyle
Telly Savalas, Sam Waterston and Karen Black were casted in Capricorn One
Telly Savalas Sam Waterston Karen Black
action filter_type
action find
entity Capricorn One
relation cast member
type common name
['Capricorn One', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Capricorn_One property:cast_member ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q609467
P750
Q375336
USER
Who is the distributor of Capricorn One ?
(Q609467,P750,c(Q375336))
action filter_type
action find
entity Q609467
relation P750
type Q375336
['Q609467', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q375336 . resource:Q609467 property:P750 ?r }
Capricorn One
action filter_type
action find
entity Capricorn One
relation distributor
type film studio
['Capricorn One', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:film_studio . resource:Capricorn_One property:distributor ?r }
[]
film studio
Q126399
SYSTEM
Warner Bros.
Q126399
(Q609467,P750,c(Q375336))
action filter_type
action find
entity Q609467
relation P750
type Q375336
The distributor of Capricorn One is the [ANSWER]
['Q609467', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q375336 . resource:Q609467 property:P750 ?r }
Warner Bros.
The distributor of Capricorn One is the Warner Bros.
Warner Bros.
action filter_type
action find
entity Capricorn One
relation distributor
type film studio
['Capricorn One', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:film_studio . resource:Capricorn_One property:distributor ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6051841 Q232333
P27
Q15617994
USER
Which administrative territories do Karen Black or Erdener Özer belong to ?
OR((Q232333,P27,c(Q15617994)), (Q6051841,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q232333
relation P27
action find
entity Q6051841
relation P27
type Q15617994
{'OR': [['Q232333', 'P27', {'concept': 'Q15617994'}], ['Q6051841', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q6051841 property:P27 ?f } UNION { resource:Q232333 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Erdener Özer Karen Black
action filter_type
action union
action find
entity Karen Black
relation country of citizenship
action find
entity Erdener Özer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Karen Black', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Erdener Özer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Erdener_Özer property:country_of_citizenship ?f } UNION { resource:Karen_Black property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q43
SYSTEM
United States of America, Turkey
Q30 Q43
OR((Q232333,P27,c(Q15617994)), (Q6051841,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q232333
relation P27
action find
entity Q6051841
relation P27
type Q15617994
Karen Black or Erdener Özer belong to the [ANSWERS]
{'OR': [['Q232333', 'P27', {'concept': 'Q15617994'}], ['Q6051841', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q6051841 property:P27 ?f } UNION { resource:Q232333 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
United States of America Turkey
Karen Black or Erdener Özer belong to the United States of America and Turkey
United States of America Turkey
action filter_type
action union
action find
entity Karen Black
relation country of citizenship
action find
entity Erdener Özer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Karen Black', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Erdener Özer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Erdener_Özer property:country_of_citizenship ?f } UNION { resource:Karen_Black property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6051841
P106
Q12737077
USER
What is the job of Erdener Özer ?
(Q30,P106,c(Q12737077)) (Q43,P106,c(Q12737077))
action filter_type
action find
entity Q6051841
relation P106
type Q12737077
['Q30', 'P106', {'concept': 'Q12737077'}] ['Q43', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q6051841 property:P106 ?i }
Erdener Özer
action filter_type
action find
entity Erdener Özer
relation occupation
type occupation
['United States of America', 'occupation', {'concept': 'occupation'}] ['Turkey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Erdener_Özer property:occupation ?i }
[]
occupation
Q39631
SYSTEM
physician
Q39631
(Q30,P106,c(Q12737077)) (Q43,P106,c(Q12737077))
action filter_type
action find
entity Q6051841
relation P106
type Q12737077
The job of Erdener Özer is a [ANSWER]
['Q30', 'P106', {'concept': 'Q12737077'}] ['Q43', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q6051841 property:P106 ?i }
physician
The job of Erdener Özer is a physician
physician
action filter_type
action find
entity Erdener Özer
relation occupation
type occupation
['United States of America', 'occupation', {'concept': 'occupation'}] ['Turkey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Erdener_Özer property:occupation ?i }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4138855 Q6051841
P39 P106
Q12737077
USER
Which occupations are the professions of Erdener Özer or were the positions held by Safa Giray ?
OR((Q6051841,P106,c(Q12737077)), (Q4138855,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q6051841
relation P106
action find
entity Q4138855
relation P39
type Q12737077
{'OR': [['Q6051841', 'P106', {'concept': 'Q12737077'}], ['Q4138855', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q6051841 property:P106 ?a } UNION { resource:Q4138855 property:P39 ?a } } . ?a rdf:type ontology:Q12737077 }
Safa Giray Erdener Özer
action filter_type
action union
action find
entity Erdener Özer
relation occupation
action find
entity Safa Giray
relation position held
type occupation
{'OR': [['Erdener Özer', 'occupation', {'concept': 'occupation'}], ['Safa Giray', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Erdener_Özer property:occupation ?a } UNION { resource:Safa_Giray property:position_held ?a } } . ?a rdf:type ontology:occupation }
[]
occupation
Q39631 Q21030356
SYSTEM
physician, Member of the Grand National Assembly of Turkey
Q39631 Q21030356
OR((Q6051841,P106,c(Q12737077)), (Q4138855,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q6051841
relation P106
action find
entity Q4138855
relation P39
type Q12737077
[ANSWERS] are the professions of Erdener Özer or were the positions held by Safa Giray
{'OR': [['Q6051841', 'P106', {'concept': 'Q12737077'}], ['Q4138855', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q6051841 property:P106 ?a } UNION { resource:Q4138855 property:P39 ?a } } . ?a rdf:type ontology:Q12737077 }
physician Member of the Grand National Assembly of Turkey
Physician and Member of the Grand National Assembly of Turkey are the professions of Erdener Özer or were the positions held by Safa Giray
physician Member of the Grand National Assembly of Turkey
action filter_type
action union
action find
entity Erdener Özer
relation occupation
action find
entity Safa Giray
relation position held
type occupation
{'OR': [['Erdener Özer', 'occupation', {'concept': 'occupation'}], ['Safa Giray', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Erdener_Özer property:occupation ?a } UNION { resource:Safa_Giray property:position_held ?a } } . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39631
P138
Q82799
USER
Which name is the eponym of physician ?
(c(Q82799),P138,Q39631)
action filter_type
action find_reverse
entity Q39631
relation P138
type Q82799
[{'concept': 'Q82799'}, 'P138', 'Q39631']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q39631 . ?t rdf:type ontology:Q82799 }
physician
action filter_type
action find_reverse
entity physician
relation named after
type name
[{'concept': 'name'}, 'named after', 'physician']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:physician . ?t rdf:type ontology:name }
[]
name
Q5352294
SYSTEM
Fisichella
Q5352294
(c(Q82799),P138,Q39631)
action filter_type
action find_reverse
entity Q39631
relation P138
type Q82799
[ANSWER] is the eponym of physician
[{'concept': 'Q82799'}, 'P138', 'Q39631']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q39631 . ?t rdf:type ontology:Q82799 }
Fisichella
Fisichella is the eponym of physician
Fisichella
action filter_type
action find_reverse
entity physician
relation named after
type name
[{'concept': 'name'}, 'named after', 'physician']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:physician . ?t rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39631
P921
Q15416
USER
Which television program has that occupation as its main topic ?
(c(Q15416),P921,Q5352294)
action filter_type
action find_reverse
entity Q39631
relation P921
type Q15416
[{'concept': 'Q15416'}, 'P921', 'Q5352294']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15416 . ?i property:P921 resource:Q39631 }
physician
action filter_type
action find_reverse
entity physician
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'Fisichella']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:television_program . ?i property:main_subject resource:physician }
[]
television program
Q5287574
SYSTEM
Doctors to Be: 20 Years On
Q5287574
(c(Q15416),P921,Q5352294)
action filter_type
action find_reverse
entity Q39631
relation P921
type Q15416
[ANSWER] has that occupation as its main topic
[{'concept': 'Q15416'}, 'P921', 'Q5352294']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15416 . ?i property:P921 resource:Q39631 }
Doctors to Be: 20 Years On
Doctors to Be: 20 Years On has that occupation as its main topic
Doctors to Be: 20 Years On
action filter_type
action find_reverse
entity physician
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'Fisichella']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:television_program . ?i property:main_subject resource:physician }
[]