Simple Question (Direct)
Simple Question
Q1931340
P58
Q502895
USER
Which person wrote the script for Luke and Lucy: The Texas Rangers ?
(Q1931340,P58,c(Q502895))
action filter_type
action find
entity Q1931340
relation P58
type Q502895
['Q1931340', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1931340 property:P58 ?r . ?r rdf:type ontology:Q502895 }
Luke and Lucy: The Texas Rangers
action filter_type
action find
entity Luke and Lucy: The Texas Rangers
relation screenwriter
type common name
['Luke and Lucy: The Texas Rangers', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Luke_and_Lucy:_The_Texas_Rangers property:screenwriter ?r . ?r rdf:type ontology:common_name }
[]
common name
Q2658188
SYSTEM
Guy Mortier
Q2658188
(Q1931340,P58,c(Q502895))
action filter_type
action find
entity Q1931340
relation P58
type Q502895
[ANSWER] wrote the script for Luke and Lucy: The Texas Rangers
['Q1931340', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1931340 property:P58 ?r . ?r rdf:type ontology:Q502895 }
Guy Mortier
Guy Mortier wrote the script for Luke and Lucy: The Texas Rangers
Guy Mortier
action filter_type
action find
entity Luke and Lucy: The Texas Rangers
relation screenwriter
type common name
['Luke and Lucy: The Texas Rangers', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Luke_and_Lucy:_The_Texas_Rangers property:screenwriter ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1931340
P495
Q15617994
USER
Where did that work of art originate ?
(Q2658188,P495,c(Q15617994))
action filter_type
action find
entity Q1931340
relation P495
type Q15617994
['Q2658188', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1931340 property:P495 ?g }
Luke and Lucy: The Texas Rangers
action filter_type
action find
entity Luke and Lucy: The Texas Rangers
relation country of origin
type designation for an administrative territorial entity
['Guy Mortier', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Luke_and_Lucy:_The_Texas_Rangers property:country_of_origin ?g }
[]
designation for an administrative territorial entity
Q31 Q55
SYSTEM
Belgium, Netherlands
Q31 Q55
(Q2658188,P495,c(Q15617994))
action filter_type
action find
entity Q1931340
relation P495
type Q15617994
That work of art originated in [ANSWERS]
['Q2658188', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1931340 property:P495 ?g }
Belgium Netherlands
That work of art originated in Belgium and Netherlands
Belgium Netherlands
action filter_type
action find
entity Luke and Lucy: The Texas Rangers
relation country of origin
type designation for an administrative territorial entity
['Guy Mortier', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Luke_and_Lucy:_The_Texas_Rangers property:country_of_origin ?g }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q31 Q55
P6
Q502895
USER
Which people do those administrative territories serve as the head of government for ?
(Q31,P6,c(Q502895)) (Q55,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q31', 'P6', {'concept': 'Q502895'}] ['Q55', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?c ) { ( resource:Q31 ) ( resource:Q55 ) } . ?h rdf:type ontology:Q502895 . ?c property:P6 ?h }
Belgium Netherlands
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Belgium', 'head of government', {'concept': 'common name'}] ['Netherlands', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?c ) { ( resource:Belgium ) ( resource:Netherlands ) } . ?h rdf:type ontology:common_name . ?c property:head_of_government ?h }
[]
common name
Q159840 Q345481 Q380970
SYSTEM
Ruud Lubbers, Piet de Jong, Jelle Zijlstra
Q950958 Q693053 Q686476 Q159840 Q133386 Q57792 Q345481 Q471204 Q983186 Q380970 Q951705 Q781813 Q736026 Q221411 Q634025 Q719701 Q735519 Q318320 Q318334 Q12769
(Q31,P6,c(Q502895)) (Q55,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
[ANSWERS] those administrative territories serve as the head of government
['Q31', 'P6', {'concept': 'Q502895'}] ['Q55', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?c ) { ( resource:Q31 ) ( resource:Q55 ) } . ?h rdf:type ontology:Q502895 . ?c property:P6 ?h }
Charles Michel Dirk Jan de Geer Hendrikus Colijn Ruud Lubbers Jan Peter Balkenende Mark Rutte Piet de Jong Barend Biesheuvel Charles Ruijs de Beerenbrouck Jelle Zijlstra Pieter Sjoerds Gerbrandy Jan de Quay Jo Cals Wim Kok Wim Schermerhorn Victor Marijnen Louis Beel Joop den Uyl Dries van Agt Willem Drees
Ruud Lubbers, Piet de Jong and Jelle Zijlstra those administrative territories serve as the head of government
Ruud Lubbers Piet de Jong Jelle Zijlstra
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Belgium', 'head of government', {'concept': 'common name'}] ['Netherlands', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?c ) { ( resource:Belgium ) ( resource:Netherlands ) } . ?h rdf:type ontology:common_name . ?c property:head_of_government ?h }
[]
Clarification
Simple Question|Single Entity|Indirect
Q159840
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q159840)
action filter_type
action find
entity Q159840
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q159840']
SELECT DISTINCT ?i WHERE { resource:Q159840 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Ruud Lubbers
action filter_type
action find
entity Ruud Lubbers
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ruud Lubbers']
SELECT DISTINCT ?i WHERE { resource:Ruud_Lubbers property:spouse ?i . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q380970
SYSTEM
Did you mean Jelle Zijlstra ?
Q159840 Q345481 Q380970
(c(Q502895),P26,Q159840) (c(Q502895),P26,Q345481) (c(Q502895),P26,Q380970)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q159840'] [{'concept': 'Q502895'}, 'P26', 'Q345481'] [{'concept': 'Q502895'}, 'P26', 'Q380970']
SELECT DISTINCT ?i WHERE { resource:Q159840 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Ruud Lubbers Piet de Jong Jelle Zijlstra
Did you mean Jelle Zijlstra ?
Jelle Zijlstra
[{'concept': 'common name'}, 'spouse', 'Ruud Lubbers'] [{'concept': 'common name'}, 'spouse', 'Piet de Jong'] [{'concept': 'common name'}, 'spouse', 'Jelle Zijlstra']
SELECT DISTINCT ?i WHERE { resource:Ruud_Lubbers property:spouse ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Ruud Lubbers. Could you tell me the answer for that?
(c(Q502895),P26,Q159840)
Q159840
[{'concept': 'Q502895'}, 'P26', 'Q159840']
[{'concept': 'common name'}, 'spouse', 'Ruud Lubbers']
[]
Q2206095
SYSTEM
Ria Hoogeweegen
Q2206095
(c(Q502895),P26,Q159840)
action filter_type
action find
entity Q159840
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q159840']
SELECT DISTINCT ?i WHERE { resource:Q159840 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Ria Hoogeweegen
Ria Hoogeweegen is married to that one
Ria Hoogeweegen
action filter_type
action find
entity Ruud Lubbers
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ruud Lubbers']
SELECT DISTINCT ?i WHERE { resource:Ruud_Lubbers property:spouse ?i . ?i rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2206095 Q159840
P26
Q502895
USER
Does Ruud Lubbers have that one as spouse ?
(Q159840,P26,Q2206095)
action is_in
entity Q159840
action find
entity Q2206095
relation P26
['Q159840', 'P26', 'Q2206095']
ASK WHERE { resource:Q2206095 property:P26 resource:Q159840 }
Ria Hoogeweegen Ruud Lubbers
action is_in
entity Ruud Lubbers
action find
entity Ria Hoogeweegen
relation spouse
['Ruud Lubbers', 'spouse', 'Ria Hoogeweegen']
ASK WHERE { resource:Ria_Hoogeweegen property:spouse resource:Ruud_Lubbers }
[]
common name
SYSTEM
YES
(Q159840,P26,Q2206095)
action is_in
entity Q159840
action find
entity Q2206095
relation P26
[ANSWER]
['Q159840', 'P26', 'Q2206095']
ASK WHERE { resource:Q2206095 property:P26 resource:Q159840 }
Yes
action is_in
entity Ruud Lubbers
action find
entity Ria Hoogeweegen
relation spouse
['Ruud Lubbers', 'spouse', 'Ria Hoogeweegen']
ASK WHERE { resource:Ria_Hoogeweegen property:spouse resource:Ruud_Lubbers }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2206095 Q12560
P26
Q502895
USER
How many people have Ria Hoogeweegen or Ottoman Empire as spouse ?
(c(Q502895),P26,Q2206095) (c(Q502895),P26,Q12560)
action count
action union
action filter_type
action find_reverse
entity Q2206095
relation P26
type Q502895
action filter_type
action find_reverse
entity Q12560
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2206095'] [{'concept': 'Q502895'}, 'P26', 'Q12560']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:P26 ?q . VALUES ( ?q ) { ( resource:Q2206095 ) ( resource:Q12560 ) } }
Ria Hoogeweegen Ottoman Empire
action count
action union
action filter_type
action find_reverse
entity Ria Hoogeweegen
relation spouse
type common name
action filter_type
action find_reverse
entity Ottoman Empire
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ria Hoogeweegen'] [{'concept': 'common name'}, 'spouse', 'Ottoman Empire']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:spouse ?q . VALUES ( ?q ) { ( resource:Ria_Hoogeweegen ) ( resource:Ottoman_Empire ) } }
[]
common name
SYSTEM
2
Q18579577 Q159840
(c(Q502895),P26,Q2206095) (c(Q502895),P26,Q12560)
action count
action union
action filter_type
action find_reverse
entity Q2206095
relation P26
type Q502895
action filter_type
action find_reverse
entity Q12560
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q2206095'] [{'concept': 'Q502895'}, 'P26', 'Q12560']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:P26 ?q . VALUES ( ?q ) { ( resource:Q2206095 ) ( resource:Q12560 ) } }
Nükhet-Sedâ Hanım Efendi Ruud Lubbers
2
action count
action union
action filter_type
action find_reverse
entity Ria Hoogeweegen
relation spouse
type common name
action filter_type
action find_reverse
entity Ottoman Empire
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ria Hoogeweegen'] [{'concept': 'common name'}, 'spouse', 'Ottoman Empire']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:spouse ?q . VALUES ( ?q ) { ( resource:Ria_Hoogeweegen ) ( resource:Ottoman_Empire ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2206095
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
action filter_type
action find
entity Q2206095
relation P27
type Q15617994
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q2206095 property:P27 ?n }
Ria Hoogeweegen
action filter_type
action find
entity Ria Hoogeweegen
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ria_Hoogeweegen property:country_of_citizenship ?n }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
action filter_type
action find
entity Q2206095
relation P27
type Q15617994
[ANSWER] is that person a civilian of
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q2206095 property:P27 ?n }
Kingdom of the Netherlands
Kingdom of the Netherlands is that person a civilian of
Kingdom of the Netherlands
action filter_type
action find
entity Ria Hoogeweegen
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ria_Hoogeweegen property:country_of_citizenship ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2206095
P40
Q502895
USER
Who is an offspring of that one ?
(Q29999,P40,c(Q502895))
action filter_type
action find
entity Q2206095
relation P40
type Q502895
['Q29999', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q2206095 property:P40 ?e . ?e rdf:type ontology:Q502895 }
Ria Hoogeweegen
action filter_type
action find
entity Ria Hoogeweegen
relation child
type common name
['Kingdom of the Netherlands', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Ria_Hoogeweegen property:child ?e . ?e rdf:type ontology:common_name }
[]
common name
Q2778414
SYSTEM
Bart Lubbers
Q2778414
(Q29999,P40,c(Q502895))
action filter_type
action find
entity Q2206095
relation P40
type Q502895
An offspring of that one is the [ANSWER]
['Q29999', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q2206095 property:P40 ?e . ?e rdf:type ontology:Q502895 }
Bart Lubbers
An offspring of that one is the Bart Lubbers
Bart Lubbers
action filter_type
action find
entity Ria Hoogeweegen
relation child
type common name
['Kingdom of the Netherlands', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Ria_Hoogeweegen property:child ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2778414
P22
Q502895
USER
Which person was the father of that one ?
(Q2778414,P22,c(Q502895))
action filter_type
action find
entity Q2778414
relation P22
type Q502895
['Q2778414', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2778414 property:P22 ?u . ?u rdf:type ontology:Q502895 }
Bart Lubbers
action filter_type
action find
entity Bart Lubbers
relation father
type common name
['Bart Lubbers', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Bart_Lubbers property:father ?u . ?u rdf:type ontology:common_name }
[]
common name
Q159840
SYSTEM
Ruud Lubbers
Q159840
(Q2778414,P22,c(Q502895))
action filter_type
action find
entity Q2778414
relation P22
type Q502895
[ANSWER] was the father of that one
['Q2778414', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2778414 property:P22 ?u . ?u rdf:type ontology:Q502895 }
Ruud Lubbers
Ruud Lubbers was the father of that one
Ruud Lubbers
action filter_type
action find
entity Bart Lubbers
relation father
type common name
['Bart Lubbers', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Bart_Lubbers property:father ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159840
P991
Q2533468
USER
Which are the electionss in the Netherlands from where that person were elected from ?
(c(Q2533468),P991,Q159840)
action filter_type
action find_reverse
entity Q159840
relation P991
type Q2533468
[{'concept': 'Q2533468'}, 'P991', 'Q159840']
SELECT DISTINCT ?w WHERE { ?w property:P991 resource:Q159840 . ?w rdf:type ontology:Q2533468 }
Ruud Lubbers
action filter_type
action find_reverse
entity Ruud Lubbers
relation successful candidate
type elections in the Netherlands
[{'concept': 'elections in the Netherlands'}, 'successful candidate', 'Ruud Lubbers']
SELECT DISTINCT ?w WHERE { ?w property:successful_candidate resource:Ruud_Lubbers . ?w rdf:type ontology:elections_in_the_Netherlands }
[]
elections in the Netherlands
Q2477649 Q2597635 Q2607395
SYSTEM
Dutch general election, 1989, Dutch general election, 1982, Dutch general election, 1986
Q2477649 Q2597635 Q2607395
(c(Q2533468),P991,Q159840)
action filter_type
action find_reverse
entity Q159840
relation P991
type Q2533468
[ANSWERS]
[{'concept': 'Q2533468'}, 'P991', 'Q159840']
SELECT DISTINCT ?w WHERE { ?w property:P991 resource:Q159840 . ?w rdf:type ontology:Q2533468 }
Dutch general election, 1989 Dutch general election, 1982 Dutch general election, 1986
The electionss in the Netherlands from that person were elected from are the Dutch general election, 1989, Dutch general election, 1982 and Dutch general election, 1986
Dutch general election, 1989 Dutch general election, 1982 Dutch general election, 1986
action filter_type
action find_reverse
entity Ruud Lubbers
relation successful candidate
type elections in the Netherlands
[{'concept': 'elections in the Netherlands'}, 'successful candidate', 'Ruud Lubbers']
SELECT DISTINCT ?w WHERE { ?w property:successful_candidate resource:Ruud_Lubbers . ?w rdf:type ontology:elections_in_the_Netherlands }
[]