Simple Question (Direct)
Simple Question
Q3158188
P607
Q350604
USER
What battle was Jacques Bardenet a part of ?
(Q3158188,P607,c(Q350604))
action filter_type
action find
entity Q3158188
relation P607
type Q350604
['Q3158188', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q350604 . resource:Q3158188 property:P607 ?j }
Jacques Bardenet
action filter_type
action find
entity Jacques Bardenet
relation conflict
type armed conflict
['Jacques Bardenet', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:armed_conflict . resource:Jacques_Bardenet property:conflict ?j }
[]
armed conflict
Q207318
SYSTEM
French Revolutionary Wars
Q207318
(Q3158188,P607,c(Q350604))
action filter_type
action find
entity Q3158188
relation P607
type Q350604
[ANSWER]
['Q3158188', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q350604 . resource:Q3158188 property:P607 ?j }
French Revolutionary Wars
French Revolutionary Wars
action filter_type
action find
entity Jacques Bardenet
relation conflict
type armed conflict
['Jacques Bardenet', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:armed_conflict . resource:Jacques_Bardenet property:conflict ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q207318
P361
Q350604
USER
What is that one a portion of ?
(Q207318,P361,c(Q350604))
action filter_type
action find
entity Q207318
relation P361
type Q350604
['Q207318', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q350604 . resource:Q207318 property:P361 ?l }
French Revolutionary Wars
action filter_type
action find
entity French Revolutionary Wars
relation part of
type armed conflict
['French Revolutionary Wars', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:armed_conflict . resource:French_Revolutionary_Wars property:part_of ?l }
[]
armed conflict
Q15053704
SYSTEM
Coalition Wars
Q15053704
(Q207318,P361,c(Q350604))
action filter_type
action find
entity Q207318
relation P361
type Q350604
[ANSWER]
['Q207318', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q350604 . resource:Q207318 property:P361 ?l }
Coalition Wars
Coalition Wars
action filter_type
action find
entity French Revolutionary Wars
relation part of
type armed conflict
['French Revolutionary Wars', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:armed_conflict . resource:French_Revolutionary_Wars property:part_of ?l }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q976827
P361
Q1914636 Q49447 Q350604
USER
Which armed conflicts are a part of greater number of activities or world views than Carnatic Wars ?
(c(Q350604),P361,c(Q1914636)|c(Q49447))
action greater
action union
action find_tuple_counts
relation P361
type Q350604
type Q1914636
action find_tuple_counts
relation P361
type Q350604
type Q49447
action count
action filter_multi_types
action find
entity Q976827
relation P361
type Q1914636
type Q49447
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q976827 property:P361 ?g . { VALUES ( ?z ) { ( ontology:Q1914636 ) ( ontology:Q49447 ) } . ?g rdf:type ?z } } } . FILTER ( ?e > ?k ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?e ) WHERE { VALUES ( ?t ) { ( ontology:Q1914636 ) ( ontology:Q49447 ) } . ?s rdf:type ?t } GROUP BY ?i } }
Carnatic Wars
action greater
action union
action find_tuple_counts
relation part of
type armed conflict
type activity
action find_tuple_counts
relation part of
type armed conflict
type world view
action count
action filter_multi_types
action find
entity Carnatic Wars
relation part of
type activity
type world view
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'activity'}, {'concept': 'world view'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Carnatic_Wars property:part_of ?g . { VALUES ( ?z ) { ( ontology:activity ) ( ontology:world_view ) } . ?g rdf:type ?z } } } . FILTER ( ?e > ?k ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?e ) WHERE { VALUES ( ?t ) { ( ontology:activity ) ( ontology:world_view ) } . ?s rdf:type ?t } GROUP BY ?i } }
[]
activity world view armed conflict
Q17272643 Q42937 Q26690200
SYSTEM
spillover of the Syrian Civil War, Trojan War, Rutulian War
Q17272643 Q26690200 Q220878 Q42937
(c(Q350604),P361,c(Q1914636)|c(Q49447))
action greater
action union
action find_tuple_counts
relation P361
type Q350604
type Q1914636
action find_tuple_counts
relation P361
type Q350604
type Q49447
action count
action filter_multi_types
action find
entity Q976827
relation P361
type Q1914636
type Q49447
[ANSWERS]
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q976827 property:P361 ?g . { VALUES ( ?z ) { ( ontology:Q1914636 ) ( ontology:Q49447 ) } . ?g rdf:type ?z } } } . FILTER ( ?e > ?k ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?e ) WHERE { VALUES ( ?t ) { ( ontology:Q1914636 ) ( ontology:Q49447 ) } . ?s rdf:type ?t } GROUP BY ?i } }
spillover of the Syrian Civil War Rutulian War Titanomachy Trojan War
spillover of the Syrian Civil War Trojan War Rutulian War
action greater
action union
action find_tuple_counts
relation part of
type armed conflict
type activity
action find_tuple_counts
relation part of
type armed conflict
type world view
action count
action filter_multi_types
action find
entity Carnatic Wars
relation part of
type activity
type world view
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'activity'}, {'concept': 'world view'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Carnatic_Wars property:part_of ?g . { VALUES ( ?z ) { ( ontology:activity ) ( ontology:world_view ) } . ?g rdf:type ?z } } } . FILTER ( ?e > ?k ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?e ) WHERE { VALUES ( ?t ) { ( ontology:activity ) ( ontology:world_view ) } . ?s rdf:type ?t } GROUP BY ?i } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q404517
P361
Q1914636 Q49447 Q350604
USER
And what about Kargil War?
(c(Q350604),P361,c(Q1914636)|c(Q49447))
action greater
action union
action find_tuple_counts
relation P361
type Q350604
type Q1914636
action find_tuple_counts
relation P361
type Q350604
type Q49447
action count
action filter_multi_types
action find
entity Q404517
relation P361
type Q1914636
type Q49447
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?o ) WHERE { { ?z property:P361 ?w . ?z rdf:type ontology:Q350604 . ?w rdf:type ontology:Q1914636 } UNION { ?z property:P361 ?w . ?w rdf:type ontology:Q49447 . ?z rdf:type ontology:Q350604 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q404517 property:P361 ?u . { { ?u rdf:type ontology:Q1914636 } UNION { ?u rdf:type ontology:Q49447 } } } } . FILTER ( ?o > ?d ) }
Kargil War
action greater
action union
action find_tuple_counts
relation part of
type armed conflict
type activity
action find_tuple_counts
relation part of
type armed conflict
type world view
action count
action filter_multi_types
action find
entity Kargil War
relation part of
type activity
type world view
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'activity'}, {'concept': 'world view'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?o ) WHERE { { ?z property:part_of ?w . ?z rdf:type ontology:armed_conflict . ?w rdf:type ontology:activity } UNION { ?z property:part_of ?w . ?w rdf:type ontology:world_view . ?z rdf:type ontology:armed_conflict } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Kargil_War property:part_of ?u . { { ?u rdf:type ontology:activity } UNION { ?u rdf:type ontology:world_view } } } } . FILTER ( ?o > ?d ) }
[]
activity world view armed conflict
Q17272643 Q42937 Q26690200
SYSTEM
spillover of the Syrian Civil War, Trojan War, Rutulian War
Q17272643 Q26690200 Q220878 Q42937
(c(Q350604),P361,c(Q1914636)|c(Q49447))
action greater
action union
action find_tuple_counts
relation P361
type Q350604
type Q1914636
action find_tuple_counts
relation P361
type Q350604
type Q49447
action count
action filter_multi_types
action find
entity Q404517
relation P361
type Q1914636
type Q49447
[ANSWERS]
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?o ) WHERE { { ?z property:P361 ?w . ?z rdf:type ontology:Q350604 . ?w rdf:type ontology:Q1914636 } UNION { ?z property:P361 ?w . ?w rdf:type ontology:Q49447 . ?z rdf:type ontology:Q350604 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q404517 property:P361 ?u . { { ?u rdf:type ontology:Q1914636 } UNION { ?u rdf:type ontology:Q49447 } } } } . FILTER ( ?o > ?d ) }
spillover of the Syrian Civil War Rutulian War Titanomachy Trojan War
spillover of the Syrian Civil War Trojan War Rutulian War
action greater
action union
action find_tuple_counts
relation part of
type armed conflict
type activity
action find_tuple_counts
relation part of
type armed conflict
type world view
action count
action filter_multi_types
action find
entity Kargil War
relation part of
type activity
type world view
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'activity'}, {'concept': 'world view'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?o ) WHERE { { ?z property:part_of ?w . ?z rdf:type ontology:armed_conflict . ?w rdf:type ontology:activity } UNION { ?z property:part_of ?w . ?w rdf:type ontology:world_view . ?z rdf:type ontology:armed_conflict } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Kargil_War property:part_of ?u . { { ?u rdf:type ontology:activity } UNION { ?u rdf:type ontology:world_view } } } } . FILTER ( ?o > ?d ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17272643
P276
Q15617994
USER
Which administrative territories are the place where that armed conflict are located ?
(Q17272643,P276,c(Q15617994))
action filter_type
action find
entity Q17272643
relation P276
type Q15617994
['Q17272643', 'P276', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q17272643 property:P276 ?m . ?m rdf:type ontology:Q15617994 }
spillover of the Syrian Civil War
action filter_type
action find
entity spillover of the Syrian Civil War
relation location
type designation for an administrative territorial entity
['spillover of the Syrian Civil War', 'location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:spillover_of_the_Syrian_Civil_War property:location ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q26690200
SYSTEM
Did you mean Rutulian War ?
Q17272643 Q42937 Q26690200
(Q17272643,P276,c(Q15617994)) (Q42937,P276,c(Q15617994)) (Q26690200,P276,c(Q15617994))
[ANSWER]
['Q17272643', 'P276', {'concept': 'Q15617994'}] ['Q42937', 'P276', {'concept': 'Q15617994'}] ['Q26690200', 'P276', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q17272643 property:P276 ?m . ?m rdf:type ontology:Q15617994 }
spillover of the Syrian Civil War Trojan War Rutulian War
Did you mean Rutulian War ?
Rutulian War
['spillover of the Syrian Civil War', 'location', {'concept': 'designation for an administrative territorial entity'}] ['Trojan War', 'location', {'concept': 'designation for an administrative territorial entity'}] ['Rutulian War', 'location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:spillover_of_the_Syrian_Civil_War property:location ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant spillover of the Syrian Civil War. Could you tell me the answer for that?
(Q17272643,P276,c(Q15617994))
Q17272643
['Q17272643', 'P276', {'concept': 'Q15617994'}]
['spillover of the Syrian Civil War', 'location', {'concept': 'designation for an administrative territorial entity'}]
[]
Q858 Q43 Q801
SYSTEM
Syria, Turkey, Israel
Q858 Q810 Q43 Q801 Q796 Q822 Q79
(Q17272643,P276,c(Q15617994))
action filter_type
action find
entity Q17272643
relation P276
type Q15617994
[ANSWERS]
['Q17272643', 'P276', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q17272643 property:P276 ?m . ?m rdf:type ontology:Q15617994 }
Syria Jordan Turkey Israel Iraq Lebanon Egypt
Syria Turkey Israel
action filter_type
action find
entity spillover of the Syrian Civil War
relation location
type designation for an administrative territorial entity
['spillover of the Syrian Civil War', 'location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:spillover_of_the_Syrian_Civil_War property:location ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11050383
P276
Q350604
USER
Do Eelam War II have their location as those administrative territories ?
(Q11050383,P276,Q858) (Q11050383,P276,Q43) (Q11050383,P276,Q801)
action is_in
entity prev_answer
action find
entity Q11050383
relation P276
['Q11050383', 'P276', 'Q858'] ['Q11050383', 'P276', 'Q43'] ['Q11050383', 'P276', 'Q801']
ASK WHERE { VALUES ( ?s ) { ( resource:Q858 ) ( resource:Q810 ) ( resource:Q43 ) } . resource:Q11050383 property:P276 ?s }
Eelam War II
action is_in
entity prev_answer
action find
entity Eelam War II
relation location
['Eelam War II', 'location', 'Syria'] ['Eelam War II', 'location', 'Turkey'] ['Eelam War II', 'location', 'Israel']
ASK WHERE { VALUES ( ?s ) { ( resource:Syria ) ( resource:Jordan ) ( resource:Turkey ) } . resource:Eelam_War_II property:location ?s }
[]
armed conflict
SYSTEM
NO
(Q11050383,P276,Q858) (Q11050383,P276,Q43) (Q11050383,P276,Q801)
action is_in
entity prev_answer
action find
entity Q11050383
relation P276
[ANSWER]
['Q11050383', 'P276', 'Q858'] ['Q11050383', 'P276', 'Q43'] ['Q11050383', 'P276', 'Q801']
ASK WHERE { VALUES ( ?s ) { ( resource:Q858 ) ( resource:Q810 ) ( resource:Q43 ) } . resource:Q11050383 property:P276 ?s }
No
action is_in
entity prev_answer
action find
entity Eelam War II
relation location
['Eelam War II', 'location', 'Syria'] ['Eelam War II', 'location', 'Turkey'] ['Eelam War II', 'location', 'Israel']
ASK WHERE { VALUES ( ?s ) { ( resource:Syria ) ( resource:Jordan ) ( resource:Turkey ) } . resource:Eelam_War_II property:location ?s }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q801 Q183 Q279502
P530
Q1048835
USER
Does Israel have diplomatic relations with Germany and Los Villares ?
(Q801,P530,Q183) (Q801,P530,Q279502)
action is_in
entity Q801
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q279502
relation P530
['Q801', 'P530', 'Q183'] ['Q801', 'P530', 'Q279502']
ASK WHERE { resource:Q801 property:P530 resource:Q183 . resource:Q801 property:P530 resource:Q279502 }
Israel Germany Los Villares
action is_in
entity Israel
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Los Villares
relation diplomatic relation
['Israel', 'diplomatic relation', 'Germany'] ['Israel', 'diplomatic relation', 'Los Villares']
ASK WHERE { resource:Israel property:diplomatic_relation resource:Germany . resource:Israel property:diplomatic_relation resource:Los_Villares }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q801,P530,Q183) (Q801,P530,Q279502)
action is_in
entity Q801
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q279502
relation P530
[ANSWER]
['Q801', 'P530', 'Q183'] ['Q801', 'P530', 'Q279502']
ASK WHERE { resource:Q801 property:P530 resource:Q183 . resource:Q801 property:P530 resource:Q279502 }
YES and NO respectively
action is_in
entity Israel
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Los Villares
relation diplomatic relation
['Israel', 'diplomatic relation', 'Germany'] ['Israel', 'diplomatic relation', 'Los Villares']
ASK WHERE { resource:Israel property:diplomatic_relation resource:Germany . resource:Israel property:diplomatic_relation resource:Los_Villares }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5101456 Q42937
P361
Q49447
USER
Which world views are Trojan War and Chios a part of ?
AND((Q42937,P361,c(Q49447)), (Q5101456,P361,c(Q49447)))
action filter_type
action intersection
action find
entity Q42937
relation P361
action find
entity Q5101456
relation P361
type Q49447
{'AND': [['Q42937', 'P361', {'concept': 'Q49447'}], ['Q5101456', 'P361', {'concept': 'Q49447'}]]}
SELECT DISTINCT ?g WHERE { resource:Q42937 property:P361 ?g . resource:Q5101456 property:P361 ?g . ?g rdf:type ontology:Q49447 }
Chios Trojan War
action filter_type
action intersection
action find
entity Trojan War
relation part of
action find
entity Chios
relation part of
type world view
{'AND': [['Trojan War', 'part of', {'concept': 'world view'}], ['Chios', 'part of', {'concept': 'world view'}]]}
SELECT DISTINCT ?g WHERE { resource:Trojan_War property:part_of ?g . resource:Chios property:part_of ?g . ?g rdf:type ontology:world_view }
[]
world view
Q34726
SYSTEM
Ancient Greek mythology
Q34726
AND((Q42937,P361,c(Q49447)), (Q5101456,P361,c(Q49447)))
action filter_type
action intersection
action find
entity Q42937
relation P361
action find
entity Q5101456
relation P361
type Q49447
[ANSWER]
{'AND': [['Q42937', 'P361', {'concept': 'Q49447'}], ['Q5101456', 'P361', {'concept': 'Q49447'}]]}
SELECT DISTINCT ?g WHERE { resource:Q42937 property:P361 ?g . resource:Q5101456 property:P361 ?g . ?g rdf:type ontology:Q49447 }
Ancient Greek mythology
Ancient Greek mythology
action filter_type
action intersection
action find
entity Trojan War
relation part of
action find
entity Chios
relation part of
type world view
{'AND': [['Trojan War', 'part of', {'concept': 'world view'}], ['Chios', 'part of', {'concept': 'world view'}]]}
SELECT DISTINCT ?g WHERE { resource:Trojan_War property:part_of ?g . resource:Chios property:part_of ?g . ?g rdf:type ontology:world_view }
[]