Simple Question (Direct)
Simple Question
Q16223688
P21
Q290
USER
What is the sex of Kim Johannesen ?
(Q16223688,P21,c(Q290))
action filter_type
action find
entity Q16223688
relation P21
type Q290
['Q16223688', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q16223688 property:P21 ?x . ?x rdf:type ontology:Q290 }
Kim Johannesen
action filter_type
action find
entity Kim Johannesen
relation gender
type sex
['Kim Johannesen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Kim_Johannesen property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16223688,P21,c(Q290))
action filter_type
action find
entity Q16223688
relation P21
type Q290
The sex of Kim Johannesen is a [ANSWER]
['Q16223688', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q16223688 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
The sex of Kim Johannesen is a male
male
action filter_type
action find
entity Kim Johannesen
relation gender
type sex
['Kim Johannesen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Kim_Johannesen property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16223688
P106
Q12737077
USER
What do Kim Johannesen do for a living ?
(Q16223688,P106,c(Q12737077))
action filter_type
action find
entity Q16223688
relation P106
type Q12737077
['Q16223688', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q16223688 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Kim Johannesen
action filter_type
action find
entity Kim Johannesen
relation occupation
type occupation
['Kim Johannesen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Kim_Johannesen property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q15981151 Q36834 Q6168364
SYSTEM
jazz musician, composer, jazz guitarist
Q15981151 Q36834 Q6168364
(Q16223688,P106,c(Q12737077))
action filter_type
action find
entity Q16223688
relation P106
type Q12737077
Kim Johannesen do for a living of [ANSWERS]
['Q16223688', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q16223688 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
jazz musician composer jazz guitarist
Kim Johannesen do for a living of jazz musician, composer and jazz guitarist
jazz musician composer jazz guitarist
action filter_type
action find
entity Kim Johannesen
relation occupation
type occupation
['Kim Johannesen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Kim_Johannesen property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q36834
P175
Q7725634
USER
Who performed that occupation ?
(c(Q7725634),P175,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[{'concept': 'Q7725634'}, 'P175', 'Q36834']
SELECT DISTINCT ?e WHERE { ?e property:P175 resource:Q36834 . ?e rdf:type ontology:Q7725634 }
composer
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'composer']
SELECT DISTINCT ?e WHERE { ?e property:performer resource:composer . ?e rdf:type ontology:literary_work }
[]
literary work
Clarification for simple ques.
Q15981151
SYSTEM
Did you mean jazz musician ?
Q15981151 Q36834 Q6168364
(c(Q7725634),P175,Q15981151) (c(Q7725634),P175,Q36834) (c(Q7725634),P175,Q6168364)
[ANSWER]
[{'concept': 'Q7725634'}, 'P175', 'Q15981151'] [{'concept': 'Q7725634'}, 'P175', 'Q36834'] [{'concept': 'Q7725634'}, 'P175', 'Q6168364']
SELECT DISTINCT ?e WHERE { ?e property:P175 resource:Q36834 . ?e rdf:type ontology:Q7725634 }
jazz musician composer jazz guitarist
Did you mean jazz musician ?
jazz musician
[{'concept': 'literary work'}, 'performer', 'jazz musician'] [{'concept': 'literary work'}, 'performer', 'composer'] [{'concept': 'literary work'}, 'performer', 'jazz guitarist']
SELECT DISTINCT ?e WHERE { ?e property:performer resource:composer . ?e rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
USER
No, I meant composer. Could you tell me the answer for that?
(c(Q7725634),P175,Q36834)
Q36834
[{'concept': 'Q7725634'}, 'P175', 'Q36834']
[{'concept': 'literary work'}, 'performer', 'composer']
[]
Q5907189
SYSTEM
Hosanna
Q5907189
(c(Q7725634),P175,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[ANSWER] performed that occupation
[{'concept': 'Q7725634'}, 'P175', 'Q36834']
SELECT DISTINCT ?e WHERE { ?e property:P175 resource:Q36834 . ?e rdf:type ontology:Q7725634 }
Hosanna
Hosanna performed that occupation
Hosanna
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'composer']
SELECT DISTINCT ?e WHERE { ?e property:performer resource:composer . ?e rdf:type ontology:literary_work }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q5907189 Q1595105 Q7650813
P175
Q502895
USER
Did that literary work delivered the performance of Marta Lambertini and Suzanne D'Mello ?
(Q5907189,P175,Q1595105) (Q5907189,P175,Q7650813)
action is_in
entity Q5907189
action intersection
action find_reverse
entity Q1595105
relation P175
action find_reverse
entity Q7650813
relation P175
['Q5907189', 'P175', 'Q1595105'] ['Q5907189', 'P175', 'Q7650813']
ASK WHERE { resource:Q5907189 property:P175 resource:Q1595105 . resource:Q5907189 property:P175 resource:Q7650813 }
Hosanna Marta Lambertini Suzanne D'Mello
action is_in
entity Hosanna
action intersection
action find_reverse
entity Marta Lambertini
relation performer
action find_reverse
entity Suzanne D'Mello
relation performer
['Hosanna', 'performer', 'Marta Lambertini'] ['Hosanna', 'performer', "Suzanne D'Mello"]
ASK WHERE { resource:Hosanna property:performer resource:Marta_Lambertini . resource:Hosanna property:performer resource:Suzanne_D'Mello }
[]
common name
SYSTEM
NO and YES respectively
(Q5907189,P175,Q1595105) (Q5907189,P175,Q7650813)
action is_in
entity Q5907189
action intersection
action find_reverse
entity Q1595105
relation P175
action find_reverse
entity Q7650813
relation P175
[ANSWER]
['Q5907189', 'P175', 'Q1595105'] ['Q5907189', 'P175', 'Q7650813']
ASK WHERE { resource:Q5907189 property:P175 resource:Q1595105 . resource:Q5907189 property:P175 resource:Q7650813 }
NO and YES respectively
action is_in
entity Hosanna
action intersection
action find_reverse
entity Marta Lambertini
relation performer
action find_reverse
entity Suzanne D'Mello
relation performer
['Hosanna', 'performer', 'Marta Lambertini'] ['Hosanna', 'performer', "Suzanne D'Mello"]
ASK WHERE { resource:Hosanna property:performer resource:Marta_Lambertini . resource:Hosanna property:performer resource:Suzanne_D'Mello }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36834 Q1650727
P106
Q502895
USER
How many people have composer and song book as his/her means of employment ?
(c(Q502895),P106,Q36834) (c(Q502895),P106,Q1650727)
action count
action intersection
action filter_type
action find_reverse
entity Q36834
relation P106
type Q502895
action filter_type
action find_reverse
entity Q1650727
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q36834'] [{'concept': 'Q502895'}, 'P106', 'Q1650727']
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P106 resource:Q1650727 . ?p rdf:type ontology:Q502895 . ?p property:P106 resource:Q36834 . ?p rdf:type ontology:Q502895 }
composer song book
action count
action intersection
action filter_type
action find_reverse
entity composer
relation occupation
type common name
action filter_type
action find_reverse
entity song book
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'composer'] [{'concept': 'common name'}, 'occupation', 'song book']
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:occupation resource:song_book . ?p rdf:type ontology:common_name . ?p property:occupation resource:composer . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q961893 Q435241
(c(Q502895),P106,Q36834) (c(Q502895),P106,Q1650727)
action count
action intersection
action filter_type
action find_reverse
entity Q36834
relation P106
type Q502895
action filter_type
action find_reverse
entity Q1650727
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q36834'] [{'concept': 'Q502895'}, 'P106', 'Q1650727']
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P106 resource:Q1650727 . ?p rdf:type ontology:Q502895 . ?p property:P106 resource:Q36834 . ?p rdf:type ontology:Q502895 }
Alan Jay Lerner Dorothy Fields
2
action count
action intersection
action filter_type
action find_reverse
entity composer
relation occupation
type common name
action filter_type
action find_reverse
entity song book
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'composer'] [{'concept': 'common name'}, 'occupation', 'song book']
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:occupation resource:song_book . ?p rdf:type ontology:common_name . ?p property:occupation resource:composer . ?p rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7820432 Q7650813
P27
Q15617994
USER
Which administrative territories are the native countriesof Suzanne D'Mello or Tomás Altamirano Mantovani ?
OR((Q7650813,P27,c(Q15617994)), (Q7820432,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7650813
relation P27
action find
entity Q7820432
relation P27
type Q15617994
{'OR': [['Q7650813', 'P27', {'concept': 'Q15617994'}], ['Q7820432', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { ?h property:P27 ?a . VALUES ( ?h ) { ( resource:Q7820432 ) ( resource:Q7650813 ) } } . ?a rdf:type ontology:Q15617994 }
Tomás Altamirano Mantovani Suzanne D'Mello
action filter_type
action union
action find
entity Suzanne D'Mello
relation country of citizenship
action find
entity Tomás Altamirano Mantovani
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["Suzanne D'Mello", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tomás Altamirano Mantovani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?h property:country_of_citizenship ?a . VALUES ( ?h ) { ( resource:Tomás_Altamirano_Mantovani ) ( resource:Suzanne_D'Mello ) } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q804 Q668
SYSTEM
Panama, India
Q804 Q668
OR((Q7650813,P27,c(Q15617994)), (Q7820432,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7650813
relation P27
action find
entity Q7820432
relation P27
type Q15617994
[ANSWERS] are the native countriesof Suzanne D'Mello or Tomás Altamirano Mantovani
{'OR': [['Q7650813', 'P27', {'concept': 'Q15617994'}], ['Q7820432', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { ?h property:P27 ?a . VALUES ( ?h ) { ( resource:Q7820432 ) ( resource:Q7650813 ) } } . ?a rdf:type ontology:Q15617994 }
Panama India
Panama and India are the native countriesof Suzanne D'Mello or Tomás Altamirano Mantovani
Panama India
action filter_type
action union
action find
entity Suzanne D'Mello
relation country of citizenship
action find
entity Tomás Altamirano Mantovani
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["Suzanne D'Mello", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tomás Altamirano Mantovani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?h property:country_of_citizenship ?a . VALUES ( ?h ) { ( resource:Tomás_Altamirano_Mantovani ) ( resource:Suzanne_D'Mello ) } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q804 Q668
P17
Q486972
USER
Which human settlements are situated in Panama and India ?
(c(Q486972),P17,Q804) (c(Q486972),P17,Q668)
action union
action filter_type
action find_reverse
entity Q804
relation P17
type Q486972
action filter_type
action find_reverse
entity Q668
relation P17
type Q486972
[{'concept': 'Q486972'}, 'P17', 'Q804'] [{'concept': 'Q486972'}, 'P17', 'Q668']
SELECT DISTINCT ?c WHERE { ?c property:P17 ?m . VALUES ( ?m ) { ( resource:Q804 ) ( resource:Q668 ) } }
Panama India
action union
action filter_type
action find_reverse
entity Panama
relation country
type human settlement
action filter_type
action find_reverse
entity India
relation country
type human settlement
[{'concept': 'human settlement'}, 'country', 'Panama'] [{'concept': 'human settlement'}, 'country', 'India']
SELECT DISTINCT ?c WHERE { ?c property:country ?m . VALUES ( ?m ) { ( resource:Panama ) ( resource:India ) } }
[]
human settlement
Q7668549 Q6747920 Q6101379
SYSTEM
T. Nagar, Mandavelli, Iyyapanthangal
Q7258561 Q7129934 Q7068660 Q4845142 Q1018577 Q7668549 Q7447447 Q6478070 Q5329481 Q16930908 Q7424129 Q6890454 Q5101291 Q7708590 Q7233759 Q6824072 Q6747920 Q6101379 Q7685715 Q6434879 Q7571852 Q5528431 Q5584218 Q7426155 Q3322188 Q5208472 Q7785335 Q7785328 Q5018950 Q5121900 Q4959100 Q5210098 Q3270707 Q6374063 Q7785374 Q3350694 Q4851507 Q7814248 Q7531836 Q7168957 Q985666 Q6772960 Q6150862 Q7499793 Q7139968 Q7490606 Q12980235 Q7698839 Q6962019 Q7553252 Q5380085 Q7631861 Q7139262 Q6935404 Q12063830 Q6121944 Q12426646 Q7048167 Q7505977 Q6715767 Q4767373 Q7285503 Q7680332 Q4806922 Q4746424 Q6427082 Q6276238 Q4831893 Q4950708 Q7138106 Q7404488 Q5643681 Q6276260 Q6434366 Q4738371 Q7045541 Q3406502 Q7450105 Q5101159 Q6363958 Q5468761 Q5003979 Q5328741 Q5350460 Q6434029 Q4856263 Q7282939 Q5226775 Q7159043 Q6997127 Q3091349 Q6432988 Q7908087 Q3181037 Q4880659 Q7451227 Q5392618 Q12413015 Q7799236 Q3764606 Q7126919 Q6749638 Q7005286 Q7420699 Q4879863 Q5000354 Q6947632 Q1626646 Q5269337 Q858424 Q6025044 Q18127694 Q6907355 Q5523276 Q7488711 Q7911810 Q3632559 Q4884833 Q7567630 Q7918771 Q7500212 Q6404679 Q12031901 Q5604796 Q7913934 Q5523021 Q6787340 Q7375146 Q7375147 Q8064255 Q7292642 Q1934607 Q7144868 Q6373912 Q2992462 Q2722686 Q211030 Q5529940 Q674501 Q5105573 Q7848228 Q5556839 Q3276293 Q6323457 Q3827004 Q4738370 Q5174715
(c(Q486972),P17,Q804) (c(Q486972),P17,Q668)
action union
action filter_type
action find_reverse
entity Q804
relation P17
type Q486972
action filter_type
action find_reverse
entity Q668
relation P17
type Q486972
[ANSWERS] are situated in Panama and India
[{'concept': 'Q486972'}, 'P17', 'Q804'] [{'concept': 'Q486972'}, 'P17', 'Q668']
SELECT DISTINCT ?c WHERE { ?c property:P17 ?m . VALUES ( ?m ) { ( resource:Q804 ) ( resource:Q668 ) } }
Puerto Indio Panama Pacifico Nuevo Arraiján Unión Chocó El Porvenir T. Nagar Selaiyur Lake Town, Kolkata East Tambaram Naranpura Sarita Vihar Mogappair Chintadripet Teynampet Posta, Burrabazar Metiabruz Mandavelli Iyyapanthangal Tardeo Kovilambakkam Sowcarpet Gawand baug Gopalapuram, Chennai Sathiya Moorthy Nagar HITEC City Dagdi Chawl Thirumangalam, Chennai Thirumalai nagar Calcutta Riverside Mazagaon Breach Candy Dakshineswar Paharganj Kasba, Kolkata Thirunagar Bagbazar Ballard Estate Tolgate Sithalapakkam Periyakudal Churchgate Marriguda Janbazar Shobhabazar Parshuram Mahadev Temple Shasthri Nagar Guindy Thiru Vi Ka Estate Templetown Nampally, Hyderabad Sodepur Entally Subramania Nagar Parnasree Pally Mumfordgunj New Garia Jafferkhanpet Chirag Delhi Nolambur Shyambazar MGR Nagar Anna Nagar West Raja Nagar Taltala Asif Nagar Aminjikarai Kolathur, Chennai Jorabagan Ayyappa Nagar Bowbazar Park Town, Chennai Saligramam Haltu Jorasanko Kotturpuram Alwarpet Noapara, India Parry's Corner Sencheri Chinnakudal Kannammapet Foreshore Estate Byculla East Kolkata Ekkaduthangal Kothawal Chavadi Parel Raghava nagar Matunga Peddanaickenpettah Nesapakkam Palayoor Kosapet Vada Agaram Bankipore Behala Senthil Nagar Ernavoor Andheri Thuraipakkam Kondavid Fort Palavanthangal Maniktala New Alipore Santoshpur, Kolkata Beemannapettai Burrabazar Mylapore-Triplicane taluk Jena Dharmatala Candolim Indira Nagar, Chennai Maisuma Moolakadai Garia Shankar Vihar Vallalar Nagar Colaba Belur, West Bengal South Kolkata Velachery Sholavaram Kidderpore Kumhrar Greenways Road Vanagaram Garfa Mathur, Chennai Royapettah Royapuram Zafarabad, India Rangarajapuram Worli Pathuriaghata Malabar Hill Ashok Nagar Eklingji Cherrapunji Geeta Bhawan Mahim Chowringhee Trustpuram Ghola, North 24 Parganas George Town K. K. Nagar, Chennai Haleri Alwarthirunagar Cossipore
T. Nagar, Mandavelli and Iyyapanthangal are situated in Panama and India
T. Nagar Mandavelli Iyyapanthangal
action union
action filter_type
action find_reverse
entity Panama
relation country
type human settlement
action filter_type
action find_reverse
entity India
relation country
type human settlement
[{'concept': 'human settlement'}, 'country', 'Panama'] [{'concept': 'human settlement'}, 'country', 'India']
SELECT DISTINCT ?c WHERE { ?c property:country ?m . VALUES ( ?m ) { ( resource:Panama ) ( resource:India ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7820432
P1412
Q34770
USER
Which language does Tomás Altamirano Mantovani speak in ?
(Q7820432,P1412,c(Q34770))
action filter_type
action find
entity Q7820432
relation P1412
type Q34770
['Q7820432', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q7820432 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Tomás Altamirano Mantovani
action filter_type
action find
entity Tomás Altamirano Mantovani
relation languages spoken, written or signed
type language
['Tomás Altamirano Mantovani', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Tomás_Altamirano_Mantovani property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q7820432,P1412,c(Q34770))
action filter_type
action find
entity Q7820432
relation P1412
type Q34770
Tomás Altamirano Mantovani speaks in [ANSWER]
['Q7820432', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q7820432 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Spanish
Tomás Altamirano Mantovani speaks in Spanish
Spanish
action filter_type
action find
entity Tomás Altamirano Mantovani
relation languages spoken, written or signed
type language
['Tomás Altamirano Mantovani', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Tomás_Altamirano_Mantovani property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5818787
Q34770
USER
And also tell me about Edmundo Eichelbaum?
(Q5818787,P1412,c(Q34770))
action filter_type
action find
entity Q5818787
relation P1412
type Q34770
['Q5818787', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q5818787 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Edmundo Eichelbaum
action filter_type
action find
entity Edmundo Eichelbaum
relation languages spoken, written or signed
type language
['Edmundo Eichelbaum', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Edmundo_Eichelbaum property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5818787,P1412,c(Q34770))
action filter_type
action find
entity Q5818787
relation P1412
type Q34770
[ANSWER]
['Q5818787', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q5818787 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Spanish
Spanish
action filter_type
action find
entity Edmundo Eichelbaum
relation languages spoken, written or signed
type language
['Edmundo Eichelbaum', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Edmundo_Eichelbaum property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages are greater number of writing systems the writing system of than that language ?
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1321
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?h ) WHERE { ?j property:P282 ?u . ?j rdf:type ontology:Q34770 . ?u rdf:type ontology:Q8192 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Q1321 property:P282 ?f . ?f rdf:type ontology:Q34770 } } . FILTER ( ?h > ?e ) }
action count
action greater
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Spanish
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?h ) WHERE { ?j property:writing_system ?u . ?j rdf:type ontology:language . ?u rdf:type ontology:writing_system } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Spanish property:writing_system ?f . ?f rdf:type ontology:language } } . FILTER ( ?h > ?e ) }
[]
writing system language
SYSTEM
1
Q182695
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1321
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?h ) WHERE { ?j property:P282 ?u . ?j rdf:type ontology:Q34770 . ?u rdf:type ontology:Q8192 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Q1321 property:P282 ?f . ?f rdf:type ontology:Q34770 } } . FILTER ( ?h > ?e ) }
Late Old Japanese
1
action count
action greater
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Spanish
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?h ) WHERE { ?j property:writing_system ?u . ?j rdf:type ontology:language . ?u rdf:type ontology:writing_system } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Spanish property:writing_system ?f . ?f rdf:type ontology:language } } . FILTER ( ?h > ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q550383
P282
Q9779 Q34770
USER
Which alphabets are used as the alphabet set for less number of languages than Italian alphabet ?
(c(Q34770),P282,c(Q9779))
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q550383
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:Q34770 . ?u property:P282 resource:Q550383 } } . FILTER ( ?y < ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?y ) WHERE { ?z rdf:type ontology:Q34770 . ?d rdf:type ontology:Q9779 . ?z property:P282 ?d } GROUP BY ?d } }
Italian alphabet
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Italian alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:language . ?u property:writing_system resource:Italian_alphabet } } . FILTER ( ?y < ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?y ) WHERE { ?z rdf:type ontology:language . ?d rdf:type ontology:alphabet . ?z property:writing_system ?d } GROUP BY ?d } }
[]
alphabet language
Q792216 Q13405127 Q540987
SYSTEM
Belarusian alphabet, Rusyn alphabet, Portuguese alphabet
Q164436 Q754989 Q792216 Q606972 Q187846 Q13405127 Q1937113 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q550383
relation P282
type Q34770
[ANSWERS] are used as the alphabet set for less number of languages than Italian alphabet
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:Q34770 . ?u property:P282 resource:Q550383 } } . FILTER ( ?y < ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?y ) WHERE { ?z rdf:type ontology:Q34770 . ?d rdf:type ontology:Q9779 . ?z property:P282 ?d } GROUP BY ?d } }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Rusyn alphabet futhark Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
Belarusian alphabet, Rusyn alphabet and Portuguese alphabet are used as the alphabet set for less number of languages than Italian alphabet
Belarusian alphabet Rusyn alphabet Portuguese alphabet
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Italian alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:language . ?u property:writing_system resource:Italian_alphabet } } . FILTER ( ?y < ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?y ) WHERE { ?z rdf:type ontology:language . ?d rdf:type ontology:alphabet . ?z property:writing_system ?d } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q8209
P282
Q9779 Q34770
USER
And also tell me about Cyrillic script?
(c(Q34770),P282,c(Q9779))
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q8209
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P282 resource:Q8209 . ?s rdf:type ontology:Q34770 } } . FILTER ( ?u < ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P282 ?x . ?x rdf:type ontology:Q9779 . ?e rdf:type ontology:Q34770 } GROUP BY ?x } }
Cyrillic script
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Cyrillic script
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:writing_system resource:Cyrillic_script . ?s rdf:type ontology:language } } . FILTER ( ?u < ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:writing_system ?x . ?x rdf:type ontology:alphabet . ?e rdf:type ontology:language } GROUP BY ?x } }
[]
alphabet language
Q792216 Q13405127 Q540987
SYSTEM
Belarusian alphabet, Rusyn alphabet, Portuguese alphabet
Q164436 Q754989 Q792216 Q606972 Q187846 Q829464 Q13405127 Q550383 Q1937113 Q442244 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q8209
relation P282
type Q34770
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P282 resource:Q8209 . ?s rdf:type ontology:Q34770 } } . FILTER ( ?u < ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P282 ?x . ?x rdf:type ontology:Q9779 . ?e rdf:type ontology:Q34770 } GROUP BY ?x } }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Serbian Cyrillic alphabet Rusyn alphabet Italian alphabet futhark Early Cyrillic alphabet Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
Belarusian alphabet Rusyn alphabet Portuguese alphabet
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Cyrillic script
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:writing_system resource:Cyrillic_script . ?s rdf:type ontology:language } } . FILTER ( ?u < ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:writing_system ?x . ?x rdf:type ontology:alphabet . ?e rdf:type ontology:language } GROUP BY ?x } }
[]