Simple Question (Direct)
Simple Question
Q17518833
P27
Q15617994
USER
Which administrative territory is Leo Osaki an inhabitant of ?
(Q17518833,P27,c(Q15617994))
action filter_type
action find
entity Q17518833
relation P27
type Q15617994
['Q17518833', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q17518833 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Leo Osaki
action filter_type
action find
entity Leo Osaki
relation country of citizenship
type designation for an administrative territorial entity
['Leo Osaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Leo_Osaki property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q17518833,P27,c(Q15617994))
action filter_type
action find
entity Q17518833
relation P27
type Q15617994
[ANSWER] is Leo Osaki an inhabitant of
['Q17518833', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q17518833 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
United States of America is Leo Osaki an inhabitant of
United States of America
action filter_type
action find
entity Leo Osaki
relation country of citizenship
type designation for an administrative territorial entity
['Leo Osaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Leo_Osaki property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17518833
P641
Q349
USER
Which sport was Leo Osaki a part of ?
(Q17518833,P641,c(Q349))
action filter_type
action find
entity Q17518833
relation P641
type Q349
['Q17518833', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q17518833 property:P641 ?y . ?y rdf:type ontology:Q349 }
Leo Osaki
action filter_type
action find
entity Leo Osaki
relation sport
type sport
['Leo Osaki', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Leo_Osaki property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q17518833,P641,c(Q349))
action filter_type
action find
entity Q17518833
relation P641
type Q349
Which sport was Leo Osaki a part of
['Q17518833', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q17518833 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
Which sport was Leo Osaki a part of
association football
action filter_type
action find
entity Leo Osaki
relation sport
type sport
['Leo Osaki', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Leo_Osaki property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P610
Q14524493
USER
Which terrain is the highest point 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 ?e WHERE { ?e rdf:type ontology:Q14524493 . resource:Q30 property:P610 ?e }
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 ?e WHERE { ?e rdf:type ontology:terrain . resource:United_States_of_America property:highest_point ?e }
[]
terrain
Q130018
SYSTEM
Denali
Q130018
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
[ANSWER] is the highest point of United States of America
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q14524493 . resource:Q30 property:P610 ?e }
Denali
Denali is the highest point of United States of America
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 ?e WHERE { ?e rdf:type ontology:terrain . resource:United_States_of_America property:highest_point ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P194
Q11204
USER
Which legislature is the legislative body for United States of America ?
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q11204 . resource:Q30 property:P194 ?f }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:legislature . resource:United_States_of_America property:legislative_body ?f }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
The [ANSWER] is the legislative body for United States of America
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q11204 . resource:Q30 property:P194 ?f }
United States Congress
The United States Congress is the legislative body for United States of America
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:legislature . resource:United_States_of_America property:legislative_body ?f }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1400 Q30
P194
Q11204
USER
Or Pennsylvania?
OR((Q30,P194,c(Q11204)), (Q1400,P194,c(Q11204)))
action filter_type
action union
action find
entity Q30
relation P194
action find
entity Q1400
relation P194
type Q11204
{'OR': [['Q30', 'P194', {'concept': 'Q11204'}], ['Q1400', 'P194', {'concept': 'Q11204'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q30 property:P194 ?i } UNION { resource:Q1400 property:P194 ?i } } . ?i rdf:type ontology:Q11204 }
Pennsylvania United States of America
action filter_type
action union
action find
entity United States of America
relation legislative body
action find
entity Pennsylvania
relation legislative body
type legislature
{'OR': [['United States of America', 'legislative body', {'concept': 'legislature'}], ['Pennsylvania', 'legislative body', {'concept': 'legislature'}]]}
SELECT DISTINCT ?i WHERE { { { resource:United_States_of_America property:legislative_body ?i } UNION { resource:Pennsylvania property:legislative_body ?i } } . ?i rdf:type ontology:legislature }
[]
legislature
Q2867077 Q11268
SYSTEM
Pennsylvania General Assembly, United States Congress
Q2867077 Q11268
OR((Q30,P194,c(Q11204)), (Q1400,P194,c(Q11204)))
action filter_type
action union
action find
entity Q30
relation P194
action find
entity Q1400
relation P194
type Q11204
[ANSWERS]
{'OR': [['Q30', 'P194', {'concept': 'Q11204'}], ['Q1400', 'P194', {'concept': 'Q11204'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q30 property:P194 ?i } UNION { resource:Q1400 property:P194 ?i } } . ?i rdf:type ontology:Q11204 }
Pennsylvania General Assembly United States Congress
Pennsylvania General Assembly United States Congress
action filter_type
action union
action find
entity United States of America
relation legislative body
action find
entity Pennsylvania
relation legislative body
type legislature
{'OR': [['United States of America', 'legislative body', {'concept': 'legislature'}], ['Pennsylvania', 'legislative body', {'concept': 'legislature'}]]}
SELECT DISTINCT ?i WHERE { { { resource:United_States_of_America property:legislative_body ?i } UNION { resource:Pennsylvania property:legislative_body ?i } } . ?i rdf:type ontology:legislature }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q96
P37
Q5962346 Q34770 Q15617994
USER
How many administrative territories are more number of classification schemes and languages the official language of than Mexico ?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action count
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q96
relation P37
type Q5962346
type Q34770
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?s ) WHERE { { ?c property:P37 ?x . ?c rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q5962346 } UNION { ?c property:P37 ?x . ?c rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q34770 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q96 property:P37 ?i . { { ?i rdf:type ontology:Q5962346 } UNION { ?i rdf:type ontology:Q34770 } } } } . FILTER ( ?s > ?k ) }
Mexico
action count
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Mexico
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?s ) WHERE { { ?c property:official_language ?x . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:classification_scheme } UNION { ?c property:official_language ?x . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:language } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Mexico property:official_language ?i . { { ?i rdf:type ontology:classification_scheme } UNION { ?i rdf:type ontology:language } } } } . FILTER ( ?s > ?k ) }
[]
classification scheme language designation for an administrative territorial entity
SYSTEM
2
Q29 Q750
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action count
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q96
relation P37
type Q5962346
type Q34770
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?s ) WHERE { { ?c property:P37 ?x . ?c rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q5962346 } UNION { ?c property:P37 ?x . ?c rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q34770 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q96 property:P37 ?i . { { ?i rdf:type ontology:Q5962346 } UNION { ?i rdf:type ontology:Q34770 } } } } . FILTER ( ?s > ?k ) }
Spain Bolivia
2
action count
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Mexico
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?s ) WHERE { { ?c property:official_language ?x . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:classification_scheme } UNION { ?c property:official_language ?x . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:language } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Mexico property:official_language ?i . { { ?i rdf:type ontology:classification_scheme } UNION { ?i rdf:type ontology:language } } } } . FILTER ( ?s > ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q863
P37
Q5962346 Q34770 Q15617994
USER
And what about Tajikistan?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action count
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q863
relation P37
type Q5962346
type Q34770
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?u rdf:type ?j } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { resource:Q863 property:P37 ?v . { { ?v rdf:type ontology:Q5962346 } UNION { ?v rdf:type ontology:Q34770 } } } } . FILTER ( ?a > ?n ) }
Tajikistan
action count
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Tajikistan
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?u rdf:type ?j } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { resource:Tajikistan property:official_language ?v . { { ?v rdf:type ontology:classification_scheme } UNION { ?v rdf:type ontology:language } } } } . FILTER ( ?a > ?n ) }
[]
classification scheme language designation for an administrative territorial entity
SYSTEM
86
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q34 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q20 Q1044 Q1042 Q27 Q29 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q750 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action count
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q863
relation P37
type Q5962346
type Q34770
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?u rdf:type ?j } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { resource:Q863 property:P37 ?v . { { ?v rdf:type ontology:Q5962346 } UNION { ?v rdf:type ontology:Q34770 } } } } . FILTER ( ?a > ?n ) }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Sweden Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Norway Sierra Leone Seychelles Ireland Spain Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Bolivia Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
86
action count
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Tajikistan
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?u rdf:type ?j } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { resource:Tajikistan property:official_language ?v . { { ?v rdf:type ontology:classification_scheme } UNION { ?v rdf:type ontology:language } } } } . FILTER ( ?a > ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11268
P355
Q895526
USER
Which authority organ is United States Congress the parent company of ?
(Q11268,P355,c(Q895526))
action filter_type
action find
entity Q11268
relation P355
type Q895526
['Q11268', 'P355', {'concept': 'Q895526'}]
SELECT DISTINCT ?d WHERE { resource:Q11268 property:P355 ?d . ?d rdf:type ontology:Q895526 }
United States Congress
action filter_type
action find
entity United States Congress
relation subsidiary
type authority organ
['United States Congress', 'subsidiary', {'concept': 'authority organ'}]
SELECT DISTINCT ?d WHERE { resource:United_States_Congress property:subsidiary ?d . ?d rdf:type ontology:authority_organ }
[]
authority organ
Q2928358
SYSTEM
United States Government Printing Office
Q2928358
(Q11268,P355,c(Q895526))
action filter_type
action find
entity Q11268
relation P355
type Q895526
The [ANSWER] is United States Congress the parent company of
['Q11268', 'P355', {'concept': 'Q895526'}]
SELECT DISTINCT ?d WHERE { resource:Q11268 property:P355 ?d . ?d rdf:type ontology:Q895526 }
United States Government Printing Office
The United States Government Printing Office is United States Congress the parent company of
United States Government Printing Office
action filter_type
action find
entity United States Congress
relation subsidiary
type authority organ
['United States Congress', 'subsidiary', {'concept': 'authority organ'}]
SELECT DISTINCT ?d WHERE { resource:United_States_Congress property:subsidiary ?d . ?d rdf:type ontology:authority_organ }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q608427
Q895526
USER
And what about United States Department of the Interior?
(Q608427,P355,c(Q895526))
action filter_type
action find
entity Q608427
relation P355
type Q895526
['Q608427', 'P355', {'concept': 'Q895526'}]
SELECT DISTINCT ?m WHERE { resource:Q608427 property:P355 ?m . ?m rdf:type ontology:Q895526 }
United States Department of the Interior
action filter_type
action find
entity United States Department of the Interior
relation subsidiary
type authority organ
['United States Department of the Interior', 'subsidiary', {'concept': 'authority organ'}]
SELECT DISTINCT ?m WHERE { resource:United_States_Department_of_the_Interior property:subsidiary ?m . ?m rdf:type ontology:authority_organ }
[]
authority organ
Q1010548 Q193755
SYSTEM
United States Bureau of Reclamation, United States Geological Survey
Q1010548 Q193755
(Q608427,P355,c(Q895526))
action filter_type
action find
entity Q608427
relation P355
type Q895526
[ANSWERS]
['Q608427', 'P355', {'concept': 'Q895526'}]
SELECT DISTINCT ?m WHERE { resource:Q608427 property:P355 ?m . ?m rdf:type ontology:Q895526 }
United States Bureau of Reclamation United States Geological Survey
United States Bureau of Reclamation United States Geological Survey
action filter_type
action find
entity United States Department of the Interior
relation subsidiary
type authority organ
['United States Department of the Interior', 'subsidiary', {'concept': 'authority organ'}]
SELECT DISTINCT ?m WHERE { resource:United_States_Department_of_the_Interior property:subsidiary ?m . ?m rdf:type ontology:authority_organ }
[]