Simple Question (Direct)
Simple Question
Q3164934
P39
Q12737077
USER
What were the positions held by Jean-Claude Decagny ?
(Q3164934,P39,c(Q12737077))
action filter_type
action find
entity Q3164934
relation P39
type Q12737077
['Q3164934', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q3164934 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Jean-Claude Decagny
action filter_type
action find
entity Jean-Claude Decagny
relation position held
type occupation
['Jean-Claude Decagny', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Jean-Claude_Decagny property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q16886136 Q382617 Q3044918
SYSTEM
conseiller régional, maire, member of the French National Assembly
Q16886136 Q382617 Q3044918
(Q3164934,P39,c(Q12737077))
action filter_type
action find
entity Q3164934
relation P39
type Q12737077
[ANSWERS]
['Q3164934', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q3164934 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
conseiller régional maire member of the French National Assembly
The positions held by Jean-Claude Decagny were conseiller régional, maire and member of the French National Assembly
conseiller régional maire member of the French National Assembly
action filter_type
action find
entity Jean-Claude Decagny
relation position held
type occupation
['Jean-Claude Decagny', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Jean-Claude_Decagny property:position_held ?z . ?z 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 ?y WHERE { VALUES ( ?r ) { ( resource:Q16886136 ) ( resource:Q382617 ) } . ?r property:P17 ?y }
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 ?y WHERE { VALUES ( ?r ) { ( resource:conseiller_régional ) ( resource:maire ) } . ?r property:country ?y }
[]
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 ?y WHERE { VALUES ( ?r ) { ( resource:Q16886136 ) ( resource:Q382617 ) } . ?r property:P17 ?y }
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 ?y WHERE { VALUES ( ?r ) { ( resource:conseiller_régional ) ( resource:maire ) } . ?r property:country ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16886136
P1001
Q15617994
USER
Which administrative territory is linked to conseiller régional ?
(Q16886136,P1001,c(Q15617994))
action filter_type
action find
entity Q16886136
relation P1001
type Q15617994
['Q16886136', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q16886136 property:P1001 ?y . ?y rdf:type ontology:Q15617994 }
conseiller régional
action filter_type
action find
entity conseiller régional
relation applies to jurisdiction
type designation for an administrative territorial entity
['conseiller régional', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:conseiller_régional property:applies_to_jurisdiction ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q16886136,P1001,c(Q15617994))
action filter_type
action find
entity Q16886136
relation P1001
type Q15617994
[ANSWER] is linked to conseiller régional
['Q16886136', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q16886136 property:P1001 ?y . ?y rdf:type ontology:Q15617994 }
France
France is linked to conseiller régional
France
action filter_type
action find
entity conseiller régional
relation applies to jurisdiction
type designation for an administrative territorial entity
['conseiller régional', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:conseiller_régional property:applies_to_jurisdiction ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q2342494
USER
How many administrative territories are the countries of origin of lesser number of works of art and collectables than that administrative territory ?
(c(Q838948)|c(Q2342494),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?p WHERE { { ?k property:P495 ?p . ?p rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q2342494 } UNION { ?k property:P495 ?p . ?k rdf:type ontology:Q838948 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { { ?d rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q2342494 } } . ?d property:P495 resource:Q142 } } . FILTER ( ?r < ?x ) }
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?p WHERE { { ?k property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:collectable } UNION { ?k property:country_of_origin ?p . ?k rdf:type ontology:work_of_art . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { { ?d rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:collectable } } . ?d property:country_of_origin resource:France } } . FILTER ( ?r < ?x ) }
[]
designation for an administrative territorial entity work of art collectable
SYSTEM
165
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q838948)|c(Q2342494),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q838948
type Q2342494
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?p WHERE { { ?k property:P495 ?p . ?p rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q2342494 } UNION { ?k property:P495 ?p . ?k rdf:type ontology:Q838948 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { { ?d rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q2342494 } } . ?d property:P495 resource:Q142 } } . FILTER ( ?r < ?x ) }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy 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 Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
165
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?p WHERE { { ?k property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:collectable } UNION { ?k property:country_of_origin ?p . ?k rdf:type ontology:work_of_art . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { { ?d rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:collectable } } . ?d property:country_of_origin resource:France } } . FILTER ( ?r < ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q219060
P1532
Q6979593
USER
How many national association football teams play for France or Palestine ?
(c(Q6979593),P1532,Q142) (c(Q6979593),P1532,Q219060)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q219060
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q142'] [{'concept': 'Q6979593'}, 'P1532', 'Q219060']
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { VALUES ( ?a ) { ( resource:Q219060 ) ( resource:Q142 ) } . ?w property:P1532 ?a }
France Palestine
action count
action union
action filter_type
action find_reverse
entity France
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Palestine
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'France'] [{'concept': 'national association football team'}, 'country for sport', 'Palestine']
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { VALUES ( ?a ) { ( resource:Palestine ) ( resource:France ) } . ?w property:country_for_sport ?a }
[]
national association football team
SYSTEM
6
Q751670 Q3277080 Q3590145 Q4534660 Q32970 Q3590215
(c(Q6979593),P1532,Q142) (c(Q6979593),P1532,Q219060)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q219060
relation P1532
type Q6979593
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', 'Q142'] [{'concept': 'Q6979593'}, 'P1532', 'Q219060']
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { VALUES ( ?a ) { ( resource:Q219060 ) ( resource:Q142 ) } . ?w property:P1532 ?a }
France women's national football team Palestine women's national football team France women's national under-17 football team France national youth football team France women's national under-19 football team France Olympic football team
6
action count
action union
action filter_type
action find_reverse
entity France
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Palestine
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'France'] [{'concept': 'national association football team'}, 'country for sport', 'Palestine']
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { VALUES ( ?a ) { ( resource:Palestine ) ( resource:France ) } . ?w property:country_for_sport ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16886136
P361
Q1752346
USER
Which assembly is conseiller régional a component of ?
(Q16886136,P361,c(Q1752346))
action filter_type
action find
entity Q16886136
relation P361
type Q1752346
['Q16886136', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?g WHERE { resource:Q16886136 property:P361 ?g . ?g rdf:type ontology:Q1752346 }
conseiller régional
action filter_type
action find
entity conseiller régional
relation part of
type assembly
['conseiller régional', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?g WHERE { resource:conseiller_régional property:part_of ?g . ?g rdf:type ontology:assembly }
[]
assembly
Q583157
SYSTEM
regional council
Q583157
(Q16886136,P361,c(Q1752346))
action filter_type
action find
entity Q16886136
relation P361
type Q1752346
The [ANSWER] is conseiller régional a component of
['Q16886136', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?g WHERE { resource:Q16886136 property:P361 ?g . ?g rdf:type ontology:Q1752346 }
regional council
The regional council is conseiller régional a component of
regional council
action filter_type
action find
entity conseiller régional
relation part of
type assembly
['conseiller régional', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?g WHERE { resource:conseiller_régional property:part_of ?g . ?g rdf:type ontology:assembly }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3164934 Q365931
P27
Q15617994
USER
How many administrative territories are Jean-Claude Decagny or Adolphe and Arthur Caille an inhabitant of ?
(Q3164934,P27,c(Q15617994)) (Q365931,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q3164934
relation P27
type Q15617994
action filter_type
action find
entity Q365931
relation P27
type Q15617994
['Q3164934', 'P27', {'concept': 'Q15617994'}] ['Q365931', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { ?d rdf:type ontology:Q15617994 . resource:Q3164934 property:P27 ?d } UNION { resource:Q365931 property:P27 ?d . ?d rdf:type ontology:Q15617994 } }
Jean-Claude Decagny Adolphe and Arthur Caille
action count
action union
action filter_type
action find
entity Jean-Claude Decagny
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Adolphe and Arthur Caille
relation country of citizenship
type designation for an administrative territorial entity
['Jean-Claude Decagny', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Adolphe and Arthur Caille', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean-Claude_Decagny property:country_of_citizenship ?d } UNION { resource:Adolphe_and_Arthur_Caille property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q30
(Q3164934,P27,c(Q15617994)) (Q365931,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q3164934
relation P27
type Q15617994
action filter_type
action find
entity Q365931
relation P27
type Q15617994
[ANSWER]
['Q3164934', 'P27', {'concept': 'Q15617994'}] ['Q365931', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { ?d rdf:type ontology:Q15617994 . resource:Q3164934 property:P27 ?d } UNION { resource:Q365931 property:P27 ?d . ?d rdf:type ontology:Q15617994 } }
France United States of America
2
action count
action union
action filter_type
action find
entity Jean-Claude Decagny
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Adolphe and Arthur Caille
relation country of citizenship
type designation for an administrative territorial entity
['Jean-Claude Decagny', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Adolphe and Arthur Caille', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean-Claude_Decagny property:country_of_citizenship ?d } UNION { resource:Adolphe_and_Arthur_Caille property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]