Simple Question (Direct)
Simple Question
Q7294901
P172
Q2472587
USER
Which people does Rashid Johnson have as ethnic origin ?
(Q7294901,P172,c(Q2472587))
action filter_type
action find
entity Q7294901
relation P172
type Q2472587
['Q7294901', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?h WHERE { resource:Q7294901 property:P172 ?h . ?h rdf:type ontology:Q2472587 }
Rashid Johnson
action filter_type
action find
entity Rashid Johnson
relation ethnic group
type people
['Rashid Johnson', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?h WHERE { resource:Rashid_Johnson property:ethnic_group ?h . ?h rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q7294901,P172,c(Q2472587))
action filter_type
action find
entity Q7294901
relation P172
type Q2472587
Rashid Johnson has included [ANSWER] as ethnic origin
['Q7294901', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?h WHERE { resource:Q7294901 property:P172 ?h . ?h rdf:type ontology:Q2472587 }
African Americans
Rashid Johnson has included African Americans as ethnic origin
African Americans
action filter_type
action find
entity Rashid Johnson
relation ethnic group
type people
['Rashid Johnson', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?h WHERE { resource:Rashid_Johnson property:ethnic_group ?h . ?h rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7294901
P27
Q15617994
USER
Which administrative territory is Rashid Johnson an inhabitant of ?
(Q7294901,P27,c(Q15617994))
action filter_type
action find
entity Q7294901
relation P27
type Q15617994
['Q7294901', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q7294901 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Rashid Johnson
action filter_type
action find
entity Rashid Johnson
relation country of citizenship
type designation for an administrative territorial entity
['Rashid Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Rashid_Johnson property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7294901,P27,c(Q15617994))
action filter_type
action find
entity Q7294901
relation P27
type Q15617994
[ANSWER] is Rashid Johnson an inhabitant of
['Q7294901', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q7294901 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
United States of America is Rashid Johnson an inhabitant of
United States of America
action filter_type
action find
entity Rashid Johnson
relation country of citizenship
type designation for an administrative territorial entity
['Rashid Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Rashid_Johnson property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P138
Q2221906
USER
Which geographic location is the origin of that administrative territory ?
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { resource:Q30 property:P138 ?s . ?s rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { resource:United_States_of_America property:named_after ?s . ?s rdf:type ontology:geographic_location }
[]
geographic location
Q828
SYSTEM
Americas
Q828
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
The [ANSWER] is the origin of that administrative territory
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { resource:Q30 property:P138 ?s . ?s rdf:type ontology:Q2221906 }
Americas
The Americas is the origin of that administrative territory
Americas
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { resource:United_States_of_America property:named_after ?s . ?s rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P530
Q15617994
USER
What administrative territories have diplomatic relationships with that one ?
(Q828,P530,c(Q15617994))
action filter_type
action find
entity Q30
relation P530
type Q15617994
['Q828', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q30 property:P530 ?r . ?r rdf:type ontology:Q15617994 }
United States of America
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['Americas', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:United_States_of_America property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q805 Q159 Q222 Q801 Q155 Q148 Q796 Q347 Q17 Q37 Q889 Q668 Q403 Q1011 Q38 Q414 Q953
(Q828,P530,c(Q15617994))
action filter_type
action find
entity Q30
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with that one
['Q828', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q30 property:P530 ?r . ?r rdf:type ontology:Q15617994 }
Yemen Russia Albania Israel Brazil People's Republic of China Iraq Liechtenstein Japan Lithuania Afghanistan India Serbia Cape Verde Italy Argentina Zambia
Italy, Brazil and Russia have diplomatic relationships with that one
Italy Brazil Russia
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['Americas', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:United_States_of_America property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P6
Q502895
USER
How many people are the head of government of United States of America ?
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q30 property:P6 ?r . ?r rdf:type ontology:Q502895 }
United States of America
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:United_States_of_America property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q30 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
44
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:United_States_of_America property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q204976
P6
Q502895
USER
And how about Kalundborg Municipality?
(Q204976,P6,c(Q502895))
action count
action filter_type
action find
entity Q204976
relation P6
type Q502895
['Q204976', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q204976 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Kalundborg Municipality
action count
action filter_type
action find
entity Kalundborg Municipality
relation head of government
type common name
['Kalundborg Municipality', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Kalundborg_Municipality property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q12321065 Q12006694 Q12326241
(Q204976,P6,c(Q502895))
action count
action filter_type
action find
entity Q204976
relation P6
type Q502895
[ANSWER]
['Q204976', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q204976 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Kaj Buch Jensen Tommy Dinesen Martin Damm
3
action count
action filter_type
action find
entity Kalundborg Municipality
relation head of government
type common name
['Kalundborg Municipality', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Kalundborg_Municipality property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5057090
Q502895
USER
And also tell me about Mărtiniș?
(Q5057090,P6,c(Q502895))
action count
action filter_type
action find
entity Q5057090
relation P6
type Q502895
['Q5057090', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q5057090 property:P6 ?x . ?x rdf:type ontology:Q502895 }
Mărtiniș
action count
action filter_type
action find
entity Mărtiniș
relation head of government
type common name
['Mărtiniș', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Mărtiniș property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
2
(Q5057090,P6,c(Q502895))
action count
action filter_type
action find
entity Q5057090
relation P6
type Q502895
[ANSWER]
['Q5057090', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q5057090 property:P6 ?x . ?x rdf:type ontology:Q502895 }
2
action count
action filter_type
action find
entity Mărtiniș
relation head of government
type common name
['Mărtiniș', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Mărtiniș property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q148
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with greater number of administrative territories than People's Republic of China ?
(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 Q148
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?l ) WHERE { ?q rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?q property:P530 ?d } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q148 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?v ) }
People's Republic of China
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 People's Republic of China
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 ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?l ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?d } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?v ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
7
Q801 Q805 Q142 Q159 Q155 Q30 Q38
(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 Q148
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?l ) WHERE { ?q rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?q property:P530 ?d } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q148 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?v ) }
Israel Yemen France Russia Brazil United States of America Italy
7
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 People's Republic of China
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 ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?l ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?d } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q784
P530
Q15617994 Q15617994
USER
And what about Dominica?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q784
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q784 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?v ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?o } }
Dominica
action count
action greater
action find_reverse_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 Dominica
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 ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Dominica property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?v ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q784
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q784 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?v ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?o } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
action count
action greater
action find_reverse_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 Dominica
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 ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Dominica property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?v ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]