Simple Question (Direct)
Simple Question
Q1265383
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Duncan F. Kenner ?
(Q1265383,P27,c(Q15617994))
action filter_type
action find
entity Q1265383
relation P27
type Q15617994
['Q1265383', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1265383 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Duncan F. Kenner
action filter_type
action find
entity Duncan F. Kenner
relation country of citizenship
type designation for an administrative territorial entity
['Duncan F. Kenner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Duncan_F._Kenner property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1265383,P27,c(Q15617994))
action filter_type
action find
entity Q1265383
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Duncan F. Kenner
['Q1265383', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1265383 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of citizenship of Duncan F. Kenner
United States of America
action filter_type
action find
entity Duncan F. Kenner
relation country of citizenship
type designation for an administrative territorial entity
['Duncan F. Kenner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Duncan_F._Kenner property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1265383
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q30,P39,c(Q12737077))
action filter_type
action find
entity Q1265383
relation P39
type Q12737077
['Q30', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q1265383 property:P39 ?s }
Duncan F. Kenner
action filter_type
action find
entity Duncan F. Kenner
relation position held
type occupation
['United States of America', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Duncan_F._Kenner property:position_held ?s }
[]
occupation
Q17355090
SYSTEM
member of the Louisiana House of Representatives
Q17355090
(Q30,P39,c(Q12737077))
action filter_type
action find
entity Q1265383
relation P39
type Q12737077
The [ANSWER]
['Q30', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q1265383 property:P39 ?s }
member of the Louisiana House of Representatives
The member of the Louisiana House of Representatives
member of the Louisiana House of Representatives
action filter_type
action find
entity Duncan F. Kenner
relation position held
type occupation
['United States of America', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Duncan_F._Kenner property:position_held ?s }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17355090 Q30
P17
Q15617994
USER
Is that occupation situated in United States of America ?
(Q17355090,P17,Q30)
action is_in
entity Q30
action find
entity Q17355090
relation P17
['Q17355090', 'P17', 'Q30']
ASK WHERE { resource:Q17355090 property:P17 resource:Q30 }
member of the Louisiana House of Representatives United States of America
action is_in
entity United States of America
action find
entity member of the Louisiana House of Representatives
relation country
['member of the Louisiana House of Representatives', 'country', 'United States of America']
ASK WHERE { resource:member_of_the_Louisiana_House_of_Representatives property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q17355090,P17,Q30)
action is_in
entity Q30
action find
entity Q17355090
relation P17
[ANSWER]
['Q17355090', 'P17', 'Q30']
ASK WHERE { resource:Q17355090 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity member of the Louisiana House of Representatives
relation country
['member of the Louisiana House of Representatives', 'country', 'United States of America']
ASK WHERE { resource:member_of_the_Louisiana_House_of_Representatives property:country resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17355090
P1001
Q852446
USER
Which US administrative territory applies to jurisdiction of that occupation ?
action filter_type
action find
entity Q17355090
relation P1001
type Q852446
SELECT DISTINCT ?s WHERE { resource:Q17355090 property:P1001 ?s . ?s rdf:type ontology:Q852446 }
member of the Louisiana House of Representatives
action filter_type
action find
entity member of the Louisiana House of Representatives
relation applies to jurisdiction
type administrative territorial entity of the United States
SELECT DISTINCT ?s WHERE { resource:member_of_the_Louisiana_House_of_Representatives property:applies_to_jurisdiction ?s . ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1588
SYSTEM
Louisiana
Q1588
action filter_type
action find
entity Q17355090
relation P1001
type Q852446
To [ANSWER] applies to jurisdiction of that occupation
SELECT DISTINCT ?s WHERE { resource:Q17355090 property:P1001 ?s . ?s rdf:type ontology:Q852446 }
Louisiana
To Louisiana applies to jurisdiction of that occupation
Louisiana
action filter_type
action find
entity member of the Louisiana House of Representatives
relation applies to jurisdiction
type administrative territorial entity of the United States
SELECT DISTINCT ?s WHERE { resource:member_of_the_Louisiana_House_of_Representatives property:applies_to_jurisdiction ?s . ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5589655 Q17355090
P1001
Q852446
USER
Or Governor of Hawaii?
OR((Q17355090,P1001,c(Q852446)), (Q5589655,P1001,c(Q852446)))
action filter_type
action union
action find
entity Q17355090
relation P1001
action find
entity Q5589655
relation P1001
type Q852446
{'OR': [['Q17355090', 'P1001', {'concept': 'Q852446'}], ['Q5589655', 'P1001', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q17355090 property:P1001 ?l } UNION { resource:Q5589655 property:P1001 ?l } } . ?l rdf:type ontology:Q852446 }
Governor of Hawaii member of the Louisiana House of Representatives
action filter_type
action union
action find
entity member of the Louisiana House of Representatives
relation applies to jurisdiction
action find
entity Governor of Hawaii
relation applies to jurisdiction
type administrative territorial entity of the United States
{'OR': [['member of the Louisiana House of Representatives', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}], ['Governor of Hawaii', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?l WHERE { { { resource:member_of_the_Louisiana_House_of_Representatives property:applies_to_jurisdiction ?l } UNION { resource:Governor_of_Hawaii property:applies_to_jurisdiction ?l } } . ?l rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q782 Q1588
SYSTEM
Hawaii, Louisiana
Q782 Q1588
OR((Q17355090,P1001,c(Q852446)), (Q5589655,P1001,c(Q852446)))
action filter_type
action union
action find
entity Q17355090
relation P1001
action find
entity Q5589655
relation P1001
type Q852446
[ANSWERS]
{'OR': [['Q17355090', 'P1001', {'concept': 'Q852446'}], ['Q5589655', 'P1001', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q17355090 property:P1001 ?l } UNION { resource:Q5589655 property:P1001 ?l } } . ?l rdf:type ontology:Q852446 }
Hawaii Louisiana
Hawaii Louisiana
action filter_type
action union
action find
entity member of the Louisiana House of Representatives
relation applies to jurisdiction
action find
entity Governor of Hawaii
relation applies to jurisdiction
type administrative territorial entity of the United States
{'OR': [['member of the Louisiana House of Representatives', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}], ['Governor of Hawaii', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?l WHERE { { { resource:member_of_the_Louisiana_House_of_Representatives property:applies_to_jurisdiction ?l } UNION { resource:Governor_of_Hawaii property:applies_to_jurisdiction ?l } } . ?l rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P194
Q11204 Q852446
USER
Which legislatures are the legislative bodies for min number of US administrative territories ?
(c(Q852446),P194,Q22569956)
action argmin
action find_reverse_tuple_counts
relation P194
type Q11204
type Q852446
[{'concept': 'Q852446'}, 'P194', 'Q22569956']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?b ) { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:P194 ?h . ?h rdf:type ontology:Q11204 . ?x rdf:type ontology:Q852446 } GROUP BY ?h } } . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:P194 ?r . ?r rdf:type ontology:Q11204 . ?q rdf:type ontology:Q852446 } GROUP BY ?r } . FILTER ( ?i = ?b ) }
action argmin
action find_reverse_tuple_counts
relation legislative body
type legislature
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', 'Sangguniang Bayan of Bien Unido']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?b ) { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:legislative_body ?h . ?h rdf:type ontology:legislature . ?x rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?h } } . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:legislative_body ?r . ?r rdf:type ontology:legislature . ?q rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?r } . FILTER ( ?i = ?b ) }
[]
legislature administrative territorial entity of the United States
Q11268 Q494162 Q19208
SYSTEM
United States Congress, National Assembly, Legislative Council of Hong Kong
Q7101400 Q2518570 Q494162 Q2650715 Q3365321 Q2656777 Q6386149 Q320501 Q550133 Q5692374 Q589022 Q19208 Q3687390 Q3687397 Q4817650 Q2994027 Q3687394 Q22330280 Q1643140 Q2994248 Q1319595 Q2993961 Q5783861 Q7681292 Q5783863 Q5783866 Q1281107 Q1149644 Q715869 Q22443329 Q22443280 Q1812873 Q22443320 Q22443322 Q22443284 Q22443324 Q595411 Q22443327 Q22360043 Q2564988 Q135630 Q4902948 Q2994272 Q374152 Q19211 Q4313275 Q5261561 Q1136026 Q680806 Q19606559 Q2707406 Q11268 Q5025648 Q4345425 Q217799 Q330600 Q285714 Q1514096 Q669970 Q6518465 Q457869 Q2994267 Q2994263 Q1579497 Q2994260 Q1386962 Q22443273 Q14562584 Q22443277 Q5783847 Q5783845 Q131279 Q5783843 Q5783841 Q22443275 Q5783849 Q2994073 Q579836 Q3625554 Q2993782 Q647976 Q764201 Q3687391 Q2080399 Q5783859 Q5783851 Q5783853 Q5783856 Q3687395 Q3244416 Q22330307 Q7051064 Q5399679 Q388526 Q2386705 Q6386198 Q1484102 Q4303926 Q146138 Q775994 Q22443253 Q5783828 Q16934215 Q17017103 Q897278 Q5783824 Q5783833 Q5783826 Q5783821 Q14468380 Q6527389 Q1127198 Q5783831 Q688346 Q2741727 Q2301457 Q14562680 Q5160905 Q539149 Q274918 Q7604031 Q493517 Q1684080 Q2994252 Q2994253 Q3363019 Q2994255 Q2994239 Q2326816 Q5783839 Q5783837 Q2994234 Q2994235 Q2994237 Q700757 Q1137059 Q3462542 Q920222 Q22443256 Q16996347 Q5018721 Q3687399 Q2565909 Q2994249 Q22443317 Q2994245 Q2994244 Q3365495 Q4938196 Q2994241 Q2994240 Q2994243 Q1563736 Q920609 Q693192 Q6664413 Q7082403 Q250641 Q202384 Q4791449 Q3687389 Q2742602 Q18342090 Q876529 Q497578 Q3687386 Q3687387 Q17443556 Q129821 Q7478146 Q3658756 Q22569956
(c(Q852446),P194,Q22569956)
action argmin
action find_reverse_tuple_counts
relation P194
type Q11204
type Q852446
[ANSWERS] are the legislative bodies for min number of US administrative territories
[{'concept': 'Q852446'}, 'P194', 'Q22569956']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?b ) { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:P194 ?h . ?h rdf:type ontology:Q11204 . ?x rdf:type ontology:Q852446 } GROUP BY ?h } } . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:P194 ?r . ?r rdf:type ontology:Q11204 . ?q rdf:type ontology:Q852446 } GROUP BY ?r } . FILTER ( ?i = ?b ) }
Oregon Territorial Legislature Regional Council of Rhône-Alpes National Assembly General Council of Loiret Legislative Assembly of the Falkland Islands Parliament of Transnistria Lancashire County Council Landtag Legislative Assembly of Macau Legislative Council of Carabobo Regional Council of Lorraine Legislative Council of Hong Kong Regional Council of Veneto Regional Council of Sardinia Austrian Parliament Seine-Saint-Denis General Council Regional Council of Calabria Cebu Provincial Board Niue Assembly Regional Council of Languedoc-Roussillon National Assembly general council of Meurthe-et-Moselle Legislative Council of Vargas Tamil Nadu Legislative Assembly Legislative Council of Yaracuy Legislative Council of Mérida House of Assembly of Kiribati Landtag of Liechtenstein Legislative Yuan Sangguniang Panlungsod of Carcar Sangguniang Bayan of Alcoy Legislative Assembly of El Salvador Sangguniang Panlungsod of Tagbilaran Sangguniang Panlungsod of Mandaue Sangguniang Bayan of Alegria Sangguniang Panlungsod of Lapu-Lapu Congress of the Dominican Republic Sangguniang Panlungsod of Cebu City Sangguniang Panlungsod of Naga Corsican Assembly Parliament of Catalonia National Legislature Regional Council of Nord-Pas-de-Calais Seimas National People's Congress People's Assembly of the Republic of Dagestan Derbyshire County Council Congress of Guatemala National Parliament Regional Council of Auvergne-Rhône-Alpes Sicilian Regional Assembly United States Congress Cambridgeshire County Council Parliament of Fiji Islands Riigikogu National Assembly of Azerbaijan Northern Ireland Assembly People's Assembly of Abkhazia Imperial Diet Legislature of the Virgin Islands Federal Assembly of the Russian Federation Regional Council of Limousin Regional Council of Martinique Parliament of Montenegro Regional Council of Pays de la Loire Legislative Assembly of Costa Rica Sangguniang Bayan of Madridejos Regional Council of Marche Sangguniang Bayan of Alcantara Legislative Council of Monagas Legislative Council of Lara Althing Legislative Council of Guárico Legislative Council of Falcón Sangguniang Panlungsod of Toledo Legislative Council of Nueva Esparta Nord General Council Legislative Council of Zulia Legislative Assembly of the Cayman Islands Regional Council of the Aosta Valley Regional Council of Centre Parliament of Vanuatu Regional Council of Abruzzo Parliament of Bhutan Legislative Council of Táchira Legislative Council of Portuguesa Legislative Council of Sucre Legislative Council of Trujillo Regional Council of Lombardy East Bengal Legislative Assembly Siquijor Provincial Board Norfolk Legislative Assembly Essex County Council Estates of Sint Maarten National Assembly Leicestershire County Council House of Representatives Moscow Oblast Duma Bundesrat Council of Paris Sangguniang Bayan of Bantayan Legislative Council of Barinas Nottinghamshire County Council North Yorkshire County Council Parliament of Tuvalu Legislative Council of Apure Legislative Council of Bolívar Consejo Legislativo del Estado Bolivariano de Aragua Legislative Council of Anzoátegui Parliament of Kenya Council of the District of Columbia National Council Legislative Council of Miranda Diet of Dalmatia General Council of Finistère Regional Council of Brittany Regional Council of Apulia Congress of Zacatecas Congress of Deputies Grand National Assembly of Turkey States of Alderney National Assembly for Wales Jatiyo Sangshad Regional Council of Provence-Alpes-Côte d'Azur Regional Council of Poitou-Charentes Assembly of the Union Regional Council of Guadeloupe Regional Council of Basse-Normandie Estates of Curaçao Legislative Council of Delta Amacuro Legislative Council of Cojedes Regional Council of Île-de-France Regional Council of Auvergne Regional Council of Burgundy Diet of Hungary Belgian Federal Parliament Kerala Legislative Assembly National Assembly Sangguniang Bayan of Santa Fe Lincolnshire County Council National Legislature Regional Council of Tuscany Parliament of Barbados Regional Council of Picardy Sangguniang Bayan of Aloguinsan Regional Council of Upper Normandy Franche-Comté Regional Council Parliament of Tunisia Bohol Provincial Board Regional Council of Champagne-Ardenne Alsace Regional Council Aquitaine Regional Council Parliament of Saint Lucia House of Burgesses Regional Council of Midi-Pyrénées Peterborough City Council Oklahoma Territorial Legislature Tagsatzung National Diet Arizona Territorial Legislature Regional council of Trentino-Alto Adige/Südtirol Parliament of Navarre Assembly of the Representatives of the People Imperial Diet Witenagemot Regional Council of Friuli-Venezia Giulia Regional Council of Lazio House of Representatives Oireachtas Pontifical Commission for Vatican City State San Francisco Board of Supervisors Sangguniang Bayan of Bien Unido
United States Congress, National Assembly and Legislative Council of Hong Kong are the legislative bodies for min number of US administrative territories
United States Congress National Assembly Legislative Council of Hong Kong
action argmin
action find_reverse_tuple_counts
relation legislative body
type legislature
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', 'Sangguniang Bayan of Bien Unido']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?b ) { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:legislative_body ?h . ?h rdf:type ontology:legislature . ?x rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?h } } . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:legislative_body ?r . ?r rdf:type ontology:legislature . ?q rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?r } . FILTER ( ?i = ?b ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1916391 Q17355090
P17
Q15617994
USER
Which administrative territories are member of the Louisiana House of Representatives or Lorgies Communal Cemetery located in ?
OR((Q17355090,P17,c(Q15617994)), (Q1916391,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q17355090
relation P17
action find
entity Q1916391
relation P17
type Q15617994
{'OR': [['Q17355090', 'P17', {'concept': 'Q15617994'}], ['Q1916391', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q17355090 property:P17 ?h } UNION { resource:Q1916391 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Lorgies Communal Cemetery member of the Louisiana House of Representatives
action filter_type
action union
action find
entity member of the Louisiana House of Representatives
relation country
action find
entity Lorgies Communal Cemetery
relation country
type designation for an administrative territorial entity
{'OR': [['member of the Louisiana House of Representatives', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lorgies Communal Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:member_of_the_Louisiana_House_of_Representatives property:country ?h } UNION { resource:Lorgies_Communal_Cemetery property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q30
SYSTEM
France, United States of America
Q142 Q30
OR((Q17355090,P17,c(Q15617994)), (Q1916391,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q17355090
relation P17
action find
entity Q1916391
relation P17
type Q15617994
[ANSWERS] are member of the Louisiana House of Representatives or Lorgies Communal Cemetery located in
{'OR': [['Q17355090', 'P17', {'concept': 'Q15617994'}], ['Q1916391', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q17355090 property:P17 ?h } UNION { resource:Q1916391 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
France United States of America
France and United States of America are member of the Louisiana House of Representatives or Lorgies Communal Cemetery located in
France United States of America
action filter_type
action union
action find
entity member of the Louisiana House of Representatives
relation country
action find
entity Lorgies Communal Cemetery
relation country
type designation for an administrative territorial entity
{'OR': [['member of the Louisiana House of Representatives', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lorgies Communal Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:member_of_the_Louisiana_House_of_Representatives property:country ?h } UNION { resource:Lorgies_Communal_Cemetery property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P740
Q334453 Q2088357
USER
How many divisions and musical ensembles were formed at France ?
(c(Q334453),P740,Q142) (c(Q2088357),P740,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P740
type Q334453
action filter_type
action find_reverse
entity Q142
relation P740
type Q2088357
[{'concept': 'Q334453'}, 'P740', 'Q142'] [{'concept': 'Q2088357'}, 'P740', 'Q142']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?e ) { ( ontology:Q334453 ) ( ontology:Q2088357 ) } . ?g rdf:type ?e }
France
action count
action union
action filter_type
action find_reverse
entity France
relation location of formation
type division
action filter_type
action find_reverse
entity France
relation location of formation
type musical ensemble
[{'concept': 'division'}, 'location of formation', 'France'] [{'concept': 'musical ensemble'}, 'location of formation', 'France']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?e ) { ( ontology:division ) ( ontology:musical_ensemble ) } . ?g rdf:type ?e }
[]
division musical ensemble
SYSTEM
1 divisions and 26 musical ensembles
Q2482652 Q3232823 Q3221021 Q14455902 Q2013381 Q948804 Q16930080 Q2113827 Q3396185 Q3562922 Q3196402 Q646039 Q845508 Q3238355 Q15052981 Q6533353 Q5205878 Q2869575 Q22951192 Q2982785 Q3498740 Q15198337 Q5934794 Q13945471 Q606650 Q2813204 Q3001954
(c(Q334453),P740,Q142) (c(Q2088357),P740,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P740
type Q334453
action filter_type
action find_reverse
entity Q142
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q334453'}, 'P740', 'Q142'] [{'concept': 'Q2088357'}, 'P740', 'Q142']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?e ) { ( ontology:Q334453 ) ( ontology:Q2088357 ) } . ?g rdf:type ?e }
Les Discrets Les Frères Misère Chant du Monde Flavel & Neto Ocean Drive One-T The Other Colors Prototypes Poney Express Volo Kidtonik Era Les Hurlements d'Léo Life's Decay Y.A.S. Lethian Dreams DOP Atomic Garden Kids United Collectif Paris-Africa StereoHeroes Détroit Monade The Mess Empyr 1995 Crack ov Dawn
1 divisions and 26 musical ensembles
action count
action union
action filter_type
action find_reverse
entity France
relation location of formation
type division
action filter_type
action find_reverse
entity France
relation location of formation
type musical ensemble
[{'concept': 'division'}, 'location of formation', 'France'] [{'concept': 'musical ensemble'}, 'location of formation', 'France']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?e ) { ( ontology:division ) ( ontology:musical_ensemble ) } . ?g rdf:type ?e }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q10936474 Q30
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with United States of America and are Dadukou Station a part of ?
AND((Q30,P530,c(Q15617994)), (Q10936474,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P530
action find
entity Q10936474
relation P17
type Q15617994
{'AND': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q10936474', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q30 property:P530 ?q . resource:Q10936474 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Dadukou Station United States of America
action filter_type
action intersection
action find
entity United States of America
relation diplomatic relation
action find
entity Dadukou Station
relation country
type designation for an administrative territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Dadukou Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:United_States_of_America property:diplomatic_relation ?q . resource:Dadukou_Station property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
AND((Q30,P530,c(Q15617994)), (Q10936474,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P530
action find
entity Q10936474
relation P17
type Q15617994
[ANSWER] have diplomatic relationships with United States of America and are Dadukou Station a part of
{'AND': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q10936474', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q30 property:P530 ?q . resource:Q10936474 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
People's Republic of China
People's Republic of China have diplomatic relationships with United States of America and are Dadukou Station a part of
People's Republic of China
action filter_type
action intersection
action find
entity United States of America
relation diplomatic relation
action find
entity Dadukou Station
relation country
type designation for an administrative territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Dadukou Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:United_States_of_America property:diplomatic_relation ?q . resource:Dadukou_Station property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q148 Q504372
P35
Q502895
USER
Does Ye Jianying have the highest formal authority in that administrative territory ?
(Q148,P35,Q504372)
action is_in
entity Q504372
action find
entity Q148
relation P35
['Q148', 'P35', 'Q504372']
ASK WHERE { resource:Q148 property:P35 resource:Q504372 }
People's Republic of China Ye Jianying
action is_in
entity Ye Jianying
action find
entity People's Republic of China
relation head of state
["People's Republic of China", 'head of state', 'Ye Jianying']
ASK WHERE { resource:People's_Republic_of_China property:head_of_state resource:Ye_Jianying }
[]
common name
SYSTEM
YES
(Q148,P35,Q504372)
action is_in
entity Q504372
action find
entity Q148
relation P35
[ANSWER]
['Q148', 'P35', 'Q504372']
ASK WHERE { resource:Q148 property:P35 resource:Q504372 }
Yes
action is_in
entity Ye Jianying
action find
entity People's Republic of China
relation head of state
["People's Republic of China", 'head of state', 'Ye Jianying']
ASK WHERE { resource:People's_Republic_of_China property:head_of_state resource:Ye_Jianying }
[]