Simple Question (Direct)
Simple Question
Q11477820
P106
Q12737077
USER
What are the professions of Hiroshi Kawakita ?
(Q11477820,P106,c(Q12737077))
action filter_type
action find
entity Q11477820
relation P106
type Q12737077
['Q11477820', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q11477820 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Hiroshi Kawakita
action filter_type
action find
entity Hiroshi Kawakita
relation occupation
type occupation
['Hiroshi Kawakita', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Hiroshi_Kawakita property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q1056337 Q4390235 Q47064
SYSTEM
Certified Public Accountant, judicial scrivener, military personnel
Q1056337 Q4390235 Q47064
(Q11477820,P106,c(Q12737077))
action filter_type
action find
entity Q11477820
relation P106
type Q12737077
The professions of Hiroshi Kawakita are the [ANSWERS]
['Q11477820', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q11477820 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Certified Public Accountant judicial scrivener military personnel
The professions of Hiroshi Kawakita are the Certified Public Accountant, judicial scrivener and military personnel
Certified Public Accountant judicial scrivener military personnel
action filter_type
action find
entity Hiroshi Kawakita
relation occupation
type occupation
['Hiroshi Kawakita', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Hiroshi_Kawakita property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47064
P425
Q43229
USER
Who is associated with the field of occupation military personnel ?
(Q47064,P425,c(Q43229))
action filter_type
action find
entity Q47064
relation P425
type Q43229
['Q47064', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q43229 . resource:Q47064 property:P425 ?d }
military personnel
action filter_type
action find
entity military personnel
relation field of this occupation
type organization
['military personnel', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:organization . resource:military_personnel property:field_of_this_occupation ?d }
[]
organization
Q8473
SYSTEM
military
Q8473
(Q47064,P425,c(Q43229))
action filter_type
action find
entity Q47064
relation P425
type Q43229
Personnel [ANSWER] is associated with the field of occupation [ANSWER] personnel
['Q47064', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q43229 . resource:Q47064 property:P425 ?d }
military
Personnel military is associated with the field of occupation military personnel
military
action filter_type
action find
entity military personnel
relation field of this occupation
type organization
['military personnel', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:organization . resource:military_personnel property:field_of_this_occupation ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8473
P102
Q502895
USER
Who are the members of that organization ?
(c(Q502895),P102,Q8473)
action filter_type
action find_reverse
entity Q8473
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q8473']
SELECT DISTINCT ?q WHERE { ?q property:P102 resource:Q8473 . ?q rdf:type ontology:Q502895 }
military
action filter_type
action find_reverse
entity military
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'military']
SELECT DISTINCT ?q WHERE { ?q property:member_of_political_party resource:military . ?q rdf:type ontology:common_name }
[]
common name
Q483124 Q843303 Q722270
SYSTEM
Song Yo Chan, Vasco Joaquim Rocha Vieira, José Baptista Pinheiro de Azevedo
Q483124 Q843303 Q722270
(c(Q502895),P102,Q8473)
action filter_type
action find_reverse
entity Q8473
relation P102
type Q502895
The members of that organization are [ANSWERS]
[{'concept': 'Q502895'}, 'P102', 'Q8473']
SELECT DISTINCT ?q WHERE { ?q property:P102 resource:Q8473 . ?q rdf:type ontology:Q502895 }
Song Yo Chan Vasco Joaquim Rocha Vieira José Baptista Pinheiro de Azevedo
The members of that organization are Song Yo Chan, Vasco Joaquim Rocha Vieira and José Baptista Pinheiro de Azevedo
Song Yo Chan Vasco Joaquim Rocha Vieira José Baptista Pinheiro de Azevedo
action filter_type
action find_reverse
entity military
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'military']
SELECT DISTINCT ?q WHERE { ?q property:member_of_political_party resource:military . ?q rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q483124
P607
Q350604
USER
What battle was that person a part of ?
(Q483124,P607,c(Q350604))
action filter_type
action find
entity Q483124
relation P607
type Q350604
['Q483124', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?q WHERE { resource:Q483124 property:P607 ?q . ?q rdf:type ontology:Q350604 }
Song Yo Chan
action filter_type
action find
entity Song Yo Chan
relation conflict
type armed conflict
['Song Yo Chan', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?q WHERE { resource:Song_Yo_Chan property:conflict ?q . ?q rdf:type ontology:armed_conflict }
[]
armed conflict
Clarification for simple ques.
Q722270
SYSTEM
Did you mean José Baptista Pinheiro de Azevedo ?
Q483124 Q843303 Q722270
(Q483124,P607,c(Q350604)) (Q843303,P607,c(Q350604)) (Q722270,P607,c(Q350604))
[ANSWER]
['Q483124', 'P607', {'concept': 'Q350604'}] ['Q843303', 'P607', {'concept': 'Q350604'}] ['Q722270', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?q WHERE { resource:Q483124 property:P607 ?q . ?q rdf:type ontology:Q350604 }
Song Yo Chan Vasco Joaquim Rocha Vieira José Baptista Pinheiro de Azevedo
Did you mean José Baptista Pinheiro de Azevedo ?
José Baptista Pinheiro de Azevedo
['Song Yo Chan', 'conflict', {'concept': 'armed conflict'}] ['Vasco Joaquim Rocha Vieira', 'conflict', {'concept': 'armed conflict'}] ['José Baptista Pinheiro de Azevedo', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?q WHERE { resource:Song_Yo_Chan property:conflict ?q . ?q rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
USER
No, I meant Song Yo Chan. Could you tell me the answer for that?
(Q483124,P607,c(Q350604))
Q483124
['Q483124', 'P607', {'concept': 'Q350604'}]
['Song Yo Chan', 'conflict', {'concept': 'armed conflict'}]
[]
Q8663
SYSTEM
Korean War
Q8663
(Q483124,P607,c(Q350604))
action filter_type
action find
entity Q483124
relation P607
type Q350604
What battle was that person a part of
['Q483124', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?q WHERE { resource:Q483124 property:P607 ?q . ?q rdf:type ontology:Q350604 }
Korean War
What battle was that person a part of
Korean War
action filter_type
action find
entity Song Yo Chan
relation conflict
type armed conflict
['Song Yo Chan', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?q WHERE { resource:Song_Yo_Chan property:conflict ?q . ?q rdf:type ontology:armed_conflict }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q198 Q350604
USER
Which wars are min number of armed conflicts a component of ?
(c(Q350604),P361,Q79911)
action argmin
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
[{'concept': 'Q350604'}, 'P361', 'Q79911']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P361 ?f . ?f rdf:type ontology:Q198 . ?t rdf:type ontology:Q350604 } GROUP BY ?f } } . { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:P361 ?u . ?u rdf:type ontology:Q198 . ?w rdf:type ontology:Q350604 } GROUP BY ?u } . FILTER ( ?d = ?x ) }
action argmin
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
[{'concept': 'armed conflict'}, 'part of', 'Russian Civil War']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:part_of ?f . ?f rdf:type ontology:war . ?t rdf:type ontology:armed_conflict } GROUP BY ?f } } . { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:part_of ?u . ?u rdf:type ontology:war . ?w rdf:type ontology:armed_conflict } GROUP BY ?u } . FILTER ( ?d = ?x ) }
[]
war armed conflict
Q545449 Q17507684 Q361
SYSTEM
Iraq War, military intervention against ISIL, World War I
Q211855 Q795269 Q920894 Q81545 Q10859 Q18121212 Q361 Q1021160 Q1072889 Q1758829 Q209297 Q2105495 Q5334383 Q545449 Q2658255 Q208484 Q1432624 Q2086498 Q1238338 Q1049945 Q1127302 Q1052332 Q475678 Q743768 Q213394 Q17507684 Q179975 Q18159629
(c(Q350604),P361,Q79911)
action argmin
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
[ANSWERS] are min number of armed conflicts a component of
[{'concept': 'Q350604'}, 'P361', 'Q79911']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P361 ?f . ?f rdf:type ontology:Q198 . ?t rdf:type ontology:Q350604 } GROUP BY ?f } } . { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:P361 ?u . ?u rdf:type ontology:Q198 . ?w rdf:type ontology:Q350604 } GROUP BY ?u } . FILTER ( ?d = ?x ) }
Finnish Civil War Sierra Leone Civil War First Italian War of Independence 2011 Libyan Civil War Spanish Civil War American-led intervention in Syria World War I Armagnac–Burgundian Civil War Chilean War of Independence urban guerrilla warfare Farroupilha Revolution 1383-85 Portuguese Interregnum Ecuadorian War of Independence Iraq War Byzantine civil war of 1341–1347 Lebanese Civil War Genkō War First Barons' War Caesar's Civil War Jacobite rising of 1745 Estonian War of Independence War in Somalia Mexican Drug War The Anarchy Sri Lankan Civil War military intervention against ISIL Chinese Civil War American-led intervention in Iraq
Iraq War, military intervention against ISIL and World War I are min number of armed conflicts a component of
Iraq War military intervention against ISIL World War I
action argmin
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
[{'concept': 'armed conflict'}, 'part of', 'Russian Civil War']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:part_of ?f . ?f rdf:type ontology:war . ?t rdf:type ontology:armed_conflict } GROUP BY ?f } } . { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:part_of ?u . ?u rdf:type ontology:war . ?w rdf:type ontology:armed_conflict } GROUP BY ?u } . FILTER ( ?d = ?x ) }
[]