Simple Question (Direct)
Simple Question
Q3593950
P27
Q15617994
USER
Which administrative territory does İsmet Uluğ belong to ?
(Q3593950,P27,c(Q15617994))
action filter_type
action find
entity Q3593950
relation P27
type Q15617994
['Q3593950', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q3593950 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
İsmet Uluğ
action filter_type
action find
entity İsmet Uluğ
relation country of citizenship
type designation for an administrative territorial entity
['İsmet Uluğ', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:İsmet_Uluğ property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
(Q3593950,P27,c(Q15617994))
action filter_type
action find
entity Q3593950
relation P27
type Q15617994
İsmet Uluğ belongs to [ANSWER]
['Q3593950', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q3593950 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Turkey
İsmet Uluğ belongs to Turkey
Turkey
action filter_type
action find
entity İsmet Uluğ
relation country of citizenship
type designation for an administrative territorial entity
['İsmet Uluğ', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:İsmet_Uluğ property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43
P361
Q180684
USER
Which conflict is that administrative territory a component of ?
(Q43,P361,c(Q180684))
action filter_type
action find
entity Q43
relation P361
type Q180684
['Q43', 'P361', {'concept': 'Q180684'}]
SELECT DISTINCT ?l WHERE { resource:Q43 property:P361 ?l . ?l rdf:type ontology:Q180684 }
Turkey
action filter_type
action find
entity Turkey
relation part of
type conflict
['Turkey', 'part of', {'concept': 'conflict'}]
SELECT DISTINCT ?l WHERE { resource:Turkey property:part_of ?l . ?l rdf:type ontology:conflict }
[]
conflict
Q384535
SYSTEM
African Union – United Nations Hybrid Operation in Darfur
Q384535
(Q43,P361,c(Q180684))
action filter_type
action find
entity Q43
relation P361
type Q180684
Which conflict is that administrative territory a component of
['Q43', 'P361', {'concept': 'Q180684'}]
SELECT DISTINCT ?l WHERE { resource:Q43 property:P361 ?l . ?l rdf:type ontology:Q180684 }
African Union – United Nations Hybrid Operation in Darfur
Which conflict is that administrative territory a component of
African Union – United Nations Hybrid Operation in Darfur
action filter_type
action find
entity Turkey
relation part of
type conflict
['Turkey', 'part of', {'concept': 'conflict'}]
SELECT DISTINCT ?l WHERE { resource:Turkey property:part_of ?l . ?l rdf:type ontology:conflict }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q198 Q180684
USER
How many wars are atleast 2 conflicts a portion of ?
(c(Q180684),P361,c(Q198))
action count
action atleast
action find_reverse_tuple_counts
relation P361
type Q198
type Q180684
value 2
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { FILTER ( ?j >= 2 ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P361 ?z . ?r rdf:type ontology:Q180684 . ?z rdf:type ontology:Q198 } GROUP BY ?z } }
action count
action atleast
action find_reverse_tuple_counts
relation part of
type war
type conflict
value 2
[{'concept': 'conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { FILTER ( ?j >= 2 ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:part_of ?z . ?r rdf:type ontology:conflict . ?z rdf:type ontology:war } GROUP BY ?z } }
[]
war conflict
SYSTEM
6
Q3778746 Q362 Q178810 Q545449 Q17507684 Q179975
(c(Q180684),P361,c(Q198))
action count
action atleast
action find_reverse_tuple_counts
relation P361
type Q198
type Q180684
value 2
[ANSWER]
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { FILTER ( ?j >= 2 ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P361 ?z . ?r rdf:type ontology:Q180684 . ?z rdf:type ontology:Q198 } GROUP BY ?z } }
Sioux Wars World War II Syrian Civil War Iraq War military intervention against ISIL Chinese Civil War
6
action count
action atleast
action find_reverse_tuple_counts
relation part of
type war
type conflict
value 2
[{'concept': 'conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { FILTER ( ?j >= 2 ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:part_of ?z . ?r rdf:type ontology:conflict . ?z rdf:type ontology:war } GROUP BY ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q184425
P361
Q350604 Q180684
USER
Which armed conflicts are greater number of conflicts a part of than Pacific War ?
(c(Q180684),P361,c(Q350604))
action greater
action find_reverse_tuple_counts
relation P361
type Q350604
type Q180684
action count
action filter_type
action find
entity Q184425
relation P361
type Q350604
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P361 ?y . ?y rdf:type ontology:Q350604 . ?i rdf:type ontology:Q180684 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Q184425 property:P361 ?l . ?l rdf:type ontology:Q350604 } } . FILTER ( ?z > ?k ) }
Pacific War
action greater
action find_reverse_tuple_counts
relation part of
type armed conflict
type conflict
action count
action filter_type
action find
entity Pacific War
relation part of
type armed conflict
[{'concept': 'conflict'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:part_of ?y . ?y rdf:type ontology:armed_conflict . ?i rdf:type ontology:conflict } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Pacific_War property:part_of ?l . ?l rdf:type ontology:armed_conflict } } . FILTER ( ?z > ?k ) }
[]
armed conflict conflict
Q189266 Q182865 Q748780
SYSTEM
Eastern Front, War in Afghanistan, First Indochina War
Q68969 Q748780 Q8740 Q181533 Q553184 Q170314 Q185729 Q82664 Q189266 Q48249 Q182865
(c(Q180684),P361,c(Q350604))
action greater
action find_reverse_tuple_counts
relation P361
type Q350604
type Q180684
action count
action filter_type
action find
entity Q184425
relation P361
type Q350604
[ANSWERS] are greater number of conflicts a part of than Pacific War
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P361 ?y . ?y rdf:type ontology:Q350604 . ?i rdf:type ontology:Q180684 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Q184425 property:P361 ?l . ?l rdf:type ontology:Q350604 } } . FILTER ( ?z > ?k ) }
Croatian War of Independence First Indochina War Vietnam War Bosnian War Gaza–Israel conflict Second Sino-Japanese War War on Terror Iran–Iraq War Eastern Front Falklands War War in Afghanistan
Eastern Front, War in Afghanistan and First Indochina War are greater number of conflicts a part of than Pacific War
Eastern Front War in Afghanistan First Indochina War
action greater
action find_reverse_tuple_counts
relation part of
type armed conflict
type conflict
action count
action filter_type
action find
entity Pacific War
relation part of
type armed conflict
[{'concept': 'conflict'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:part_of ?y . ?y rdf:type ontology:armed_conflict . ?i rdf:type ontology:conflict } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Pacific_War property:part_of ?l . ?l rdf:type ontology:armed_conflict } } . FILTER ( ?z > ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q699602
P361
Q350604 Q180684
USER
And what about Cretan War?
(c(Q180684),P361,c(Q350604))
action greater
action find_reverse_tuple_counts
relation P361
type Q350604
type Q180684
action count
action filter_type
action find
entity Q699602
relation P361
type Q350604
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q699602 property:P361 ?g . ?g rdf:type ontology:Q350604 } } . FILTER ( ?v > ?i ) . { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P361 ?h . ?h rdf:type ontology:Q350604 . ?a rdf:type ontology:Q180684 } GROUP BY ?h } }
Cretan War
action greater
action find_reverse_tuple_counts
relation part of
type armed conflict
type conflict
action count
action filter_type
action find
entity Cretan War
relation part of
type armed conflict
[{'concept': 'conflict'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Cretan_War property:part_of ?g . ?g rdf:type ontology:armed_conflict } } . FILTER ( ?v > ?i ) . { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:part_of ?h . ?h rdf:type ontology:armed_conflict . ?a rdf:type ontology:conflict } GROUP BY ?h } }
[]
armed conflict conflict
Q19686631 Q179275 Q189266
SYSTEM
Yemeni Civil War, War in North-West Pakistan, Eastern Front
Q184425 Q68969 Q748780 Q179275 Q122100 Q8740 Q181533 Q186336 Q553184 Q170314 Q6271 Q185729 Q82664 Q190029 Q16335075 Q189266 Q19686631 Q48249 Q182865 Q16911838
(c(Q180684),P361,c(Q350604))
action greater
action find_reverse_tuple_counts
relation P361
type Q350604
type Q180684
action count
action filter_type
action find
entity Q699602
relation P361
type Q350604
[ANSWERS]
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q699602 property:P361 ?g . ?g rdf:type ontology:Q350604 } } . FILTER ( ?v > ?i ) . { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P361 ?h . ?h rdf:type ontology:Q350604 . ?a rdf:type ontology:Q180684 } GROUP BY ?h } }
Pacific War Croatian War of Independence First Indochina War War in North-West Pakistan Continuation War Vietnam War Bosnian War Dutch Revolt Gaza–Israel conflict Second Sino-Japanese War Second Punic War War on Terror Iran–Iraq War Kosovo War War in Donbass Eastern Front Yemeni Civil War Falklands War War in Afghanistan Libyan civil war
Yemeni Civil War War in North-West Pakistan Eastern Front
action greater
action find_reverse_tuple_counts
relation part of
type armed conflict
type conflict
action count
action filter_type
action find
entity Cretan War
relation part of
type armed conflict
[{'concept': 'conflict'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Cretan_War property:part_of ?g . ?g rdf:type ontology:armed_conflict } } . FILTER ( ?v > ?i ) . { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:part_of ?h . ?h rdf:type ontology:armed_conflict . ?a rdf:type ontology:conflict } GROUP BY ?h } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43
P47
Q15617994
USER
Which administrative territories share border with Turkey ?
(Q43,P47,c(Q15617994))
action filter_type
action find
entity Q43
relation P47
type Q15617994
['Q43', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q43 property:P47 ?m }
Turkey
action filter_type
action find
entity Turkey
relation shares border with
type designation for an administrative territorial entity
['Turkey', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Turkey property:shares_border_with ?m }
[]
designation for an administrative territorial entity
Q230 Q41 Q858
SYSTEM
Georgia, Greece, Syria
Q858 Q227 Q230 Q41 Q219 Q796 Q794 Q399
(Q43,P47,c(Q15617994))
action filter_type
action find
entity Q43
relation P47
type Q15617994
[ANSWERS] share border with Turkey
['Q43', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q43 property:P47 ?m }
Syria Azerbaijan Georgia Greece Bulgaria Iraq Iran Armenia
Georgia, Greece and Syria share border with Turkey
Georgia Greece Syria
action filter_type
action find
entity Turkey
relation shares border with
type designation for an administrative territorial entity
['Turkey', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Turkey property:shares_border_with ?m }
[]
Clarification
Simple Question|Single Entity|Indirect
Q41
P276
Q350604
USER
Which armed conflict is located at that administrative territory ?
(c(Q350604),P276,Q41)
action filter_type
action find_reverse
entity Q41
relation P276
type Q350604
[{'concept': 'Q350604'}, 'P276', 'Q41']
SELECT DISTINCT ?p WHERE { ?p property:P276 resource:Q41 . ?p rdf:type ontology:Q350604 }
Greece
action filter_type
action find_reverse
entity Greece
relation location
type armed conflict
[{'concept': 'armed conflict'}, 'location', 'Greece']
SELECT DISTINCT ?p WHERE { ?p property:location resource:Greece . ?p rdf:type ontology:armed_conflict }
[]
armed conflict
Clarification for simple ques.
Q41
SYSTEM
Did you mean Greece ?
Q230 Q41 Q858
(c(Q350604),P276,Q230) (c(Q350604),P276,Q41) (c(Q350604),P276,Q858)
[ANSWER]
[{'concept': 'Q350604'}, 'P276', 'Q230'] [{'concept': 'Q350604'}, 'P276', 'Q41'] [{'concept': 'Q350604'}, 'P276', 'Q858']
SELECT DISTINCT ?p WHERE { ?p property:P276 resource:Q41 . ?p rdf:type ontology:Q350604 }
Georgia Greece Syria
Did you mean Greece ?
Greece
[{'concept': 'armed conflict'}, 'location', 'Georgia'] [{'concept': 'armed conflict'}, 'location', 'Greece'] [{'concept': 'armed conflict'}, 'location', 'Syria']
SELECT DISTINCT ?p WHERE { ?p property:location resource:Greece . ?p rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q350604),P276,Q41)
[{'concept': 'Q350604'}, 'P276', 'Q41']
[{'concept': 'armed conflict'}, 'location', 'Greece']
[]
Q486831
SYSTEM
Roman–Syrian war
Q486831
(c(Q350604),P276,Q41)
action filter_type
action find_reverse
entity Q41
relation P276
type Q350604
[ANSWER] is located at that administrative territory
[{'concept': 'Q350604'}, 'P276', 'Q41']
SELECT DISTINCT ?p WHERE { ?p property:P276 resource:Q41 . ?p rdf:type ontology:Q350604 }
Roman–Syrian war
Roman–Syrian war is located at that administrative territory
Roman–Syrian war
action filter_type
action find_reverse
entity Greece
relation location
type armed conflict
[{'concept': 'armed conflict'}, 'location', 'Greece']
SELECT DISTINCT ?p WHERE { ?p property:location resource:Greece . ?p rdf:type ontology:armed_conflict }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q486831 Q16966736
P361
Q1190554
USER
Is ECW/FMW Supershow a component of that armed conflict ?
(Q16966736,P361,Q486831)
action is_in
entity Q16966736
action find
entity Q486831
relation P361
['Q16966736', 'P361', 'Q486831']
ASK WHERE { resource:Q486831 property:P361 resource:Q16966736 }
Roman–Syrian war ECW/FMW Supershow
action is_in
entity ECW/FMW Supershow
action find
entity Roman–Syrian war
relation part of
['ECW/FMW Supershow', 'part of', 'Roman–Syrian war']
ASK WHERE { resource:Roman–Syrian_war property:part_of resource:ECW/FMW_Supershow }
[]
event
SYSTEM
NO
(Q16966736,P361,Q486831)
action is_in
entity Q16966736
action find
entity Q486831
relation P361
[ANSWER]
['Q16966736', 'P361', 'Q486831']
ASK WHERE { resource:Q486831 property:P361 resource:Q16966736 }
No
action is_in
entity ECW/FMW Supershow
action find
entity Roman–Syrian war
relation part of
['ECW/FMW Supershow', 'part of', 'Roman–Syrian war']
ASK WHERE { resource:Roman–Syrian_war property:part_of resource:ECW/FMW_Supershow }
[]