Simple Question (Direct)
Simple Question
Q2020823
P39
Q12737077
USER
Which occupations were a position held by Olivier Dussopt ?
(Q2020823,P39,c(Q12737077))
action filter_type
action find
entity Q2020823
relation P39
type Q12737077
['Q2020823', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q2020823 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Olivier Dussopt
action filter_type
action find
entity Olivier Dussopt
relation position held
type occupation
['Olivier Dussopt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Olivier_Dussopt property:position_held ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q16886136 Q382617 Q3044918
SYSTEM
conseiller régional, maire, member of the French National Assembly
Q16886136 Q382617 Q3044918
(Q2020823,P39,c(Q12737077))
action filter_type
action find
entity Q2020823
relation P39
type Q12737077
[ANSWERS]
['Q2020823', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q2020823 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
conseiller régional maire member of the French National Assembly
The conseiller régional, maire and member of the French National Assembly were a position held by Olivier Dussopt
conseiller régional maire member of the French National Assembly
action filter_type
action find
entity Olivier Dussopt
relation position held
type occupation
['Olivier Dussopt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Olivier_Dussopt property:position_held ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16886136 Q382617 Q3044918
P17
Q15617994
USER
Which administrative territories do conseiller régional, maire and member of the French National Assembly belong to ?
(Q16886136,P17,c(Q15617994)) (Q382617,P17,c(Q15617994)) (Q3044918,P17,c(Q15617994))
action union
action filter_type
action find
entity Q16886136
relation P17
type Q15617994
action filter_type
action find
entity Q382617
relation P17
type Q15617994
action filter_type
action find
entity Q3044918
relation P17
type Q15617994
['Q16886136', 'P17', {'concept': 'Q15617994'}] ['Q382617', 'P17', {'concept': 'Q15617994'}] ['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?a ) { ( resource:Q16886136 ) ( resource:Q382617 ) } . ?a property:P17 ?q }
conseiller régional maire member of the French National Assembly
action union
action filter_type
action find
entity conseiller régional
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity maire
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity member of the French National Assembly
relation country
type designation for an administrative territorial entity
['conseiller régional', 'country', {'concept': 'designation for an administrative territorial entity'}] ['maire', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?a ) { ( resource:conseiller_régional ) ( resource:maire ) } . ?a property:country ?q }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q16886136,P17,c(Q15617994)) (Q382617,P17,c(Q15617994)) (Q3044918,P17,c(Q15617994))
action union
action filter_type
action find
entity Q16886136
relation P17
type Q15617994
action filter_type
action find
entity Q382617
relation P17
type Q15617994
action filter_type
action find
entity Q3044918
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] conseiller régional, maire and member of the French National Assembly belong to
['Q16886136', 'P17', {'concept': 'Q15617994'}] ['Q382617', 'P17', {'concept': 'Q15617994'}] ['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?a ) { ( resource:Q16886136 ) ( resource:Q382617 ) } . ?a property:P17 ?q }
France France France
France, France and France conseiller régional, maire and member of the French National Assembly belong to
France France France
action union
action filter_type
action find
entity conseiller régional
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity maire
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity member of the French National Assembly
relation country
type designation for an administrative territorial entity
['conseiller régional', 'country', {'concept': 'designation for an administrative territorial entity'}] ['maire', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?a ) { ( resource:conseiller_régional ) ( resource:maire ) } . ?a property:country ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2020823
P106
Q12737077
USER
What is the job of Olivier Dussopt ?
(Q2020823,P106,c(Q12737077))
action filter_type
action find
entity Q2020823
relation P106
type Q12737077
['Q2020823', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q2020823 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Olivier Dussopt
action filter_type
action find
entity Olivier Dussopt
relation occupation
type occupation
['Olivier Dussopt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Olivier_Dussopt property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2020823,P106,c(Q12737077))
action filter_type
action find
entity Q2020823
relation P106
type Q12737077
The job of Olivier Dussopt is a [ANSWER]
['Q2020823', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q2020823 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
politician
The job of Olivier Dussopt is a politician
politician
action filter_type
action find
entity Olivier Dussopt
relation occupation
type occupation
['Olivier Dussopt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Olivier_Dussopt property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2020823
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q2020823
relation P27
type Q15617994
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q2020823 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Olivier Dussopt
action filter_type
action find
entity Olivier Dussopt
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Olivier_Dussopt property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q2020823
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q2020823 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
France
That person belongs to the France
France
action filter_type
action find
entity Olivier Dussopt
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Olivier_Dussopt property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with atmost 35 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 35
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:P530 ?c . ?z rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?b <= 35 ) }
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 35
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:diplomatic_relation ?c . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?b <= 35 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q230 Q159
SYSTEM
United States of America, Georgia, Russia
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 35
[ANSWERS] have a diplomatic relationship with atmost 35 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:P530 ?c . ?z rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?b <= 35 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
United States of America, Georgia and Russia have a diplomatic relationship with atmost 35 administrative territories
United States of America Georgia Russia
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 35
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:diplomatic_relation ?c . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?b <= 35 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30 Q230 Q159
P30
Q2221906
USER
Which geographic locations are those administrative territories situated in ?
(Q30,P30,c(Q2221906)) (Q230,P30,c(Q2221906)) (Q159,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q30', 'P30', {'concept': 'Q2221906'}] ['Q230', 'P30', {'concept': 'Q2221906'}] ['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2221906 . ?n property:P30 ?r . VALUES ( ?n ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
United States of America Georgia Russia
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}] ['Georgia', 'continent', {'concept': 'geographic location'}] ['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:geographic_location . ?n property:continent ?r . VALUES ( ?n ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
geographic location
Q48 Q46 Q46
SYSTEM
Europe for 2nd, 3rd, Asia for 1st
Q538 Q49 Q46 Q5401 Q46 Q5401 Q48
(Q30,P30,c(Q2221906)) (Q230,P30,c(Q2221906)) (Q159,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
[ANSWERS]
['Q30', 'P30', {'concept': 'Q2221906'}] ['Q230', 'P30', {'concept': 'Q2221906'}] ['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2221906 . ?n property:P30 ?r . VALUES ( ?n ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
Oceania North America Europe Eurasia Europe Eurasia Asia
Those administrative territories are situated in Asia, Europe and Europe
Asia Europe Europe
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}] ['Georgia', 'continent', {'concept': 'geographic location'}] ['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:geographic_location . ?n property:continent ?r . VALUES ( ?n ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]