Simple Question (Direct)
Simple Question
Q7773174
P57
Q502895
USER
Which people directed The Wackiest Wagon Train in the West ?
(Q7773174,P57,c(Q502895))
action filter_type
action find
entity Q7773174
relation P57
type Q502895
['Q7773174', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7773174 property:P57 ?m . ?m rdf:type ontology:Q502895 }
The Wackiest Wagon Train in the West
action filter_type
action find
entity The Wackiest Wagon Train in the West
relation director
type common name
['The Wackiest Wagon Train in the West', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:The_Wackiest_Wagon_Train_in_the_West property:director ?m . ?m rdf:type ontology:common_name }
[]
common name
Q1351968 Q524386 Q991544
SYSTEM
Jack Arnold, Earl Bellamy, Bruce Bilson
Q1351968 Q524386 Q991544
(Q7773174,P57,c(Q502895))
action filter_type
action find
entity Q7773174
relation P57
type Q502895
[ANSWERS] directed The Wackiest Wagon Train in the West
['Q7773174', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7773174 property:P57 ?m . ?m rdf:type ontology:Q502895 }
Jack Arnold Earl Bellamy Bruce Bilson
Jack Arnold, Earl Bellamy and Bruce Bilson directed The Wackiest Wagon Train in the West
Jack Arnold Earl Bellamy Bruce Bilson
action filter_type
action find
entity The Wackiest Wagon Train in the West
relation director
type common name
['The Wackiest Wagon Train in the West', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:The_Wackiest_Wagon_Train_in_the_West property:director ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q991544
P106
Q28640
USER
What are the professions of Bruce Bilson ?
(Q991544,P106,c(Q28640))
action filter_type
action find
entity Q991544
relation P106
type Q28640
['Q991544', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q28640 . resource:Q991544 property:P106 ?g }
Bruce Bilson
action filter_type
action find
entity Bruce Bilson
relation occupation
type profession
['Bruce Bilson', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:profession . resource:Bruce_Bilson property:occupation ?g }
[]
profession
Q2526255 Q3282637 Q28389
SYSTEM
film director, film producer, screenwriter
Q2526255 Q3282637 Q28389
(Q991544,P106,c(Q28640))
action filter_type
action find
entity Q991544
relation P106
type Q28640
The professions of Bruce Bilson are [ANSWERS]
['Q991544', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q28640 . resource:Q991544 property:P106 ?g }
film director film producer screenwriter
The professions of Bruce Bilson are film director, film producer and screenwriter
film director film producer screenwriter
action filter_type
action find
entity Bruce Bilson
relation occupation
type profession
['Bruce Bilson', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:profession . resource:Bruce_Bilson property:occupation ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2933411
Q28640
USER
And what about Elbert van Strien?
(Q2933411,P106,c(Q28640))
action filter_type
action find
entity Q2933411
relation P106
type Q28640
['Q2933411', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?x WHERE { resource:Q2933411 property:P106 ?x . ?x rdf:type ontology:Q28640 }
Elbert van Strien
action filter_type
action find
entity Elbert van Strien
relation occupation
type profession
['Elbert van Strien', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?x WHERE { resource:Elbert_van_Strien property:occupation ?x . ?x rdf:type ontology:profession }
[]
profession
Q2526255 Q28389
SYSTEM
film director, screenwriter
Q2526255 Q28389
(Q2933411,P106,c(Q28640))
action filter_type
action find
entity Q2933411
relation P106
type Q28640
[ANSWERS]
['Q2933411', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?x WHERE { resource:Q2933411 property:P106 ?x . ?x rdf:type ontology:Q28640 }
film director screenwriter
film director screenwriter
action filter_type
action find
entity Elbert van Strien
relation occupation
type profession
['Elbert van Strien', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?x WHERE { resource:Elbert_van_Strien property:occupation ?x . ?x rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2933411
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q2526255,P27,c(Q15617994)) (Q28389,P27,c(Q15617994))
action filter_type
action find
entity Q2933411
relation P27
type Q15617994
['Q2526255', 'P27', {'concept': 'Q15617994'}] ['Q28389', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q2933411 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Elbert van Strien
action filter_type
action find
entity Elbert van Strien
relation country of citizenship
type designation for an administrative territorial entity
['film director', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['screenwriter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Elbert_van_Strien property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q2526255,P27,c(Q15617994)) (Q28389,P27,c(Q15617994))
action filter_type
action find
entity Q2933411
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q2526255', 'P27', {'concept': 'Q15617994'}] ['Q28389', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q2933411 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Kingdom of the Netherlands is the native country of that person
Kingdom of the Netherlands
action filter_type
action find
entity Elbert van Strien
relation country of citizenship
type designation for an administrative territorial entity
['film director', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['screenwriter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Elbert_van_Strien property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q29999 Q842490 Q1411881
P463
Q484652
USER
Is that administrative territory a member of Organisation for the Prohibition of Chemical Weapons and Group of Ten ?
(Q29999,P463,Q842490) (Q29999,P463,Q1411881)
action is_in
entity Q29999
action intersection
action find_reverse
entity Q842490
relation P463
action find_reverse
entity Q1411881
relation P463
['Q29999', 'P463', 'Q842490'] ['Q29999', 'P463', 'Q1411881']
ASK WHERE { resource:Q29999 property:P463 resource:Q842490 . resource:Q29999 property:P463 resource:Q1411881 }
Kingdom of the Netherlands Organisation for the Prohibition of Chemical Weapons Group of Ten
action is_in
entity Kingdom of the Netherlands
action intersection
action find_reverse
entity Organisation for the Prohibition of Chemical Weapons
relation member of
action find_reverse
entity Group of Ten
relation member of
['Kingdom of the Netherlands', 'member of', 'Organisation for the Prohibition of Chemical Weapons'] ['Kingdom of the Netherlands', 'member of', 'Group of Ten']
ASK WHERE { resource:Kingdom_of_the_Netherlands property:member_of resource:Organisation_for_the_Prohibition_of_Chemical_Weapons . resource:Kingdom_of_the_Netherlands property:member_of resource:Group_of_Ten }
[]
international organization
SYSTEM
YES and NO respectively
(Q29999,P463,Q842490) (Q29999,P463,Q1411881)
action is_in
entity Q29999
action intersection
action find_reverse
entity Q842490
relation P463
action find_reverse
entity Q1411881
relation P463
[ANSWER]
['Q29999', 'P463', 'Q842490'] ['Q29999', 'P463', 'Q1411881']
ASK WHERE { resource:Q29999 property:P463 resource:Q842490 . resource:Q29999 property:P463 resource:Q1411881 }
YES and NO respectively
action is_in
entity Kingdom of the Netherlands
action intersection
action find_reverse
entity Organisation for the Prohibition of Chemical Weapons
relation member of
action find_reverse
entity Group of Ten
relation member of
['Kingdom of the Netherlands', 'member of', 'Organisation for the Prohibition of Chemical Weapons'] ['Kingdom of the Netherlands', 'member of', 'Group of Ten']
ASK WHERE { resource:Kingdom_of_the_Netherlands property:member_of resource:Organisation_for_the_Prohibition_of_Chemical_Weapons . resource:Kingdom_of_the_Netherlands property:member_of resource:Group_of_Ten }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1351968 Q49145 Q1017520
P19
Q56061
USER
Does Jack Arnold have birthplace at New Haven and Miloševo ?
(Q1351968,P19,Q49145) (Q1351968,P19,Q1017520)
action is_in
entity Q1351968
action intersection
action find_reverse
entity Q49145
relation P19
action find_reverse
entity Q1017520
relation P19
['Q1351968', 'P19', 'Q49145'] ['Q1351968', 'P19', 'Q1017520']
ASK WHERE { resource:Q1351968 property:P19 resource:Q49145 . resource:Q1351968 property:P19 resource:Q1017520 }
Jack Arnold New Haven Miloševo
action is_in
entity Jack Arnold
action intersection
action find_reverse
entity New Haven
relation place of birth
action find_reverse
entity Miloševo
relation place of birth
['Jack Arnold', 'place of birth', 'New Haven'] ['Jack Arnold', 'place of birth', 'Miloševo']
ASK WHERE { resource:Jack_Arnold property:place_of_birth resource:New_Haven . resource:Jack_Arnold property:place_of_birth resource:Miloševo }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q1351968,P19,Q49145) (Q1351968,P19,Q1017520)
action is_in
entity Q1351968
action intersection
action find_reverse
entity Q49145
relation P19
action find_reverse
entity Q1017520
relation P19
[ANSWER]
['Q1351968', 'P19', 'Q49145'] ['Q1351968', 'P19', 'Q1017520']
ASK WHERE { resource:Q1351968 property:P19 resource:Q49145 . resource:Q1351968 property:P19 resource:Q1017520 }
YES and NO respectively
action is_in
entity Jack Arnold
action intersection
action find_reverse
entity New Haven
relation place of birth
action find_reverse
entity Miloševo
relation place of birth
['Jack Arnold', 'place of birth', 'New Haven'] ['Jack Arnold', 'place of birth', 'Miloševo']
ASK WHERE { resource:Jack_Arnold property:place_of_birth resource:New_Haven . resource:Jack_Arnold property:place_of_birth resource:Miloševo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29999
P463
Q56061 Q43229
USER
How many administrative territories and organizations were Kingdom of the Netherlands a member of ?
(Q29999,P463,c(Q56061)) (Q29999,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q29999
relation P463
type Q56061
action filter_type
action find
entity Q29999
relation P463
type Q43229
['Q29999', 'P463', {'concept': 'Q56061'}] ['Q29999', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { ?u rdf:type ?n . VALUES ( ?n ) { ( ontology:Q56061 ) ( ontology:Q43229 ) } }
Kingdom of the Netherlands
action count
action union
action filter_type
action find
entity Kingdom of the Netherlands
relation member of
type administrative territorial entity
action filter_type
action find
entity Kingdom of the Netherlands
relation member of
type organization
['Kingdom of the Netherlands', 'member of', {'concept': 'administrative territorial entity'}] ['Kingdom of the Netherlands', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { ?u rdf:type ?n . VALUES ( ?n ) { ( ontology:administrative_territorial_entity ) ( ontology:organization ) } }
[]
administrative territorial entity organization
SYSTEM
1 administrative territories and 6 organizations
Q340195 Q191384 Q899770 Q656801 Q7825 Q458 Q827525
(Q29999,P463,c(Q56061)) (Q29999,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q29999
relation P463
type Q56061
action filter_type
action find
entity Q29999
relation P463
type Q43229
[ANSWER]
['Q29999', 'P463', {'concept': 'Q56061'}] ['Q29999', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { ?u rdf:type ?n . VALUES ( ?n ) { ( ontology:Q56061 ) ( ontology:Q43229 ) } }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization European Union International Development Association
1 administrative territories and 6 organizations
action count
action union
action filter_type
action find
entity Kingdom of the Netherlands
relation member of
type administrative territorial entity
action filter_type
action find
entity Kingdom of the Netherlands
relation member of
type organization
['Kingdom of the Netherlands', 'member of', {'concept': 'administrative territorial entity'}] ['Kingdom of the Netherlands', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { ?u rdf:type ?n . VALUES ( ?n ) { ( ontology:administrative_territorial_entity ) ( ontology:organization ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P355
Q28640 Q28640 Q43229
USER
Which professions are the subordinates of max number of professions or organizations ?
(c(Q28640)|c(Q43229),P355,c(Q28640))
action argmax
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
[[{'concept': 'Q28640'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?v WHERE { { ?w property:P355 ?v . ?v rdf:type ontology:Q28640 . ?w rdf:type ontology:Q28640 } UNION { ?w property:P355 ?v . ?v rdf:type ontology:Q28640 . ?w rdf:type ontology:Q43229 } } GROUP BY ?v } . FILTER ( ?o = ?n ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?s WHERE { { ?q property:P355 ?s . ?s rdf:type ontology:Q28640 . ?q rdf:type ontology:Q28640 } UNION { ?q property:P355 ?s . ?s rdf:type ontology:Q28640 . ?q rdf:type ontology:Q43229 } } GROUP BY ?s } } }
action argmax
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
[[{'concept': 'profession'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?v WHERE { { ?w property:subsidiary ?v . ?v rdf:type ontology:profession . ?w rdf:type ontology:profession } UNION { ?w property:subsidiary ?v . ?v rdf:type ontology:profession . ?w rdf:type ontology:organization } } GROUP BY ?v } . FILTER ( ?o = ?n ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?s WHERE { { ?q property:subsidiary ?s . ?s rdf:type ontology:profession . ?q rdf:type ontology:profession } UNION { ?q property:subsidiary ?s . ?s rdf:type ontology:profession . ?q rdf:type ontology:organization } } GROUP BY ?s } } }
[]
profession profession organization
Q800120
SYSTEM
Humongous
Q800120
(c(Q28640)|c(Q43229),P355,c(Q28640))
action argmax
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
[ANSWER] is the subordinates of max number of professions or organizations
[[{'concept': 'Q28640'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?v WHERE { { ?w property:P355 ?v . ?v rdf:type ontology:Q28640 . ?w rdf:type ontology:Q28640 } UNION { ?w property:P355 ?v . ?v rdf:type ontology:Q28640 . ?w rdf:type ontology:Q43229 } } GROUP BY ?v } . FILTER ( ?o = ?n ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?s WHERE { { ?q property:P355 ?s . ?s rdf:type ontology:Q28640 . ?q rdf:type ontology:Q28640 } UNION { ?q property:P355 ?s . ?s rdf:type ontology:Q28640 . ?q rdf:type ontology:Q43229 } } GROUP BY ?s } } }
Humongous
Humongous is the subordinates of max number of professions or organizations
Humongous
action argmax
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
[[{'concept': 'profession'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?v WHERE { { ?w property:subsidiary ?v . ?v rdf:type ontology:profession . ?w rdf:type ontology:profession } UNION { ?w property:subsidiary ?v . ?v rdf:type ontology:profession . ?w rdf:type ontology:organization } } GROUP BY ?v } . FILTER ( ?o = ?n ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?s WHERE { { ?q property:subsidiary ?s . ?s rdf:type ontology:profession . ?q rdf:type ontology:profession } UNION { ?q property:subsidiary ?s . ?s rdf:type ontology:profession . ?q rdf:type ontology:organization } } GROUP BY ?s } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q800120
P159
Q56061
USER
Which administrative territory is the headquarter location of that profession ?
(Q800120,P159,c(Q56061))
action filter_type
action find
entity Q800120
relation P159
type Q56061
['Q800120', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q800120 property:P159 ?l . ?l rdf:type ontology:Q56061 }
Humongous
action filter_type
action find
entity Humongous
relation headquarters location
type administrative territorial entity
['Humongous', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Humongous property:headquarters_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q303046
SYSTEM
Bothell
Q303046
(Q800120,P159,c(Q56061))
action filter_type
action find
entity Q800120
relation P159
type Q56061
[ANSWER] is the headquarter location of that profession
['Q800120', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q800120 property:P159 ?l . ?l rdf:type ontology:Q56061 }
Bothell
Bothell is the headquarter location of that profession
Bothell
action filter_type
action find
entity Humongous
relation headquarters location
type administrative territorial entity
['Humongous', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Humongous property:headquarters_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]