Simple Question (Direct)
Simple Question
Q3086986
P27
Q15617994
USER
Which administrative territory is Freda Betti an inhabitant of ?
(Q3086986,P27,c(Q15617994))
action filter_type
action find
entity Q3086986
relation P27
type Q15617994
['Q3086986', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q3086986 property:P27 ?h }
Freda Betti
action filter_type
action find
entity Freda Betti
relation country of citizenship
type designation for an administrative territorial entity
['Freda Betti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Freda_Betti property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3086986,P27,c(Q15617994))
action filter_type
action find
entity Q3086986
relation P27
type Q15617994
[ANSWER] is Freda Betti an inhabitant of
['Q3086986', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q3086986 property:P27 ?h }
France
France is Freda Betti an inhabitant of
France
action filter_type
action find
entity Freda Betti
relation country of citizenship
type designation for an administrative territorial entity
['Freda Betti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Freda_Betti property:country_of_citizenship ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3086986
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q142,P19,c(Q56061))
action filter_type
action find
entity Q3086986
relation P19
type Q56061
['Q142', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3086986 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Freda Betti
action filter_type
action find
entity Freda Betti
relation place of birth
type administrative territorial entity
['France', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Freda_Betti property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q33959
SYSTEM
Nice
Q33959
(Q142,P19,c(Q56061))
action filter_type
action find
entity Q3086986
relation P19
type Q56061
That person was born in [ANSWER]
['Q142', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3086986 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Nice
That person was born in Nice
Nice
action filter_type
action find
entity Freda Betti
relation place of birth
type administrative territorial entity
['France', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Freda_Betti property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q33959 Q5845651 Q23436
P190
Q56061
USER
Is that administrative territory a sister city of Karun and Edinburgh ?
(Q33959,P190,Q5845651) (Q33959,P190,Q23436)
action is_in
entity Q33959
action intersection
action find_reverse
entity Q5845651
relation P190
action find_reverse
entity Q23436
relation P190
['Q33959', 'P190', 'Q5845651'] ['Q33959', 'P190', 'Q23436']
ASK WHERE { resource:Q33959 property:P190 resource:Q5845651 . resource:Q33959 property:P190 resource:Q23436 }
Nice Karun Edinburgh
action is_in
entity Nice
action intersection
action find_reverse
entity Karun
relation sister city
action find_reverse
entity Edinburgh
relation sister city
['Nice', 'sister city', 'Karun'] ['Nice', 'sister city', 'Edinburgh']
ASK WHERE { resource:Nice property:sister_city resource:Karun . resource:Nice property:sister_city resource:Edinburgh }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q33959,P190,Q5845651) (Q33959,P190,Q23436)
action is_in
entity Q33959
action intersection
action find_reverse
entity Q5845651
relation P190
action find_reverse
entity Q23436
relation P190
[ANSWER]
['Q33959', 'P190', 'Q5845651'] ['Q33959', 'P190', 'Q23436']
ASK WHERE { resource:Q33959 property:P190 resource:Q5845651 . resource:Q33959 property:P190 resource:Q23436 }
NO and YES respectively
action is_in
entity Nice
action intersection
action find_reverse
entity Karun
relation sister city
action find_reverse
entity Edinburgh
relation sister city
['Nice', 'sister city', 'Karun'] ['Nice', 'sister city', 'Edinburgh']
ASK WHERE { resource:Nice property:sister_city resource:Karun . resource:Nice property:sister_city resource:Edinburgh }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3086986
P20
Q56061
USER
Where did Freda Betti expire ?
(Q3086986,P20,c(Q56061))
action filter_type
action find
entity Q3086986
relation P20
type Q56061
['Q3086986', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q3086986 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Freda Betti
action filter_type
action find
entity Freda Betti
relation place of death
type administrative territorial entity
['Freda Betti', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Freda_Betti property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q33959
SYSTEM
Nice
Q33959
(Q3086986,P20,c(Q56061))
action filter_type
action find
entity Q3086986
relation P20
type Q56061
Freda Betti expired [ANSWER]
['Q3086986', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q3086986 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Nice
Freda Betti expired Nice
Nice
action filter_type
action find
entity Freda Betti
relation place of death
type administrative territorial entity
['Freda Betti', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Freda_Betti property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3086986
P106
Q12737077
USER
What do that person do for a living ?
(Q33959,P106,c(Q12737077))
action filter_type
action find
entity Q3086986
relation P106
type Q12737077
['Q33959', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q3086986 property:P106 ?b }
Freda Betti
action filter_type
action find
entity Freda Betti
relation occupation
type occupation
['Nice', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Freda_Betti property:occupation ?b }
[]
occupation
Q2865819 Q16145150
SYSTEM
opera singer, music educator
Q2865819 Q16145150
(Q33959,P106,c(Q12737077))
action filter_type
action find
entity Q3086986
relation P106
type Q12737077
That person do for a living an [ANSWERS]
['Q33959', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q3086986 property:P106 ?b }
opera singer music educator
That person do for a living an opera singer and music educator
opera singer music educator
action filter_type
action find
entity Freda Betti
relation occupation
type occupation
['Nice', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Freda_Betti property:occupation ?b }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4980313
P106
Q502895
USER
Do Fredrika Stenhammar have the profession of those occupations ?
(Q4980313,P106,Q2865819) (Q4980313,P106,Q16145150)
action is_in
entity prev_answer
action find
entity Q4980313
relation P106
['Q4980313', 'P106', 'Q2865819'] ['Q4980313', 'P106', 'Q16145150']
ASK WHERE { resource:Q4980313 property:P106 ?n . VALUES ( ?n ) { ( resource:Q2865819 ) ( resource:Q16145150 ) } }
Fredrika Stenhammar
action is_in
entity prev_answer
action find
entity Fredrika Stenhammar
relation occupation
['Fredrika Stenhammar', 'occupation', 'opera singer'] ['Fredrika Stenhammar', 'occupation', 'music educator']
ASK WHERE { resource:Fredrika_Stenhammar property:occupation ?n . VALUES ( ?n ) { ( resource:opera_singer ) ( resource:music_educator ) } }
[]
common name
SYSTEM
YES
(Q4980313,P106,Q2865819) (Q4980313,P106,Q16145150)
action is_in
entity prev_answer
action find
entity Q4980313
relation P106
[ANSWER]
['Q4980313', 'P106', 'Q2865819'] ['Q4980313', 'P106', 'Q16145150']
ASK WHERE { resource:Q4980313 property:P106 ?n . VALUES ( ?n ) { ( resource:Q2865819 ) ( resource:Q16145150 ) } }
Yes
action is_in
entity prev_answer
action find
entity Fredrika Stenhammar
relation occupation
['Fredrika Stenhammar', 'occupation', 'opera singer'] ['Fredrika Stenhammar', 'occupation', 'music educator']
ASK WHERE { resource:Fredrika_Stenhammar property:occupation ?n . VALUES ( ?n ) { ( resource:opera_singer ) ( resource:music_educator ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q11204 Q502895 Q12737077
USER
Which occupations did around 1 legislatures and people appoint ?
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) ?m WHERE { { ?m property:P748 ?k . ?m rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q11204 } UNION { ?m property:P748 ?k . ?k rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } } GROUP BY ?m } . FILTER ( ?y = 1 ) }
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) ?m WHERE { { ?m property:appointed_by ?k . ?m rdf:type ontology:occupation . ?k rdf:type ontology:legislature } UNION { ?m property:appointed_by ?k . ?k rdf:type ontology:common_name . ?m rdf:type ontology:occupation } } GROUP BY ?m } . FILTER ( ?y = 1 ) }
[]
legislature common name occupation
Q655407 Q4122271 Q25860233
SYSTEM
President of the People's Republic of China, Premier of the People's Republic of China, Secretary of State for Exiting the European Union
Q1846384 Q11793630 Q2631987 Q14984399 Q2484309 Q2012061 Q7444357 Q7444352 Q3246797 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q835586 Q531471 Q596123 Q2636053 Q464103 Q3858507 Q1124265 Q3477306 Q866756 Q565424 Q1043568 Q862559 Q182762 Q1060844 Q3397406 Q691615 Q866680 Q152814 Q26000995 Q195965 Q1975365 Q609884 Q1123764 Q7240368 Q3297079 Q6865995 Q4122271 Q3315134 Q3777749 Q111784 Q1362216 Q25860233
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
value 1
Around 1 legislatures and people appointed by [ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) ?m WHERE { { ?m property:P748 ?k . ?m rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q11204 } UNION { ?m property:P748 ?k . ?k rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } } GROUP BY ?m } . FILTER ( ?y = 1 ) }
Secretary of State for Wales governor of national banks of Serbia and Yugoslavia Attorney General for England and Wales Secretary of State for Environment, Food and Rural Affairs Secretary of State for the Home Department Leader of the House of Lords Secretary of State for Work and Pensions Secretary of State for International Development Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland Prime Minister of Serbia Chancellor of the Exchequer president of Bangladesh Leader of the House of Commons Speaker of the House of Commons Secretary of State for Business, Energy and Industrial Strategy List of Presidents of the Basque Autonomous Community Secretary of State for Education Prime Minister of Singapore Prime Minister of the Bahamas Prime Minister of Vietnam Prime Minister of Malaysia Prime Minister of Algeria Paymaster General Secretary of State for Health Governor of the Virgin Islands President of Vietnam Prime Minister of Malta President of the Parliament of Catalonia Governor of Gibraltar Prime Minister of Georgia First Lord of the Treasury Prime Minister of Armenia Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Premier of the People's Republic of China Minister for Women and Equalities Attorney General of Ireland Secretary of State for Scotland First Minister of Scotland Secretary of State for Exiting the European Union
Around 1 legislatures and people appointed by President of the People's Republic of China, Premier of the People's Republic of China and Secretary of State for Exiting the European Union
President of the People's Republic of China Premier of the People's Republic of China Secretary of State for Exiting the European Union
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) ?m WHERE { { ?m property:appointed_by ?k . ?m rdf:type ontology:occupation . ?k rdf:type ontology:legislature } UNION { ?m property:appointed_by ?k . ?k rdf:type ontology:common_name . ?m rdf:type ontology:occupation } } GROUP BY ?m } . FILTER ( ?y = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q386724
USER
How many occupations were the main subjects in the work approximately 8 works of art and works ?
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 8
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:P921 ?q . ?q rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q386724 } UNION { ?w property:P921 ?q . ?q rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q838948 } } GROUP BY ?q } . FILTER ( ?t = 8 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 8
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:main_subject ?q . ?q rdf:type ontology:occupation . ?w rdf:type ontology:work } UNION { ?w property:main_subject ?q . ?q rdf:type ontology:occupation . ?w rdf:type ontology:work_of_art } } GROUP BY ?q } . FILTER ( ?t = 8 ) }
[]
occupation work of art work
SYSTEM
96
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 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 8
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:P921 ?q . ?q rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q386724 } UNION { ?w property:P921 ?q . ?q rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q838948 } } GROUP BY ?q } . FILTER ( ?t = 8 ) }
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 Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian 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
96
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 8
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:main_subject ?q . ?q rdf:type ontology:occupation . ?w rdf:type ontology:work } UNION { ?w property:main_subject ?q . ?q rdf:type ontology:occupation . ?w rdf:type ontology:work_of_art } } GROUP BY ?q } . FILTER ( ?t = 8 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16145150
P39
Q502895
USER
Which people were responsible for occupying the position of music educator ?
(c(Q502895),P39,Q16145150)
action filter_type
action find_reverse
entity Q16145150
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q16145150']
SELECT DISTINCT ?x WHERE { ?x property:P39 resource:Q16145150 . ?x rdf:type ontology:Q502895 }
music educator
action filter_type
action find_reverse
entity music educator
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'music educator']
SELECT DISTINCT ?x WHERE { ?x property:position_held resource:music_educator . ?x rdf:type ontology:common_name }
[]
common name
Q17630884 Q3013927
SYSTEM
Jean-Paul Baumgartner, Daniel Deffayet
Q17630884 Q3013927
(c(Q502895),P39,Q16145150)
action filter_type
action find_reverse
entity Q16145150
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of music educator
[{'concept': 'Q502895'}, 'P39', 'Q16145150']
SELECT DISTINCT ?x WHERE { ?x property:P39 resource:Q16145150 . ?x rdf:type ontology:Q502895 }
Jean-Paul Baumgartner Daniel Deffayet
Jean-Paul Baumgartner and Daniel Deffayet were responsible for occupying the position of music educator
Jean-Paul Baumgartner Daniel Deffayet
action filter_type
action find_reverse
entity music educator
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'music educator']
SELECT DISTINCT ?x WHERE { ?x property:position_held resource:music_educator . ?x rdf:type ontology:common_name }
[]