Simple Question (Direct)
Simple Question
Q19794709
P161
Q502895
USER
Which people starred in Masked Prosecutor ?
(Q19794709,P161,c(Q502895))
action filter_type
action find
entity Q19794709
relation P161
type Q502895
['Q19794709', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q19794709 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Masked Prosecutor
action filter_type
action find
entity Masked Prosecutor
relation cast member
type common name
['Masked Prosecutor', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Masked_Prosecutor property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
Q626806 Q12612257 Q498053
SYSTEM
Hong Seok-cheon, Lee Won-jong, Lee Ki-young
Q1526592 Q2947919 Q3704061 Q7138146 Q489630 Q491095 Q626806 Q12612257 Q486115 Q488864 Q6685527 Q498053
(Q19794709,P161,c(Q502895))
action filter_type
action find
entity Q19794709
relation P161
type Q502895
[ANSWERS] starred in Masked Prosecutor
['Q19794709', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q19794709 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Lee Moon-sik Hwang Sun-hee Noh Young-hak Park Yeong-gyu Jeon Gwang-ryeol Joo Sang-wook Hong Seok-cheon Lee Won-jong Eom Gi-jun Kim Sun-a Jeong Ae-ri Lee Ki-young
Hong Seok-cheon, Lee Won-jong and Lee Ki-young starred in Masked Prosecutor
Hong Seok-cheon Lee Won-jong Lee Ki-young
action filter_type
action find
entity Masked Prosecutor
relation cast member
type common name
['Masked Prosecutor', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Masked_Prosecutor property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q498053
P734
Q82799
USER
Who has the surname that person ?
(Q498053,P734,c(Q82799))
action filter_type
action find
entity Q498053
relation P734
type Q82799
['Q498053', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . resource:Q498053 property:P734 ?t }
Lee Ki-young
action filter_type
action find
entity Lee Ki-young
relation family name
type name
['Lee Ki-young', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . resource:Lee_Ki-young property:family_name ?t }
[]
name
Clarification for simple ques.
Q498053
SYSTEM
Did you mean Lee Ki-young ?
Q626806 Q12612257 Q498053
(Q626806,P734,c(Q82799)) (Q12612257,P734,c(Q82799)) (Q498053,P734,c(Q82799))
[ANSWER]
['Q626806', 'P734', {'concept': 'Q82799'}] ['Q12612257', 'P734', {'concept': 'Q82799'}] ['Q498053', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . resource:Q498053 property:P734 ?t }
Hong Seok-cheon Lee Won-jong Lee Ki-young
Did you mean Lee Ki-young ?
Lee Ki-young
['Hong Seok-cheon', 'family name', {'concept': 'name'}] ['Lee Won-jong', 'family name', {'concept': 'name'}] ['Lee Ki-young', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . resource:Lee_Ki-young property:family_name ?t }
[]
Simple Question (Coreferenced)
USER
Yes
(Q498053,P734,c(Q82799))
['Q498053', 'P734', {'concept': 'Q82799'}]
['Lee Ki-young', 'family name', {'concept': 'name'}]
[]
Q11983535
SYSTEM
Lee
Q11983535
(Q498053,P734,c(Q82799))
action filter_type
action find
entity Q498053
relation P734
type Q82799
[ANSWER] has the surname that person
['Q498053', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . resource:Q498053 property:P734 ?t }
Lee
Lee has the surname that person
Lee
action filter_type
action find
entity Lee Ki-young
relation family name
type name
['Lee Ki-young', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . resource:Lee_Ki-young property:family_name ?t }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q35505
P407
Q34770 Q82799
USER
Which languages are lesser number of names composed in than Old Norse language ?
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q35505
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?z < ?i ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { ?g rdf:type ontology:Q82799 . ?g property:P407 resource:Q35505 } } . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P407 ?d . ?d rdf:type ontology:Q34770 . ?j rdf:type ontology:Q82799 } GROUP BY ?d } }
Old Norse language
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Old Norse language
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?z < ?i ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { ?g rdf:type ontology:name . ?g property:language_of_work_or_name resource:Old_Norse_language } } . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:language_of_work_or_name ?d . ?d rdf:type ontology:language . ?j rdf:type ontology:name } GROUP BY ?d } }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q37041 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q35505
relation P407
type Q82799
[ANSWERS] are lesser number of names composed in than Old Norse language
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?z < ?i ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { ?g rdf:type ontology:Q82799 . ?g property:P407 resource:Q35505 } } . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P407 ?d . ?d rdf:type ontology:Q34770 . ?j rdf:type ontology:Q82799 } GROUP BY ?d } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse classical Chinese Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are lesser number of names composed in than Old Norse language
Old Egyptian Old Church Slavonic Etruscan
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Old Norse language
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?z < ?i ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { ?g rdf:type ontology:name . ?g property:language_of_work_or_name resource:Old_Norse_language } } . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:language_of_work_or_name ?d . ?d rdf:type ontology:language . ?j rdf:type ontology:name } GROUP BY ?d } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P37
Q515 Q56061
USER
How many cities and administrative territories are that language associated to as the official language ?
(c(Q515),P37,Q35726) (c(Q56061),P37,Q35726) (c(Q515),P37,Q447117) (c(Q56061),P37,Q447117) (c(Q515),P37,Q35499) (c(Q56061),P37,Q35499) (c(Q515),P37,Q35726) (c(Q56061),P37,Q35726)
[{'concept': 'Q515'}, 'P37', 'Q35726'] [{'concept': 'Q56061'}, 'P37', 'Q35726'] [{'concept': 'Q515'}, 'P37', 'Q447117'] [{'concept': 'Q56061'}, 'P37', 'Q447117'] [{'concept': 'Q515'}, 'P37', 'Q35499'] [{'concept': 'Q56061'}, 'P37', 'Q35499'] [{'concept': 'Q515'}, 'P37', 'Q35726'] [{'concept': 'Q56061'}, 'P37', 'Q35726']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q23492 resource:Q35726 } UNION { ?y property:Q23492 resource:Q35726 } UNION { ?z property:Q23492 resource:Q447117 } UNION { ?y property:Q23492 resource:Q447117 } UNION { ?z property:Q23492 resource:Q35499 } UNION { ?y property:Q23492 resource:Q35499 } UNION { ?z property:Q23492 resource:Q35726 } UNION { ?y property:Q23492 resource:Q35726 } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q56061 }
[{'concept': 'city'}, 'official language', 'Etruscan'] [{'concept': 'administrative territorial entity'}, 'official language', 'Etruscan'] [{'concept': 'city'}, 'official language', 'Old Egyptian'] [{'concept': 'administrative territorial entity'}, 'official language', 'Old Egyptian'] [{'concept': 'city'}, 'official language', 'Old Church Slavonic'] [{'concept': 'administrative territorial entity'}, 'official language', 'Old Church Slavonic'] [{'concept': 'city'}, 'official language', 'Etruscan'] [{'concept': 'administrative territorial entity'}, 'official language', 'Etruscan']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:official_language resource:Etruscan } UNION { ?y property:official_language resource:Etruscan } UNION { ?z property:official_language resource:Old_Egyptian } UNION { ?y property:official_language resource:Old_Egyptian } UNION { ?z property:official_language resource:Old_Church_Slavonic } UNION { ?y property:official_language resource:Old_Church_Slavonic } UNION { ?z property:official_language resource:Etruscan } UNION { ?y property:official_language resource:Etruscan } } . ?z rdf:type ontology:city . ?y rdf:type ontology:administrative_territorial_entity }
[]
city administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q447117
SYSTEM
Did you mean Old Egyptian ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q23492 resource:Q35726 } UNION { ?y property:Q23492 resource:Q35726 } UNION { ?z property:Q23492 resource:Q447117 } UNION { ?y property:Q23492 resource:Q447117 } UNION { ?z property:Q23492 resource:Q35499 } UNION { ?y property:Q23492 resource:Q35499 } UNION { ?z property:Q23492 resource:Q35726 } UNION { ?y property:Q23492 resource:Q35726 } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q56061 }
Did you mean Old Egyptian ?
Old Egyptian
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:official_language resource:Etruscan } UNION { ?y property:official_language resource:Etruscan } UNION { ?z property:official_language resource:Old_Egyptian } UNION { ?y property:official_language resource:Old_Egyptian } UNION { ?z property:official_language resource:Old_Church_Slavonic } UNION { ?y property:official_language resource:Old_Church_Slavonic } UNION { ?z property:official_language resource:Etruscan } UNION { ?y property:official_language resource:Etruscan } } . ?z rdf:type ontology:city . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Etruscan. Could you tell me the answer for that?
(c(Q515),P37,Q35726) (c(Q56061),P37,Q35726) (c(Q515),P37,Q447117) (c(Q56061),P37,Q447117) (c(Q515),P37,Q35499) (c(Q56061),P37,Q35499) (c(Q515),P37,Q35726) (c(Q56061),P37,Q35726)
Q35726
[{'concept': 'Q515'}, 'P37', 'Q35726'] [{'concept': 'Q56061'}, 'P37', 'Q35726'] [{'concept': 'Q515'}, 'P37', 'Q447117'] [{'concept': 'Q56061'}, 'P37', 'Q447117'] [{'concept': 'Q515'}, 'P37', 'Q35499'] [{'concept': 'Q56061'}, 'P37', 'Q35499'] [{'concept': 'Q515'}, 'P37', 'Q35726'] [{'concept': 'Q56061'}, 'P37', 'Q35726']
[{'concept': 'city'}, 'official language', 'Etruscan'] [{'concept': 'administrative territorial entity'}, 'official language', 'Etruscan'] [{'concept': 'city'}, 'official language', 'Old Egyptian'] [{'concept': 'administrative territorial entity'}, 'official language', 'Old Egyptian'] [{'concept': 'city'}, 'official language', 'Old Church Slavonic'] [{'concept': 'administrative territorial entity'}, 'official language', 'Old Church Slavonic'] [{'concept': 'city'}, 'official language', 'Etruscan'] [{'concept': 'administrative territorial entity'}, 'official language', 'Etruscan']
[]
SYSTEM
5 cities and 1 administrative territories
Q677935 Q21573810 Q2914373 Q843729 Q21580466 Q931172
(c(Q515),P37,Q35726) (c(Q56061),P37,Q35726) (c(Q515),P37,Q447117) (c(Q56061),P37,Q447117) (c(Q515),P37,Q35499) (c(Q56061),P37,Q35499) (c(Q515),P37,Q35726) (c(Q56061),P37,Q35726)
[ANSWER]
[{'concept': 'Q515'}, 'P37', 'Q35726'] [{'concept': 'Q56061'}, 'P37', 'Q35726'] [{'concept': 'Q515'}, 'P37', 'Q447117'] [{'concept': 'Q56061'}, 'P37', 'Q447117'] [{'concept': 'Q515'}, 'P37', 'Q35499'] [{'concept': 'Q56061'}, 'P37', 'Q35499'] [{'concept': 'Q515'}, 'P37', 'Q35726'] [{'concept': 'Q56061'}, 'P37', 'Q35726']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q23492 resource:Q35726 } UNION { ?y property:Q23492 resource:Q35726 } UNION { ?z property:Q23492 resource:Q447117 } UNION { ?y property:Q23492 resource:Q447117 } UNION { ?z property:Q23492 resource:Q35499 } UNION { ?y property:Q23492 resource:Q35499 } UNION { ?z property:Q23492 resource:Q35726 } UNION { ?y property:Q23492 resource:Q35726 } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q56061 }
Veii Populonia Caere Clusium Tarquinia Volci
5 cities and 1 administrative territories
[{'concept': 'city'}, 'official language', 'Etruscan'] [{'concept': 'administrative territorial entity'}, 'official language', 'Etruscan'] [{'concept': 'city'}, 'official language', 'Old Egyptian'] [{'concept': 'administrative territorial entity'}, 'official language', 'Old Egyptian'] [{'concept': 'city'}, 'official language', 'Old Church Slavonic'] [{'concept': 'administrative territorial entity'}, 'official language', 'Old Church Slavonic'] [{'concept': 'city'}, 'official language', 'Etruscan'] [{'concept': 'administrative territorial entity'}, 'official language', 'Etruscan']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:official_language resource:Etruscan } UNION { ?y property:official_language resource:Etruscan } UNION { ?z property:official_language resource:Old_Egyptian } UNION { ?y property:official_language resource:Old_Egyptian } UNION { ?z property:official_language resource:Old_Church_Slavonic } UNION { ?y property:official_language resource:Old_Church_Slavonic } UNION { ?z property:official_language resource:Etruscan } UNION { ?y property:official_language resource:Etruscan } } . ?z rdf:type ontology:city . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q498053
P19
Q15617994
USER
Which administrative territory was Lee Ki-young born in ?
(Q498053,P19,c(Q15617994))
action filter_type
action find
entity Q498053
relation P19
type Q15617994
['Q498053', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q498053 property:P19 ?m . ?m rdf:type ontology:Q15617994 }
Lee Ki-young
action filter_type
action find
entity Lee Ki-young
relation place of birth
type designation for an administrative territorial entity
['Lee Ki-young', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Lee_Ki-young property:place_of_birth ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q498053,P19,c(Q15617994))
action filter_type
action find
entity Q498053
relation P19
type Q15617994
Lee Ki-young was born in [ANSWER]
['Q498053', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q498053 property:P19 ?m . ?m rdf:type ontology:Q15617994 }
South Korea
Lee Ki-young was born in South Korea
South Korea
action filter_type
action find
entity Lee Ki-young
relation place of birth
type designation for an administrative territorial entity
['Lee Ki-young', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Lee_Ki-young property:place_of_birth ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q498053
P7
Q502895
USER
Who is that one a brother of ?
(c(Q502895),P7,Q884)
action filter_type
action find
entity Q498053
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q884']
SELECT DISTINCT ?c WHERE { resource:Q498053 property:P7 ?c . ?c rdf:type ontology:Q502895 }
Lee Ki-young
action filter_type
action find
entity Lee Ki-young
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'South Korea']
SELECT DISTINCT ?c WHERE { resource:Lee_Ki-young property:brother ?c . ?c rdf:type ontology:common_name }
[]
common name
Q13482021
SYSTEM
Lee Hyo-jung
Q13482021
(c(Q502895),P7,Q884)
action filter_type
action find
entity Q498053
relation P7
type Q502895
That one a brother of is [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q884']
SELECT DISTINCT ?c WHERE { resource:Q498053 property:P7 ?c . ?c rdf:type ontology:Q502895 }
Lee Hyo-jung
That one a brother of is Lee Hyo-jung
Lee Hyo-jung
action filter_type
action find
entity Lee Ki-young
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'South Korea']
SELECT DISTINCT ?c WHERE { resource:Lee_Ki-young property:brother ?c . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q11325839
P725
Q502895 Q2342494
USER
How many collectables did approximately the same number of people dub for as No Game No Life-mart ?
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q11325839
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?d ) WHERE { ?n rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q502895 . ?n property:P725 ?u } GROUP BY ?n } . FILTER ( ?d = ?c ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ontology:Q2342494 . resource:Q11325839 property:P725 ?r } } }
No Game No Life-mart
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity No Game No Life-mart
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?d ) WHERE { ?n rdf:type ontology:collectable . ?u rdf:type ontology:common_name . ?n property:voice_actor ?u } GROUP BY ?n } . FILTER ( ?d = ?c ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ontology:collectable . resource:No_Game_No_Life-mart property:voice_actor ?r } } }
[]
common name collectable
SYSTEM
12
Q50035 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q11325839
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?d ) WHERE { ?n rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q502895 . ?n property:P725 ?u } GROUP BY ?n } . FILTER ( ?d = ?c ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ontology:Q2342494 . resource:Q11325839 property:P725 ?r } } }
Nyaruko: Crawling with Love Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Muv-Luv
12
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity No Game No Life-mart
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?d ) WHERE { ?n rdf:type ontology:collectable . ?u rdf:type ontology:common_name . ?n property:voice_actor ?u } GROUP BY ?n } . FILTER ( ?d = ?c ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ontology:collectable . resource:No_Game_No_Life-mart property:voice_actor ?r } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P35
Q502895
USER
Which people are the heads of state of South Korea ?
(Q884,P35,c(Q502895))
action filter_type
action find
entity Q884
relation P35
type Q502895
['Q884', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q884 property:P35 ?d . ?d rdf:type ontology:Q502895 }
South Korea
action filter_type
action find
entity South Korea
relation head of state
type common name
['South Korea', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:South_Korea property:head_of_state ?d . ?d rdf:type ontology:common_name }
[]
common name
Q14356 Q138048 Q45785
SYSTEM
Park Chung-hee, Park Geun-hye, Kim Dae-jung
Q14345 Q165210 Q45785 Q14342 Q171684 Q138048 Q242651 Q313350 Q192049 Q14356 Q14362
(Q884,P35,c(Q502895))
action filter_type
action find
entity Q884
relation P35
type Q502895
[ANSWERS] are the heads of state of South Korea
['Q884', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q884 property:P35 ?d . ?d rdf:type ontology:Q502895 }
Roh Moo-hyun Kim Young-sam Kim Dae-jung Lee Myung-bak Rhee Syng-man Park Geun-hye Roh Tae-woo Choi Kyu-ha Yun Posun Park Chung-hee Chun Doo-hwan
Park Chung-hee, Park Geun-hye and Kim Dae-jung are the heads of state of South Korea
Park Chung-hee Park Geun-hye Kim Dae-jung
action filter_type
action find
entity South Korea
relation head of state
type common name
['South Korea', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:South_Korea property:head_of_state ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q25279
Q502895
USER
And what about Curaçao?
(Q25279,P35,c(Q502895))
action filter_type
action find
entity Q25279
relation P35
type Q502895
['Q25279', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q25279 property:P35 ?b . ?b rdf:type ontology:Q502895 }
Curaçao
action filter_type
action find
entity Curaçao
relation head of state
type common name
['Curaçao', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Curaçao property:head_of_state ?b . ?b rdf:type ontology:common_name }
[]
common name
Q154952
SYSTEM
Willem-Alexander of the Netherlands
Q154952
(Q25279,P35,c(Q502895))
action filter_type
action find
entity Q25279
relation P35
type Q502895
[ANSWER]
['Q25279', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q25279 property:P35 ?b . ?b rdf:type ontology:Q502895 }
Willem-Alexander of the Netherlands
Willem-Alexander of the Netherlands
action filter_type
action find
entity Curaçao
relation head of state
type common name
['Curaçao', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Curaçao property:head_of_state ?b . ?b rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q447117
P407
Q34770 Q234460 Q14795564
USER
Which languages are lesser number of texts or determinators for date of periodic occurrence in than Old Egyptian ?
(c(Q234460)|c(Q14795564),P407,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
action count
action filter_multi_types
action find_reverse
entity Q447117
relation P407
type Q234460
type Q14795564
[[{'concept': 'Q234460'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?w ) WHERE { { ?x property:P407 ?y . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q234460 } UNION { ?x property:P407 ?y . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q14795564 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P407 resource:Q447117 . { { ?k rdf:type ontology:Q234460 } UNION { ?k rdf:type ontology:Q14795564 } } } } . FILTER ( ?w < ?q ) }
Old Egyptian
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
action count
action filter_multi_types
action find_reverse
entity Old Egyptian
relation language of work or name
type text
type determinator for date of periodic occurrence
[[{'concept': 'text'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?w ) WHERE { { ?x property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?x rdf:type ontology:text } UNION { ?x property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?x rdf:type ontology:determinator_for_date_of_periodic_occurrence } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:language_of_work_or_name resource:Old_Egyptian . { { ?k rdf:type ontology:text } UNION { ?k rdf:type ontology:determinator_for_date_of_periodic_occurrence } } } } . FILTER ( ?w < ?q ) }
[]
language text determinator for date of periodic occurrence
Q35499 Q9056 Q8752
SYSTEM
Old Church Slavonic, Czech, Basque
Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q9056 Q8752 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308
(c(Q234460)|c(Q14795564),P407,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
action count
action filter_multi_types
action find_reverse
entity Q447117
relation P407
type Q234460
type Q14795564
[ANSWERS] are lesser number of texts or determinators for date of periodic occurrence in than Old Egyptian
[[{'concept': 'Q234460'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?w ) WHERE { { ?x property:P407 ?y . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q234460 } UNION { ?x property:P407 ?y . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q14795564 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P407 resource:Q447117 . { { ?k rdf:type ontology:Q234460 } UNION { ?k rdf:type ontology:Q14795564 } } } } . FILTER ( ?w < ?q ) }
Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Czech Basque classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish
Old Church Slavonic, Czech and Basque are lesser number of texts or determinators for date of periodic occurrence in than Old Egyptian
Old Church Slavonic Czech Basque
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
action count
action filter_multi_types
action find_reverse
entity Old Egyptian
relation language of work or name
type text
type determinator for date of periodic occurrence
[[{'concept': 'text'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?w ) WHERE { { ?x property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?x rdf:type ontology:text } UNION { ?x property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?x rdf:type ontology:determinator_for_date_of_periodic_occurrence } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:language_of_work_or_name resource:Old_Egyptian . { { ?k rdf:type ontology:text } UNION { ?k rdf:type ontology:determinator_for_date_of_periodic_occurrence } } } } . FILTER ( ?w < ?q ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q35499 Q9056 Q8752
P364
Q2342494
USER
Which collectables have those ones as their original language of creation ?
(c(Q2342494),P364,Q35499) (c(Q2342494),P364,Q9056) (c(Q2342494),P364,Q8752)
action filter_type
action find_reverse
entity prev_answer
relation P364
type Q2342494
[{'concept': 'Q2342494'}, 'P364', 'Q35499'] [{'concept': 'Q2342494'}, 'P364', 'Q9056'] [{'concept': 'Q2342494'}, 'P364', 'Q8752']
SELECT DISTINCT ?x WHERE { VALUES ( ?b ) { ( resource:Q18130932 ) ( resource:Q13414913 ) ( resource:Q21161942 ) } . ?x rdf:type ontology:Q2342494 . ?x property:P364 ?b }
Old Church Slavonic Czech Basque
action filter_type
action find_reverse
entity prev_answer
relation original language of work
type collectable
[{'concept': 'collectable'}, 'original language of work', 'Old Church Slavonic'] [{'concept': 'collectable'}, 'original language of work', 'Czech'] [{'concept': 'collectable'}, 'original language of work', 'Basque']
SELECT DISTINCT ?x WHERE { VALUES ( ?b ) { ( resource:Traditional_Chinese ) ( resource:Simplified_Chinese ) ( resource:Serbian_written_in_Cyrillic ) } . ?x rdf:type ontology:collectable . ?x property:original_language_of_work ?b }
[]
collectable
Q27527748 Q22338258 Q7979149
SYSTEM
Chrámy, kostely, svatyně a kaple v Olomouci, Průvodce po pražských hřbitovech, Wedge: The Secret War between the FBI and CIA
Q1133281 Q27628995 Q6679794 Q3509819 Q22696174 Q12033663 Q12027989 Q12058244 Q2529488 Q22696163 Q27630320 Q27642066 Q24694485 Q10857108 Q27630539 Q24207209 Q7919094 Q15962368 Q6770866 Q22661350 Q27633413 Q24575316 Q5595421 Q26250129 Q7129685 Q22338258 Q12041443 Q3505311 Q12029915 Q27642476 Q1786390 Q7979149 Q5978653 Q12038115 Q5119923 Q19531329 Q23968346 Q5065594 Q7362437 Q6689938 Q27635806 Q23020912 Q26955947 Q6729847 Q22809656 Q3502111 Q3491167 Q24692852 Q7262396 Q3505812 Q27642144 Q22674792 Q19526987 Q22807419 Q7206119 Q3507349 Q19527945 Q22809888 Q11774281 Q15962669 Q7721505 Q25804195 Q3505481 Q7754780 Q4720558 Q7235920 Q4928500 Q19525150 Q27629861 Q6520574 Q6429067 Q27634641 Q138746 Q8063388 Q7540214 Q19694540 Q6047808 Q208622 Q27601013 Q7035716 Q22338232 Q22697091 Q6059465 Q12056909 Q7265220 Q917055 Q12020445 Q1194994 Q12039123 Q7239132 Q22806968 Q8066422 Q6440426 Q3477628 Q12021108 Q19538713 Q15962411 Q3508812 Q1401603 Q5288782 Q8076010 Q8076012 Q12006447 Q7630278 Q2736195 Q3508698 Q24113705 Q2474308 Q520057 Q22939711 Q7265217 Q10857371 Q12040836 Q7939127 Q7847154 Q6382023 Q1156065 Q2461792 Q15963079 Q22808352 Q3566103 Q27628429 Q8075599 Q6624057 Q26257627 Q7546785 Q12054780 Q22338115 Q7086721 Q22939229 Q4449939 Q3508486 Q12040379 Q24034043 Q5134101 Q27630609 Q19535418 Q21667053 Q5005112 Q22809898 Q6956467 Q2723517 Q4958079 Q27588508 Q19534688 Q27527748 Q24089288 Q27588492 Q3505462 Q373479 Q22951510 Q6419576 Q27629999 Q966732 Q3571247 Q8247919 Q12253315
(c(Q2342494),P364,Q35499) (c(Q2342494),P364,Q9056) (c(Q2342494),P364,Q8752)
action filter_type
action find_reverse
entity prev_answer
relation P364
type Q2342494
[ANSWERS] have those ones as their original language of creation
[{'concept': 'Q2342494'}, 'P364', 'Q35499'] [{'concept': 'Q2342494'}, 'P364', 'Q9056'] [{'concept': 'Q2342494'}, 'P364', 'Q8752']
SELECT DISTINCT ?x WHERE { VALUES ( ?b ) { ( resource:Q18130932 ) ( resource:Q13414913 ) ( resource:Q21161942 ) } . ?x rdf:type ontology:Q2342494 . ?x property:P364 ?b }
Book of Boril Paličkování Lord Mord Memento Historický lexikon obcí České republiky 1869–2005 Literární atlas československý Kapitán Nemo Secret of the High Vont Laughable Loves Historický lexikon obcí České republiky 1869–2005 Jak si vyšiji šaty Jablka mladosti Dějiny Metropolitního chrámu sv. Václava v Olomouci Zadrhlo zahrdlo Křížkové vyšívání Řemesla Velkovýroba ctnosti H. C. Andersena Povídky a báchorky Marketa Lazarová Programovací jazyk KAREL Síťování a práce na tylu Mariánské Lázně, Františkovy Lázně Grandhotel Pět pohádek Pan Theodor Mundstock Průvodce po pražských hřbitovech Nový velký ilustrovaný slovník naučný Život a dílo skladatele Foltýna bank of slovakia Marianské dítko — O Palečkovi — Podvedený lišák Bible of Kralice Wedge: The Secret War between the FBI and CIA I Never Saw Another Butterfly Mistr Kampanus Cikáni Příběhy Odysseovy Olomouc, královské hlavní město Moravy Cesta krve Romance pro křídlovku Lovci orchidejí Čertův švagr — Kmotr Matěj Renobilitační procesy pražské The Silver Book of Fairy Tales Magdalena Lexikon české šlechty Výchova dívek v Čechách Ancient Bohemian Legends Mariánské Lázně – Perla světových lázní Putování slepého hada za pravdou The Grandma Kouzelné housle — Prostři se stolečku, otřes se oslíčku, obušku z pytle ven! GIMP: ilustrovaný průvodce Klášter Bl. Anežky Přemyslovny a obnova jeho Moravské vývody erbovní Po nás potopa Broučci Millionová města evropská Lexikon české šlechty II Dar svatého Floriána Výbor veškerých povídek a báchorek H. C. Andersena The Case of Unfaithful Klara Večerní písně Journey from Bohemia to the Holy Land, by way of Venice and the Sea The Ointment Seller Alexandr v tramvaji Povídky malostranské Blouznivci našich hor Drobné povídky dějepisné Barevné vyšívání Lekce tvůrčího psaní Konec starých časů Alíbaba a čtyřicet lupičů — Doktor Vševěda — Princ Vlastislav Romeo, Juliet and Darkness Za trochu lásky... Slib Za kouzelnou branou O Prirozenosti rostlin The Good Soldier Švejk Květena Nikola Šuhaj loupežník Adresář uzenářů Nejstarší pečeti šlechty české až do roku 1300 Invalidní sourozenci The Shades are revolting Příruční slovník naučný The Unbearable Lightness of Being Hovno hoří War with the Newts Myši Natálie Mooshabrové Pražský dobrodruh Staré usedlé rody selské v Čechách Zapisovatelé otcovský lásky Král železný, král zlatý Sedmikostelí Hyeny Vlastenský slovník historický Nové báchorky I Served the King of England Zbabělci Doktor Meluzin Zánik samoty Berhof Zápas s nebem Všeobecné spiknutí Stříbrný vítr Immortality Hordubal O soustavě sluneční Janua linguarum reserata The Farewell Waltz Almanach k čtyřicátému výročí založení závodu F. Topič v Praze Příběh kriminálního rady Chronicon Aulae Regiae Neviditelný Vlčí jáma Truchlivý Bůh Kdo byl kdo The Joke Too Loud a Solitude Větévky z útlého kmene O tajné mluvě Máj Hračky a dárky doma vyrobené Zvuk slunečních hodin Astronautilia Přehled českých jmen křestních Smyčka Silesian Songs Dějiny chrámu sv. Michala archanděla v Brně Olga poznává život Muž práce Mystery of the conundrum Žít jednou spolu Nanobook Do tmy Saturnin Moderní jumpry Výbor z písní a ballad České národní hádanky Bílej kůň, žlutej drak Lexikon české šlechty III Na krásné samotě The Book of Laughter and Forgetting Bratrstvo Nekrology a feuilletony časové V třetím dvoře Chrámy, kostely, svatyně a kaple v Olomouci Švýcarsko, jeho ústava, jeho vláda, jeho samospráva České bajky Labyrinth of the World and Paradise of the Heart The Absolute at Large Pohádky přímořské Kladivo na čarodějnice Bílé vyšívání Life Is Elsewhere Obabakoak Bilbao-New York-Bilbao Amaren eskuak
Chrámy, kostely, svatyně a kaple v Olomouci, Průvodce po pražských hřbitovech and Wedge: The Secret War between the FBI and CIA have those ones as their original language of creation
Chrámy, kostely, svatyně a kaple v Olomouci Průvodce po pražských hřbitovech Wedge: The Secret War between the FBI and CIA
action filter_type
action find_reverse
entity prev_answer
relation original language of work
type collectable
[{'concept': 'collectable'}, 'original language of work', 'Old Church Slavonic'] [{'concept': 'collectable'}, 'original language of work', 'Czech'] [{'concept': 'collectable'}, 'original language of work', 'Basque']
SELECT DISTINCT ?x WHERE { VALUES ( ?b ) { ( resource:Traditional_Chinese ) ( resource:Simplified_Chinese ) ( resource:Serbian_written_in_Cyrillic ) } . ?x rdf:type ontology:collectable . ?x property:original_language_of_work ?b }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q27527748 Q22338258 Q7979149
P364
Q34770
USER
What are the original languages of creation of those collectables ?
(Q27527748,P364,c(Q34770)) (Q22338258,P364,c(Q34770)) (Q7979149,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
['Q27527748', 'P364', {'concept': 'Q34770'}] ['Q22338258', 'P364', {'concept': 'Q34770'}] ['Q7979149', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { ?o property:P364 ?a . VALUES ( ?o ) { ( resource:Q1133281 ) ( resource:Q27628995 ) ( resource:Q6679794 ) } . ?a rdf:type ontology:Q34770 }
Chrámy, kostely, svatyně a kaple v Olomouci Průvodce po pražských hřbitovech Wedge: The Secret War between the FBI and CIA
action filter_type
action find
entity prev_answer
relation original language of work
type language
['Chrámy, kostely, svatyně a kaple v Olomouci', 'original language of work', {'concept': 'language'}] ['Průvodce po pražských hřbitovech', 'original language of work', {'concept': 'language'}] ['Wedge: The Secret War between the FBI and CIA', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { ?o property:original_language_of_work ?a . VALUES ( ?o ) { ( resource:Book_of_Boril ) ( resource:Paličkování ) ( resource:Lord_Mord ) } . ?a rdf:type ontology:language }
[]
language
Q1860 Q9056 Q9056
SYSTEM
English for 1st, Czech for 2nd, 3rd
Q9056 Q9056 Q1860 Q9056
(Q27527748,P364,c(Q34770)) (Q22338258,P364,c(Q34770)) (Q7979149,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
[ANSWERS]
['Q27527748', 'P364', {'concept': 'Q34770'}] ['Q22338258', 'P364', {'concept': 'Q34770'}] ['Q7979149', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { ?o property:P364 ?a . VALUES ( ?o ) { ( resource:Q1133281 ) ( resource:Q27628995 ) ( resource:Q6679794 ) } . ?a rdf:type ontology:Q34770 }
Czech Czech English Czech
The original languages of creation of those collectables are English, Czech and Czech
English Czech Czech
action filter_type
action find
entity prev_answer
relation original language of work
type language
['Chrámy, kostely, svatyně a kaple v Olomouci', 'original language of work', {'concept': 'language'}] ['Průvodce po pražských hřbitovech', 'original language of work', {'concept': 'language'}] ['Wedge: The Secret War between the FBI and CIA', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { ?o property:original_language_of_work ?a . VALUES ( ?o ) { ( resource:Book_of_Boril ) ( resource:Paličkování ) ( resource:Lord_Mord ) } . ?a rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9056
P37
Q515
USER
Which city designates Czech as its official language ?
(c(Q515),P37,Q9056)
action filter_type
action find_reverse
entity Q9056
relation P37
type Q515
[{'concept': 'Q515'}, 'P37', 'Q9056']
SELECT DISTINCT ?i WHERE { ?i property:P37 resource:Q9056 . ?i rdf:type ontology:Q515 }
Czech
action filter_type
action find_reverse
entity Czech
relation official language
type city
[{'concept': 'city'}, 'official language', 'Czech']
SELECT DISTINCT ?i WHERE { ?i property:official_language resource:Czech . ?i rdf:type ontology:city }
[]
city
Q270704
SYSTEM
Třebíč
Q270704
(c(Q515),P37,Q9056)
action filter_type
action find_reverse
entity Q9056
relation P37
type Q515
[ANSWER] designates Czech as its official language
[{'concept': 'Q515'}, 'P37', 'Q9056']
SELECT DISTINCT ?i WHERE { ?i property:P37 resource:Q9056 . ?i rdf:type ontology:Q515 }
Třebíč
Třebíč designates Czech as its official language
Třebíč
action filter_type
action find_reverse
entity Czech
relation official language
type city
[{'concept': 'city'}, 'official language', 'Czech']
SELECT DISTINCT ?i WHERE { ?i property:official_language resource:Czech . ?i rdf:type ontology:city }
[]