Simple Question (Direct)
Simple Question
Q7926447
P607
Q198
USER
Which battle did Victor White take part in ?
(Q7926447,P607,c(Q198))
action filter_type
action find
entity Q7926447
relation P607
type Q198
['Q7926447', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q198 . resource:Q7926447 property:P607 ?b }
Victor White
action filter_type
action find
entity Victor White
relation conflict
type war
['Victor White', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:war . resource:Victor_White property:conflict ?b }
[]
war
Q361
SYSTEM
World War I
Q361
(Q7926447,P607,c(Q198))
action filter_type
action find
entity Q7926447
relation P607
type Q198
Victor White took part in [ANSWER]
['Q7926447', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q198 . resource:Q7926447 property:P607 ?b }
World War I
Victor White took part in World War I
World War I
action filter_type
action find
entity Victor White
relation conflict
type war
['Victor White', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:war . resource:Victor_White property:conflict ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7926447
P410
Q4189293
USER
What is the title conferred upon Victor White ?
(Q7926447,P410,c(Q4189293))
action filter_type
action find
entity Q7926447
relation P410
type Q4189293
['Q7926447', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?k WHERE { resource:Q7926447 property:P410 ?k . ?k rdf:type ontology:Q4189293 }
Victor White
action filter_type
action find
entity Victor White
relation military rank
type title
['Victor White', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?k WHERE { resource:Victor_White property:military_rank ?k . ?k rdf:type ontology:title }
[]
title
Q11912077
SYSTEM
Squadron Leader
Q11912077
(Q7926447,P410,c(Q4189293))
action filter_type
action find
entity Q7926447
relation P410
type Q4189293
The title conferred upon Victor White is a [ANSWER]
['Q7926447', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?k WHERE { resource:Q7926447 property:P410 ?k . ?k rdf:type ontology:Q4189293 }
Squadron Leader
The title conferred upon Victor White is a Squadron Leader
Squadron Leader
action filter_type
action find
entity Victor White
relation military rank
type title
['Victor White', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?k WHERE { resource:Victor_White property:military_rank ?k . ?k rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7926447
P241
Q781132
USER
Which military branch was that person a part of ?
(Q11912077,P241,c(Q781132))
action filter_type
action find
entity Q7926447
relation P241
type Q781132
['Q11912077', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { resource:Q7926447 property:P241 ?w . ?w rdf:type ontology:Q781132 }
Victor White
action filter_type
action find
entity Victor White
relation military branch
type military branch
['Squadron Leader', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { resource:Victor_White property:military_branch ?w . ?w rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q11912077,P241,c(Q781132))
action filter_type
action find
entity Q7926447
relation P241
type Q781132
The [ANSWER] was that person a part of
['Q11912077', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { resource:Q7926447 property:P241 ?w . ?w rdf:type ontology:Q781132 }
British Army
The British Army was that person a part of
British Army
action filter_type
action find
entity Victor White
relation military branch
type military branch
['Squadron Leader', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { resource:Victor_White property:military_branch ?w . ?w rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7926447
P106
Q12737077
USER
What does that person do for a living ?
(Q222595,P106,c(Q12737077))
action filter_type
action find
entity Q7926447
relation P106
type Q12737077
['Q222595', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q7926447 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Victor White
action filter_type
action find
entity Victor White
relation occupation
type occupation
['British Army', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Victor_White property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q222982
SYSTEM
flying ace
Q222982
(Q222595,P106,c(Q12737077))
action filter_type
action find
entity Q7926447
relation P106
type Q12737077
That person does the [ANSWER] for a living
['Q222595', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q7926447 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
flying ace
That person does the flying ace for a living
flying ace
action filter_type
action find
entity Victor White
relation occupation
type occupation
['British Army', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Victor_White property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q191067 Q838948
USER
How many occupations were the main subjects of atmost 32 articles or works of art 's work ?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 32
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { FILTER ( ?m <= 32 ) . { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?m ) WHERE { { ?b property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q191067 } UNION { ?b property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q838948 } } GROUP BY ?u } }
action count
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 32
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { FILTER ( ?m <= 32 ) . { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?m ) WHERE { { ?b property:main_subject ?u . ?u rdf:type ontology:occupation . ?b rdf:type ontology:article } UNION { ?b property:main_subject ?u . ?u rdf:type ontology:occupation . ?b rdf:type ontology:work_of_art } } GROUP BY ?u } }
[]
occupation article work of art
SYSTEM
99
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q16746569 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 32
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { FILTER ( ?m <= 32 ) . { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?m ) WHERE { { ?b property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q191067 } UNION { ?b property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q838948 } } GROUP BY ?u } }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny high school student caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
99
action count
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 32
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { FILTER ( ?m <= 32 ) . { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?m ) WHERE { { ?b property:main_subject ?u . ?u rdf:type ontology:occupation . ?b rdf:type ontology:article } UNION { ?b property:main_subject ?u . ?u rdf:type ontology:occupation . ?b rdf:type ontology:work_of_art } } GROUP BY ?u } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q361
P825
Q4989906 Q860861
USER
How many monuments and sculptures have dedication towards World War I ?
(c(Q4989906),P825,Q361) (c(Q860861),P825,Q361)
action count
action union
action filter_type
action find_reverse
entity Q361
relation P825
type Q4989906
action filter_type
action find_reverse
entity Q361
relation P825
type Q860861
[{'concept': 'Q4989906'}, 'P825', 'Q361'] [{'concept': 'Q860861'}, 'P825', 'Q361']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { VALUES ( ?e ) { ( ontology:Q4989906 ) ( ontology:Q860861 ) } . ?i rdf:type ?e }
World War I
action count
action union
action filter_type
action find_reverse
entity World War I
relation dedicated to
type monument
action filter_type
action find_reverse
entity World War I
relation dedicated to
type sculpture
[{'concept': 'monument'}, 'dedicated to', 'World War I'] [{'concept': 'sculpture'}, 'dedicated to', 'World War I']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { VALUES ( ?e ) { ( ontology:monument ) ( ontology:sculpture ) } . ?i rdf:type ?e }
[]
monument sculpture
SYSTEM
5 monuments and 1 sculptures
Q17626415 Q17745968 Q17745966 Q17745972 Q17745970 Q18385481
(c(Q4989906),P825,Q361) (c(Q860861),P825,Q361)
action count
action union
action filter_type
action find_reverse
entity Q361
relation P825
type Q4989906
action filter_type
action find_reverse
entity Q361
relation P825
type Q860861
[ANSWER]
[{'concept': 'Q4989906'}, 'P825', 'Q361'] [{'concept': 'Q860861'}, 'P825', 'Q361']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { VALUES ( ?e ) { ( ontology:Q4989906 ) ( ontology:Q860861 ) } . ?i rdf:type ?e }
monument aux anciens élèves du lycée Clemenceau monument aux Cambodgiens et Laotiens morts pour la France monument au souvenir des soldats de Madagascar monument aux soldats noirs morts pour la France monument aux Indochinois chrétiens morts pour la France Blood Swept Lands and Seas of Red
5 monuments and 1 sculptures
action count
action union
action filter_type
action find_reverse
entity World War I
relation dedicated to
type monument
action filter_type
action find_reverse
entity World War I
relation dedicated to
type sculpture
[{'concept': 'monument'}, 'dedicated to', 'World War I'] [{'concept': 'sculpture'}, 'dedicated to', 'World War I']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { VALUES ( ?e ) { ( ontology:monument ) ( ontology:sculpture ) } . ?i rdf:type ?e }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5687859 Q7926447
P27
Q15617994
USER
Which administrative territories are the native countriesof Victor White and Hazel Crane ?
AND((Q7926447,P27,c(Q15617994)), (Q5687859,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q7926447
relation P27
action find
entity Q5687859
relation P27
type Q15617994
{'AND': [['Q7926447', 'P27', {'concept': 'Q15617994'}], ['Q5687859', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q5687859 property:P27 ?p . resource:Q7926447 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Hazel Crane Victor White
action filter_type
action intersection
action find
entity Victor White
relation country of citizenship
action find
entity Hazel Crane
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Victor White', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hazel Crane', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Hazel_Crane property:country_of_citizenship ?p . resource:Victor_White property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q7926447,P27,c(Q15617994)), (Q5687859,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q7926447
relation P27
action find
entity Q5687859
relation P27
type Q15617994
[ANSWER] is the native countriesof Victor White and Hazel Crane
{'AND': [['Q7926447', 'P27', {'concept': 'Q15617994'}], ['Q5687859', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q5687859 property:P27 ?p . resource:Q7926447 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the native countriesof Victor White and Hazel Crane
United Kingdom
action filter_type
action intersection
action find
entity Victor White
relation country of citizenship
action find
entity Hazel Crane
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Victor White', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hazel Crane', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Hazel_Crane property:country_of_citizenship ?p . resource:Victor_White property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]