Simple Question (Direct)
Simple Question
Q16633012
P19
Q15700808
USER
Where was Bill Halvorsen born ?
(Q16633012,P19,c(Q15700808))
action filter_type
action find
entity Q16633012
relation P19
type Q15700808
['Q16633012', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?g WHERE { resource:Q16633012 property:P19 ?g . ?g rdf:type ontology:Q15700808 }
Bill Halvorsen
action filter_type
action find
entity Bill Halvorsen
relation place of birth
type urban unit definition
['Bill Halvorsen', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?g WHERE { resource:Bill_Halvorsen property:place_of_birth ?g . ?g rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q1957597
SYSTEM
Målilla
Q1957597
(Q16633012,P19,c(Q15700808))
action filter_type
action find
entity Q16633012
relation P19
type Q15700808
Bill Halvorsen was born in [ANSWER]
['Q16633012', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?g WHERE { resource:Q16633012 property:P19 ?g . ?g rdf:type ontology:Q15700808 }
Målilla
Bill Halvorsen was born in Målilla
Målilla
action filter_type
action find
entity Bill Halvorsen
relation place of birth
type urban unit definition
['Bill Halvorsen', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?g WHERE { resource:Bill_Halvorsen property:place_of_birth ?g . ?g rdf:type ontology:urban_unit_definition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16633012
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q1957597,P27,c(Q15617994))
action filter_type
action find
entity Q16633012
relation P27
type Q15617994
['Q1957597', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q16633012 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Bill Halvorsen
action filter_type
action find
entity Bill Halvorsen
relation country of citizenship
type designation for an administrative territorial entity
['Målilla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Bill_Halvorsen property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q1957597,P27,c(Q15617994))
action filter_type
action find
entity Q16633012
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q1957597', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q16633012 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Sweden
The Sweden is the country of citizenship of that person
Sweden
action filter_type
action find
entity Bill Halvorsen
relation country of citizenship
type designation for an administrative territorial entity
['Målilla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Bill_Halvorsen property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q889
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with more number of administrative territories than Afghanistan ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q889
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?m ) WHERE { ?k rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 . ?k property:P530 ?c } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Q889 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?m > ?r ) }
Afghanistan
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Afghanistan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?m ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?c } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Afghanistan property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m > ?r ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
34
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q711 Q252 Q403 Q159 Q43 Q155 Q796 Q794 Q884 Q30 Q929 Q38 Q230 Q27 Q184 Q225 Q222 Q347 Q17 Q114 Q212 Q213 Q79 Q858 Q948 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q889
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?m ) WHERE { ?k rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 . ?k property:P530 ?c } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Q889 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?m > ?r ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Mongolia Indonesia Serbia Russia Turkey Brazil Iraq Iran South Korea United States of America Central African Republic Italy Georgia Ireland Belarus Bosnia and Herzegovina Albania Liechtenstein Japan Kenya Ukraine Czech Republic Egypt Syria Tunisia Cape Verde Zambia
34
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Afghanistan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?m ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?c } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Afghanistan property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m > ?r ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q889
P463
Q43229
USER
What were that administrative territory a member of ?
action filter_type
action find
entity Q889
relation P463
type Q43229
SELECT DISTINCT ?r WHERE { resource:Q889 property:P463 ?r . ?r rdf:type ontology:Q43229 }
Afghanistan
action filter_type
action find
entity Afghanistan
relation member of
type organization
SELECT DISTINCT ?r WHERE { resource:Afghanistan property:member_of ?r . ?r rdf:type ontology:organization }
[]
organization
Q191384 Q656801 Q899770
SYSTEM
International Bank for Reconstruction and Development, International Finance Corporation, International Centre for Settlement of Investment Disputes
Q191384 Q656801 Q899770 Q827525
action filter_type
action find
entity Q889
relation P463
type Q43229
[ANSWERS] a member of
SELECT DISTINCT ?r WHERE { resource:Q889 property:P463 ?r . ?r rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Finance Corporation International Centre for Settlement of Investment Disputes International Development Association
International Bank for Reconstruction and Development, International Finance Corporation and International Centre for Settlement of Investment Disputes a member of
International Bank for Reconstruction and Development International Finance Corporation International Centre for Settlement of Investment Disputes
action filter_type
action find
entity Afghanistan
relation member of
type organization
SELECT DISTINCT ?r WHERE { resource:Afghanistan property:member_of ?r . ?r rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q654522
P463
Q15617994
USER
Are Schallodenbach members of those organizations ?
(Q654522,P463,Q191384) (Q654522,P463,Q656801) (Q654522,P463,Q899770)
action is_in
entity prev_answer
action find
entity Q654522
relation P463
['Q654522', 'P463', 'Q191384'] ['Q654522', 'P463', 'Q656801'] ['Q654522', 'P463', 'Q899770']
ASK WHERE { VALUES ( ?k ) { ( resource:Q191384 ) ( resource:Q656801 ) ( resource:Q899770 ) } . resource:Q654522 property:P463 ?k }
Schallodenbach
action is_in
entity prev_answer
action find
entity Schallodenbach
relation member of
['Schallodenbach', 'member of', 'International Bank for Reconstruction and Development'] ['Schallodenbach', 'member of', 'International Finance Corporation'] ['Schallodenbach', 'member of', 'International Centre for Settlement of Investment Disputes']
ASK WHERE { VALUES ( ?k ) { ( resource:International_Bank_for_Reconstruction_and_Development ) ( resource:International_Finance_Corporation ) ( resource:International_Centre_for_Settlement_of_Investment_Disputes ) } . resource:Schallodenbach property:member_of ?k }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q654522,P463,Q191384) (Q654522,P463,Q656801) (Q654522,P463,Q899770)
action is_in
entity prev_answer
action find
entity Q654522
relation P463
[ANSWER]
['Q654522', 'P463', 'Q191384'] ['Q654522', 'P463', 'Q656801'] ['Q654522', 'P463', 'Q899770']
ASK WHERE { VALUES ( ?k ) { ( resource:Q191384 ) ( resource:Q656801 ) ( resource:Q899770 ) } . resource:Q654522 property:P463 ?k }
No
action is_in
entity prev_answer
action find
entity Schallodenbach
relation member of
['Schallodenbach', 'member of', 'International Bank for Reconstruction and Development'] ['Schallodenbach', 'member of', 'International Finance Corporation'] ['Schallodenbach', 'member of', 'International Centre for Settlement of Investment Disputes']
ASK WHERE { VALUES ( ?k ) { ( resource:International_Bank_for_Reconstruction_and_Development ) ( resource:International_Finance_Corporation ) ( resource:International_Centre_for_Settlement_of_Investment_Disputes ) } . resource:Schallodenbach property:member_of ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q166142 Q838948
USER
How many administrative territories are atleast 44 applications and works of art set in ?
(c(Q166142)|c(Q838948),P840,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
value 44
[[{'concept': 'Q166142'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { FILTER ( ?k >= 44 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) ?d WHERE { VALUES ( ?e ) { ( ontology:Q166142 ) ( ontology:Q838948 ) } . ?t rdf:type ?e } GROUP BY ?d } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
value 44
[[{'concept': 'application'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { FILTER ( ?k >= 44 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) ?d WHERE { VALUES ( ?e ) { ( ontology:application ) ( ontology:work_of_art ) } . ?t rdf:type ?e } GROUP BY ?d } }
[]
designation for an administrative territorial entity application work of art
SYSTEM
20
Q668 Q414 Q142 Q55 Q258 Q159 Q43 Q41 Q155 Q33 Q31 Q30 Q36 Q39 Q38 Q20 Q96 Q17 Q79 Q869
(c(Q166142)|c(Q838948),P840,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
value 44
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { FILTER ( ?k >= 44 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) ?d WHERE { VALUES ( ?e ) { ( ontology:Q166142 ) ( ontology:Q838948 ) } . ?t rdf:type ?e } GROUP BY ?d } }
India Argentina France Netherlands South Africa Russia Turkey Greece Brazil Finland Belgium United States of America Poland Switzerland Italy Norway Mexico Japan Egypt Thailand
20
action count
action atleast
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
value 44
[[{'concept': 'application'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { FILTER ( ?k >= 44 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) ?d WHERE { VALUES ( ?e ) { ( ontology:application ) ( ontology:work_of_art ) } . ?t rdf:type ?e } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q656801
P361
Q874405
USER
Which social group is International Finance Corporation a component of ?
(Q656801,P361,c(Q874405))
action filter_type
action find
entity Q656801
relation P361
type Q874405
['Q656801', 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { resource:Q656801 property:P361 ?m . ?m rdf:type ontology:Q874405 }
International Finance Corporation
action filter_type
action find
entity International Finance Corporation
relation part of
type social group
['International Finance Corporation', 'part of', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { resource:International_Finance_Corporation property:part_of ?m . ?m rdf:type ontology:social_group }
[]
social group
Q320863
SYSTEM
World Bank Group
Q320863
(Q656801,P361,c(Q874405))
action filter_type
action find
entity Q656801
relation P361
type Q874405
[ANSWER] is International Finance Corporation a component of
['Q656801', 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { resource:Q656801 property:P361 ?m . ?m rdf:type ontology:Q874405 }
World Bank Group
World Bank Group is International Finance Corporation a component of
World Bank Group
action filter_type
action find
entity International Finance Corporation
relation part of
type social group
['International Finance Corporation', 'part of', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { resource:International_Finance_Corporation property:part_of ?m . ?m rdf:type ontology:social_group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6759649
Q874405
USER
And also tell me about Margaret Lloyd George?
(Q6759649,P361,c(Q874405))
action filter_type
action find
entity Q6759649
relation P361
type Q874405
['Q6759649', 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ?l WHERE { resource:Q6759649 property:P361 ?l . ?l rdf:type ontology:Q874405 }
Margaret Lloyd George
action filter_type
action find
entity Margaret Lloyd George
relation part of
type social group
['Margaret Lloyd George', 'part of', {'concept': 'social group'}]
SELECT DISTINCT ?l WHERE { resource:Margaret_Lloyd_George property:part_of ?l . ?l rdf:type ontology:social_group }
[]
social group
Q19832359
SYSTEM
Lloyd George family
Q19832359
(Q6759649,P361,c(Q874405))
action filter_type
action find
entity Q6759649
relation P361
type Q874405
[ANSWER]
['Q6759649', 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ?l WHERE { resource:Q6759649 property:P361 ?l . ?l rdf:type ontology:Q874405 }
Lloyd George family
Lloyd George family
action filter_type
action find
entity Margaret Lloyd George
relation part of
type social group
['Margaret Lloyd George', 'part of', {'concept': 'social group'}]
SELECT DISTINCT ?l WHERE { resource:Margaret_Lloyd_George property:part_of ?l . ?l rdf:type ontology:social_group }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q19832359 Q6808694
P361
Q502895
USER
Is Megan Lloyd George a part of that social group ?
(Q6808694,P361,Q19832359)
action is_in
entity Q19832359
action find
entity Q6808694
relation P361
['Q6808694', 'P361', 'Q19832359']
ASK WHERE { resource:Q6808694 property:P361 resource:Q19832359 }
Lloyd George family Megan Lloyd George
action is_in
entity Lloyd George family
action find
entity Megan Lloyd George
relation part of
['Megan Lloyd George', 'part of', 'Lloyd George family']
ASK WHERE { resource:Megan_Lloyd_George property:part_of resource:Lloyd_George_family }
[]
common name
SYSTEM
YES
(Q6808694,P361,Q19832359)
action is_in
entity Q19832359
action find
entity Q6808694
relation P361
[ANSWER]
['Q6808694', 'P361', 'Q19832359']
ASK WHERE { resource:Q6808694 property:P361 resource:Q19832359 }
Yes
action is_in
entity Lloyd George family
action find
entity Megan Lloyd George
relation part of
['Megan Lloyd George', 'part of', 'Lloyd George family']
ASK WHERE { resource:Megan_Lloyd_George property:part_of resource:Lloyd_George_family }
[]