Simple Question (Direct)
Simple Question
Q5441011
P641
Q349
USER
Which sport was Federico Groppioni a part of ?
(Q5441011,P641,c(Q349))
action filter_type
action find
entity Q5441011
relation P641
type Q349
['Q5441011', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q5441011 property:P641 ?p . ?p rdf:type ontology:Q349 }
Federico Groppioni
action filter_type
action find
entity Federico Groppioni
relation sport
type sport
['Federico Groppioni', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Federico_Groppioni property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5441011,P641,c(Q349))
action filter_type
action find
entity Q5441011
relation P641
type Q349
Federico Groppioni was in [ANSWER]
['Q5441011', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q5441011 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
Federico Groppioni was in association football
association football
action filter_type
action find
entity Federico Groppioni
relation sport
type sport
['Federico Groppioni', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Federico_Groppioni property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5441011
P21
Q290
USER
What is the sex of that person ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q5441011
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5441011 property:P21 ?r . ?r rdf:type ontology:Q290 }
Federico Groppioni
action filter_type
action find
entity Federico Groppioni
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Federico_Groppioni property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q5441011
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5441011 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Federico Groppioni
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Federico_Groppioni property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P138
Q2088357
USER
Which musical ensemble comes from that sex ?
(c(Q2088357),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q2088357
[{'concept': 'Q2088357'}, 'P138', 'Q6581097']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2088357 . ?a property:P138 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation named after
type musical ensemble
[{'concept': 'musical ensemble'}, 'named after', 'male']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:musical_ensemble . ?a property:named_after resource:male }
[]
musical ensemble
Q15181127
SYSTEM
Ausekarane
Q15181127
(c(Q2088357),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q2088357
Is [ANSWER] comes from that sex
[{'concept': 'Q2088357'}, 'P138', 'Q6581097']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2088357 . ?a property:P138 resource:Q6581097 }
Ausekarane
Is Ausekarane comes from that sex
Ausekarane
action filter_type
action find_reverse
entity male
relation named after
type musical ensemble
[{'concept': 'musical ensemble'}, 'named after', 'male']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:musical_ensemble . ?a property:named_after resource:male }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q340169
USER
Which media depicts that sex ?
(c(Q340169),P180,Q15181127)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
[{'concept': 'Q340169'}, 'P180', 'Q15181127']
SELECT DISTINCT ?f WHERE { ?f property:P180 resource:Q6581097 . ?f rdf:type ontology:Q340169 }
male
action filter_type
action find_reverse
entity male
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'Ausekarane']
SELECT DISTINCT ?f WHERE { ?f property:depicts resource:male . ?f rdf:type ontology:media }
[]
media
Q20020115
SYSTEM
Portrait of a Young Man
Q20020115
(c(Q340169),P180,Q15181127)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
[ANSWER] depicts that sex
[{'concept': 'Q340169'}, 'P180', 'Q15181127']
SELECT DISTINCT ?f WHERE { ?f property:P180 resource:Q6581097 . ?f rdf:type ontology:Q340169 }
Portrait of a Young Man
Portrait of a Young Man depicts that sex
Portrait of a Young Man
action filter_type
action find_reverse
entity male
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'Ausekarane']
SELECT DISTINCT ?f WHERE { ?f property:depicts resource:male . ?f rdf:type ontology:media }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q20020115
P195
Q33506
USER
How many museums contain Portrait of a Young Man in it ?
(Q20020115,P195,c(Q33506))
action count
action filter_type
action find
entity Q20020115
relation P195
type Q33506
['Q20020115', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Q20020115 property:P195 ?m . ?m rdf:type ontology:Q33506 }
Portrait of a Young Man
action count
action filter_type
action find
entity Portrait of a Young Man
relation collection
type museum
['Portrait of a Young Man', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Portrait_of_a_Young_Man property:collection ?m . ?m rdf:type ontology:museum }
[]
museum
SYSTEM
1
Q214867
(Q20020115,P195,c(Q33506))
action count
action filter_type
action find
entity Q20020115
relation P195
type Q33506
[ANSWER]
['Q20020115', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Q20020115 property:P195 ?m . ?m rdf:type ontology:Q33506 }
National Gallery of Art, Washington
1
action count
action filter_type
action find
entity Portrait of a Young Man
relation collection
type museum
['Portrait of a Young Man', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Portrait_of_a_Young_Man property:collection ?m . ?m rdf:type ontology:museum }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q20442203
P195
Q33506
USER
And how about An exotic garden viewed at different levels?
(Q20442203,P195,c(Q33506))
action count
action filter_type
action find
entity Q20442203
relation P195
type Q33506
['Q20442203', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q20442203 property:P195 ?o . ?o rdf:type ontology:Q33506 }
An exotic garden viewed at different levels
action count
action filter_type
action find
entity An exotic garden viewed at different levels
relation collection
type museum
['An exotic garden viewed at different levels', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:An_exotic_garden_viewed_at_different_levels property:collection ?o . ?o rdf:type ontology:museum }
[]
museum
SYSTEM
1
Q705551
(Q20442203,P195,c(Q33506))
action count
action filter_type
action find
entity Q20442203
relation P195
type Q33506
[ANSWER]
['Q20442203', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q20442203 property:P195 ?o . ?o rdf:type ontology:Q33506 }
Art Gallery of New South Wales
1
action count
action filter_type
action find
entity An exotic garden viewed at different levels
relation collection
type museum
['An exotic garden viewed at different levels', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:An_exotic_garden_viewed_at_different_levels property:collection ?o . ?o rdf:type ontology:museum }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q23699872
Q33506
USER
And what about The Garden?
(Q23699872,P195,c(Q33506))
action count
action filter_type
action find
entity Q23699872
relation P195
type Q33506
['Q23699872', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x rdf:type ontology:Q33506 . resource:Q23699872 property:P195 ?x }
The Garden
action count
action filter_type
action find
entity The Garden
relation collection
type museum
['The Garden', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x rdf:type ontology:museum . resource:The_Garden property:collection ?x }
[]
museum
SYSTEM
1
(Q23699872,P195,c(Q33506))
action count
action filter_type
action find
entity Q23699872
relation P195
type Q33506
[ANSWER]
['Q23699872', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x rdf:type ontology:Q33506 . resource:Q23699872 property:P195 ?x }
1
action count
action filter_type
action find
entity The Garden
relation collection
type museum
['The Garden', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x rdf:type ontology:museum . resource:The_Garden property:collection ?x }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P135
Q483394 Q968159 Q340169
USER
Which medias are associated with approximately 1 genres and art movements ?
(c(Q340169),P135,c(Q483394)|c(Q968159))
action approx
action union
action find_tuple_counts
relation P135
type Q340169
type Q483394
action find_tuple_counts
relation P135
type Q340169
type Q968159
value 1
[{'concept': 'Q340169'}, 'P135', [{'concept': 'Q483394'}, {'concept': 'Q968159'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?b ) WHERE { { ?l rdf:type ontology:Q340169 . ?x rdf:type ontology:Q483394 . ?l property:P135 ?x } UNION { ?l property:P135 ?x . ?x rdf:type ontology:Q968159 . ?l rdf:type ontology:Q340169 } } GROUP BY ?l } }
action approx
action union
action find_tuple_counts
relation movement
type media
type genre
action find_tuple_counts
relation movement
type media
type art movement
value 1
[{'concept': 'media'}, 'movement', [{'concept': 'genre'}, {'concept': 'art movement'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?b ) WHERE { { ?l rdf:type ontology:media . ?x rdf:type ontology:genre . ?l property:movement ?x } UNION { ?l property:movement ?x . ?x rdf:type ontology:art_movement . ?l rdf:type ontology:media } } GROUP BY ?l } }
[]
genre art movement media
Q19862183 Q19862171 Q19862176
SYSTEM
Dutch Cavalier, Study for "The Tulip Folly", Arab Standing in Prayer
Q19862185 Q18686033 Q19862183 Q19862187 Q19862186 Q19862167 Q3213096 Q19862171 Q19862176 Q19862182 Q19862179 Q19862190 Q19862169
(c(Q340169),P135,c(Q483394)|c(Q968159))
action approx
action union
action find_tuple_counts
relation P135
type Q340169
type Q483394
action find_tuple_counts
relation P135
type Q340169
type Q968159
value 1
Dutch Cavalier, Study for "The Tulip Folly" and Arab standing in Prayer are associated with approximately 1 genres and art movements
[{'concept': 'Q340169'}, 'P135', [{'concept': 'Q483394'}, {'concept': 'Q968159'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?b ) WHERE { { ?l rdf:type ontology:Q340169 . ?x rdf:type ontology:Q483394 . ?l property:P135 ?x } UNION { ?l property:P135 ?x . ?x rdf:type ontology:Q968159 . ?l rdf:type ontology:Q340169 } } GROUP BY ?l } }
Study of Lions Marshal of France Dutch Cavalier Portrait of an Egyptian Fellah Man Walking on a Road Study for "Diogenes" The Temptation of St Anthony Study for "The Tulip Folly" Arab Standing in Prayer Study for "Slave Market at Rome" Study for "Socrates Looking for Alcibiades in the House of Aspasia" Turkish Soldier Study for "Slave Market"
Dutch Cavalier, Study for "The Tulip Folly" and Arab standing in Prayer are associated with approximately 1 genres and art movements
Dutch Cavalier Study for "The Tulip Folly" Arab Standing in Prayer
action approx
action union
action find_tuple_counts
relation movement
type media
type genre
action find_tuple_counts
relation movement
type media
type art movement
value 1
[{'concept': 'media'}, 'movement', [{'concept': 'genre'}, {'concept': 'art movement'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?b ) WHERE { { ?l rdf:type ontology:media . ?x rdf:type ontology:genre . ?l property:movement ?x } UNION { ?l property:movement ?x . ?x rdf:type ontology:art_movement . ?l rdf:type ontology:media } } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19862183 Q19862171 Q19862176
P180
Q151885
USER
Which concepts are demonstrated in Dutch Cavalier, Study for "The Tulip Folly" and Arab Standing in Prayer ?
(Q19862183,P180,c(Q151885)) (Q19862171,P180,c(Q151885)) (Q19862176,P180,c(Q151885))
action union
action filter_type
action find
entity Q19862183
relation P180
type Q151885
action filter_type
action find
entity Q19862171
relation P180
type Q151885
action filter_type
action find
entity Q19862176
relation P180
type Q151885
['Q19862183', 'P180', {'concept': 'Q151885'}] ['Q19862171', 'P180', {'concept': 'Q151885'}] ['Q19862176', 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:Q151885 . resource:Q19862183 property:P180 ?x } UNION { resource:Q19862171 property:P180 ?x . ?x rdf:type ontology:Q151885 } }
Dutch Cavalier Study for "The Tulip Folly" Arab Standing in Prayer
action union
action filter_type
action find
entity Dutch Cavalier
relation depicts
type concept
action filter_type
action find
entity Study for "The Tulip Folly"
relation depicts
type concept
action filter_type
action find
entity Arab Standing in Prayer
relation depicts
type concept
['Dutch Cavalier', 'depicts', {'concept': 'concept'}] ['Study for "The Tulip Folly"', 'depicts', {'concept': 'concept'}] ['Arab Standing in Prayer', 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:concept . resource:Dutch_Cavalier property:depicts ?x } UNION { resource:Study_for_"The_Tulip_Folly" property:depicts ?x . ?x rdf:type ontology:concept } }
[]
concept
Q8441 Q8441 Q40953
SYSTEM
prayer for 3rd, man for 1st, 2nd
Q8441 Q8441 Q40953 Q8441
(Q19862183,P180,c(Q151885)) (Q19862171,P180,c(Q151885)) (Q19862176,P180,c(Q151885))
action union
action filter_type
action find
entity Q19862183
relation P180
type Q151885
action filter_type
action find
entity Q19862171
relation P180
type Q151885
action filter_type
action find
entity Q19862176
relation P180
type Q151885
[ANSWERS]
['Q19862183', 'P180', {'concept': 'Q151885'}] ['Q19862171', 'P180', {'concept': 'Q151885'}] ['Q19862176', 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:Q151885 . resource:Q19862183 property:P180 ?x } UNION { resource:Q19862171 property:P180 ?x . ?x rdf:type ontology:Q151885 } }
man man prayer man
Man, man and prayer are demonstrated in Dutch Cavalier, Study for "The Tulip Folly" and Arab Standing in Prayer
man man prayer
action union
action filter_type
action find
entity Dutch Cavalier
relation depicts
type concept
action filter_type
action find
entity Study for "The Tulip Folly"
relation depicts
type concept
action filter_type
action find
entity Arab Standing in Prayer
relation depicts
type concept
['Dutch Cavalier', 'depicts', {'concept': 'concept'}] ['Study for "The Tulip Folly"', 'depicts', {'concept': 'concept'}] ['Arab Standing in Prayer', 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:concept . resource:Dutch_Cavalier property:depicts ?x } UNION { resource:Study_for_"The_Tulip_Folly" property:depicts ?x . ?x rdf:type ontology:concept } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8441
P361
Q151885
USER
Which concept is that one a component of ?
(Q8441,P361,c(Q151885))
action filter_type
action find
entity Q8441
relation P361
type Q151885
['Q8441', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q8441 property:P361 ?s . ?s rdf:type ontology:Q151885 }
man
action filter_type
action find
entity man
relation part of
type concept
['man', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:man property:part_of ?s . ?s rdf:type ontology:concept }
[]
concept
Clarification for simple ques.
Q8441
SYSTEM
Did you mean man ?
Q8441 Q8441 Q40953
(Q8441,P361,c(Q151885)) (Q8441,P361,c(Q151885)) (Q40953,P361,c(Q151885))
[ANSWER]
['Q8441', 'P361', {'concept': 'Q151885'}] ['Q8441', 'P361', {'concept': 'Q151885'}] ['Q40953', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q8441 property:P361 ?s . ?s rdf:type ontology:Q151885 }
man man prayer
Did you mean man ?
man
['man', 'part of', {'concept': 'concept'}] ['man', 'part of', {'concept': 'concept'}] ['prayer', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:man property:part_of ?s . ?s rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
USER
Yes
(Q8441,P361,c(Q151885))
['Q8441', 'P361', {'concept': 'Q151885'}]
['man', 'part of', {'concept': 'concept'}]
[]
Q8436
SYSTEM
family
Q8436
(Q8441,P361,c(Q151885))
action filter_type
action find
entity Q8441
relation P361
type Q151885
Which concept is that one a component of
['Q8441', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q8441 property:P361 ?s . ?s rdf:type ontology:Q151885 }
family
Which concept is that one a component of
family
action filter_type
action find
entity man
relation part of
type concept
['man', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:man property:part_of ?s . ?s rdf:type ontology:concept }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q2221906 Q151885
USER
Which geographic locations are the location where max number of concepts are located ?
(c(Q151885),P706,Q919721)
action argmax
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q919721']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?u ) { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:P706 ?k . ?k rdf:type ontology:Q2221906 . ?i rdf:type ontology:Q151885 } GROUP BY ?k } } . FILTER ( ?m = ?u ) . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:P706 ?f . ?f rdf:type ontology:Q2221906 . ?h rdf:type ontology:Q151885 } GROUP BY ?f } }
action argmax
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'eastern Germany']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?u ) { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:located_on_terrain_feature ?k . ?k rdf:type ontology:geographic_location . ?i rdf:type ontology:concept } GROUP BY ?k } } . FILTER ( ?m = ?u ) . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:located_on_terrain_feature ?f . ?f rdf:type ontology:geographic_location . ?h rdf:type ontology:concept } GROUP BY ?f } }
[]
geographic location concept
Q27509
SYSTEM
Central Europe
Q27509
(c(Q151885),P706,Q919721)
action argmax
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q151885
[ANSWER] is the location where max number of concepts is located
[{'concept': 'Q151885'}, 'P706', 'Q919721']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?u ) { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:P706 ?k . ?k rdf:type ontology:Q2221906 . ?i rdf:type ontology:Q151885 } GROUP BY ?k } } . FILTER ( ?m = ?u ) . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:P706 ?f . ?f rdf:type ontology:Q2221906 . ?h rdf:type ontology:Q151885 } GROUP BY ?f } }
Central Europe
Central Europe is the location where max number of concepts is located
Central Europe
action argmax
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'eastern Germany']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?u ) { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:located_on_terrain_feature ?k . ?k rdf:type ontology:geographic_location . ?i rdf:type ontology:concept } GROUP BY ?k } } . FILTER ( ?m = ?u ) . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:located_on_terrain_feature ?f . ?f rdf:type ontology:geographic_location . ?h rdf:type ontology:concept } GROUP BY ?f } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q27509 Q46
P361
Q2221906
USER
Is that one a part of Europe ?
(Q27509,P361,Q46)
action is_in
entity Q46
action find
entity Q27509
relation P361
['Q27509', 'P361', 'Q46']
ASK WHERE { resource:Q27509 property:P361 resource:Q46 }
Central Europe Europe
action is_in
entity Europe
action find
entity Central Europe
relation part of
['Central Europe', 'part of', 'Europe']
ASK WHERE { resource:Central_Europe property:part_of resource:Europe }
[]
geographic location
SYSTEM
YES
(Q27509,P361,Q46)
action is_in
entity Q46
action find
entity Q27509
relation P361
[ANSWER]
['Q27509', 'P361', 'Q46']
ASK WHERE { resource:Q27509 property:P361 resource:Q46 }
Yes
action is_in
entity Europe
action find
entity Central Europe
relation part of
['Central Europe', 'part of', 'Europe']
ASK WHERE { resource:Central_Europe property:part_of resource:Europe }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27509
P276
Q350604
USER
What is situated at Central Europe ?
action filter_type
action find_reverse
entity Q27509
relation P276
type Q350604
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q27509 . ?t rdf:type ontology:Q350604 }
Central Europe
action filter_type
action find_reverse
entity Central Europe
relation location
type armed conflict
SELECT DISTINCT ?t WHERE { ?t property:location resource:Central_Europe . ?t rdf:type ontology:armed_conflict }
[]
armed conflict
Q189266
SYSTEM
Eastern Front
Q189266
action filter_type
action find_reverse
entity Q27509
relation P276
type Q350604
Front [ANSWER] is situated at Central Europe
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q27509 . ?t rdf:type ontology:Q350604 }
Eastern Front
Front Eastern Front is situated at Central Europe
Eastern Front
action filter_type
action find_reverse
entity Central Europe
relation location
type armed conflict
SELECT DISTINCT ?t WHERE { ?t property:location resource:Central_Europe . ?t rdf:type ontology:armed_conflict }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P607
Q350604 Q2235308 Q502895
USER
Which armed conflicts did less number of ship types or people take part in than that armed conflict ?
(c(Q2235308)|c(Q502895),P607,c(Q350604))
action less
action union
action find_reverse_tuple_counts
relation P607
type Q350604
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q350604
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q189266
relation P607
type Q2235308
type Q502895
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:P607 resource:Q189266 . { { ?v rdf:type ontology:Q2235308 } UNION { ?v rdf:type ontology:Q502895 } } } } . FILTER ( ?p < ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?p ) WHERE { ?u rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } } GROUP BY ?f } }
action less
action union
action find_reverse_tuple_counts
relation conflict
type armed conflict
type ship type
action find_reverse_tuple_counts
relation conflict
type armed conflict
type common name
action count
action filter_multi_types
action find_reverse
entity Eastern Front
relation conflict
type ship type
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:conflict resource:Eastern_Front . { { ?v rdf:type ontology:ship_type } UNION { ?v rdf:type ontology:common_name } } } } . FILTER ( ?p < ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?p ) WHERE { ?u rdf:type ?b . VALUES ( ?b ) { ( ontology:ship_type ) ( ontology:common_name ) } } GROUP BY ?f } }
[]
armed conflict ship type common name
Q154697 Q19686631 Q168442
SYSTEM
French and Indian War, Yemeni Civil War, Anglo-Spanish War (1625–1630)
Q2321496 Q1044829 Q185729 Q2326099 Q184425 Q696848 Q1760930 Q184183 Q940618 Q698281 Q196409 Q619749 Q616939 Q879980 Q68969 Q1552718 Q749397 Q154940 Q2912306 Q699511 Q3540197 Q5453768 Q6334 Q694835 Q179077 Q12551 Q381375 Q748780 Q285280 Q780845 Q103495 Q3621718 Q1352401 Q699602 Q18920712 Q976827 Q657055 Q768496 Q4116897 Q525097 Q620735 Q3499292 Q474891 Q558423 Q58947 Q2632175 Q370963 Q651008 Q233500 Q233507 Q617210 Q49097 Q431806 Q1933729 Q857982 Q1080711 Q260684 Q1922071 Q129864 Q989092 Q617350 Q1936011 Q3439047 Q165136 Q4940496 Q223126 Q203824 Q1450594 Q249232 Q777345 Q2320020 Q1064335 Q609836 Q891806 Q327150 Q677316 Q39194 Q252298 Q1456086 Q1382989 Q369291 Q2441248 Q636365 Q2407716 Q2090475 Q74623 Q371394 Q631163 Q33143 Q194378 Q1495944 Q382116 Q164432 Q1500631 Q1209169 Q643925 Q151616 Q559181 Q1361929 Q2096286 Q631991 Q1455917 Q748042 Q658598 Q2001082 Q68478 Q2576016 Q2656995 Q233663 Q717809 Q1348630 Q1837308 Q2341073 Q1545405 Q553184 Q862257 Q842380 Q686564 Q635533 Q2419855 Q33745 Q1352215 Q2697981 Q199955 Q257724 Q170314 Q6683 Q1362209 Q54434 Q706183 Q551888 Q1501025 Q957532 Q8064768 Q690361 Q6286 Q766437 Q2320981 Q1851858 Q698985 Q1282732 Q178687 Q858108 Q7572892 Q404517 Q14947002 Q179275 Q127751 Q817206 Q7210108 Q786171 Q166001 Q1072042 Q2337340 Q31307 Q2599340 Q76026 Q322607 Q177109 Q1269777 Q325314 Q3042463 Q604204 Q1249270 Q273348 Q1891008 Q7125242 Q2326066 Q170682 Q49100 Q486831 Q49077 Q1640107 Q258679 Q2487 Q430053 Q19686631 Q3071310 Q1361354 Q2082222 Q31944 Q617782 Q2032554 Q1186260 Q154981 Q1676845 Q2992403 Q6271 Q426201 Q123070 Q76118 Q233642 Q2060306 Q1949299 Q159950 Q2471586 Q1047682 Q179250 Q12055176 Q3118990 Q4207759 Q233702 Q859815 Q1783607 Q37643 Q82664 Q755170 Q11154636 Q3242848 Q553157 Q598774 Q190029 Q3119132 Q16335075 Q1536533 Q223085 Q550172 Q2976715 Q80330 Q2444955 Q989115 Q1259237 Q655480 Q79791 Q48249 Q623171 Q7166879 Q3237019 Q122100 Q617827 Q2909600 Q418151 Q32929 Q11050383 Q2600326 Q1139887 Q26013 Q233657 Q202465 Q478301 Q83085 Q154697 Q722051 Q75756 Q228911 Q2985977 Q181533 Q8628 Q2665664 Q3118940 Q195378 Q4222429 Q28365 Q1780850 Q26690200 Q900693 Q168442 Q877450 Q385676 Q2635052 Q2670249 Q182865 Q1429256 Q49104 Q120843 Q1519107 Q1420115 Q202578 Q1962709 Q6542740 Q309184 Q3042457 Q849680 Q1178424 Q3365438 Q4120277 Q134949 Q937255 Q696389 Q3119025 Q74109 Q94916 Q172068 Q329203 Q2577772 Q177918 Q17025641 Q29269 Q1814745 Q26749 Q288251 Q3119015 Q1450532 Q524272 Q1434602 Q157548 Q1154983 Q17324420 Q1501724 Q652285 Q4176199 Q1069736 Q742813 Q1632880 Q220602 Q42937 Q838695 Q1237867 Q49103 Q1143379 Q151622 Q1265114
(c(Q2235308)|c(Q502895),P607,c(Q350604))
action less
action union
action find_reverse_tuple_counts
relation P607
type Q350604
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q350604
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q189266
relation P607
type Q2235308
type Q502895
[ANSWERS] less number of ship types or people took part in than that armed conflict
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:P607 resource:Q189266 . { { ?v rdf:type ontology:Q2235308 } UNION { ?v rdf:type ontology:Q502895 } } } } . FILTER ( ?p < ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?p ) WHERE { ?u rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } } GROUP BY ?f } }
Bannock War Polish–Muscovite War War on Terror Byzantine–Sassanid War of 602–28 Pacific War Anglo-Iraqi War Paquisha War Second Balkan War Cod Wars Italian War of 1521–1526 Livonian Crusade Kurdish–Turkish conflict Anglo-Egyptian War Black Hawk War Croatian War of Independence Granada War Eastern Theater of the American Civil War Lapland War Wars of the Diadochi Campaigns of 1796 in the French Revolutionary Wars Third English Civil War First Rohilla War Third Punic War Austro-Turkish War of 1716–1718 Pontiac's War Hundred Years' War Nagorno-Karabakh War First Indochina War War of Transnistria Franco-Thai War world war Arab–Khazar Wars Bombardment of Kagoshima Cretan War War in Afghanistan Carnatic Wars Greco-Turkish War (1897) Banana Wars Second Kurdish–Iraqi War Persian Expedition of 1796 Russo-Georgian War Byzantine civil war of 1321–1328 Texas–Indian wars Polish–Teutonic War War of the Triple Alliance Dunmore's War Russo-Swedish War Corinthian War Second Anglo-Burmese War Second Anglo-Afghan War Third Anglo-Maratha War 1948 Palestine war Arauco War Polish–Czechoslovak War First Matabele War Ottoman–Hungarian Wars Alexander's Balkan campaign Indo-Pakistani War of 1971 Indian Rebellion of 1857 First Anglo-Afghan War Third Anglo-Mysore War Cold War (1962–79) Dominican War of Independence Swabian War Bombardment of Algiers Chaco War Italo-Turkish War Hundred Thousand Sons of Saint Louis War of the Third Coalition Mad War Byzantine–Sassanid War of 572–591 Pig War Portuguese Colonial War Bombardment of Algiers (1816) Byzantine–Norman wars Social War Spanish reconquest of Santo Domingo Hungarian–Romanian war of 1919 Nez Perce War Rogue River Wars Anglo-Spanish War (1654–1660) Anglo-Russian War War of the League of Cambrai Roman–Sassanid War Second Franco-Dahomean War Great Turkish War Bangladesh Liberation War Deluge Seven Years' War Third Servile War Polish–Lithuanian War Caucasian War Eighty Years' War Ecuadorian–Peruvian War War in Abkhazia Invasion of Dagestan Great Northern War First Silesian War Indonesia–Malaysia confrontation Theater War Russo-Polish War Umayyad conquest of Hispania Irish Civil War Siberian Intervention Allied intervention in the Russian Civil War Peruvian War of Independence Anastasian War Northwest Indian War Second Anglo-Mysore War Central Plains War Ridda wars Rus'–Byzantine War (941) First Carlist War New Zealand Wars Gaza–Israel conflict King Philip's War Second Sudanese Civil War Serbian-Ottoman War Cambodian–Vietnamese War Ukrainian–Soviet War Peloponnesian War Polish–Russian War of 1792 Argentine Civil Wars Hundred Days Ethiopian Civil War Second Sino-Japanese War Mexican–American War First Anglo-Maratha War War of Jenkins' Ear Sino-French War Wars of Alexander the Great Utah War Third Carlist War Zaian War Long War First Punic War Rif War Williamite War in Ireland Dakota War of 1862 Ottoman wars in Europe Guatemalan Civil War First Sino-Japanese War Byzantine–Sassanid Wars Spain in the American Revolutionary War Kargil War Chechen–Russian conflict War in North-West Pakistan Wars of the Roses Cambodian Civil War Polish–Swedish War (1621–25) Ottoman–Habsburg wars Scanian War War in Somalia (2006-2009) Cenepa War Burmese–Siamese War War of the Sicilian Vespers Greco-Persian Wars War of Attrition Slovak–Hungarian War Dano-Swedish War of 1808-1809 Tecumseh's War Uruguayan War Anglo-Spanish War (1727–1729) Third Sacred War Italian Wars Sand War Paiute War Iberian War Gaza War Yom Kippur War Roman–Syrian war Six-Day War Ifni War Austro-Turkish War Thirty Years' War Great Sioux War of 1876 Yemeni Civil War War of the Supremes Nine Years' War Lazic War Mahdist War Fourth Anglo-Mysore War Second Melillan campaign Creek War Second Schleswig War Boer Wa Franco-Syrian War Second Punic War Gunboat War Russo-Turkish War of 1768–1774 Third Macedonian War Second Anglo-Maratha War Red Cloud's War Russo-Kazan Wars Russo-Japanese War Pomeranian War Asian and Pacific theatre of World War I French invasion of Russia Angolan Civil War War for Brittany Seleucid–Parthian wars Second Silesian War Ishiyama Hongan-ji War Salvadoran Civil War Gulf War Iran–Iraq War Anglo-Dutch Wars Eelam War III First War of Scottish Independence Romania during World War I Polish–Swedish War (1600–11) Kosovo War Indo-Pakistani wars and conflicts War in Donbass Colombian-Peruvian War Football War War of the Breton Succession Second Seminole War English Civil War Rhodesian Bush War First Italo-Ethiopian War Third Anglo-Afghan War Quasi-War Reconquista Falklands War Sino-Vietnamese War Perak War Sino-Burmese War Continuation War Apache Wars Bombardment of Genoa Second Opium War War of the Austrian Succession Eelam War II Egyptian-Ottoman War Russo-Persian War War of 1812 Second Matabele War Uganda–Tanzania War Hussite Wars Soviet–Afghan War French and Indian War Anglo-Ashanti wars Second Congo War Anglo-Zulu War Polish–Swedish War (1626–29) Bosnian War War in the Vendée Prussian Crusade Father Le Loutre's War Anglo-Nepalese War Sino–Tibetan War Lamian War Swedish-Norwegian War Rutulian War Seminole Wars Anglo-Spanish War (1625–1630) Laotian Civil War Ōnin War Modoc War Bombardment of Alexandria War in Afghanistan War of the League of Cognac 2006 Lebanon War Second Chechen War War in Afghanistan Russo-Persian War First Jewish-Roman War Ingrian War Austro–Turkish War Boshin War Platine War American Indian Wars Carlist Wars War in Vietnam (1945–46) Second Samoan Civil War Winter War Polish–Lithuanian–Teutonic War Soviet–Japanese border conflicts Red River War Albanian resistance during World War II Second Italo-Ethiopian War National Liberation War of Macedonia First Boer War Wars of the Three Kingdoms First Balkan War Tirah Campaign First Chechen War Eelam War I War of the Second Coalition Cisplatine War Yakima War Franco-Turkish War South-East Asian theatre of World War II Libyan–Egyptian War War of the Bavarian Succession Ottoman–Venetian War 2014 Israel–Gaza conflict Portuguese Restoration War Indo-Pakistani War of 1947 cold war Croat–Bosniak War Chincha Islands War Burmese–Siamese War Soviet–Japanese War Trojan War First Congo War Liberal Wars Lebanon War 1991–1992 South Ossetia War Israeli–Palestinian conflict Father Rale's War
French and Indian War, Yemeni Civil War and Anglo-Spanish War (1625–1630) less number of ship types or people took part in than that armed conflict
French and Indian War Yemeni Civil War Anglo-Spanish War (1625–1630)
action less
action union
action find_reverse_tuple_counts
relation conflict
type armed conflict
type ship type
action find_reverse_tuple_counts
relation conflict
type armed conflict
type common name
action count
action filter_multi_types
action find_reverse
entity Eastern Front
relation conflict
type ship type
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:conflict resource:Eastern_Front . { { ?v rdf:type ontology:ship_type } UNION { ?v rdf:type ontology:common_name } } } } . FILTER ( ?p < ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?p ) WHERE { ?u rdf:type ?b . VALUES ( ?b ) { ( ontology:ship_type ) ( ontology:common_name ) } } GROUP BY ?f } }
[]