Simple Question (Direct)
Simple Question
Q3525207
P410
Q4189293
USER
Which title has Thomas Hollway achieved ?
(Q3525207,P410,c(Q4189293))
action filter_type
action find
entity Q3525207
relation P410
type Q4189293
['Q3525207', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?i WHERE { resource:Q3525207 property:P410 ?i . ?i rdf:type ontology:Q4189293 }
Thomas Hollway
action filter_type
action find
entity Thomas Hollway
relation military rank
type title
['Thomas Hollway', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?i WHERE { resource:Thomas_Hollway property:military_rank ?i . ?i rdf:type ontology:title }
[]
title
Q13416824
SYSTEM
flying officer
Q13416824
(Q3525207,P410,c(Q4189293))
action filter_type
action find
entity Q3525207
relation P410
type Q4189293
Thomas Hollway has achieved a [ANSWER]
['Q3525207', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?i WHERE { resource:Q3525207 property:P410 ?i . ?i rdf:type ontology:Q4189293 }
flying officer
Thomas Hollway has achieved a flying officer
flying officer
action filter_type
action find
entity Thomas Hollway
relation military rank
type title
['Thomas Hollway', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?i WHERE { resource:Thomas_Hollway property:military_rank ?i . ?i rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3525207
P102
Q7210356
USER
Which parties do that person belong to ?
(Q13416824,P102,c(Q7210356))
action filter_type
action find
entity Q3525207
relation P102
type Q7210356
['Q13416824', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q3525207 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Thomas Hollway
action filter_type
action find
entity Thomas Hollway
relation member of political party
type political organization
['flying officer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Thomas_Hollway property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q241149 Q7927235 Q1728956
SYSTEM
Liberal Party of Australia, Victorian Liberal Party, United Australia Party
Q1728956 Q7927235 Q6540828 Q241149
(Q13416824,P102,c(Q7210356))
action filter_type
action find
entity Q3525207
relation P102
type Q7210356
That person belong to [ANSWERS]
['Q13416824', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q3525207 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
United Australia Party Victorian Liberal Party Liberal and Country Party Liberal Party of Australia
That person belong to Liberal Party of Australia, Victorian Liberal Party and United Australia Party
Liberal Party of Australia Victorian Liberal Party United Australia Party
action filter_type
action find
entity Thomas Hollway
relation member of political party
type political organization
['flying officer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Thomas_Hollway property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q20027951 Q40218
USER
How many people were the team members of around 1 aircraft power classes or spacecrafts ?
(c(Q20027951)|c(Q40218),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
value 1
[[{'concept': 'Q20027951'}, {'concept': 'Q40218'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:P1029 ?u . ?l rdf:type ontology:Q20027951 . ?u rdf:type ontology:Q502895 } UNION { ?l property:P1029 ?u . ?l rdf:type ontology:Q40218 . ?u rdf:type ontology:Q502895 } } GROUP BY ?u } . FILTER ( ?k = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
value 1
[[{'concept': 'aircraft power class'}, {'concept': 'spacecraft'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:crew_member ?u . ?l rdf:type ontology:aircraft_power_class . ?u rdf:type ontology:common_name } UNION { ?l property:crew_member ?u . ?l rdf:type ontology:spacecraft . ?u rdf:type ontology:common_name } } GROUP BY ?u } . FILTER ( ?k = 1 ) }
[]
common name aircraft power class spacecraft
SYSTEM
36
Q470059 Q8070347 Q310924 Q7327 Q363976 Q147581 Q182642 Q159681 Q557082 Q110450 Q390344 Q446917 Q44371 Q4103224 Q312833 Q352137 Q536632 Q213076 Q344892 Q152298 Q104865 Q312474 Q320068 Q644837 Q235266 Q294555 Q197135 Q335503 Q174979 Q154269 Q507046 Q460440 Q110879 Q157931 Q705626 Q118490
(c(Q20027951)|c(Q40218),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
value 1
[ANSWER]
[[{'concept': 'Q20027951'}, {'concept': 'Q40218'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:P1029 ?u . ?l rdf:type ontology:Q20027951 . ?u rdf:type ontology:Q502895 } UNION { ?l property:P1029 ?u . ?l rdf:type ontology:Q40218 . ?u rdf:type ontology:Q502895 } } GROUP BY ?u } . FILTER ( ?k = 1 ) }
Liu Wang Zhang Xiaoguang Alan Bean Yuri Gagarin Jack R. Lousma Yang Liwei John Glenn Valery Bykovsky Liu Boming Wally Schirra Edward Gibson Joseph P. Kerwin Valentina Tereshkova Theodore Van Kirk Gordon Cooper Boris Yegorov Paul J. Weitz Pete Conrad Fei Junlong Gherman Titov Vladimir Komarov Andriyan Nikolayev Konstantin Feoktistov Gerald P. Carr Liu Yang Paul Tibbets Zhai Zhigang Scott Carpenter Alan Shepard Alexey Leonov Owen K. Garriott William R. Pogue Gus Grissom Pavel Belyayev Wang Yaping Pavel Popovich
36
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
value 1
[[{'concept': 'aircraft power class'}, {'concept': 'spacecraft'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:crew_member ?u . ?l rdf:type ontology:aircraft_power_class . ?u rdf:type ontology:common_name } UNION { ?l property:crew_member ?u . ?l rdf:type ontology:spacecraft . ?u rdf:type ontology:common_name } } GROUP BY ?u } . FILTER ( ?k = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q241149
P17
Q1048835
USER
How many political territories do Liberal Party of Australia belong to ?
(Q241149,P17,c(Q1048835))
action count
action filter_type
action find
entity Q241149
relation P17
type Q1048835
['Q241149', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Q241149 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Liberal Party of Australia
action count
action filter_type
action find
entity Liberal Party of Australia
relation country
type political territorial entity
['Liberal Party of Australia', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Liberal_Party_of_Australia property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q408
(Q241149,P17,c(Q1048835))
action count
action filter_type
action find
entity Q241149
relation P17
type Q1048835
[ANSWER]
['Q241149', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Q241149 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Australia
1
action count
action filter_type
action find
entity Liberal Party of Australia
relation country
type political territorial entity
['Liberal Party of Australia', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Liberal_Party_of_Australia property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3525207
P112
Q7210356
USER
Which political organization was established by Thomas Hollway ?
(c(Q7210356),P112,Q3525207)
action filter_type
action find_reverse
entity Q3525207
relation P112
type Q7210356
[{'concept': 'Q7210356'}, 'P112', 'Q3525207']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7210356 . ?l property:P112 resource:Q3525207 }
Thomas Hollway
action filter_type
action find_reverse
entity Thomas Hollway
relation founder
type political organization
[{'concept': 'political organization'}, 'founder', 'Thomas Hollway']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_organization . ?l property:founder resource:Thomas_Hollway }
[]
political organization
Q7927235
SYSTEM
Victorian Liberal Party
Q7927235
(c(Q7210356),P112,Q3525207)
action filter_type
action find_reverse
entity Q3525207
relation P112
type Q7210356
The [ANSWER] was established by Thomas Hollway
[{'concept': 'Q7210356'}, 'P112', 'Q3525207']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7210356 . ?l property:P112 resource:Q3525207 }
Victorian Liberal Party
The Victorian Liberal Party was established by Thomas Hollway
Victorian Liberal Party
action filter_type
action find_reverse
entity Thomas Hollway
relation founder
type political organization
[{'concept': 'political organization'}, 'founder', 'Thomas Hollway']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_organization . ?l property:founder resource:Thomas_Hollway }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q7927235 Q408 Q628172
P17
Q1048835
USER
Is that political organization present in Australia and Paço do Lumiar ?
(Q7927235,P17,Q408) (Q7927235,P17,Q628172)
action is_in
entity Q7927235
action intersection
action find_reverse
entity Q408
relation P17
action find_reverse
entity Q628172
relation P17
['Q7927235', 'P17', 'Q408'] ['Q7927235', 'P17', 'Q628172']
ASK WHERE { resource:Q7927235 property:P17 resource:Q408 . resource:Q7927235 property:P17 resource:Q628172 }
Victorian Liberal Party Australia Paço do Lumiar
action is_in
entity Victorian Liberal Party
action intersection
action find_reverse
entity Australia
relation country
action find_reverse
entity Paço do Lumiar
relation country
['Victorian Liberal Party', 'country', 'Australia'] ['Victorian Liberal Party', 'country', 'Paço do Lumiar']
ASK WHERE { resource:Victorian_Liberal_Party property:country resource:Australia . resource:Victorian_Liberal_Party property:country resource:Paço_do_Lumiar }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q7927235,P17,Q408) (Q7927235,P17,Q628172)
action is_in
entity Q7927235
action intersection
action find_reverse
entity Q408
relation P17
action find_reverse
entity Q628172
relation P17
[ANSWER]
['Q7927235', 'P17', 'Q408'] ['Q7927235', 'P17', 'Q628172']
ASK WHERE { resource:Q7927235 property:P17 resource:Q408 . resource:Q7927235 property:P17 resource:Q628172 }
YES and NO respectively
action is_in
entity Victorian Liberal Party
action intersection
action find_reverse
entity Australia
relation country
action find_reverse
entity Paço do Lumiar
relation country
['Victorian Liberal Party', 'country', 'Australia'] ['Victorian Liberal Party', 'country', 'Paço do Lumiar']
ASK WHERE { resource:Victorian_Liberal_Party property:country resource:Australia . resource:Victorian_Liberal_Party property:country resource:Paço_do_Lumiar }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q241149
P1416
Q43229
USER
Which organization has affliliation with Liberal Party of Australia ?
(c(Q43229),P1416,Q241149)
action filter_type
action find_reverse
entity Q241149
relation P1416
type Q43229
[{'concept': 'Q43229'}, 'P1416', 'Q241149']
SELECT DISTINCT ?y WHERE { ?y property:P1416 resource:Q241149 . ?y rdf:type ontology:Q43229 }
Liberal Party of Australia
action filter_type
action find_reverse
entity Liberal Party of Australia
relation affiliation
type organization
[{'concept': 'organization'}, 'affiliation', 'Liberal Party of Australia']
SELECT DISTINCT ?y WHERE { ?y property:affiliation resource:Liberal_Party_of_Australia . ?y rdf:type ontology:organization }
[]
organization
Q6817725
SYSTEM
Menzies Research Centre
Q6817725
(c(Q43229),P1416,Q241149)
action filter_type
action find_reverse
entity Q241149
relation P1416
type Q43229
[ANSWER] has affliliation with Liberal Party of Australia
[{'concept': 'Q43229'}, 'P1416', 'Q241149']
SELECT DISTINCT ?y WHERE { ?y property:P1416 resource:Q241149 . ?y rdf:type ontology:Q43229 }
Menzies Research Centre
Menzies Research Centre has affliliation with Liberal Party of Australia
Menzies Research Centre
action filter_type
action find_reverse
entity Liberal Party of Australia
relation affiliation
type organization
[{'concept': 'organization'}, 'affiliation', 'Liberal Party of Australia']
SELECT DISTINCT ?y WHERE { ?y property:affiliation resource:Liberal_Party_of_Australia . ?y rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6817725
P138
Q502895
USER
Which person is the origin of that organization ?
(Q6817725,P138,c(Q502895))
action filter_type
action find
entity Q6817725
relation P138
type Q502895
['Q6817725', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q6817725 property:P138 ?a . ?a rdf:type ontology:Q502895 }
Menzies Research Centre
action filter_type
action find
entity Menzies Research Centre
relation named after
type common name
['Menzies Research Centre', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Menzies_Research_Centre property:named_after ?a . ?a rdf:type ontology:common_name }
[]
common name
Q214438
SYSTEM
Robert Menzies
Q214438
(Q6817725,P138,c(Q502895))
action filter_type
action find
entity Q6817725
relation P138
type Q502895
[ANSWER] is the origin of that organization
['Q6817725', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q6817725 property:P138 ?a . ?a rdf:type ontology:Q502895 }
Robert Menzies
Robert Menzies is the origin of that organization
Robert Menzies
action filter_type
action find
entity Menzies Research Centre
relation named after
type common name
['Menzies Research Centre', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Menzies_Research_Centre property:named_after ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214438
P991
Q1076105
USER
Where were that person elected successfully from ?
(c(Q1076105),P991,Q214438)
action filter_type
action find_reverse
entity Q214438
relation P991
type Q1076105
[{'concept': 'Q1076105'}, 'P991', 'Q214438']
SELECT DISTINCT ?q WHERE { ?q property:P991 resource:Q214438 . ?q rdf:type ontology:Q1076105 }
Robert Menzies
action filter_type
action find_reverse
entity Robert Menzies
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Robert Menzies']
SELECT DISTINCT ?q WHERE { ?q property:successful_candidate resource:Robert_Menzies . ?q rdf:type ontology:general_election }
[]
general election
Q3586896 Q3586897 Q3586894
SYSTEM
Australian federal election, 1961, Australian federal election, 1963, Australian federal election, 1955
Q3586896 Q3586897 Q3586894 Q3586895 Q3586892 Q3586893 Q3586891 Q3586886
(c(Q1076105),P991,Q214438)
action filter_type
action find_reverse
entity Q214438
relation P991
type Q1076105
[ANSWERS]
[{'concept': 'Q1076105'}, 'P991', 'Q214438']
SELECT DISTINCT ?q WHERE { ?q property:P991 resource:Q214438 . ?q rdf:type ontology:Q1076105 }
Australian federal election, 1961 Australian federal election, 1963 Australian federal election, 1955 Australian federal election, 1958 Australian federal election, 1951 Australian federal election, 1954 Australian federal election, 1949 Australian federal election, 1940
Successfully that person were elected from the Australian federal election, 1961, Australian federal election, 1963 and Australian federal election, 1955
Australian federal election, 1961 Australian federal election, 1963 Australian federal election, 1955
action filter_type
action find_reverse
entity Robert Menzies
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Robert Menzies']
SELECT DISTINCT ?q WHERE { ?q property:successful_candidate resource:Robert_Menzies . ?q rdf:type ontology:general_election }
[]