Simple Question (Direct)
Simple Question
Q3385735
P39
Q12737077
USER
What were the positions for which Pierre Laguilhon were appointed ?
(Q3385735,P39,c(Q12737077))
action filter_type
action find
entity Q3385735
relation P39
type Q12737077
['Q3385735', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3385735 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Pierre Laguilhon
action filter_type
action find
entity Pierre Laguilhon
relation position held
type occupation
['Pierre Laguilhon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Pierre_Laguilhon property:position_held ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q382617 Q3044918
SYSTEM
maire, member of the French National Assembly
Q382617 Q3044918
(Q3385735,P39,c(Q12737077))
action filter_type
action find
entity Q3385735
relation P39
type Q12737077
[ANSWERS]
['Q3385735', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3385735 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
maire member of the French National Assembly
The maire and member of the French National Assembly
maire member of the French National Assembly
action filter_type
action find
entity Pierre Laguilhon
relation position held
type occupation
['Pierre Laguilhon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Pierre_Laguilhon property:position_held ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3044918
P106
Q502895
USER
Which person has the profession of member of the French National Assembly ?
(c(Q502895),P106,Q3044918)
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?s WHERE { ?s property:P106 resource:Q3044918 . ?s rdf:type ontology:Q502895 }
member of the French National Assembly
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?s WHERE { ?s property:occupation resource:member_of_the_French National_Assembly . ?s rdf:type ontology:common_name }
[]
common name
Q3085896
SYSTEM
François Thibault de Ménonville
Q3085896
(c(Q502895),P106,Q3044918)
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
De [ANSWER] has the profession of member of the French National Assembly
[{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?s WHERE { ?s property:P106 resource:Q3044918 . ?s rdf:type ontology:Q502895 }
François Thibault de Ménonville
De François Thibault de Ménonville has the profession of member of the French National Assembly
François Thibault de Ménonville
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?s WHERE { ?s property:occupation resource:member_of_the_French National_Assembly . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3044918
P1001
Q15617994
USER
Which administrative territory comes under the jurisdiction of member of the French National Assembly ?
(Q3044918,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
['Q3044918', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3044918 property:P1001 ?t . ?t rdf:type ontology:Q15617994 }
member of the French National Assembly
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3044918,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
[ANSWER] comes under the jurisdiction of member of the French National Assembly
['Q3044918', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3044918 property:P1001 ?t . ?t rdf:type ontology:Q15617994 }
France
France comes under the jurisdiction of member of the French National Assembly
France
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23901409
Q15617994
USER
And how about Minister of Legal Order?
(Q23901409,P1001,c(Q15617994))
action filter_type
action find
entity Q23901409
relation P1001
type Q15617994
['Q23901409', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q23901409 property:P1001 ?t . ?t rdf:type ontology:Q15617994 }
Minister of Legal Order
action filter_type
action find
entity Minister of Legal Order
relation applies to jurisdiction
type designation for an administrative territorial entity
['Minister of Legal Order', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Minister_of_Legal_Order property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q23901409,P1001,c(Q15617994))
action filter_type
action find
entity Q23901409
relation P1001
type Q15617994
[ANSWER]
['Q23901409', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q23901409 property:P1001 ?t . ?t rdf:type ontology:Q15617994 }
Greece
Greece
action filter_type
action find
entity Minister of Legal Order
relation applies to jurisdiction
type designation for an administrative territorial entity
['Minister of Legal Order', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Minister_of_Legal_Order property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the origin of less number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find_reverse
entity Q41
relation P495
type Q2031291
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2031291 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:Q2031291 . ?j property:P495 resource:Q41 } } . FILTER ( ?e < ?d ) }
action less
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find_reverse
entity Greece
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:release } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:release . ?j property:country_of_origin resource:Greece } } . FILTER ( ?e < ?d ) }
[]
designation for an administrative territorial entity release
Q230 Q953 Q184
SYSTEM
Georgia, Zambia, Belarus
Q805 Q804 Q800 Q1462 Q419 Q12536 Q262 Q783 Q265 Q37 Q36678 Q711 Q717 Q1460 Q399 Q398 Q403 Q657 Q45 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q244 Q811 Q153136 Q32 Q924 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q1041 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find_reverse
entity Q41
relation P495
type Q2031291
[ANSWERS] are the origin of less number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2031291 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:Q2031291 . ?j property:P495 resource:Q41 } } . FILTER ( ?e < ?d ) }
Yemen Panama Costa Rica Sardinia Peru Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Mongolia Venezuela Sicily Armenia Bahrain Serbia Chad Portugal El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Barbados Nicaragua Habsburg Empire Luxembourg Tanzania Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Somalia Sierra Leone Senegal Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
Georgia, Zambia and Belarus are the origin of less number of releases than that administrative territory
Georgia Zambia Belarus
action less
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find_reverse
entity Greece
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:release } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:release . ?j property:country_of_origin resource:Greece } } . FILTER ( ?e < ?d ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q602405
P530
Q1048835
USER
Do Placas have ambassadorial relations with those administrative territories ?
(Q602405,P530,Q230) (Q602405,P530,Q953) (Q602405,P530,Q184)
action is_in
entity prev_answer
action find
entity Q602405
relation P530
['Q602405', 'P530', 'Q230'] ['Q602405', 'P530', 'Q953'] ['Q602405', 'P530', 'Q184']
ASK WHERE { resource:Q602405 property:P530 ?d . VALUES ( ?d ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q800 ) } }
Placas
action is_in
entity prev_answer
action find
entity Placas
relation diplomatic relation
['Placas', 'diplomatic relation', 'Georgia'] ['Placas', 'diplomatic relation', 'Zambia'] ['Placas', 'diplomatic relation', 'Belarus']
ASK WHERE { resource:Placas property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
NO
(Q602405,P530,Q230) (Q602405,P530,Q953) (Q602405,P530,Q184)
action is_in
entity prev_answer
action find
entity Q602405
relation P530
[ANSWER]
['Q602405', 'P530', 'Q230'] ['Q602405', 'P530', 'Q953'] ['Q602405', 'P530', 'Q184']
ASK WHERE { resource:Q602405 property:P530 ?d . VALUES ( ?d ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Placas
relation diplomatic relation
['Placas', 'diplomatic relation', 'Georgia'] ['Placas', 'diplomatic relation', 'Zambia'] ['Placas', 'diplomatic relation', 'Belarus']
ASK WHERE { resource:Placas property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q691
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with more number of administrative territories than Papua New Guinea ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?q > ?a ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q691 property:P530 ?o } } . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?q ) WHERE { ?j property:P530 ?h . ?j rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?j } }
Papua New Guinea
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?q > ?a ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Papua_New_Guinea property:diplomatic_relation ?o } } . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?q ) WHERE { ?j property:diplomatic_relation ?h . ?j rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q1000 Q40 Q781 Q778 Q183 Q408 Q769 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with more number of administrative territories than Papua New Guinea
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?q > ?a ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q691 property:P530 ?o } } . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?q ) WHERE { ?j property:P530 ?h . ?j rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?j } }
Gabon Austria Antigua and Barbuda The Bahamas Germany Australia Grenada Denmark Canada New Zealand Jamaica
Germany, Australia and Denmark have a diplomatic relationship with more number of administrative territories than Papua New Guinea
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?q > ?a ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Papua_New_Guinea property:diplomatic_relation ?o } } . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?q ) WHERE { ?j property:diplomatic_relation ?h . ?j rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]