Simple Question (Direct)
Simple Question
Q2389326
P119
Q43229
USER
Which organization is the place of burial of Nikolai Ekk ?
(Q2389326,P119,c(Q43229))
action filter_type
action find
entity Q2389326
relation P119
type Q43229
['Q2389326', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q2389326 property:P119 ?o . ?o rdf:type ontology:Q43229 }
Nikolai Ekk
action filter_type
action find
entity Nikolai Ekk
relation place of burial
type organization
['Nikolai Ekk', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Nikolai_Ekk property:place_of_burial ?o . ?o rdf:type ontology:organization }
[]
organization
Q4245480
SYSTEM
Kuzminskoye Cemetery
Q4245480
(Q2389326,P119,c(Q43229))
action filter_type
action find
entity Q2389326
relation P119
type Q43229
[ANSWER] is the place of burial of Nikolai Ekk
['Q2389326', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q2389326 property:P119 ?o . ?o rdf:type ontology:Q43229 }
Kuzminskoye Cemetery
Kuzminskoye Cemetery is the place of burial of Nikolai Ekk
Kuzminskoye Cemetery
action filter_type
action find
entity Nikolai Ekk
relation place of burial
type organization
['Nikolai Ekk', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Nikolai_Ekk property:place_of_burial ?o . ?o rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2389326
P463
Q874405
USER
Which organization was that person a member of ?
(Q4245480,P463,c(Q874405))
action filter_type
action find
entity Q2389326
relation P463
type Q874405
['Q4245480', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q2389326 property:P463 ?z . ?z rdf:type ontology:Q874405 }
Nikolai Ekk
action filter_type
action find
entity Nikolai Ekk
relation member of
type social group
['Kuzminskoye Cemetery', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:Nikolai_Ekk property:member_of ?z . ?z rdf:type ontology:social_group }
[]
social group
Q4430504
SYSTEM
Cinematographers’ Union of the USSR
Q4430504
(Q4245480,P463,c(Q874405))
action filter_type
action find
entity Q2389326
relation P463
type Q874405
[ANSWER] was that person a member of
['Q4245480', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q2389326 property:P463 ?z . ?z rdf:type ontology:Q874405 }
Cinematographers’ Union of the USSR
Cinematographers’ Union of the USSR was that person a member of
Cinematographers’ Union of the USSR
action filter_type
action find
entity Nikolai Ekk
relation member of
type social group
['Kuzminskoye Cemetery', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:Nikolai_Ekk property:member_of ?z . ?z rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4430504
P17
Q7275
USER
Which state does that social group belong to ?
(Q4430504,P17,c(Q7275))
action filter_type
action find
entity Q4430504
relation P17
type Q7275
['Q4430504', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q4430504 property:P17 ?q . ?q rdf:type ontology:Q7275 }
Cinematographers’ Union of the USSR
action filter_type
action find
entity Cinematographers’ Union of the USSR
relation country
type state
['Cinematographers’ Union of the USSR', 'country', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Cinematographers’_Union_of_the_USSR property:country ?q . ?q rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q4430504,P17,c(Q7275))
action filter_type
action find
entity Q4430504
relation P17
type Q7275
That social group belongs to [ANSWER]
['Q4430504', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q4430504 property:P17 ?q . ?q rdf:type ontology:Q7275 }
Soviet Union
That social group belongs to Soviet Union
Soviet Union
action filter_type
action find
entity Cinematographers’ Union of the USSR
relation country
type state
['Cinematographers’ Union of the USSR', 'country', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Cinematographers’_Union_of_the_USSR property:country ?q . ?q rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q855186
Q7275
USER
And also tell me about Regia Marina?
(Q855186,P17,c(Q7275))
action filter_type
action find
entity Q855186
relation P17
type Q7275
['Q855186', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q7275 . resource:Q855186 property:P17 ?f }
Regia Marina
action filter_type
action find
entity Regia Marina
relation country
type state
['Regia Marina', 'country', {'concept': 'state'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:state . resource:Regia_Marina property:country ?f }
[]
state
Q172579
SYSTEM
Kingdom of Italy
Q172579
(Q855186,P17,c(Q7275))
action filter_type
action find
entity Q855186
relation P17
type Q7275
[ANSWER]
['Q855186', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q7275 . resource:Q855186 property:P17 ?f }
Kingdom of Italy
Kingdom of Italy
action filter_type
action find
entity Regia Marina
relation country
type state
['Regia Marina', 'country', {'concept': 'state'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:state . resource:Regia_Marina property:country ?f }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q172579 Q168691
P35
Q502895
USER
Does Victor Emmanuel II of Savoy have the highest formal authority in Kingdom of Italy ?
(Q172579,P35,Q168691)
action is_in
entity Q168691
action find
entity Q172579
relation P35
['Q172579', 'P35', 'Q168691']
ASK WHERE { resource:Q172579 property:P35 resource:Q168691 }
Kingdom of Italy Victor Emmanuel II of Savoy
action is_in
entity Victor Emmanuel II of Savoy
action find
entity Kingdom of Italy
relation head of state
['Kingdom of Italy', 'head of state', 'Victor Emmanuel II of Savoy']
ASK WHERE { resource:Kingdom_of_Italy property:head_of_state resource:Victor_Emmanuel_II_of_Savoy }
[]
common name
SYSTEM
YES
(Q172579,P35,Q168691)
action is_in
entity Q168691
action find
entity Q172579
relation P35
[ANSWER]
['Q172579', 'P35', 'Q168691']
ASK WHERE { resource:Q172579 property:P35 resource:Q168691 }
Yes
action is_in
entity Victor Emmanuel II of Savoy
action find
entity Kingdom of Italy
relation head of state
['Kingdom of Italy', 'head of state', 'Victor Emmanuel II of Savoy']
ASK WHERE { resource:Kingdom_of_Italy property:head_of_state resource:Victor_Emmanuel_II_of_Savoy }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q15180 Q1041408 Q35314
P6
Q502895
USER
Does Soviet Union have its government headed by Shō Shitsu and Nikita Khrushchev ?
(Q15180,P6,Q1041408) (Q15180,P6,Q35314)
action is_in
entity Q15180
action intersection
action find_reverse
entity Q1041408
relation P6
action find_reverse
entity Q35314
relation P6
['Q15180', 'P6', 'Q1041408'] ['Q15180', 'P6', 'Q35314']
ASK WHERE { resource:Q15180 property:P6 resource:Q1041408 . resource:Q15180 property:P6 resource:Q35314 }
Soviet Union Shō Shitsu Nikita Khrushchev
action is_in
entity Soviet Union
action intersection
action find_reverse
entity Shō Shitsu
relation head of government
action find_reverse
entity Nikita Khrushchev
relation head of government
['Soviet Union', 'head of government', 'Shō Shitsu'] ['Soviet Union', 'head of government', 'Nikita Khrushchev']
ASK WHERE { resource:Soviet_Union property:head_of_government resource:Shō_Shitsu . resource:Soviet_Union property:head_of_government resource:Nikita_Khrushchev }
[]
common name
SYSTEM
NO and YES respectively
(Q15180,P6,Q1041408) (Q15180,P6,Q35314)
action is_in
entity Q15180
action intersection
action find_reverse
entity Q1041408
relation P6
action find_reverse
entity Q35314
relation P6
[ANSWER]
['Q15180', 'P6', 'Q1041408'] ['Q15180', 'P6', 'Q35314']
ASK WHERE { resource:Q15180 property:P6 resource:Q1041408 . resource:Q15180 property:P6 resource:Q35314 }
NO and YES respectively
action is_in
entity Soviet Union
action intersection
action find_reverse
entity Shō Shitsu
relation head of government
action find_reverse
entity Nikita Khrushchev
relation head of government
['Soviet Union', 'head of government', 'Shō Shitsu'] ['Soviet Union', 'head of government', 'Nikita Khrushchev']
ASK WHERE { resource:Soviet_Union property:head_of_government resource:Shō_Shitsu . resource:Soviet_Union property:head_of_government resource:Nikita_Khrushchev }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q172579 Q16746854
P35
Q502895
USER
How many people have the highest formal authority in Kingdom of Italy or Luhansk People's Republic ?
(Q172579,P35,c(Q502895)) (Q16746854,P35,c(Q502895))
action count
action union
action filter_type
action find
entity Q172579
relation P35
type Q502895
action filter_type
action find
entity Q16746854
relation P35
type Q502895
['Q172579', 'P35', {'concept': 'Q502895'}] ['Q16746854', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?r property:P35 ?y . VALUES ( ?r ) { ( resource:Q172579 ) ( resource:Q16746854 ) } }
Kingdom of Italy Luhansk People's Republic
action count
action union
action filter_type
action find
entity Kingdom of Italy
relation head of state
type common name
action filter_type
action find
entity Luhansk People's Republic
relation head of state
type common name
['Kingdom of Italy', 'head of state', {'concept': 'common name'}] ["Luhansk People's Republic", 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?r property:head_of_state ?y . VALUES ( ?r ) { ( resource:Kingdom_of_Italy ) ( resource:Luhansk_People's_Republic ) } }
[]
common name
SYSTEM
5
Q17582456 Q187149 Q153688 Q150642 Q168691
(Q172579,P35,c(Q502895)) (Q16746854,P35,c(Q502895))
action count
action union
action filter_type
action find
entity Q172579
relation P35
type Q502895
action filter_type
action find
entity Q16746854
relation P35
type Q502895
[ANSWER]
['Q172579', 'P35', {'concept': 'Q502895'}] ['Q16746854', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?r property:P35 ?y . VALUES ( ?r ) { ( resource:Q172579 ) ( resource:Q16746854 ) } }
Ihor Plotnytskiy Umberto II of Italy Umberto I of Italy Vittorio Emanuele III Victor Emmanuel II of Savoy
5
action count
action union
action filter_type
action find
entity Kingdom of Italy
relation head of state
type common name
action filter_type
action find
entity Luhansk People's Republic
relation head of state
type common name
['Kingdom of Italy', 'head of state', {'concept': 'common name'}] ["Luhansk People's Republic", 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?r property:head_of_state ?y . VALUES ( ?r ) { ( resource:Kingdom_of_Italy ) ( resource:Luhansk_People's_Republic ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q11204 Q7275
USER
How many legislatures are the legislative bodies for approximately 2 states ?
(c(Q7275),P194,c(Q11204))
action count
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
value 2
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?b ) WHERE { ?f rdf:type ontology:Q11204 . ?p rdf:type ontology:Q7275 . ?p property:P194 ?f } GROUP BY ?f } . FILTER ( ?b = 2 ) }
action count
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
value 2
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?b ) WHERE { ?f rdf:type ontology:legislature . ?p rdf:type ontology:state . ?p property:legislative_body ?f } GROUP BY ?f } . FILTER ( ?b = 2 ) }
[]
legislature state
SYSTEM
2
Q539149 Q497578
(c(Q7275),P194,c(Q11204))
action count
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
value 2
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?b ) WHERE { ?f rdf:type ontology:Q11204 . ?p rdf:type ontology:Q7275 . ?p property:P194 ?f } GROUP BY ?f } . FILTER ( ?b = 2 ) }
Congress of Deputies Witenagemot
2
action count
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
value 2
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?b ) WHERE { ?f rdf:type ontology:legislature . ?p rdf:type ontology:state . ?p property:legislative_body ?f } GROUP BY ?f } . FILTER ( ?b = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q1752346 Q7275
USER
Which assemblies are the legislative bodies for atmost 3 states ?
(c(Q7275),P194,c(Q1752346))
action atmost
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 3
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P194 ?e . ?e rdf:type ontology:Q1752346 . ?k rdf:type ontology:Q7275 } GROUP BY ?e } . FILTER ( ?q <= 3 ) }
action atmost
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 3
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:legislative_body ?e . ?e rdf:type ontology:assembly . ?k rdf:type ontology:state } GROUP BY ?e } . FILTER ( ?q <= 3 ) }
[]
assembly state
Q154797 Q209151 Q157638
SYSTEM
Bundestag of Germany, Folketing, Frankfurt Parliament
Q16980374 Q3154693 Q1253647 Q109016 Q896075 Q4220207 Q2511660 Q949699 Q4496302 Q3365524 Q17063844 Q1257966 Q18510957 Q2584535 Q1258164 Q1368318 Q128852 Q1572486 Q5153951 Q206171 Q4808730 Q1283189 Q636377 Q458185 Q1889821 Q1813360 Q510511 Q509668 Q650248 Q5035091 Q1599346 Q1398920 Q3251036 Q2347172 Q6411382 Q641439 Q1817866 Q319994 Q1450753 Q2089528 Q7138943 Q21516057 Q884824 Q1577158 Q2282872 Q4816040 Q1585014 Q154797 Q2102558 Q19758733 Q1969591 Q1368588 Q4863502 Q4999218 Q11010 Q24824 Q5265877 Q1112381 Q9633175 Q7447085 Q7186810 Q1798607 Q7205806 Q1371388 Q640859 Q1091494 Q3333555 Q371576 Q4852810 Q7603047 Q2185780 Q4184925 Q1116283 Q1117578 Q2016884 Q1139204 Q2358985 Q2963301 Q5347180 Q7442079 Q2041767 Q4345419 Q1968458 Q1415847 Q740564 Q1517231 Q946944 Q3365530 Q1972029 Q643412 Q17064146 Q12114504 Q2739604 Q1870447 Q378605 Q1130737 Q6867972 Q24861263 Q648716 Q1292 Q571436 Q35749 Q521764 Q695252 Q1484825 Q209151 Q1520966 Q1284236 Q157638 Q4938444 Q219825 Q884829 Q1357543 Q1288169 Q882738 Q2994129 Q1077701 Q26856919 Q321246 Q645195 Q7253170 Q1280751 Q1135960 Q7063612 Q817979 Q12357499 Q697775 Q2994125 Q684719 Q1965042 Q4849285 Q477089 Q1269552 Q1968468 Q260372 Q5211293 Q1501988 Q317147 Q878525 Q382118 Q5132092 Q449304 Q314690 Q5123141 Q646190 Q639704 Q4947808 Q1320418 Q7447087 Q475689 Q3393882 Q4985519 Q272930 Q11081523 Q15150880 Q822919 Q455697 Q219692 Q637829 Q5916428 Q5339025 Q133396 Q122635 Q3246027 Q2444341 Q160208 Q667464 Q7089412 Q1515950 Q189445 Q701632
(c(Q7275),P194,c(Q1752346))
action atmost
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 3
[ANSWERS] are the legislative bodies for atmost 3 states
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P194 ?e . ?e rdf:type ontology:Q1752346 . ?k rdf:type ontology:Q7275 } GROUP BY ?e } . FILTER ( ?q <= 3 ) }
Honolulu City Council city council Parliament of Grenada Parliament of Norway Landtag of Thuringia Kiev City Council Congress of Paraguay National Congress of Brasil Kharkiv City Municipality Parliament of Tasmania Kampuchean People's Representative Assembly Parliament of Greenland Supreme Soviet of the Donetsk People's Republic Parliament of Egypt Assembly of the Republic of Macedonia National Assembly Gibraltar Parliament Parliament of The Bahamas Communal Council of Monaco Scottish Parliament Legislative Assembly of São Paulo Estates of Aruba Hamburg Parliament Landtag of South Tyrol Irish Parliament Parliament of Romania Landtag of Hesse Løgting Landtag of Prussia Cape Town City Council National Assembly General council Legislature of New Brunswick Parliament of the Czech Republic King County Council Landtag of Bavaria Parliament of Malta Landtag of Lower Saxony Parliament of Sri Lanka Riga City Council Parliament of Trinidad and Tobago Zurich City Council Landtag of Saxony National Assembly diet Atlanta City Council National Assembly of Venezuela Bundestag of Germany Parliament of Poland departmental council National Assembly National Assembly of Panama Barrie City Council Burlington City Council Parliament of the United Kingdom General Council of Andorra Detroit City Council House of Representatives Legislative Assembly of Bahia Sejm of Congress Poland Phoenix City Council National Assembly of Belarus Plymouth General Court States General Abgeordnetenhaus of Berlin Parliament of Åland General Assembly of the Ottoman Empire Parliament of Croatia Baltimore City Council State Assembly of the Mari El Republic Parliament of South Africa Legislative Assembly of Primorsky Krai National Assembly Italian Parliament Oireachtas of the Irish Free State National Council of Slovakia Congress of People's Deputies of Russia Chicago City Council Eeyou Istchee James Bay Territory Seattle City Council Moscow City Duma Parliament of Lesotho Plurinational Legislative Assembly National Congress of Honduras Assembly of the Republic Parliament of Singapore States of Jersey Parliament of the Province of Canada Parliament of Nauru Parliament of Finland Parliament of the Khmer Republic Kremenchuk City Municipality Parliament of Great Britain Los Angeles City Council Islamic Consultative Assembly Parliament of England Minneapolis City Council Kyoto City Assembly National Assembly Flemish Parliament Landtag of North Rhine-Westphalia parliament Landtag of Brandenburg Parliament of India Congress of the Union Folketing New Zealand Parliament Congress of Colombia Frankfurt Parliament Boise City Council National Convention Landtag of Saxony-Anhalt Congress of the Republic of Peru Slovenian Parliament Landtag of Mecklenburg-Vorpommern Quebec City Council Regional Council in Italy Roccarainola city council Reichstag New York City Council Prussian estates Parliament of Antigua and Barbuda Parliament of Albania Nottingham City Council Grand and General Council Irkutsk Legislative Assembly Imperial Council Ottawa City Council Federal Assembly National Assembly Bakersfield City Council Hellenic Parliament Dáil Éireann National Congress of Chile Landtag of Saarland Dallas City Council General Assembly of Uruguay Bürgerschaft of Bremen Reichstag Parliament of Australia Cleveland City Council Landtag of Schleswig-Holstein Landtag of Rhineland-Palatinate City Council of Tehran Argentine National Congress National Assembly Boston City Council Parliament of Cambodia Sejm of the Duchy of Warsaw Parliament of Canada Junta of the Kingdom of Galicia Buenos Aires City Legislature Parliament of Sweden New Taipei City Council Legislature of Quebec Saeima Landtag of Baden-Württemberg Cortes Generales Reichstag Houston City Council Edmonton City Council Knesset Parliament of Jamaica General Assembly of Nova Scotia Toronto City Council Reichstag Diet of Galicia and Lodomeria Omaha City Council Assembly of the Republic bicameral legislature municipal council
Bundestag of Germany, Folketing and Frankfurt Parliament are the legislative bodies for atmost 3 states
Bundestag of Germany Folketing Frankfurt Parliament
action atmost
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 3
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:legislative_body ?e . ?e rdf:type ontology:assembly . ?k rdf:type ontology:state } GROUP BY ?e } . FILTER ( ?q <= 3 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P361
Q12737077
USER
How many occupations are a portion of that assembly ?
(c(Q12737077),P361,Q209151)
[{'concept': 'Q12737077'}, 'P361', 'Q209151']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P361 resource:Q209151 . ?z rdf:type ontology:Q528892 }
[{'concept': 'occupation'}, 'part of', 'Folketing']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:part_of resource:Folketing . ?z rdf:type ontology:occupation }
[]
occupation
Quantitative|Count|Single entity type|Clarification
Q154797
SYSTEM
Did you mean Bundestag of Germany ?
(c(Q12737077),P361,Q154797) (c(Q12737077),P361,Q209151) (c(Q12737077),P361,Q157638)
[ANSWER]
[{'concept': 'Q12737077'}, 'P361', 'Q154797'] [{'concept': 'Q12737077'}, 'P361', 'Q209151'] [{'concept': 'Q12737077'}, 'P361', 'Q157638']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P361 resource:Q209151 . ?z rdf:type ontology:Q528892 }
Did you mean Bundestag of Germany ?
Bundestag of Germany
[{'concept': 'occupation'}, 'part of', 'Bundestag of Germany'] [{'concept': 'occupation'}, 'part of', 'Folketing'] [{'concept': 'occupation'}, 'part of', 'Frankfurt Parliament']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:part_of resource:Folketing . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Folketing. Could you tell me the answer for that?
(c(Q12737077),P361,Q209151)
Q209151
[{'concept': 'Q12737077'}, 'P361', 'Q209151']
[{'concept': 'occupation'}, 'part of', 'Folketing']
[]
SYSTEM
1
Q12311817
(c(Q12737077),P361,Q209151)
[ANSWER]
[{'concept': 'Q12737077'}, 'P361', 'Q209151']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P361 resource:Q209151 . ?z rdf:type ontology:Q528892 }
member of the Folketing
1
[{'concept': 'occupation'}, 'part of', 'Folketing']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:part_of resource:Folketing . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172579
P1346
Q1190554
USER
Which events were Kingdom of Italy decalred as a champion of ?
(c(Q1190554),P1346,Q172579)
action filter_type
action find_reverse
entity Q172579
relation P1346
type Q1190554
[{'concept': 'Q1190554'}, 'P1346', 'Q172579']
SELECT DISTINCT ?q WHERE { ?q property:P1346 resource:Q172579 . ?q rdf:type ontology:Q1190554 }
Kingdom of Italy
action filter_type
action find_reverse
entity Kingdom of Italy
relation winner
type event
[{'concept': 'event'}, 'winner', 'Kingdom of Italy']
SELECT DISTINCT ?q WHERE { ?q property:winner resource:Kingdom_of_Italy . ?q rdf:type ontology:event }
[]
event
Q2887840 Q4871088
SYSTEM
Battle of Amba Aradam, Battle of Genale Doria
Q2887840 Q4871088
(c(Q1190554),P1346,Q172579)
action filter_type
action find_reverse
entity Q172579
relation P1346
type Q1190554
Kingdom of Italy were decalred as a champion of the [ANSWERS]
[{'concept': 'Q1190554'}, 'P1346', 'Q172579']
SELECT DISTINCT ?q WHERE { ?q property:P1346 resource:Q172579 . ?q rdf:type ontology:Q1190554 }
Battle of Amba Aradam Battle of Genale Doria
Kingdom of Italy were decalred as a champion of the Battle of Amba Aradam and Battle of Genale Doria
Battle of Amba Aradam Battle of Genale Doria
action filter_type
action find_reverse
entity Kingdom of Italy
relation winner
type event
[{'concept': 'event'}, 'winner', 'Kingdom of Italy']
SELECT DISTINCT ?q WHERE { ?q property:winner resource:Kingdom_of_Italy . ?q rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4871088
P276
Q15617994
USER
Which administrative territory is the location of that event ?
(Q4871088,P276,c(Q15617994))
action filter_type
action find
entity Q4871088
relation P276
type Q15617994
['Q4871088', 'P276', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q4871088 property:P276 ?v }
Battle of Genale Doria
action filter_type
action find
entity Battle of Genale Doria
relation location
type designation for an administrative territorial entity
['Battle of Genale Doria', 'location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Battle_of_Genale_Doria property:location ?v }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q2887840
SYSTEM
Did you mean Battle of Amba Aradam ?
Q2887840 Q4871088
(Q2887840,P276,c(Q15617994)) (Q4871088,P276,c(Q15617994))
[ANSWER]
['Q2887840', 'P276', {'concept': 'Q15617994'}] ['Q4871088', 'P276', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q4871088 property:P276 ?v }
Battle of Amba Aradam Battle of Genale Doria
Did you mean Battle of Amba Aradam ?
Battle of Amba Aradam
['Battle of Amba Aradam', 'location', {'concept': 'designation for an administrative territorial entity'}] ['Battle of Genale Doria', 'location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Battle_of_Genale_Doria property:location ?v }
[]
Simple Question (Coreferenced)
USER
No, I meant Battle of Genale Doria. Could you tell me the answer for that?
(Q4871088,P276,c(Q15617994))
Q4871088
['Q4871088', 'P276', {'concept': 'Q15617994'}]
['Battle of Genale Doria', 'location', {'concept': 'designation for an administrative territorial entity'}]
[]
Q115
SYSTEM
Ethiopia
Q115
(Q4871088,P276,c(Q15617994))
action filter_type
action find
entity Q4871088
relation P276
type Q15617994
[ANSWER] is the location of that event
['Q4871088', 'P276', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q4871088 property:P276 ?v }
Ethiopia
Ethiopia is the location of that event
Ethiopia
action filter_type
action find
entity Battle of Genale Doria
relation location
type designation for an administrative territorial entity
['Battle of Genale Doria', 'location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Battle_of_Genale_Doria property:location ?v }
[]