Simple Question (Direct)
Simple Question
Q4861744
P241
Q781132
USER
Which military branch is Barney Liddell associated with ?
(Q4861744,P241,c(Q781132))
action filter_type
action find
entity Q4861744
relation P241
type Q781132
['Q4861744', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?d WHERE { resource:Q4861744 property:P241 ?d . ?d rdf:type ontology:Q781132 }
Barney Liddell
action filter_type
action find
entity Barney Liddell
relation military branch
type military branch
['Barney Liddell', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?d WHERE { resource:Barney_Liddell property:military_branch ?d . ?d rdf:type ontology:military_branch }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q4861744,P241,c(Q781132))
action filter_type
action find
entity Q4861744
relation P241
type Q781132
Barney Liddell is associated with [ANSWER]
['Q4861744', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?d WHERE { resource:Q4861744 property:P241 ?d . ?d rdf:type ontology:Q781132 }
United States Army
Barney Liddell is associated with United States Army
United States Army
action filter_type
action find
entity Barney Liddell
relation military branch
type military branch
['Barney Liddell', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?d WHERE { resource:Barney_Liddell property:military_branch ?d . ?d rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9212
P710
Q180684
USER
Which conflicts were that military branch a participant of ?
(c(Q180684),P710,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P710
type Q180684
[{'concept': 'Q180684'}, 'P710', 'Q9212']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q180684 . ?s property:P710 resource:Q9212 }
United States Army
action filter_type
action find_reverse
entity United States Army
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'United States Army']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:conflict . ?s property:participant resource:United_States_Army }
[]
conflict
Q612739 Q3062425
SYSTEM
Operation Eagle Claw, Yellowstone Expedition of 1873
Q612739 Q3062425
(c(Q180684),P710,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P710
type Q180684
[ANSWERS] were that military branch a participant of
[{'concept': 'Q180684'}, 'P710', 'Q9212']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q180684 . ?s property:P710 resource:Q9212 }
Operation Eagle Claw Yellowstone Expedition of 1873
Operation Eagle Claw and Yellowstone Expedition of 1873 were that military branch a participant of
Operation Eagle Claw Yellowstone Expedition of 1873
action filter_type
action find_reverse
entity United States Army
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'United States Army']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:conflict . ?s property:participant resource:United_States_Army }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9212
P17
Q15617994
USER
Which administrative territory is that military branch situated in ?
(Q612739,P17,c(Q15617994)) (Q3062425,P17,c(Q15617994))
action filter_type
action find
entity Q9212
relation P17
type Q15617994
['Q612739', 'P17', {'concept': 'Q15617994'}] ['Q3062425', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q9212 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
United States Army
action filter_type
action find
entity United States Army
relation country
type designation for an administrative territorial entity
['Operation Eagle Claw', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Yellowstone Expedition of 1873', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:United_States_Army property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q612739,P17,c(Q15617994)) (Q3062425,P17,c(Q15617994))
action filter_type
action find
entity Q9212
relation P17
type Q15617994
That military branch is situated in [ANSWER]
['Q612739', 'P17', {'concept': 'Q15617994'}] ['Q3062425', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q9212 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
That military branch is situated in United States of America
United States of America
action filter_type
action find
entity United States Army
relation country
type designation for an administrative territorial entity
['Operation Eagle Claw', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Yellowstone Expedition of 1873', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:United_States_Army property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9212
P921
Q2342494
USER
Which collectable has that military branch as its principal topic ?
(c(Q2342494),P921,Q30)
action filter_type
action find_reverse
entity Q9212
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q30']
SELECT DISTINCT ?d WHERE { ?d property:P921 resource:Q9212 . ?d rdf:type ontology:Q2342494 }
United States Army
action filter_type
action find_reverse
entity United States Army
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'United States of America']
SELECT DISTINCT ?d WHERE { ?d property:main_subject resource:United_States_Army . ?d rdf:type ontology:collectable }
[]
collectable
Q5007234
SYSTEM
C/O Postmaster
Q5007234
(c(Q2342494),P921,Q30)
action filter_type
action find_reverse
entity Q9212
relation P921
type Q2342494
[ANSWER] has that military branch as its principal topic
[{'concept': 'Q2342494'}, 'P921', 'Q30']
SELECT DISTINCT ?d WHERE { ?d property:P921 resource:Q9212 . ?d rdf:type ontology:Q2342494 }
C/O Postmaster
C/O Postmaster has that military branch as its principal topic
C/O Postmaster
action filter_type
action find_reverse
entity United States Army
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'United States of America']
SELECT DISTINCT ?d WHERE { ?d property:main_subject resource:United_States_Army . ?d rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5007234
P800
Q502895
USER
Which person is accredited with being the author of the notable work that collectable ?
(c(Q502895),P800,Q5007234)
action filter_type
action find_reverse
entity Q5007234
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q5007234']
SELECT DISTINCT ?q WHERE { ?q property:P800 resource:Q5007234 . ?q rdf:type ontology:Q502895 }
C/O Postmaster
action filter_type
action find_reverse
entity C/O Postmaster
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'C/O Postmaster']
SELECT DISTINCT ?q WHERE { ?q property:notable_work resource:C/O_Postmaster . ?q rdf:type ontology:common_name }
[]
common name
Q7793379
SYSTEM
Thomas R. St. George
Q7793379
(c(Q502895),P800,Q5007234)
action filter_type
action find_reverse
entity Q5007234
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work that collectable
[{'concept': 'Q502895'}, 'P800', 'Q5007234']
SELECT DISTINCT ?q WHERE { ?q property:P800 resource:Q5007234 . ?q rdf:type ontology:Q502895 }
Thomas R. St. George
Thomas R. St. George is accredited with being the author of the notable work that collectable
Thomas R. St. George
action filter_type
action find_reverse
entity C/O Postmaster
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'C/O Postmaster']
SELECT DISTINCT ?q WHERE { ?q property:notable_work resource:C/O_Postmaster . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P610
Q14524493
USER
Which is the zenith of United States of America ?
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { resource:Q30 property:P610 ?u . ?u rdf:type ontology:Q14524493 }
United States of America
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { resource:United_States_of_America property:highest_point ?u . ?u rdf:type ontology:terrain }
[]
terrain
Q130018
SYSTEM
Denali
Q130018
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
The zenith of United States of America is [ANSWER]
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { resource:Q30 property:P610 ?u . ?u rdf:type ontology:Q14524493 }
Denali
The zenith of United States of America is Denali
Denali
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { resource:United_States_of_America property:highest_point ?u . ?u rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P38
Q8142
USER
What is used as the currency of that administrative territory ?
(Q130018,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q130018', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?c WHERE { resource:Q30 property:P38 ?c . ?c rdf:type ontology:Q8142 }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['Denali', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?c WHERE { resource:United_States_of_America property:currency ?c . ?c rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q130018,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
[ANSWER] is used as the currency of that administrative territory
['Q130018', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?c WHERE { resource:Q30 property:P38 ?c . ?c rdf:type ontology:Q8142 }
United States dollar
United States dollar is used as the currency of that administrative territory
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['Denali', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?c WHERE { resource:United_States_of_America property:currency ?c . ?c rdf:type ontology:currency }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P38
Q8142 Q15617994 Q22687
USER
Which currencies are used as the currencies of lesser number of administrative territories or banks than that currency ?
(c(Q15617994)|c(Q22687),P38,c(Q8142))
action less
action union
action find_reverse_tuple_counts
relation P38
type Q8142
type Q15617994
action find_reverse_tuple_counts
relation P38
type Q8142
type Q22687
action count
action filter_multi_types
action find_reverse
entity Q4917
relation P38
type Q15617994
type Q22687
[[{'concept': 'Q15617994'}, {'concept': 'Q22687'}], 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?m WHERE { VALUES ( ?d ) { ( ontology:Q22687 ) ( ontology:Q15617994 ) } . ?c rdf:type ?d } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { { ?o rdf:type ontology:Q15617994 } UNION { ?o rdf:type ontology:Q22687 } } . ?o property:P38 resource:Q4917 } } . FILTER ( ?e < ?h ) }
action less
action union
action find_reverse_tuple_counts
relation currency
type currency
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation currency
type currency
type bank
action count
action filter_multi_types
action find_reverse
entity United States dollar
relation currency
type designation for an administrative territorial entity
type bank
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'bank'}], 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?m WHERE { VALUES ( ?d ) { ( ontology:bank ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?c rdf:type ?d } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o rdf:type ontology:bank } } . ?o property:currency resource:United_States_dollar } } . FILTER ( ?e < ?h ) }
[]
currency designation for an administrative territorial entity bank
Q2472225 Q39099 Q522701
SYSTEM
Latvian rublis, renminbi, Netherlands Antillean guilder
Q2472225 Q39099 Q200979 Q522701 Q2423956 Q25224 Q232270 Q615640
(c(Q15617994)|c(Q22687),P38,c(Q8142))
action less
action union
action find_reverse_tuple_counts
relation P38
type Q8142
type Q15617994
action find_reverse_tuple_counts
relation P38
type Q8142
type Q22687
action count
action filter_multi_types
action find_reverse
entity Q4917
relation P38
type Q15617994
type Q22687
[ANSWERS] are used as the currencies of lesser number of administrative territories or banks than that currency
[[{'concept': 'Q15617994'}, {'concept': 'Q22687'}], 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?m WHERE { VALUES ( ?d ) { ( ontology:Q22687 ) ( ontology:Q15617994 ) } . ?c rdf:type ?d } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { { ?o rdf:type ontology:Q15617994 } UNION { ?o rdf:type ontology:Q22687 } } . ?o property:P38 resource:Q4917 } } . FILTER ( ?e < ?h ) }
Latvian rublis renminbi Transnistrian ruble Netherlands Antillean guilder Tajikistani ruble pound sterling Aruban florin Soviet ruble
Latvian rublis, renminbi and Netherlands Antillean guilder are used as the currencies of lesser number of administrative territories or banks than that currency
Latvian rublis renminbi Netherlands Antillean guilder
action less
action union
action find_reverse_tuple_counts
relation currency
type currency
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation currency
type currency
type bank
action count
action filter_multi_types
action find_reverse
entity United States dollar
relation currency
type designation for an administrative territorial entity
type bank
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'bank'}], 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?m WHERE { VALUES ( ?d ) { ( ontology:bank ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?c rdf:type ?d } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o rdf:type ontology:bank } } . ?o property:currency resource:United_States_dollar } } . FILTER ( ?e < ?h ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2472225 Q39099 Q522701
P38
Q15617994
USER
Whose currency are those ones ?
(c(Q15617994),P38,Q2472225) (c(Q15617994),P38,Q39099) (c(Q15617994),P38,Q522701)
action filter_type
action find_reverse
entity prev_answer
relation P38
type Q15617994
[{'concept': 'Q15617994'}, 'P38', 'Q2472225'] [{'concept': 'Q15617994'}, 'P38', 'Q39099'] [{'concept': 'Q15617994'}, 'P38', 'Q522701']
SELECT DISTINCT ?y WHERE { VALUES ( ?v ) { ( resource:Q2472225 ) ( resource:Q39099 ) ( resource:Q200979 ) } . ?y rdf:type ontology:Q15617994 . ?y property:P38 ?v }
Latvian rublis renminbi Netherlands Antillean guilder
action filter_type
action find_reverse
entity prev_answer
relation currency
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'currency', 'Latvian rublis'] [{'concept': 'designation for an administrative territorial entity'}, 'currency', 'renminbi'] [{'concept': 'designation for an administrative territorial entity'}, 'currency', 'Netherlands Antillean guilder']
SELECT DISTINCT ?y WHERE { VALUES ( ?v ) { ( resource:Latvian_rublis ) ( resource:renminbi ) ( resource:Transnistrian_ruble ) } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:currency ?v }
[]
designation for an administrative territorial entity
Q211 Q148 Q29999
SYSTEM
Latvia, People's Republic of China, Kingdom of the Netherlands
Q211 Q148 Q29999
(c(Q15617994),P38,Q2472225) (c(Q15617994),P38,Q39099) (c(Q15617994),P38,Q522701)
action filter_type
action find_reverse
entity prev_answer
relation P38
type Q15617994
[ANSWERS] are those ones
[{'concept': 'Q15617994'}, 'P38', 'Q2472225'] [{'concept': 'Q15617994'}, 'P38', 'Q39099'] [{'concept': 'Q15617994'}, 'P38', 'Q522701']
SELECT DISTINCT ?y WHERE { VALUES ( ?v ) { ( resource:Q2472225 ) ( resource:Q39099 ) ( resource:Q200979 ) } . ?y rdf:type ontology:Q15617994 . ?y property:P38 ?v }
Latvia People's Republic of China Kingdom of the Netherlands
Latvia, People's Republic of China and Kingdom of the Netherlands are those ones
Latvia People's Republic of China Kingdom of the Netherlands
action filter_type
action find_reverse
entity prev_answer
relation currency
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'currency', 'Latvian rublis'] [{'concept': 'designation for an administrative territorial entity'}, 'currency', 'renminbi'] [{'concept': 'designation for an administrative territorial entity'}, 'currency', 'Netherlands Antillean guilder']
SELECT DISTINCT ?y WHERE { VALUES ( ?v ) { ( resource:Latvian_rublis ) ( resource:renminbi ) ( resource:Transnistrian_ruble ) } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:currency ?v }
[]
Clarification
Simple Question|Single Entity|Indirect
Q211
P163
Q14660
USER
What is associated with that administrative territory ?
(Q211,P163,c(Q14660))
action filter_type
action find
entity Q211
relation P163
type Q14660
['Q211', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?v WHERE { resource:Q211 property:P163 ?v . ?v rdf:type ontology:Q14660 }
Latvia
action filter_type
action find
entity Latvia
relation flag
type flag
['Latvia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?v WHERE { resource:Latvia property:flag ?v . ?v rdf:type ontology:flag }
[]
flag
Clarification for simple ques.
Q29999
SYSTEM
Did you mean Kingdom of the Netherlands ?
Q211 Q148 Q29999
(Q211,P163,c(Q14660)) (Q148,P163,c(Q14660)) (Q29999,P163,c(Q14660))
[ANSWER]
['Q211', 'P163', {'concept': 'Q14660'}] ['Q148', 'P163', {'concept': 'Q14660'}] ['Q29999', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?v WHERE { resource:Q211 property:P163 ?v . ?v rdf:type ontology:Q14660 }
Latvia People's Republic of China Kingdom of the Netherlands
Did you mean Kingdom of the Netherlands ?
Kingdom of the Netherlands
['Latvia', 'flag', {'concept': 'flag'}] ["People's Republic of China", 'flag', {'concept': 'flag'}] ['Kingdom of the Netherlands', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?v WHERE { resource:Latvia property:flag ?v . ?v rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
USER
No, I meant Latvia. Could you tell me the answer for that?
(Q211,P163,c(Q14660))
Q211
['Q211', 'P163', {'concept': 'Q14660'}]
['Latvia', 'flag', {'concept': 'flag'}]
[]
Q130449
SYSTEM
Flag of Latvia
Q130449
(Q211,P163,c(Q14660))
action filter_type
action find
entity Q211
relation P163
type Q14660
Union [ANSWER] is associated with that administrative territory
['Q211', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?v WHERE { resource:Q211 property:P163 ?v . ?v rdf:type ontology:Q14660 }
Flag of Latvia
Union Flag of Latvia is associated with that administrative territory
Flag of Latvia
action filter_type
action find
entity Latvia
relation flag
type flag
['Latvia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?v WHERE { resource:Latvia property:flag ?v . ?v rdf:type ontology:flag }
[]