Simple Question (Direct)
Simple Question
Q112081
P607
Q198
USER
Which war did Archduke Wilhelm of Austria take part in ?
(Q112081,P607,c(Q198))
action filter_type
action find
entity Q112081
relation P607
type Q198
['Q112081', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?x WHERE { resource:Q112081 property:P607 ?x . ?x rdf:type ontology:Q198 }
Archduke Wilhelm of Austria
action filter_type
action find
entity Archduke Wilhelm of Austria
relation conflict
type war
['Archduke Wilhelm of Austria', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?x WHERE { resource:Archduke_Wilhelm_of_Austria property:conflict ?x . ?x rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q112081,P607,c(Q198))
action filter_type
action find
entity Q112081
relation P607
type Q198
Archduke Wilhelm of Austria took in part in [ANSWER]
['Q112081', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?x WHERE { resource:Q112081 property:P607 ?x . ?x rdf:type ontology:Q198 }
World War I
Archduke Wilhelm of Austria took in part in World War I
World War I
action filter_type
action find
entity Archduke Wilhelm of Austria
relation conflict
type war
['Archduke Wilhelm of Austria', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?x WHERE { resource:Archduke_Wilhelm_of_Austria property:conflict ?x . ?x rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q361
P710
Q15617994
USER
Which administrative territories were participants of that war ?
(Q361,P710,c(Q15617994))
action filter_type
action find
entity Q361
relation P710
type Q15617994
['Q361', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q361 property:P710 ?y . ?y 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 ?y WHERE { resource:World_War_I property:participant ?y . ?y 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
[ANSWERS] were participants of that war
['Q361', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q361 property:P710 ?y . ?y rdf:type ontology:Q15617994 }
France Italy
France and Italy were participants of that war
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 ?y WHERE { resource:World_War_I property:participant ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q15061775
P495
Q838948
USER
Does Royal Family originate at those administrative territories ?
(Q15061775,P495,Q142) (Q15061775,P495,Q38)
action is_in
entity prev_answer
action find
entity Q15061775
relation P495
['Q15061775', 'P495', 'Q142'] ['Q15061775', 'P495', 'Q38']
ASK WHERE { VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q38 ) } . resource:Q15061775 property:P495 ?c }
Royal Family
action is_in
entity prev_answer
action find
entity Royal Family
relation country of origin
['Royal Family', 'country of origin', 'France'] ['Royal Family', 'country of origin', 'Italy']
ASK WHERE { VALUES ( ?c ) { ( resource:France ) ( resource:Italy ) } . resource:Royal_Family property:country_of_origin ?c }
[]
work of art
SYSTEM
NO
(Q15061775,P495,Q142) (Q15061775,P495,Q38)
action is_in
entity prev_answer
action find
entity Q15061775
relation P495
[ANSWER]
['Q15061775', 'P495', 'Q142'] ['Q15061775', 'P495', 'Q38']
ASK WHERE { VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q38 ) } . resource:Q15061775 property:P495 ?c }
No
action is_in
entity prev_answer
action find
entity Royal Family
relation country of origin
['Royal Family', 'country of origin', 'France'] ['Royal Family', 'country of origin', 'Italy']
ASK WHERE { VALUES ( ?c ) { ( resource:France ) ( resource:Italy ) } . resource:Royal_Family property:country_of_origin ?c }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q56061 Q355304 Q15617994
USER
Which administrative territories are located in around 1 administrative territories and watercourses ?
(c(Q15617994),P706,c(Q56061)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q56061
action find_tuple_counts
relation P706
type Q15617994
type Q355304
value 1
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?k ) WHERE { VALUES ( ?h ) { ( ontology:Q56061 ) ( ontology:Q355304 ) } . ?j rdf:type ?h } GROUP BY ?b } . FILTER ( ?k = 1 ) }
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?k ) WHERE { VALUES ( ?h ) { ( ontology:administrative_territorial_entity ) ( ontology:watercourse ) } . ?j rdf:type ?h } GROUP BY ?b } . FILTER ( ?k = 1 ) }
[]
administrative territorial entity watercourse designation for an administrative territorial entity
Q104192 Q565749 Q7561974
SYSTEM
Kleinmachnow, Erden, Sonning Eye
Q1619957 Q5000224 Q104192 Q565749 Q7561974
(c(Q15617994),P706,c(Q56061)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q56061
action find_tuple_counts
relation P706
type Q15617994
type Q355304
value 1
[ANSWERS] are located in around 1 administrative territories and watercourses
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?k ) WHERE { VALUES ( ?h ) { ( ontology:Q56061 ) ( ontology:Q355304 ) } . ?j rdf:type ?h } GROUP BY ?b } . FILTER ( ?k = 1 ) }
Hippelsbach Burnt River, Ontario Kleinmachnow Erden Sonning Eye
Kleinmachnow, Erden and Sonning Eye are located in around 1 administrative territories and watercourses
Kleinmachnow Erden Sonning Eye
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?k ) WHERE { VALUES ( ?h ) { ( ontology:administrative_territorial_entity ) ( ontology:watercourse ) } . ?j rdf:type ?h } GROUP BY ?b } . FILTER ( ?k = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q104192 Q565749 Q7561974
P706
Q355304
USER
Which watercourses are Kleinmachnow, Erden and Sonning Eye located on ?
(Q104192,P706,c(Q355304)) (Q565749,P706,c(Q355304)) (Q7561974,P706,c(Q355304))
action union
action filter_type
action find
entity Q104192
relation P706
type Q355304
action filter_type
action find
entity Q565749
relation P706
type Q355304
action filter_type
action find
entity Q7561974
relation P706
type Q355304
['Q104192', 'P706', {'concept': 'Q355304'}] ['Q565749', 'P706', {'concept': 'Q355304'}] ['Q7561974', 'P706', {'concept': 'Q355304'}]
SELECT DISTINCT ?f WHERE { { resource:Q104192 property:P706 ?f . ?f rdf:type ontology:Q355304 } UNION { resource:Q565749 property:P706 ?f . ?f rdf:type ontology:Q355304 } }
Kleinmachnow Erden Sonning Eye
action union
action filter_type
action find
entity Kleinmachnow
relation located on terrain feature
type watercourse
action filter_type
action find
entity Erden
relation located on terrain feature
type watercourse
action filter_type
action find
entity Sonning Eye
relation located on terrain feature
type watercourse
['Kleinmachnow', 'located on terrain feature', {'concept': 'watercourse'}] ['Erden', 'located on terrain feature', {'concept': 'watercourse'}] ['Sonning Eye', 'located on terrain feature', {'concept': 'watercourse'}]
SELECT DISTINCT ?f WHERE { { resource:Kleinmachnow property:located_on_terrain_feature ?f . ?f rdf:type ontology:watercourse } UNION { resource:Erden property:located_on_terrain_feature ?f . ?f rdf:type ontology:watercourse } }
[]
watercourse
Q1018973 Q1667 Q19686
SYSTEM
Bäke, Moselle, River Thames
Q1018973 Q1667 Q19686
(Q104192,P706,c(Q355304)) (Q565749,P706,c(Q355304)) (Q7561974,P706,c(Q355304))
action union
action filter_type
action find
entity Q104192
relation P706
type Q355304
action filter_type
action find
entity Q565749
relation P706
type Q355304
action filter_type
action find
entity Q7561974
relation P706
type Q355304
[ANSWERS]
['Q104192', 'P706', {'concept': 'Q355304'}] ['Q565749', 'P706', {'concept': 'Q355304'}] ['Q7561974', 'P706', {'concept': 'Q355304'}]
SELECT DISTINCT ?f WHERE { { resource:Q104192 property:P706 ?f . ?f rdf:type ontology:Q355304 } UNION { resource:Q565749 property:P706 ?f . ?f rdf:type ontology:Q355304 } }
Bäke Moselle River Thames
Which watercourses are Kleinmachnow, Erden and Sonning Eye located on
Bäke Moselle River Thames
action union
action filter_type
action find
entity Kleinmachnow
relation located on terrain feature
type watercourse
action filter_type
action find
entity Erden
relation located on terrain feature
type watercourse
action filter_type
action find
entity Sonning Eye
relation located on terrain feature
type watercourse
['Kleinmachnow', 'located on terrain feature', {'concept': 'watercourse'}] ['Erden', 'located on terrain feature', {'concept': 'watercourse'}] ['Sonning Eye', 'located on terrain feature', {'concept': 'watercourse'}]
SELECT DISTINCT ?f WHERE { { resource:Kleinmachnow property:located_on_terrain_feature ?f . ?f rdf:type ontology:watercourse } UNION { resource:Erden property:located_on_terrain_feature ?f . ?f rdf:type ontology:watercourse } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P163
Q14660
USER
Which flag is associated with Italy ?
(Q38,P163,c(Q14660))
action filter_type
action find
entity Q38
relation P163
type Q14660
['Q38', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { resource:Q38 property:P163 ?r . ?r rdf:type ontology:Q14660 }
Italy
action filter_type
action find
entity Italy
relation flag
type flag
['Italy', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { resource:Italy property:flag ?r . ?r rdf:type ontology:flag }
[]
flag
Q42876
SYSTEM
Flag of Italy
Q42876
(Q38,P163,c(Q14660))
action filter_type
action find
entity Q38
relation P163
type Q14660
Italy [ANSWER] is associated with Italy
['Q38', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { resource:Q38 property:P163 ?r . ?r rdf:type ontology:Q14660 }
Flag of Italy
Italy Flag of Italy is associated with Italy
Flag of Italy
action filter_type
action find
entity Italy
relation flag
type flag
['Italy', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { resource:Italy property:flag ?r . ?r rdf:type ontology:flag }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q262
Q14660
USER
And what about Algeria?
(Q262,P163,c(Q14660))
action filter_type
action find
entity Q262
relation P163
type Q14660
['Q262', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { resource:Q262 property:P163 ?g . ?g rdf:type ontology:Q14660 }
Algeria
action filter_type
action find
entity Algeria
relation flag
type flag
['Algeria', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { resource:Algeria property:flag ?g . ?g rdf:type ontology:flag }
[]
flag
Q83392
SYSTEM
Flag of Algeria
Q83392
(Q262,P163,c(Q14660))
action filter_type
action find
entity Q262
relation P163
type Q14660
[ANSWER]
['Q262', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { resource:Q262 property:P163 ?g . ?g rdf:type ontology:Q14660 }
Flag of Algeria
Flag of Algeria
action filter_type
action find
entity Algeria
relation flag
type flag
['Algeria', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { resource:Algeria property:flag ?g . ?g rdf:type ontology:flag }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q83392 Q262
P163
Q15617994
USER
Is Algeria associated with that flag ?
(Q262,P163,Q83392)
action is_in
entity Q83392
action find
entity Q262
relation P163
['Q262', 'P163', 'Q83392']
ASK WHERE { resource:Q262 property:P163 resource:Q83392 }
Flag of Algeria Algeria
action is_in
entity Flag of Algeria
action find
entity Algeria
relation flag
['Algeria', 'flag', 'Flag of Algeria']
ASK WHERE { resource:Algeria property:flag resource:Flag_of_Algeria }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q262,P163,Q83392)
action is_in
entity Q83392
action find
entity Q262
relation P163
[ANSWER]
['Q262', 'P163', 'Q83392']
ASK WHERE { resource:Q262 property:P163 resource:Q83392 }
Yes
action is_in
entity Flag of Algeria
action find
entity Algeria
relation flag
['Algeria', 'flag', 'Flag of Algeria']
ASK WHERE { resource:Algeria property:flag resource:Flag_of_Algeria }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q83392
P1001
Q15617994
USER
Which administrative territory applies to jurisdiction of that flag ?
action filter_type
action find
entity Q83392
relation P1001
type Q15617994
SELECT DISTINCT ?n WHERE { resource:Q83392 property:P1001 ?n . ?n rdf:type ontology:Q15617994 }
Flag of Algeria
action filter_type
action find
entity Flag of Algeria
relation applies to jurisdiction
type designation for an administrative territorial entity
SELECT DISTINCT ?n WHERE { resource:Flag_of_Algeria property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q262
SYSTEM
Algeria
Q262
action filter_type
action find
entity Q83392
relation P1001
type Q15617994
[ANSWER] applies to jurisdiction of that flag
SELECT DISTINCT ?n WHERE { resource:Q83392 property:P1001 ?n . ?n rdf:type ontology:Q15617994 }
Algeria
Algeria applies to jurisdiction of that flag
Algeria
action filter_type
action find
entity Flag of Algeria
relation applies to jurisdiction
type designation for an administrative territorial entity
SELECT DISTINCT ?n WHERE { resource:Flag_of_Algeria property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q43229 Q56061
USER
How many organizations and administrative territories had that administrative territory as their member ?
(Q262,P463,c(Q43229)) (Q262,P463,c(Q56061)) (Q262,P463,c(Q43229)) (Q262,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q262
relation P463
type Q43229
action filter_type
action find
entity Q262
relation P463
type Q56061
['Q262', 'P463', {'concept': 'Q43229'}] ['Q262', 'P463', {'concept': 'Q56061'}] ['Q262', 'P463', {'concept': 'Q43229'}] ['Q262', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { ?k rdf:type ontology:Q43229 . resource:Q262 property:P463 ?k } UNION { resource:Q262 property:P463 ?k . ?k rdf:type ontology:Q56061 } }
action count
action union
action filter_type
action find
entity Algeria
relation member of
type organization
action filter_type
action find
entity Algeria
relation member of
type administrative territorial entity
['Algeria', 'member of', {'concept': 'organization'}] ['Algeria', 'member of', {'concept': 'administrative territorial entity'}] ['Algeria', 'member of', {'concept': 'organization'}] ['Algeria', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { ?k rdf:type ontology:organization . resource:Algeria property:member_of ?k } UNION { resource:Algeria property:member_of ?k . ?k rdf:type ontology:administrative_territorial_entity } }
[]
organization administrative territorial entity
SYSTEM
7 organizations and 2 administrative territories
Q340195 Q7159 Q191384 Q656801 Q899770 Q7172 Q624307 Q7825 Q827525
(Q262,P463,c(Q43229)) (Q262,P463,c(Q56061)) (Q262,P463,c(Q43229)) (Q262,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q262
relation P463
type Q43229
action filter_type
action find
entity Q262
relation P463
type Q56061
[ANSWER]
['Q262', 'P463', {'concept': 'Q43229'}] ['Q262', 'P463', {'concept': 'Q56061'}] ['Q262', 'P463', {'concept': 'Q43229'}] ['Q262', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { ?k rdf:type ontology:Q43229 . resource:Q262 property:P463 ?k } UNION { resource:Q262 property:P463 ?k . ?k rdf:type ontology:Q56061 } }
African Development Bank African Union International Bank for Reconstruction and Development International Finance Corporation International Centre for Settlement of Investment Disputes Arab League Arab Monetary Fund World Trade Organization International Development Association
7 organizations and 2 administrative territories
action count
action union
action filter_type
action find
entity Algeria
relation member of
type organization
action filter_type
action find
entity Algeria
relation member of
type administrative territorial entity
['Algeria', 'member of', {'concept': 'organization'}] ['Algeria', 'member of', {'concept': 'administrative territorial entity'}] ['Algeria', 'member of', {'concept': 'organization'}] ['Algeria', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { ?k rdf:type ontology:organization . resource:Algeria property:member_of ?k } UNION { resource:Algeria property:member_of ?k . ?k rdf:type ontology:administrative_territorial_entity } }
[]