Simple Question (Direct)
Simple Question
Q1606164
P21
Q290
USER
What is the sex of Henriette Gonnermann ?
(Q1606164,P21,c(Q290))
action filter_type
action find
entity Q1606164
relation P21
type Q290
['Q1606164', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q1606164 property:P21 ?x . ?x rdf:type ontology:Q290 }
Henriette Gonnermann
action filter_type
action find
entity Henriette Gonnermann
relation gender
type sex
['Henriette Gonnermann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Henriette_Gonnermann property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1606164,P21,c(Q290))
action filter_type
action find
entity Q1606164
relation P21
type Q290
The sex of Henriette Gonnermann is the [ANSWER]
['Q1606164', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q1606164 property:P21 ?x . ?x rdf:type ontology:Q290 }
female
The sex of Henriette Gonnermann is the female
female
action filter_type
action find
entity Henriette Gonnermann
relation gender
type sex
['Henriette Gonnermann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Henriette_Gonnermann property:gender ?x . ?x rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q27182430 Q1606164
P27
Q1048835
USER
Which political territories are the native countriesof Henriette Gonnermann or P. Ball ?
OR((Q1606164,P27,c(Q1048835)), (Q27182430,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1606164
relation P27
action find
entity Q27182430
relation P27
type Q1048835
{'OR': [['Q1606164', 'P27', {'concept': 'Q1048835'}], ['Q27182430', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { { ?z property:P27 ?q . VALUES ( ?z ) { ( resource:Q27182430 ) ( resource:Q1606164 ) } } . ?q rdf:type ontology:Q1048835 }
P. Ball Henriette Gonnermann
action filter_type
action union
action find
entity Henriette Gonnermann
relation country of citizenship
action find
entity P. Ball
relation country of citizenship
type political territorial entity
{'OR': [['Henriette Gonnermann', 'country of citizenship', {'concept': 'political territorial entity'}], ['P. Ball', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { ?z property:country_of_citizenship ?q . VALUES ( ?z ) { ( resource:P._Ball ) ( resource:Henriette_Gonnermann ) } } . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q778
SYSTEM
Germany, The Bahamas
Q183 Q778
OR((Q1606164,P27,c(Q1048835)), (Q27182430,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1606164
relation P27
action find
entity Q27182430
relation P27
type Q1048835
[ANSWERS] are the native countriesof Henriette Gonnermann or P. Ball
{'OR': [['Q1606164', 'P27', {'concept': 'Q1048835'}], ['Q27182430', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { { ?z property:P27 ?q . VALUES ( ?z ) { ( resource:Q27182430 ) ( resource:Q1606164 ) } } . ?q rdf:type ontology:Q1048835 }
Germany The Bahamas
Germany and The Bahamas are the native countriesof Henriette Gonnermann or P. Ball
Germany The Bahamas
action filter_type
action union
action find
entity Henriette Gonnermann
relation country of citizenship
action find
entity P. Ball
relation country of citizenship
type political territorial entity
{'OR': [['Henriette Gonnermann', 'country of citizenship', {'concept': 'political territorial entity'}], ['P. Ball', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { ?z property:country_of_citizenship ?q . VALUES ( ?z ) { ( resource:P._Ball ) ( resource:Henriette_Gonnermann ) } } . ?q rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q183
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Germany ?
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Q183 property:P530 ?v . ?v rdf:type ontology:Q15617994 }
Germany
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Germany property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
124
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Q183 property:P530 ?v . ?v rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
124
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Germany property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q148
P530
Q15617994
USER
And also tell me about People's Republic of China?
(Q148,P530,c(Q15617994))
action count
action filter_type
action find
entity Q148
relation P530
type Q15617994
['Q148', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q148 property:P530 ?r }
People's Republic of China
action count
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:People's_Republic_of_China property:diplomatic_relation ?r }
[]
designation for an administrative territorial entity
SYSTEM
10
Q711 Q159 Q801 Q155 Q1011 Q30 Q34020 Q805 Q403 Q38
(Q148,P530,c(Q15617994))
action count
action filter_type
action find
entity Q148
relation P530
type Q15617994
[ANSWER]
['Q148', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q148 property:P530 ?r }
Mongolia Russia Israel Brazil Cape Verde United States of America Niue Yemen Serbia Italy
10
action count
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:People's_Republic_of_China property:diplomatic_relation ?r }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q184
Q15617994
USER
And what about Belarus?
(Q184,P530,c(Q15617994))
action count
action filter_type
action find
entity Q184
relation P530
type Q15617994
['Q184', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q184 property:P530 ?s }
Belarus
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belarus property:diplomatic_relation ?s }
[]
designation for an administrative territorial entity
SYSTEM
37
(Q184,P530,c(Q15617994))
action count
action filter_type
action find
entity Q184
relation P530
type Q15617994
[ANSWER]
['Q184', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q184 property:P530 ?s }
37
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belarus property:diplomatic_relation ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P361
Q2221906
USER
Which geographic locations are Germany a component of ?
(Q183,P361,c(Q2221906))
action filter_type
action find
entity Q183
relation P361
type Q2221906
['Q183', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q183 property:P361 ?k . ?k rdf:type ontology:Q2221906 }
Germany
action filter_type
action find
entity Germany
relation part of
type geographic location
['Germany', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Germany property:part_of ?k . ?k rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q27509
SYSTEM
Europe, Central Europe
Q46 Q27509
(Q183,P361,c(Q2221906))
action filter_type
action find
entity Q183
relation P361
type Q2221906
[ANSWERS]
['Q183', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q183 property:P361 ?k . ?k rdf:type ontology:Q2221906 }
Europe Central Europe
Which geographic locations are Germany a component of
Europe Central Europe
action filter_type
action find
entity Germany
relation part of
type geographic location
['Germany', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Germany property:part_of ?k . ?k rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q183
Q56061
USER
And which administrative territory?
(Q183,P361,c(Q56061))
action filter_type
action find
entity Q183
relation P361
type Q56061
['Q183', 'P361', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q183 property:P361 ?f . ?f rdf:type ontology:Q56061 }
Germany
action filter_type
action find
entity Germany
relation part of
type administrative territorial entity
['Germany', 'part of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Germany property:part_of ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q183,P361,c(Q56061))
action filter_type
action find
entity Q183
relation P361
type Q56061
[ANSWER]
['Q183', 'P361', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q183 property:P361 ?f . ?f rdf:type ontology:Q56061 }
European Union
European Union
action filter_type
action find
entity Germany
relation part of
type administrative territorial entity
['Germany', 'part of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Germany property:part_of ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q458 Q34020
P530
Q15617994
USER
Does Niue have a diplomatic relationship with that administrative territory ?
(Q458,P530,Q34020)
action is_in
entity Q34020
action find
entity Q458
relation P530
['Q458', 'P530', 'Q34020']
ASK WHERE { resource:Q458 property:P530 resource:Q34020 }
European Union Niue
action is_in
entity Niue
action find
entity European Union
relation diplomatic relation
['European Union', 'diplomatic relation', 'Niue']
ASK WHERE { resource:European_Union property:diplomatic_relation resource:Niue }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q458,P530,Q34020)
action is_in
entity Q34020
action find
entity Q458
relation P530
[ANSWER]
['Q458', 'P530', 'Q34020']
ASK WHERE { resource:Q458 property:P530 resource:Q34020 }
Yes
action is_in
entity Niue
action find
entity European Union
relation diplomatic relation
['European Union', 'diplomatic relation', 'Niue']
ASK WHERE { resource:European_Union property:diplomatic_relation resource:Niue }
[]