Simple Question (Direct)
Simple Question
Q2564270
P607
Q350604
USER
What was was Sandy Woodward a part of ?
(Q2564270,P607,c(Q350604))
action filter_type
action find
entity Q2564270
relation P607
type Q350604
['Q2564270', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?d WHERE { resource:Q2564270 property:P607 ?d . ?d rdf:type ontology:Q350604 }
Sandy Woodward
action filter_type
action find
entity Sandy Woodward
relation conflict
type armed conflict
['Sandy Woodward', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?d WHERE { resource:Sandy_Woodward property:conflict ?d . ?d rdf:type ontology:armed_conflict }
[]
armed conflict
Q48249
SYSTEM
Falklands War
Q48249
(Q2564270,P607,c(Q350604))
action filter_type
action find
entity Q2564270
relation P607
type Q350604
Sandy Woodward was a part of [ANSWER]
['Q2564270', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?d WHERE { resource:Q2564270 property:P607 ?d . ?d rdf:type ontology:Q350604 }
Falklands War
Sandy Woodward was a part of Falklands War
Falklands War
action filter_type
action find
entity Sandy Woodward
relation conflict
type armed conflict
['Sandy Woodward', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?d WHERE { resource:Sandy_Woodward property:conflict ?d . ?d rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48249
P793
Q2424752
USER
Which product is that armed conflict a key event of ?
(c(Q2424752),P793,Q48249)
action filter_type
action find_reverse
entity Q48249
relation P793
type Q2424752
[{'concept': 'Q2424752'}, 'P793', 'Q48249']
SELECT DISTINCT ?e WHERE { ?e property:P793 resource:Q48249 . ?e rdf:type ontology:Q2424752 }
Falklands War
action filter_type
action find_reverse
entity Falklands War
relation significant event
type product
[{'concept': 'product'}, 'significant event', 'Falklands War']
SELECT DISTINCT ?e WHERE { ?e property:significant_event resource:Falklands_War . ?e rdf:type ontology:product }
[]
product
Q17412964
SYSTEM
Lynx Mk.23
Q17412964
(c(Q2424752),P793,Q48249)
action filter_type
action find_reverse
entity Q48249
relation P793
type Q2424752
[ANSWER] is that armed conflict a key event of
[{'concept': 'Q2424752'}, 'P793', 'Q48249']
SELECT DISTINCT ?e WHERE { ?e property:P793 resource:Q48249 . ?e rdf:type ontology:Q2424752 }
Lynx Mk.23
Lynx Mk.23 is that armed conflict a key event of
Lynx Mk.23
action filter_type
action find_reverse
entity Falklands War
relation significant event
type product
[{'concept': 'product'}, 'significant event', 'Falklands War']
SELECT DISTINCT ?e WHERE { ?e property:significant_event resource:Falklands_War . ?e rdf:type ontology:product }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P516
Q15057020 Q2424752
USER
How many engine families are the sources of power of approximately 2 products ?
(c(Q2424752),P516,c(Q15057020))
action count
action approx
action find_reverse_tuple_counts
relation P516
type Q15057020
type Q2424752
value 2
[{'concept': 'Q2424752'}, 'P516', {'concept': 'Q15057020'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?s ) WHERE { ?g rdf:type ontology:Q15057020 . ?o rdf:type ontology:Q2424752 . ?o property:P516 ?g } GROUP BY ?g } . FILTER ( ?s = 2 ) }
action count
action approx
action find_reverse_tuple_counts
relation powerplant
type engine family
type product
value 2
[{'concept': 'product'}, 'powerplant', {'concept': 'engine family'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?s ) WHERE { ?g rdf:type ontology:engine_family . ?o rdf:type ontology:product . ?o property:powerplant ?g } GROUP BY ?g } . FILTER ( ?s = 2 ) }
[]
engine family product
SYSTEM
2
Q369693 Q15026752
(c(Q2424752),P516,c(Q15057020))
action count
action approx
action find_reverse_tuple_counts
relation P516
type Q15057020
type Q2424752
value 2
[ANSWER]
[{'concept': 'Q2424752'}, 'P516', {'concept': 'Q15057020'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?s ) WHERE { ?g rdf:type ontology:Q15057020 . ?o rdf:type ontology:Q2424752 . ?o property:P516 ?g } GROUP BY ?g } . FILTER ( ?s = 2 ) }
Gnome Monosoupape Hispano-Suiza 12Ydrs
2
action count
action approx
action find_reverse_tuple_counts
relation powerplant
type engine family
type product
value 2
[{'concept': 'product'}, 'powerplant', {'concept': 'engine family'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?s ) WHERE { ?g rdf:type ontology:engine_family . ?o rdf:type ontology:product . ?o property:powerplant ?g } GROUP BY ?g } . FILTER ( ?s = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q361
P710
Q15617994
USER
Who were the artist who participated in World War I ?
(Q361,P710,c(Q15617994))
action filter_type
action find
entity Q361
relation P710
type Q15617994
['Q361', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q361 property:P710 ?s . ?s rdf:type ontology:Q15617994 }
World War I
action filter_type
action find
entity World War I
relation participant
type designation for an administrative territorial entity
['World War I', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:World_War_I property:participant ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
(Q361,P710,c(Q15617994))
action filter_type
action find
entity Q361
relation P710
type Q15617994
The artist participated in World War I were from [ANSWERS]
['Q361', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q361 property:P710 ?s . ?s rdf:type ontology:Q15617994 }
France Italy
The artist participated in World War I were from France and Italy
France Italy
action filter_type
action find
entity World War I
relation participant
type designation for an administrative territorial entity
['World War I', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:World_War_I property:participant ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q361
P1196
Q502895
USER
Who died as World War I ?
(c(Q502895),P1196,Q361)
action filter_type
action find_reverse
entity Q361
relation P1196
type Q502895
[{'concept': 'Q502895'}, 'P1196', 'Q361']
SELECT DISTINCT ?j WHERE { ?j property:P1196 resource:Q361 . ?j rdf:type ontology:Q502895 }
World War I
action filter_type
action find_reverse
entity World War I
relation manner of death
type common name
[{'concept': 'common name'}, 'manner of death', 'World War I']
SELECT DISTINCT ?j WHERE { ?j property:manner_of_death resource:World_War_I . ?j rdf:type ontology:common_name }
[]
common name
Q20897950 Q20539063
SYSTEM
Georges Peignot, Marcel Casadesus
Q20897950 Q20539063
(c(Q502895),P1196,Q361)
action filter_type
action find_reverse
entity Q361
relation P1196
type Q502895
[ANSWERS] died as World War I
[{'concept': 'Q502895'}, 'P1196', 'Q361']
SELECT DISTINCT ?j WHERE { ?j property:P1196 resource:Q361 . ?j rdf:type ontology:Q502895 }
Georges Peignot Marcel Casadesus
Georges Peignot and Marcel Casadesus died as World War I
Georges Peignot Marcel Casadesus
action filter_type
action find_reverse
entity World War I
relation manner of death
type common name
[{'concept': 'common name'}, 'manner of death', 'World War I']
SELECT DISTINCT ?j WHERE { ?j property:manner_of_death resource:World_War_I . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q20897950 Q20539063
P26
Q502895
USER
Who are married to Georges Peignot and Marcel Casadesus ?
(c(Q502895),P26,Q20897950) (c(Q502895),P26,Q20539063)
action union
action filter_type
action find
entity Q20897950
relation P26
type Q502895
action filter_type
action find
entity Q20539063
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q20897950'] [{'concept': 'Q502895'}, 'P26', 'Q20539063']
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:Q502895 . resource:Q20897950 property:P26 ?z } UNION { resource:Q20539063 property:P26 ?z . ?z rdf:type ontology:Q502895 } }
Georges Peignot Marcel Casadesus
action union
action filter_type
action find
entity Georges Peignot
relation spouse
type common name
action filter_type
action find
entity Marcel Casadesus
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Georges Peignot'] [{'concept': 'common name'}, 'spouse', 'Marcel Casadesus']
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:common_name . resource:Georges_Peignot property:spouse ?z } UNION { resource:Marcel_Casadesus property:spouse ?z . ?z rdf:type ontology:common_name } }
[]
common name
Q20899858 Q20643774
SYSTEM
Suzanne Peignot, Marie Buisson
Q20899858 Q20643774
(c(Q502895),P26,Q20897950) (c(Q502895),P26,Q20539063)
action union
action filter_type
action find
entity Q20897950
relation P26
type Q502895
action filter_type
action find
entity Q20539063
relation P26
type Q502895
[ANSWERS] are married to Georges Peignot and Marcel Casadesus
[{'concept': 'Q502895'}, 'P26', 'Q20897950'] [{'concept': 'Q502895'}, 'P26', 'Q20539063']
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:Q502895 . resource:Q20897950 property:P26 ?z } UNION { resource:Q20539063 property:P26 ?z . ?z rdf:type ontology:Q502895 } }
Suzanne Peignot Marie Buisson
Suzanne Peignot and Marie Buisson are married to Georges Peignot and Marcel Casadesus
Suzanne Peignot Marie Buisson
action union
action filter_type
action find
entity Georges Peignot
relation spouse
type common name
action filter_type
action find
entity Marcel Casadesus
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Georges Peignot'] [{'concept': 'common name'}, 'spouse', 'Marcel Casadesus']
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:common_name . resource:Georges_Peignot property:spouse ?z } UNION { resource:Marcel_Casadesus property:spouse ?z . ?z rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20899858
P25
Q502895
USER
Which people have that one as a parent ?
(c(Q502895),P25,Q20899858)
action filter_type
action find_reverse
entity Q20899858
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q20899858']
SELECT DISTINCT ?q WHERE { ?q property:P25 resource:Q20899858 . ?q rdf:type ontology:Q502895 }
Suzanne Peignot
action filter_type
action find_reverse
entity Suzanne Peignot
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Suzanne Peignot']
SELECT DISTINCT ?q WHERE { ?q property:mother resource:Suzanne_Peignot . ?q rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q20643774
SYSTEM
Did you mean Marie Buisson ?
Q20899858 Q20643774
(c(Q502895),P25,Q20899858) (c(Q502895),P25,Q20643774)
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q20899858'] [{'concept': 'Q502895'}, 'P25', 'Q20643774']
SELECT DISTINCT ?q WHERE { ?q property:P25 resource:Q20899858 . ?q rdf:type ontology:Q502895 }
Suzanne Peignot Marie Buisson
Did you mean Marie Buisson ?
Marie Buisson
[{'concept': 'common name'}, 'mother', 'Suzanne Peignot'] [{'concept': 'common name'}, 'mother', 'Marie Buisson']
SELECT DISTINCT ?q WHERE { ?q property:mother resource:Suzanne_Peignot . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Suzanne Peignot. Could you tell me the answer for that?
(c(Q502895),P25,Q20899858)
Q20899858
[{'concept': 'Q502895'}, 'P25', 'Q20899858']
[{'concept': 'common name'}, 'mother', 'Suzanne Peignot']
[]
Q120381 Q2959963 Q22923993
SYSTEM
Colette Peignot, Charles Peignot, Madeleine Peignot
Q120381 Q2959963 Q22923993
(c(Q502895),P25,Q20899858)
action filter_type
action find_reverse
entity Q20899858
relation P25
type Q502895
[ANSWERS] have that one as a parent
[{'concept': 'Q502895'}, 'P25', 'Q20899858']
SELECT DISTINCT ?q WHERE { ?q property:P25 resource:Q20899858 . ?q rdf:type ontology:Q502895 }
Colette Peignot Charles Peignot Madeleine Peignot
Colette Peignot, Charles Peignot and Madeleine Peignot have that one as a parent
Colette Peignot Charles Peignot Madeleine Peignot
action filter_type
action find_reverse
entity Suzanne Peignot
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Suzanne Peignot']
SELECT DISTINCT ?q WHERE { ?q property:mother resource:Suzanne_Peignot . ?q rdf:type ontology:common_name }
[]