Simple Question (Direct)
Simple Question
Q1018617
P6
Q502895
USER
Which person is the head of government of Faucon-du-Caire ?
(Q1018617,P6,c(Q502895))
action filter_type
action find
entity Q1018617
relation P6
type Q502895
['Q1018617', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1018617 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Faucon-du-Caire
action filter_type
action find
entity Faucon-du-Caire
relation head of government
type common name
['Faucon-du-Caire', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Faucon-du-Caire property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
common name
Q2865307
SYSTEM
Arthur Richier
Q2865307
(Q1018617,P6,c(Q502895))
action filter_type
action find
entity Q1018617
relation P6
type Q502895
[ANSWER] is the head of government of Faucon-du-Caire
['Q1018617', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1018617 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Arthur Richier
Arthur Richier is the head of government of Faucon-du-Caire
Arthur Richier
action filter_type
action find
entity Faucon-du-Caire
relation head of government
type common name
['Faucon-du-Caire', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Faucon-du-Caire property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2865307
P39
Q12737077
USER
What was the position held by that person ?
(Q2865307,P39,c(Q12737077))
action filter_type
action find
entity Q2865307
relation P39
type Q12737077
['Q2865307', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q2865307 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Arthur Richier
action filter_type
action find
entity Arthur Richier
relation position held
type occupation
['Arthur Richier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Arthur_Richier property:position_held ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q382617
SYSTEM
maire
Q382617
(Q2865307,P39,c(Q12737077))
action filter_type
action find
entity Q2865307
relation P39
type Q12737077
The position held by that person was the [ANSWER]
['Q2865307', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q2865307 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
maire
The position held by that person was the maire
maire
action filter_type
action find
entity Arthur Richier
relation position held
type occupation
['Arthur Richier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Arthur_Richier property:position_held ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2865307
P19
Q20667921
USER
Which french administrative division was that person born in ?
(Q382617,P19,c(Q20667921))
action filter_type
action find
entity Q2865307
relation P19
type Q20667921
['Q382617', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q2865307 property:P19 ?a . ?a rdf:type ontology:Q20667921 }
Arthur Richier
action filter_type
action find
entity Arthur Richier
relation place of birth
type type of french administrative division
['maire', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Arthur_Richier property:place_of_birth ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1018617
SYSTEM
Faucon-du-Caire
Q1018617
(Q382617,P19,c(Q20667921))
action filter_type
action find
entity Q2865307
relation P19
type Q20667921
That person was born in [ANSWER]
['Q382617', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q2865307 property:P19 ?a . ?a rdf:type ontology:Q20667921 }
Faucon-du-Caire
That person was born in Faucon-du-Caire
Faucon-du-Caire
action filter_type
action find
entity Arthur Richier
relation place of birth
type type of french administrative division
['maire', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Arthur_Richier property:place_of_birth ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1018617
P17
Q15617994
USER
How many administrative territories are Faucon-du-Caire present in ?
(Q1018617,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1018617
relation P17
type Q15617994
['Q1018617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Q1018617 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Faucon-du-Caire
action count
action filter_type
action find
entity Faucon-du-Caire
relation country
type designation for an administrative territorial entity
['Faucon-du-Caire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Faucon-du-Caire property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q1018617,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1018617
relation P17
type Q15617994
[ANSWER]
['Q1018617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Q1018617 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Faucon-du-Caire
relation country
type designation for an administrative territorial entity
['Faucon-du-Caire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Faucon-du-Caire property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1018617
P17
Q15617994
USER
Which administrative territory does that french administrative division belong to ?
action filter_type
action find
entity Q1018617
relation P17
type Q15617994
SELECT DISTINCT ?u WHERE { resource:Q1018617 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Faucon-du-Caire
action filter_type
action find
entity Faucon-du-Caire
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?u WHERE { resource:Faucon-du-Caire property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
action filter_type
action find
entity Q1018617
relation P17
type Q15617994
That french administrative division belongs to the [ANSWER]
SELECT DISTINCT ?u WHERE { resource:Q1018617 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
France
That french administrative division belongs to the France
France
action filter_type
action find
entity Faucon-du-Caire
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?u WHERE { resource:Faucon-du-Caire property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q145 Q524280
P47
Q15617994
USER
Is France bordered by United Kingdom and Reckendorf ?
(Q142,P47,Q145) (Q142,P47,Q524280)
action is_in
entity Q142
action intersection
action find_reverse
entity Q145
relation P47
action find_reverse
entity Q524280
relation P47
['Q142', 'P47', 'Q145'] ['Q142', 'P47', 'Q524280']
ASK WHERE { resource:Q142 property:P47 resource:Q145 . resource:Q142 property:P47 resource:Q524280 }
France United Kingdom Reckendorf
action is_in
entity France
action intersection
action find_reverse
entity United Kingdom
relation shares border with
action find_reverse
entity Reckendorf
relation shares border with
['France', 'shares border with', 'United Kingdom'] ['France', 'shares border with', 'Reckendorf']
ASK WHERE { resource:France property:shares_border_with resource:United_Kingdom . resource:France property:shares_border_with resource:Reckendorf }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q142,P47,Q145) (Q142,P47,Q524280)
action is_in
entity Q142
action intersection
action find_reverse
entity Q145
relation P47
action find_reverse
entity Q524280
relation P47
[ANSWER]
['Q142', 'P47', 'Q145'] ['Q142', 'P47', 'Q524280']
ASK WHERE { resource:Q142 property:P47 resource:Q145 . resource:Q142 property:P47 resource:Q524280 }
YES and NO respectively
action is_in
entity France
action intersection
action find_reverse
entity United Kingdom
relation shares border with
action find_reverse
entity Reckendorf
relation shares border with
['France', 'shares border with', 'United Kingdom'] ['France', 'shares border with', 'Reckendorf']
ASK WHERE { resource:France property:shares_border_with resource:United_Kingdom . resource:France property:shares_border_with resource:Reckendorf }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1019
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with around the same number of administrative territories as Madagascar ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1019
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?e ) WHERE { ?a property:P530 ?q . ?a rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Q1019 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?h ) }
Madagascar
action approx
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 Madagascar
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?e ) WHERE { ?a property:diplomatic_relation ?q . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Madagascar property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?h ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1019
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with around the same number of administrative territories as Madagascar
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?e ) WHERE { ?a property:P530 ?q . ?a rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Q1019 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?h ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China are known to have diplomatic connections with around the same number of administrative territories as Madagascar
Netherlands Poland People's Republic of China
action approx
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 Madagascar
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?e ) WHERE { ?a property:diplomatic_relation ?q . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Madagascar property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?h ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q55 Q36 Q148
P30
Q2221906
USER
Which geographic locations are Netherlands, Poland and People's Republic of China located in ?
(Q55,P30,c(Q2221906)) (Q36,P30,c(Q2221906)) (Q148,P30,c(Q2221906))
action union
action filter_type
action find
entity Q55
relation P30
type Q2221906
action filter_type
action find
entity Q36
relation P30
type Q2221906
action filter_type
action find
entity Q148
relation P30
type Q2221906
['Q55', 'P30', {'concept': 'Q2221906'}] ['Q36', 'P30', {'concept': 'Q2221906'}] ['Q148', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { { resource:Q55 property:P30 ?v . ?v rdf:type ontology:Q2221906 } UNION { resource:Q36 property:P30 ?v . ?v rdf:type ontology:Q2221906 } }
Netherlands Poland People's Republic of China
action union
action filter_type
action find
entity Netherlands
relation continent
type geographic location
action filter_type
action find
entity Poland
relation continent
type geographic location
action filter_type
action find
entity People's Republic of China
relation continent
type geographic location
['Netherlands', 'continent', {'concept': 'geographic location'}] ['Poland', 'continent', {'concept': 'geographic location'}] ["People's Republic of China", 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { { resource:Netherlands property:continent ?v . ?v rdf:type ontology:geographic_location } UNION { resource:Poland property:continent ?v . ?v rdf:type ontology:geographic_location } }
[]
geographic location
Q46 Q46 Q48
SYSTEM
Europe for 1st, 2nd, Asia for 3rd
Q46 Q46 Q48
(Q55,P30,c(Q2221906)) (Q36,P30,c(Q2221906)) (Q148,P30,c(Q2221906))
action union
action filter_type
action find
entity Q55
relation P30
type Q2221906
action filter_type
action find
entity Q36
relation P30
type Q2221906
action filter_type
action find
entity Q148
relation P30
type Q2221906
[ANSWERS]
['Q55', 'P30', {'concept': 'Q2221906'}] ['Q36', 'P30', {'concept': 'Q2221906'}] ['Q148', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { { resource:Q55 property:P30 ?v . ?v rdf:type ontology:Q2221906 } UNION { resource:Q36 property:P30 ?v . ?v rdf:type ontology:Q2221906 } }
Europe Europe Asia
Netherlands , Poland and People's Republic of China are located in Central Europe, Europe and Asia
Europe Europe Asia
action union
action filter_type
action find
entity Netherlands
relation continent
type geographic location
action filter_type
action find
entity Poland
relation continent
type geographic location
action filter_type
action find
entity People's Republic of China
relation continent
type geographic location
['Netherlands', 'continent', {'concept': 'geographic location'}] ['Poland', 'continent', {'concept': 'geographic location'}] ["People's Republic of China", 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { { resource:Netherlands property:continent ?v . ?v rdf:type ontology:geographic_location } UNION { resource:Poland property:continent ?v . ?v rdf:type ontology:geographic_location } }
[]