Simple Question (Direct)
Simple Question
Q11582214
P734
Q82799
USER
Which name is associated with Sako Aizawa ?
(Q11582214,P734,c(Q82799))
action filter_type
action find
entity Q11582214
relation P734
type Q82799
['Q11582214', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q11582214 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Sako Aizawa
action filter_type
action find
entity Sako Aizawa
relation family name
type name
['Sako Aizawa', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Sako_Aizawa property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Q21507702
SYSTEM
Aizawa
Q21507702
(Q11582214,P734,c(Q82799))
action filter_type
action find
entity Q11582214
relation P734
type Q82799
Ai [ANSWER] is associated with Sako [ANSWER]
['Q11582214', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q11582214 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Aizawa
Ai Aizawa is associated with Sako Aizawa
Aizawa
action filter_type
action find
entity Sako Aizawa
relation family name
type name
['Sako Aizawa', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Sako_Aizawa property:family_name ?r . ?r rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11582214
P21
Q290
USER
Which sex does that person belong to ?
(Q21507702,P21,c(Q290))
action filter_type
action find
entity Q11582214
relation P21
type Q290
['Q21507702', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q11582214 property:P21 ?f }
Sako Aizawa
action filter_type
action find
entity Sako Aizawa
relation gender
type sex
['Aizawa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Sako_Aizawa property:gender ?f }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q21507702,P21,c(Q290))
action filter_type
action find
entity Q11582214
relation P21
type Q290
That person belongs to [ANSWER]
['Q21507702', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q11582214 property:P21 ?f }
male
That person belongs to male
male
action filter_type
action find
entity Sako Aizawa
relation gender
type sex
['Aizawa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Sako_Aizawa property:gender ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q11582214
P27
Q15617994
USER
How many administrative territories are Sako Aizawa an inhabitant of ?
(Q11582214,P27,c(Q15617994))
action count
action filter_type
action find
entity Q11582214
relation P27
type Q15617994
['Q11582214', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q11582214 property:P27 ?a }
Sako Aizawa
action count
action filter_type
action find
entity Sako Aizawa
relation country of citizenship
type designation for an administrative territorial entity
['Sako Aizawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sako_Aizawa property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
SYSTEM
1
Q17
(Q11582214,P27,c(Q15617994))
action count
action filter_type
action find
entity Q11582214
relation P27
type Q15617994
[ANSWER]
['Q11582214', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q11582214 property:P27 ?a }
Japan
1
action count
action filter_type
action find
entity Sako Aizawa
relation country of citizenship
type designation for an administrative territorial entity
['Sako Aizawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sako_Aizawa property:country_of_citizenship ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q16991289
P27
Q15617994
USER
And how about Raimo Virta?
(Q16991289,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16991289
relation P27
type Q15617994
['Q16991289', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Q16991289 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Raimo Virta
action count
action filter_type
action find
entity Raimo Virta
relation country of citizenship
type designation for an administrative territorial entity
['Raimo Virta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Raimo_Virta property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q33
(Q16991289,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16991289
relation P27
type Q15617994
[ANSWER]
['Q16991289', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Q16991289 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Finland
1
action count
action filter_type
action find
entity Raimo Virta
relation country of citizenship
type designation for an administrative territorial entity
['Raimo Virta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Raimo_Virta property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q4980123
Q15617994
USER
And how about Bryan Goldsby?
(Q4980123,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4980123
relation P27
type Q15617994
['Q4980123', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q4980123 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Bryan Goldsby
action count
action filter_type
action find
entity Bryan Goldsby
relation country of citizenship
type designation for an administrative territorial entity
['Bryan Goldsby', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Bryan_Goldsby property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q4980123,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4980123
relation P27
type Q15617994
[ANSWER]
['Q4980123', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q4980123 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Bryan Goldsby
relation country of citizenship
type designation for an administrative territorial entity
['Bryan Goldsby', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Bryan_Goldsby property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1689941 Q11582214
P27
Q15617994
USER
Which administrative territories are Sako Aizawa or Peter Van der Heyden a civilian of ?
OR((Q11582214,P27,c(Q15617994)), (Q1689941,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11582214
relation P27
action find
entity Q1689941
relation P27
type Q15617994
{'OR': [['Q11582214', 'P27', {'concept': 'Q15617994'}], ['Q1689941', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?p ) { ( resource:Q1689941 ) ( resource:Q11582214 ) } . ?p property:P27 ?l } . ?l rdf:type ontology:Q15617994 }
Peter Van der Heyden Sako Aizawa
action filter_type
action union
action find
entity Sako Aizawa
relation country of citizenship
action find
entity Peter Van der Heyden
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sako Aizawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Peter Van der Heyden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?p ) { ( resource:Peter_Van_der_Heyden ) ( resource:Sako_Aizawa ) } . ?p property:country_of_citizenship ?l } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q31
SYSTEM
Japan, Belgium
Q17 Q31
OR((Q11582214,P27,c(Q15617994)), (Q1689941,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11582214
relation P27
action find
entity Q1689941
relation P27
type Q15617994
[ANSWERS] are Sako Aizawa or Peter Van der Heyden a civilian of
{'OR': [['Q11582214', 'P27', {'concept': 'Q15617994'}], ['Q1689941', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?p ) { ( resource:Q1689941 ) ( resource:Q11582214 ) } . ?p property:P27 ?l } . ?l rdf:type ontology:Q15617994 }
Japan Belgium
Japan and Belgium are Sako Aizawa or Peter Van der Heyden a civilian of
Japan Belgium
action filter_type
action union
action find
entity Sako Aizawa
relation country of citizenship
action find
entity Peter Van der Heyden
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sako Aizawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Peter Van der Heyden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?p ) { ( resource:Peter_Van_der_Heyden ) ( resource:Sako_Aizawa ) } . ?p property:country_of_citizenship ?l } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17 Q31
P495
Q2088357
USER
Which musical ensembles have those administrative territories as their place of origin ?
(c(Q2088357),P495,Q17) (c(Q2088357),P495,Q31)
action filter_type
action find_reverse
entity prev_answer
relation P495
type Q2088357
[{'concept': 'Q2088357'}, 'P495', 'Q17'] [{'concept': 'Q2088357'}, 'P495', 'Q31']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2088357 . ?z property:P495 ?f . VALUES ( ?f ) { ( resource:Q17 ) ( resource:Q31 ) } }
Japan Belgium
action filter_type
action find_reverse
entity prev_answer
relation country of origin
type musical ensemble
[{'concept': 'musical ensemble'}, 'country of origin', 'Japan'] [{'concept': 'musical ensemble'}, 'country of origin', 'Belgium']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:musical_ensemble . ?z property:country_of_origin ?f . VALUES ( ?f ) { ( resource:Japan ) ( resource:Belgium ) } }
[]
musical ensemble
Q847394 Q379852 Q4833729
SYSTEM
Sakanaction, Dir en grey, b-flower
Q379852 Q17231108 Q1960142 Q17193949 Q11323355 Q11256311 Q22080317 Q3862829 Q869638 Q135908 Q11192497 Q5367991 Q11192953 Q17231096 Q18456057 Q24075426 Q2915085 Q11608642 Q17217498 Q1006517 Q7245674 Q11236384 Q20213035 Q17225356 Q11194299 Q219865 Q18225662 Q11664954 Q3516713 Q11226962 Q20982996 Q341385 Q6480732 Q23044659 Q17995844 Q11242711 Q19360323 Q10853100 Q11228666 Q1137427 Q11300098 Q11232879 Q22126676 Q11198903 Q18054653 Q5122881 Q7205578 Q18226318 Q11328424 Q10846886 Q1157026 Q11199605 Q1329328 Q11319107 Q307779 Q11334752 Q570322 Q1288285 Q6940127 Q2475763 Q3266807 Q17232683 Q18054621 Q26974485 Q7381284 Q1156513 Q17181564 Q11230573 Q17193800 Q17191999 Q11198207 Q6484992 Q11318161 Q3266662 Q11187384 Q2651135 Q1115775 Q11227795 Q18458718 Q11238537 Q18048217 Q11256148 Q1050662 Q618194 Q11577845 Q869436 Q9363788 Q11268389 Q331314 Q4833729 Q3506498 Q11299902 Q11197988 Q1124266 Q307343 Q11320278 Q1324723 Q4039629 Q20645851 Q11243251 Q1351944 Q11189542 Q24898715 Q13015589 Q168871 Q3272690 Q6422454 Q614704 Q11239895 Q18054986 Q18054985 Q17190448 Q10854506 Q11200209 Q7492369 Q11248476 Q1066737 Q247634 Q6990274 Q847394 Q11597443 Q11195125 Q20041595 Q11238360 Q11192509 Q11223592 Q1825922 Q1857890 Q2184922 Q2149960 Q2238317 Q20984734 Q10843975 Q2308804 Q1733390 Q2864377 Q20984740 Q2853893 Q2583052 Q1543315 Q2456544 Q4777472 Q1766340 Q2214026 Q1873785 Q2761260 Q2646978 Q2050593 Q305326 Q19765967 Q952337 Q4044304 Q19926429 Q2021665 Q20747498 Q26720310 Q19926430 Q371893 Q19926445 Q19926444 Q2649680 Q2633672 Q2106563 Q19971892 Q2540762 Q527787 Q779928 Q15880363 Q1288216 Q1537557 Q2581502 Q2535754 Q2026600 Q2501770 Q2526484 Q2098845 Q20504720 Q1420712 Q2602650 Q18414344 Q2129419 Q2461134 Q938127 Q2100223 Q2034233 Q2625809 Q2220301 Q8041454 Q2652763 Q2517612 Q120099 Q147186 Q225036 Q730590 Q2429836 Q2258506 Q2341708 Q2041612 Q202542 Q388897 Q2515271 Q19936202 Q19947209 Q19947206 Q19947200 Q323036 Q2384531 Q2291633 Q7833892 Q2777606 Q19966181 Q2557642 Q616251 Q20656131 Q1568276 Q2691461 Q662107 Q2336746 Q19931400 Q1932483 Q970063 Q2050196 Q1812226 Q14849872 Q2569222 Q968896 Q2097187 Q2359736 Q1710254 Q642726 Q2643682 Q2844749 Q2269020 Q15964812 Q1463489 Q2443845
(c(Q2088357),P495,Q17) (c(Q2088357),P495,Q31)
action filter_type
action find_reverse
entity prev_answer
relation P495
type Q2088357
[ANSWERS] have those administrative territories as their place of origin
[{'concept': 'Q2088357'}, 'P495', 'Q17'] [{'concept': 'Q2088357'}, 'P495', 'Q31']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2088357 . ?z property:P495 ?f . VALUES ( ?f ) { ( resource:Q17 ) ( resource:Q31 ) } }
Dir en grey Gesu no Kiwami Otome Back Number Where's Andy The Dresscodes Natsumi Abe & Maimi Yajima Cell Moran Shōjotai Zard Blu-Billion Flipper's Guitar Call Kuchiroro The Challenge Scenarioart Super Monkey's Youmou & Ohana Boys and Men Off Course Prism Native (band) remote Kana-Boon Candle Zone INKT Zunou Keisatsu Team Nekokan Joy Lamp Acid Mothers Temple Lama Radio Fish Salty Dog Script Magnolia Factory té Kōkua Happy End Good Morning America mc2 EARPHONES FANTA The Heanacat Citrus Plus-Tech Squeeze Box King Cream Soda Band Ja Naimon! Deep Toe Folks Dragon Ash Teichiku Jazz Orchestra bless4 Bridge Twill Silent Siren Musashi's Monoral Baroque Hanafugetsu Panic Smile ShuuKaRen MM Gakuen Gasshoubu Porno Graffitti Waggaki Band Lucy Indigo la End Alice ecosystem Lands Charan-Po-Rantan Under Graph 2 Hearts alüto SID Keytalk Suiyōbi no Campanella PEACEFUL Eija →Pia-no-jaC← Chocolove from AKB48 Fairies Kai Band Lilpri Four Tops Sayonara Ponytail Maher Shalal Hash Baz b-flower Sweets Clover Exile Tribe Vamps Aice5 Date of Birth GAM Gothika Nocturnal Bloodlust Shishamo Teriyaki Boyz ARA Celtsittolke AKB48 Team Surprise fripSide Manish Peaberry Romans Predia Lowland Jazz Romage The Screen Tones FLiP Five Beans Chup Sheena & The Rokkets Technoboys Pulcraft Green-Fund Tetra-Fang Yōsei Teikoku Nelories Sakanaction Kukikodan Czecho No Republic Tweedees Parachute Blue Humming Toad Dalton Sisters Psy'Aviah Octopus Thou (Belgian band) Amenra Charles et les Lulus Aranis Thurisaz Rofo Arsenal Mocambo Johnny Berlin Trust Suicide Commando Scooter Antwerp & District Pipe Band The Go Find Roadburg A Split-Second School is Cool Morton Sherman Bellucci Amatorski Triggerfinger Antwerp Gipsy-Ska Orkestra Hooverphonic Mindgames The Lynn Sisters Allez Allez La Muerte Ulrikes Dream The Sands Witloof Bay Nux Nemo I will, I swear Club Moral Insekt Siglo XX Waso Quartet Naragonia Front 242 Intergalactic Lovers Oscar and the Wolf Soulwax Machiavel Suarez Magnus Orchestre Royal de Chambre de Wallonie The Subs Cos Bandits Capsule Soulsister Get Ready! JOY Blue Blot Absolute Body Control Marble Sounds Fluxus SX Eden Dildo Warheads X-Legged Sally Kiss My Jazz Orchestre Symphonique des Etudiants de Louvain-la-Neuve Klinik Zap Mama AnnaGrace Star Industry Scoop The Sore Losers Dez Mona Electronic System 2 Fabiola After All The Jokers Dead Stop Mitsoobishy Jacson Sukilove Kitchen of Insanity Aborted Red Zebra Nightqueen Transcoder Wawadadakwa Bob Shots Spring The Radios Harvey Quinnt K3 The Golden River City Jazz Band Balthazar Garcia Goodbye El Juntacadáveres Swirl People Flatcat Flowers For Breakfast Pas de Deux Compact Disk Dummies The Neon Judgement The KMG's Saille Team William Aksak Maboul Shameboy The Shake Spears Amorroma Two Man Sound Jaune toujours Paradisio Voice Male
Sakanaction, Dir en grey and b-flower have those administrative territories as their place of origin
Sakanaction Dir en grey b-flower
action filter_type
action find_reverse
entity prev_answer
relation country of origin
type musical ensemble
[{'concept': 'musical ensemble'}, 'country of origin', 'Japan'] [{'concept': 'musical ensemble'}, 'country of origin', 'Belgium']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:musical_ensemble . ?z property:country_of_origin ?f . VALUES ( ?f ) { ( resource:Japan ) ( resource:Belgium ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q847394 Q379852 Q4833729
P495
Q15617994
USER
Which administrative territories are the origin of those musical ensembles ?
(Q847394,P495,c(Q15617994)) (Q379852,P495,c(Q15617994)) (Q4833729,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
['Q847394', 'P495', {'concept': 'Q15617994'}] ['Q379852', 'P495', {'concept': 'Q15617994'}] ['Q4833729', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . ?v property:P495 ?a . VALUES ( ?v ) { ( resource:Q379852 ) ( resource:Q17231108 ) ( resource:Q1960142 ) } }
Sakanaction Dir en grey b-flower
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Sakanaction', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Dir en grey', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['b-flower', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:country_of_origin ?a . VALUES ( ?v ) { ( resource:Dir_en_grey ) ( resource:Gesu_no_Kiwami_Otome ) ( resource:Back_Number ) } }
[]
designation for an administrative territorial entity
Q17 Q17 Q17
SYSTEM
Japan
Q17 Q17 Q17
(Q847394,P495,c(Q15617994)) (Q379852,P495,c(Q15617994)) (Q4833729,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the origin of those musical ensembles
['Q847394', 'P495', {'concept': 'Q15617994'}] ['Q379852', 'P495', {'concept': 'Q15617994'}] ['Q4833729', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . ?v property:P495 ?a . VALUES ( ?v ) { ( resource:Q379852 ) ( resource:Q17231108 ) ( resource:Q1960142 ) } }
Japan Japan Japan
Japan, Japan and Japan are the origin of those musical ensembles
Japan Japan Japan
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Sakanaction', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Dir en grey', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['b-flower', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:country_of_origin ?a . VALUES ( ?v ) { ( resource:Dir_en_grey ) ( resource:Gesu_no_Kiwami_Otome ) ( resource:Back_Number ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17
P30
Q2221906
USER
Which geographic location is that administrative territory located in ?
(Q17,P30,c(Q2221906)) (Q17,P30,c(Q2221906)) (Q17,P30,c(Q2221906))
action filter_type
action find
entity Q17
relation P30
type Q2221906
['Q17', 'P30', {'concept': 'Q2221906'}] ['Q17', 'P30', {'concept': 'Q2221906'}] ['Q17', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { resource:Q17 property:P30 ?o . ?o rdf:type ontology:Q2221906 }
Japan
action filter_type
action find
entity Japan
relation continent
type geographic location
['Japan', 'continent', {'concept': 'geographic location'}] ['Japan', 'continent', {'concept': 'geographic location'}] ['Japan', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { resource:Japan property:continent ?o . ?o rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q17,P30,c(Q2221906)) (Q17,P30,c(Q2221906)) (Q17,P30,c(Q2221906))
action filter_type
action find
entity Q17
relation P30
type Q2221906
That administrative territory is located in [ANSWER]
['Q17', 'P30', {'concept': 'Q2221906'}] ['Q17', 'P30', {'concept': 'Q2221906'}] ['Q17', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { resource:Q17 property:P30 ?o . ?o rdf:type ontology:Q2221906 }
Asia
That administrative territory is located in Asia
Asia
action filter_type
action find
entity Japan
relation continent
type geographic location
['Japan', 'continent', {'concept': 'geographic location'}] ['Japan', 'continent', {'concept': 'geographic location'}] ['Japan', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { resource:Japan property:continent ?o . ?o rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P194
Q11204
USER
Which legislature is the legislative body for Japan ?
(Q17,P194,c(Q11204))
action filter_type
action find
entity Q17
relation P194
type Q11204
['Q17', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q11204 . resource:Q17 property:P194 ?j }
Japan
action filter_type
action find
entity Japan
relation legislative body
type legislature
['Japan', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:legislature . resource:Japan property:legislative_body ?j }
[]
legislature
Q202384
SYSTEM
National Diet
Q202384
(Q17,P194,c(Q11204))
action filter_type
action find
entity Q17
relation P194
type Q11204
[ANSWER] is the legislative body for Japan
['Q17', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q11204 . resource:Q17 property:P194 ?j }
National Diet
National Diet is the legislative body for Japan
National Diet
action filter_type
action find
entity Japan
relation legislative body
type legislature
['Japan', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:legislature . resource:Japan property:legislative_body ?j }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q150981
P194
Q11204 Q7275
USER
How many states have greater number of legislatures as their representative body than North German Confederation ?
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_type
action find
entity Q150981
relation P194
type Q7275
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?t ) WHERE { ?e rdf:type ontology:Q7275 . ?j rdf:type ontology:Q11204 . ?e property:P194 ?j } GROUP BY ?e } . FILTER ( ?t > ?g ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Q150981 property:P194 ?v . ?v rdf:type ontology:Q7275 } } }
North German Confederation
action count
action greater
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_type
action find
entity North German Confederation
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?t ) WHERE { ?e rdf:type ontology:state . ?j rdf:type ontology:legislature . ?e property:legislative_body ?j } GROUP BY ?e } . FILTER ( ?t > ?g ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:North_German_Confederation property:legislative_body ?v . ?v rdf:type ontology:state } } }
[]
legislature state
SYSTEM
20
Q241748 Q105092 Q842931 Q25279 Q233263 Q131964 Q488521 Q328818 Q171150 Q1062422 Q178038 Q386496 Q7314513 Q491559 Q368986 Q497777 Q12548 Q7314469 Q26273 Q487687
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_type
action find
entity Q150981
relation P194
type Q7275
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?t ) WHERE { ?e rdf:type ontology:Q7275 . ?j rdf:type ontology:Q11204 . ?e property:P194 ?j } GROUP BY ?e } . FILTER ( ?t > ?g ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Q150981 property:P194 ?v . ?v rdf:type ontology:Q7275 } } }
Kingdom of Serbia Kingdom of Mercia East Pakistan Curaçao Second Republic of South Korea Austrian Empire Fourth Republic of South Korea Kingdom of Kent Kingdom of Hungary Konbaung Dynasty Second Spanish Republic Kingdom of Montenegro Republic of South Carolina First Republic of South Korea Republic of Mississippi First Spanish Republic Holy Roman Empire Republic of Georgia Sint Maarten Third Republic of South Korea
20
action count
action greater
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_type
action find
entity North German Confederation
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?t ) WHERE { ?e rdf:type ontology:state . ?j rdf:type ontology:legislature . ?e property:legislative_body ?j } GROUP BY ?e } . FILTER ( ?t > ?g ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:North_German_Confederation property:legislative_body ?v . ?v rdf:type ontology:state } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q174193
P194
Q11204 Q7275
USER
And what about United Kingdom of Great Britain and Ireland?
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_type
action find
entity Q174193
relation P194
type Q7275
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?l ) WHERE { ?j property:P194 ?m . ?j rdf:type ontology:Q7275 . ?m rdf:type ontology:Q11204 } GROUP BY ?j } . FILTER ( ?l > ?r ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { resource:Q174193 property:P194 ?a . ?a rdf:type ontology:Q7275 } } }
United Kingdom of Great Britain and Ireland
action count
action greater
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_type
action find
entity United Kingdom of Great Britain and Ireland
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?l ) WHERE { ?j property:legislative_body ?m . ?j rdf:type ontology:state . ?m rdf:type ontology:legislature } GROUP BY ?j } . FILTER ( ?l > ?r ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { resource:United_Kingdom_of_Great_Britain_and_Ireland property:legislative_body ?a . ?a rdf:type ontology:state } } }
[]
legislature state
SYSTEM
20
Q241748 Q105092 Q842931 Q25279 Q233263 Q131964 Q488521 Q328818 Q171150 Q1062422 Q178038 Q386496 Q7314513 Q491559 Q368986 Q497777 Q12548 Q7314469 Q26273 Q487687
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_type
action find
entity Q174193
relation P194
type Q7275
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?l ) WHERE { ?j property:P194 ?m . ?j rdf:type ontology:Q7275 . ?m rdf:type ontology:Q11204 } GROUP BY ?j } . FILTER ( ?l > ?r ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { resource:Q174193 property:P194 ?a . ?a rdf:type ontology:Q7275 } } }
Kingdom of Serbia Kingdom of Mercia East Pakistan Curaçao Second Republic of South Korea Austrian Empire Fourth Republic of South Korea Kingdom of Kent Kingdom of Hungary Konbaung Dynasty Second Spanish Republic Kingdom of Montenegro Republic of South Carolina First Republic of South Korea Republic of Mississippi First Spanish Republic Holy Roman Empire Republic of Georgia Sint Maarten Third Republic of South Korea
20
action count
action greater
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_type
action find
entity United Kingdom of Great Britain and Ireland
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?l ) WHERE { ?j property:legislative_body ?m . ?j rdf:type ontology:state . ?m rdf:type ontology:legislature } GROUP BY ?j } . FILTER ( ?l > ?r ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { resource:United_Kingdom_of_Great_Britain_and_Ireland property:legislative_body ?a . ?a rdf:type ontology:state } } }
[]