Simple Question (Direct)
Simple Question
Q11394427
P108
Q3918
USER
Which university is the workplace of Kōji Uchizono ?
(Q11394427,P108,c(Q3918))
action filter_type
action find
entity Q11394427
relation P108
type Q3918
['Q11394427', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q11394427 property:P108 ?t . ?t rdf:type ontology:Q3918 }
Kōji Uchizono
action filter_type
action find
entity Kōji Uchizono
relation employer
type university
['Kōji Uchizono', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Kōji_Uchizono property:employer ?t . ?t rdf:type ontology:university }
[]
university
Q7842
SYSTEM
University of Tokyo
Q7842
(Q11394427,P108,c(Q3918))
action filter_type
action find
entity Q11394427
relation P108
type Q3918
Of [ANSWER] is the workplace of Kōji Uchizono
['Q11394427', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q11394427 property:P108 ?t . ?t rdf:type ontology:Q3918 }
University of Tokyo
Of University of Tokyo is the workplace of Kōji Uchizono
University of Tokyo
action filter_type
action find
entity Kōji Uchizono
relation employer
type university
['Kōji Uchizono', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Kōji_Uchizono property:employer ?t . ?t rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11394427
P69
Q3918
USER
Which university is the alma mater of Kōji Uchizono ?
(Q11394427,P69,c(Q3918))
action filter_type
action find
entity Q11394427
relation P69
type Q3918
['Q11394427', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?a WHERE { resource:Q11394427 property:P69 ?a . ?a rdf:type ontology:Q3918 }
Kōji Uchizono
action filter_type
action find
entity Kōji Uchizono
relation educated at
type university
['Kōji Uchizono', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?a WHERE { resource:Kōji_Uchizono property:educated_at ?a . ?a rdf:type ontology:university }
[]
university
Q7842
SYSTEM
University of Tokyo
Q7842
(Q11394427,P69,c(Q3918))
action filter_type
action find
entity Q11394427
relation P69
type Q3918
[ANSWER] is the alma mater of Kōji Uchizono
['Q11394427', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?a WHERE { resource:Q11394427 property:P69 ?a . ?a rdf:type ontology:Q3918 }
University of Tokyo
University of Tokyo is the alma mater of Kōji Uchizono
University of Tokyo
action filter_type
action find
entity Kōji Uchizono
relation educated at
type university
['Kōji Uchizono', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?a WHERE { resource:Kōji_Uchizono property:educated_at ?a . ?a rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11394427
P19
Q515
USER
Which city is the place of birth of that person ?
(Q7842,P19,c(Q515))
action filter_type
action find
entity Q11394427
relation P19
type Q515
['Q7842', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { resource:Q11394427 property:P19 ?t . ?t rdf:type ontology:Q515 }
Kōji Uchizono
action filter_type
action find
entity Kōji Uchizono
relation place of birth
type city
['University of Tokyo', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { resource:Kōji_Uchizono property:place_of_birth ?t . ?t rdf:type ontology:city }
[]
city
Q819578
SYSTEM
Kanoya
Q819578
(Q7842,P19,c(Q515))
action filter_type
action find
entity Q11394427
relation P19
type Q515
[ANSWER] is the place of birth of that person
['Q7842', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { resource:Q11394427 property:P19 ?t . ?t rdf:type ontology:Q515 }
Kanoya
Kanoya is the place of birth of that person
Kanoya
action filter_type
action find
entity Kōji Uchizono
relation place of birth
type city
['University of Tokyo', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { resource:Kōji_Uchizono property:place_of_birth ?t . ?t rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11394427
P20
Q515
USER
Where did the demise of that person occur ?
(Q819578,P20,c(Q515))
action filter_type
action find
entity Q11394427
relation P20
type Q515
['Q819578', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q11394427 property:P20 ?r . ?r rdf:type ontology:Q515 }
Kōji Uchizono
action filter_type
action find
entity Kōji Uchizono
relation place of death
type city
['Kanoya', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Kōji_Uchizono property:place_of_death ?r . ?r rdf:type ontology:city }
[]
city
Q210661
SYSTEM
Musashino
Q210661
(Q819578,P20,c(Q515))
action filter_type
action find
entity Q11394427
relation P20
type Q515
The demise of that person occurred in [ANSWER]
['Q819578', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q11394427 property:P20 ?r . ?r rdf:type ontology:Q515 }
Musashino
The demise of that person occurred in Musashino
Musashino
action filter_type
action find
entity Kōji Uchizono
relation place of death
type city
['Kanoya', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Kōji_Uchizono property:place_of_death ?r . ?r rdf:type ontology:city }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q20667921 Q515 Q515
USER
Which cities are twin city of approximately 12 french administrative divisions or cities ?
(c(Q515),P190,c(Q20667921)|c(Q515))
action approx
action union
action find_tuple_counts
relation P190
type Q515
type Q20667921
action find_tuple_counts
relation P190
type Q515
type Q515
value 12
[{'concept': 'Q515'}, 'P190', [{'concept': 'Q20667921'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) ?r WHERE { { ?r property:P190 ?y . ?r rdf:type ontology:Q515 . ?y rdf:type ontology:Q515 } UNION { ?r property:P190 ?y . ?r rdf:type ontology:Q515 . ?y rdf:type ontology:Q20667921 } } GROUP BY ?r } . FILTER ( ?a = 12 ) }
action approx
action union
action find_tuple_counts
relation sister city
type city
type type of french administrative division
action find_tuple_counts
relation sister city
type city
type city
value 12
[{'concept': 'city'}, 'sister city', [{'concept': 'type of french administrative division'}, {'concept': 'city'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) ?r WHERE { { ?r property:sister_city ?y . ?r rdf:type ontology:city . ?y rdf:type ontology:city } UNION { ?r property:sister_city ?y . ?r rdf:type ontology:city . ?y rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?r } . FILTER ( ?a = 12 ) }
[]
type of french administrative division city city
Q205922
SYSTEM
Qiqihar
Q205922
(c(Q515),P190,c(Q20667921)|c(Q515))
action approx
action union
action find_tuple_counts
relation P190
type Q515
type Q20667921
action find_tuple_counts
relation P190
type Q515
type Q515
value 12
[ANSWER] is twin city of approximately 12 french administrative divisions or cities
[{'concept': 'Q515'}, 'P190', [{'concept': 'Q20667921'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) ?r WHERE { { ?r property:P190 ?y . ?r rdf:type ontology:Q515 . ?y rdf:type ontology:Q515 } UNION { ?r property:P190 ?y . ?r rdf:type ontology:Q515 . ?y rdf:type ontology:Q20667921 } } GROUP BY ?r } . FILTER ( ?a = 12 ) }
Qiqihar
Qiqihar is twin city of approximately 12 french administrative divisions or cities
Qiqihar
action approx
action union
action find_tuple_counts
relation sister city
type city
type type of french administrative division
action find_tuple_counts
relation sister city
type city
type city
value 12
[{'concept': 'city'}, 'sister city', [{'concept': 'type of french administrative division'}, {'concept': 'city'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) ?r WHERE { { ?r property:sister_city ?y . ?r rdf:type ontology:city . ?y rdf:type ontology:city } UNION { ?r property:sister_city ?y . ?r rdf:type ontology:city . ?y rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?r } . FILTER ( ?a = 12 ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q205922 Q72818
P190
Q515
USER
Is Haiphong partner town of that one ?
(Q205922,P190,Q72818)
action is_in
entity Q72818
action find
entity Q205922
relation P190
['Q205922', 'P190', 'Q72818']
ASK WHERE { resource:Q205922 property:P190 resource:Q72818 }
Qiqihar Haiphong
action is_in
entity Haiphong
action find
entity Qiqihar
relation sister city
['Qiqihar', 'sister city', 'Haiphong']
ASK WHERE { resource:Qiqihar property:sister_city resource:Haiphong }
[]
city
SYSTEM
NO
(Q205922,P190,Q72818)
action is_in
entity Q72818
action find
entity Q205922
relation P190
[ANSWER]
['Q205922', 'P190', 'Q72818']
ASK WHERE { resource:Q205922 property:P190 resource:Q72818 }
No
action is_in
entity Haiphong
action find
entity Qiqihar
relation sister city
['Qiqihar', 'sister city', 'Haiphong']
ASK WHERE { resource:Qiqihar property:sister_city resource:Haiphong }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7842 Q17
P17
Q15617994
USER
Is University of Tokyo located in Japan ?
(Q7842,P17,Q17)
action is_in
entity Q17
action find
entity Q7842
relation P17
['Q7842', 'P17', 'Q17']
ASK WHERE { resource:Q7842 property:P17 resource:Q17 }
University of Tokyo Japan
action is_in
entity Japan
action find
entity University of Tokyo
relation country
['University of Tokyo', 'country', 'Japan']
ASK WHERE { resource:University_of_Tokyo property:country resource:Japan }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q7842,P17,Q17)
action is_in
entity Q17
action find
entity Q7842
relation P17
[ANSWER]
['Q7842', 'P17', 'Q17']
ASK WHERE { resource:Q7842 property:P17 resource:Q17 }
Yes
action is_in
entity Japan
action find
entity University of Tokyo
relation country
['University of Tokyo', 'country', 'Japan']
ASK WHERE { resource:University_of_Tokyo property:country resource:Japan }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q515 Q515 Q1048835
USER
Which cities are called the capital of exactly 1 cities or political territories ?
(c(Q515)|c(Q1048835),P36,c(Q515))
action equal
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q515
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
value 1
[[{'concept': 'Q515'}, {'concept': 'Q1048835'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?s ) WHERE { { ?z property:P36 ?j . ?z rdf:type ontology:Q515 . ?j rdf:type ontology:Q515 } UNION { ?z property:P36 ?j . ?j rdf:type ontology:Q515 . ?z rdf:type ontology:Q1048835 } } GROUP BY ?j } . FILTER ( ?s = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation capital
type city
type city
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
value 1
[[{'concept': 'city'}, {'concept': 'political territorial entity'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?s ) WHERE { { ?z property:capital ?j . ?z rdf:type ontology:city . ?j rdf:type ontology:city } UNION { ?z property:capital ?j . ?j rdf:type ontology:city . ?z rdf:type ontology:political_territorial_entity } } GROUP BY ?j } . FILTER ( ?s = 1 ) }
[]
city city political territorial entity
Q1899 Q14960 Q157835
SYSTEM
Kyiv, Brno, Zaporizhzhya
Q15826 Q39738 Q10126 Q1710 Q14525 Q3042 Q873377 Q4024 Q1711 Q27860 Q592338 Q52607 Q5779 Q1696 Q41474 Q1070920 Q174096 Q111739 Q18970 Q432169 Q147738 Q8131 Q3926 Q11462 Q3214 Q1000336 Q583137 Q1019949 Q235004 Q725168 Q1899 Q1410 Q12062 Q1467 Q14499 Q1844 Q10389 Q35925 Q15379 Q1723 Q459787 Q1025387 Q191651 Q14819 Q5285 Q14182 Q7568 Q1636 Q7027 Q7786 Q10104 Q1020939 Q155674 Q314686 Q2180 Q3319248 Q14960 Q3185 Q874270 Q14821 Q2079 Q8156 Q4007 Q14168 Q55598 Q1826 Q1856 Q542154 Q3126 Q7253 Q157835 Q3046 Q2936 Q2749 Q63145 Q2119 Q5972 Q1645 Q7578 Q14126 Q15847 Q2209 Q2200 Q16506 Q14155 Q14409 Q517783 Q40626 Q55740 Q57944 Q2795 Q8179 Q5217 Q1020709 Q2152435 Q3935 Q3936 Q3750 Q894059 Q183111 Q40584 Q1067897 Q11506 Q107624 Q8042 Q50179 Q104125
(c(Q515)|c(Q1048835),P36,c(Q515))
action equal
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q515
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
value 1
[ANSWERS] are called the capital of exactly 1 cities or political territories
[[{'concept': 'Q515'}, {'concept': 'Q1048835'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?s ) WHERE { { ?z property:P36 ?j . ?z rdf:type ontology:Q515 . ?j rdf:type ontology:Q515 } UNION { ?z property:P36 ?j . ?j rdf:type ontology:Q515 . ?z rdf:type ontology:Q1048835 } } GROUP BY ?j } . FILTER ( ?s = 1 ) }
Palu Laoag Serang Isabela City Gorontalo Offenbach am Main Dumaguete Frankfurt (Oder) Potsdam Jayapura Marawi Mar del Plata Banda Aceh Legazpi Kingstown Mamuju Sorsogon City Puerto Princesa Ambon Dipolog Saint Helier Palembang Pretoria Surabaya Cottbus Tandil Kidapawan Surigao City Vigan Tagum Kyiv Gibraltar Torgau Cebu City Samarinda Vaduz Bandung Tabuk Kendari Batangas City Iloilo City Maasin Masbate City Freiberg Tarlac Banjarmasin Yogyakarta Antipolo Straubing Pekanbaru Tanjung Pinang Digos Tandag Mati Malolos Pehuajó Brno Hildesheim Pagadian Coburg Leipzig Bandar Lampung Rosenheim Pontianak Palayan Tagbilaran Malaybalay Koronadal Erlangen Padang Zaporizhzhya Pforzheim Oldenburg Augsburg Imus Mannheim Medan Cagayan de Oro Jambi Mataram Manado Roxas Tuguegarao České Budějovice Kupang Palangkaraya Pinamar Tacloban San Fernando Annaberg-Buchholz Chemnitz Pangkal Pinang Bacolod Catbalogan Miramar Windhoek Bamberg Gera Borongan Jihlava San Fernando Oroquieta Denpasar Calapan Bengkulu Ilagan Lucena
Kyiv, Brno and Zaporizhzhya are called the capital of exactly 1 cities or political territories
Kyiv Brno Zaporizhzhya
action equal
action union
action find_reverse_tuple_counts
relation capital
type city
type city
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
value 1
[[{'concept': 'city'}, {'concept': 'political territorial entity'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?s ) WHERE { { ?z property:capital ?j . ?z rdf:type ontology:city . ?j rdf:type ontology:city } UNION { ?z property:capital ?j . ?j rdf:type ontology:city . ?z rdf:type ontology:political_territorial_entity } } GROUP BY ?j } . FILTER ( ?s = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q210661
P19
Q502895
USER
How many people have place of birth as Musashino ?
(c(Q502895),P19,Q210661)
action count
action filter_type
action find_reverse
entity Q210661
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q210661']
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P19 resource:Q210661 . ?k rdf:type ontology:Q502895 }
Musashino
action count
action filter_type
action find_reverse
entity Musashino
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Musashino']
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:place_of_birth resource:Musashino . ?k rdf:type ontology:common_name }
[]
common name
SYSTEM
64
Q11475370 Q18054827 Q11427530 Q18233257 Q11529871 Q11469260 Q270767 Q11366687 Q11522151 Q11645286 Q11352337 Q11523069 Q11401597 Q11436544 Q11488441 Q11560503 Q2365265 Q11553590 Q11532947 Q11618525 Q11653487 Q987314 Q11475973 Q11480389 Q534539 Q3198103 Q8050004 Q11483170 Q11591843 Q11451675 Q11394494 Q17230409 Q11445667 Q3189980 Q11529296 Q3551090 Q11492204 Q11648655 Q11642703 Q11551135 Q1142547 Q11539195 Q16264129 Q11529220 Q11534775 Q2462286 Q513326 Q11594937 Q11369209 Q11379333 Q11570532 Q11435853 Q11623934 Q17158918 Q11399473 Q11622394 Q11599841 Q11380243 Q11423784 Q11373277 Q16263786 Q6505307 Q11410088 Q11467385
(c(Q502895),P19,Q210661)
action count
action filter_type
action find_reverse
entity Q210661
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q210661']
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P19 resource:Q210661 . ?k rdf:type ontology:Q502895 }
Ryota Iwabuchi Kento Misao Masao Horie Jun'ichirō Oda Seiji Matsuyama Ken Yamamoto Mana Iwabuchi Hiroki Nakata Naomi Sugimura Yasuji Nosaka Shūichi Itchōda Seiichi Murao Chiaki Kitagawa Nobuyuki Ōhashi Kihachirō Gotō Keiko Kiyohara Tomorowo Taguchi Kenzō Kawarasaki Maruko Hayashiya Nihito Arakawa Hiroyuki Osada Tetsuya Iwanaga Taka Kishida Shin'ichi Ichikawa Eriko Yamatani Ko Matsushita Yasuhito Yamamoto Sachiko Hirasawa Ken'ichi Fukuhara Fusako Ajiki Kan Naitō Yuto Misao Takeshi Okudera Jun Misugi Aogu Matsumae Gorō Kishitani Kōtarō Tsunekawa Hirobumi Suzuki Morimasa Murakami Toshio Egi Satomi Kōrogi Aiko Morishita Makoto Ichikawa Yukiko Matsui Tetsutaka Shibata Mugihito Susumu Chiba Jin Akiyama Hitomi Kuwa Shun Ioka Motoaki Makino Takahiro Ōtsuki Shōko Fujishima Atsushi Sasatani Miyu Kato Hirohide Yakumaru Norihisa Kasahara Sae Itō Yoshiko Tsuchida Masayoshi Inoue Akina Ayase Yuriko Abe Kaori Hara Shingo Yamaguchi
64
action count
action filter_type
action find_reverse
entity Musashino
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Musashino']
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:place_of_birth resource:Musashino . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q50189
P19
Q502895
USER
And also tell me about Annecy?
(c(Q502895),P19,Q50189)
action count
action filter_type
action find_reverse
entity Q50189
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q50189']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ontology:Q502895 . ?d property:P19 resource:Q50189 }
Annecy
action count
action filter_type
action find_reverse
entity Annecy
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Annecy']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ontology:common_name . ?d property:place_of_birth resource:Annecy }
[]
common name
SYSTEM
197
Q4775430 Q494583 Q779144 Q1892555 Q3424996 Q1151312 Q2828071 Q350572 Q272973 Q6698959 Q15406863 Q1344979 Q3131437 Q3387074 Q26769575 Q455895 Q15631884 Q172805 Q3309746 Q3102273 Q2853732 Q2087704 Q8299418 Q3524855 Q2847020 Q3120231 Q3524849 Q2833422 Q2851351 Q16266321 Q979656 Q3085263 Q22683505 Q3261508 Q3270733 Q3073952 Q22132528 Q2977953 Q179564 Q3171341 Q770450 Q12013612 Q18919266 Q2847788 Q3085731 Q2487615 Q16201568 Q19629997 Q3141881 Q26720900 Q3384667 Q24044283 Q3185480 Q3350804 Q3350801 Q15436044 Q3475907 Q3368990 Q2388520 Q3380413 Q2934928 Q23692136 Q2833320 Q15294474 Q2897580 Q960136 Q15974041 Q16028650 Q3219250 Q3098962 Q1422935 Q2978569 Q233834 Q1440779 Q15970923 Q1149728 Q5612768 Q27477414 Q274636 Q15968024 Q2926930 Q3384121 Q2833266 Q465157 Q3081619 Q2659117 Q3577307 Q3340817 Q2093229 Q929624 Q3163895 Q3082133 Q2837774 Q15970687 Q4710875 Q3276525 Q3548191 Q2960639 Q2821505 Q2027744 Q3165601 Q2856704 Q452507 Q3220091 Q518457 Q602596 Q15137604 Q17350975 Q26245330 Q1986406 Q2444365 Q15738451 Q2677097 Q2830884 Q3438380 Q3263166 Q3385491 Q1225410 Q17497065 Q16644331 Q3320071 Q2979690 Q1176157 Q1367383 Q3505989 Q3063668 Q3060144 Q3037021 Q3084587 Q3105618 Q3175640 Q2825182 Q2708145 Q3085767 Q8299394 Q320371 Q3019073 Q725541 Q2733295 Q16640860 Q3571740 Q3084600 Q3167646 Q3017691 Q3309324 Q3310743 Q3554534 Q16545885 Q431256 Q939164 Q2597234 Q1451174 Q527135 Q20751650 Q3184575 Q3265463 Q438530 Q3310302 Q2885693 Q980993 Q16833446 Q3501548 Q3369460 Q2966266 Q19629120 Q22209564 Q1395682 Q1334400 Q2400253 Q20661661 Q8299336 Q3193303 Q468733 Q3191067 Q3171781 Q3160284 Q3501583 Q2083893 Q2941930 Q2399770 Q2958229 Q11337136 Q1293705 Q22826560 Q2834469 Q3288954 Q18684520 Q2980740 Q3092391 Q2847095 Q2830776 Q3188842 Q3184268 Q2853944 Q4792635 Q3506992 Q3271135
(c(Q502895),P19,Q50189)
action count
action filter_type
action find_reverse
entity Q50189
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q50189']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ontology:Q502895 . ?d property:P19 resource:Q50189 }
Antoine Aureche Louis Lachenal Franck Thilliez Marc Bottollier-Lasquin Renaud savoya Olivier Charroin Aimé Levet Emmanuel Leducq-Barome Cécile Vogt-Mugnier Ludovic Garreau Ivan Perrillat Boiteux Paul Tapponnier Henri Lavorel Pierre Tardivel Camille Dunant Vanessa Gusmeroli Baptiste Gros Bernard Collomb Michel Germain Georges Berchet Antoine Bouvier Philippe Pollet-Villard Antoine Mathieu Thomas Allart André-Charles Coppier Guillaume Vincent Thomas Accary Alexandre Baillard Anne de Guigne Christophe Premat Steve Missillier François Manceron Claude Joseph César Balleydier Louis Chaumontel Léon Berthet Florence Colle Joanna of Savoy Claude Philippe Vincent Vittoz Jean Clerc Michel Séméniako Bastien Midol Joffrey Pollet-Villard André Fumex Francois Rollier Béatrice Martin Jean-Claude Thibaut Jean-Marie Songeon Hub Nadège Cavazzana Pierre Decouz Edmond Ginoux de la Coche Joseph Philippe Olivier Beaud Olivier Baumont Guillaume Perret Scipion Ruphy Patrice Maktav Océane Pozzo Philippe Morel Camille Folliet Jules Gentil Alexandra Tavernier Fred Fugen Bernard Bosson Bernard Miège Chloé Bulleux Nabil Louaar Laurent Gidon Gaston Cusin Stéphane Botteri Claudius Gallet Jeannie Longo Iwan Wassiljewitsch Obreimow Bernard Rochot Candide Thovex Grégoire Burquier Éric Dufournet Christophe Lemaitre Marie-François Moreau Bruno Rebelle Pierre Bougrat Alexandra Fournier-Bidoz Frédérique Bel Francis Nielsen Patrice Abeille Ève Pouteil-Noble Nicolas Thiervoz Pierre Boyancé Thomas Mermillod Blondin Jean-Baptiste Bosson Franck Fischbach Allan Toriel Brigitte Hermann Albert Mugnier Magalie Umberto D'Aloise Charles de Menthon d’Aviernoz Abel Ferry Nadège Bobillier Jean-François Fonlupt Antoine Saillard Dolly Golden Laetitia Dugain André Dussollier Eustace Chapuys Flore Vasseur Didier Toffolo Ignace Monnet Nicolas Antonoff Nelly Moenne Loccoz Jonathan Midol Béatrice Mouthon Albert-Eugène Lachenal Rodolphe Tissot Louis Terrier Pierre Hérisson Marc Veyrat Alain Simac-Lejeune Jacques Callies Mona di Orio Clotilde Dunant David Poisson Johan Clarey Suzanne Lansé Fabien Tilliet Eugène Rognard Dorian Lévêque François Falletti Gilbert Bonvin Jean de Pingon Adrien Guignet Patrice Guers François Ruphy de Menthon Jean-Paul Lebesson Antipope Clement VII Davide Balula Thomas Fanara Barbara Romagnan Gérald-Brice Viret Yannick Corboz François Favre Jean-Marie Dunoyer David Collin Michel Corajoud Michel Rollier Vanessa Jelic Damien Torfou Gabriel Da Costa Raphaëlle Monod Kim Lucine François Raulin Claude Bergeret Joseph Claudius Duchêne Joseph Baud Lucien Degeorges Anna Michelotti Michel Martinez Barrueco Yannick Ponsero Jean-François Cros Stéphane Trano Patrick Galan Christophe Godin Hervé Paul Adrien Bau Isabelle Mouthon-Michellys Roddy Darragon Doctor Flake Évelyne Gallet Ernest Carnot Karine Lyachenko Véronique Jannot Jérôme Sonnerat Jean Donzier Jacques Guillebon Stéphane Beaud Christophe Perrillat Catherine Gide Cyprien Brun Charles-Marie-Joseph Despine Bernard Palacios Maurice Cullaz Thomas-Dominique Ruphy Alexis Calliès Marcel Fournier Axelle Mollaret Clémentine Lucine Félix Brunier André-Michel Besse Alban Vistel Jules Philippe Joseph-François Tochon Antoine Forestier Armand-François Le Bourgeois Sylvain Falcoz Léon Laydernier
197
action count
action filter_type
action find_reverse
entity Annecy
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Annecy']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ontology:common_name . ?d property:place_of_birth resource:Annecy }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7282057 Q17
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Japan or are Rafael Calderón Muñoz an inhabitant of ?
OR((Q17,P530,c(Q15617994)), (Q7282057,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17
relation P530
action find
entity Q7282057
relation P27
type Q15617994
{'OR': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q7282057', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q17 property:P530 ?r } UNION { resource:Q7282057 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Rafael Calderón Muñoz Japan
action filter_type
action union
action find
entity Japan
relation diplomatic relation
action find
entity Rafael Calderón Muñoz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Rafael Calderón Muñoz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Japan property:diplomatic_relation ?r } UNION { resource:Rafael_Calderón_Muñoz property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q227 Q142 Q800 Q155 Q30 Q145 Q801 Q711 Q159 Q884
SYSTEM
Some of them are Azerbaijan, France, Costa Rica, Brazil, United States of America, United Kingdom, Israel, Mongolia, Russia, South Korea
Q227 Q142 Q711 Q884 Q159 Q801 Q145 Q155 Q800 Q30 Q869 Q38
OR((Q17,P530,c(Q15617994)), (Q7282057,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17
relation P530
action find
entity Q7282057
relation P27
type Q15617994
[ANSWERS] hold diplomatic relationship with Japan or are Rafael Calderón Muñoz an inhabitant of
{'OR': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q7282057', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q17 property:P530 ?r } UNION { resource:Q7282057 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Azerbaijan France Mongolia South Korea Russia Israel United Kingdom Brazil Costa Rica United States of America Thailand Italy
Azerbaijan, France, Costa Rica, Brazil, United States of America, United Kingdom, Israel, Mongolia, Russia and South Korea hold diplomatic relationship with Japan or are Rafael Calderón Muñoz an inhabitant of
Azerbaijan France Costa Rica Brazil United States of America United Kingdom Israel Mongolia Russia South Korea
action filter_type
action union
action find
entity Japan
relation diplomatic relation
action find
entity Rafael Calderón Muñoz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Rafael Calderón Muñoz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Japan property:diplomatic_relation ?r } UNION { resource:Rafael_Calderón_Muñoz property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P6
Q502895
USER
How many people are the head of government of that administrative territory ?
(Q30,P6,c(Q502895))
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q30 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:United_States_of_America property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q801
SYSTEM
Did you mean Israel ?
(Q227,P6,c(Q502895)) (Q142,P6,c(Q502895)) (Q800,P6,c(Q502895)) (Q155,P6,c(Q502895)) (Q30,P6,c(Q502895)) (Q145,P6,c(Q502895)) (Q801,P6,c(Q502895)) (Q711,P6,c(Q502895)) (Q159,P6,c(Q502895)) (Q884,P6,c(Q502895))
[ANSWER]
['Q227', 'P6', {'concept': 'Q502895'}] ['Q142', 'P6', {'concept': 'Q502895'}] ['Q800', 'P6', {'concept': 'Q502895'}] ['Q155', 'P6', {'concept': 'Q502895'}] ['Q30', 'P6', {'concept': 'Q502895'}] ['Q145', 'P6', {'concept': 'Q502895'}] ['Q801', 'P6', {'concept': 'Q502895'}] ['Q711', 'P6', {'concept': 'Q502895'}] ['Q159', 'P6', {'concept': 'Q502895'}] ['Q884', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q30 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Israel ?
Israel
['Azerbaijan', 'head of government', {'concept': 'common name'}] ['France', 'head of government', {'concept': 'common name'}] ['Costa Rica', 'head of government', {'concept': 'common name'}] ['Brazil', 'head of government', {'concept': 'common name'}] ['United States of America', 'head of government', {'concept': 'common name'}] ['United Kingdom', 'head of government', {'concept': 'common name'}] ['Israel', 'head of government', {'concept': 'common name'}] ['Mongolia', 'head of government', {'concept': 'common name'}] ['Russia', 'head of government', {'concept': 'common name'}] ['South Korea', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:United_States_of_America property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant United States of America. Could you tell me the answer for that?
(Q30,P6,c(Q502895))
Q30
['Q30', 'P6', {'concept': 'Q502895'}]
['United States of America', 'head of government', {'concept': 'common name'}]
[]
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q30 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
44
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:United_States_of_America property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18291393 Q205922
P17
Q15617994
USER
Which administrative territories are Qiqihar or Krogsta located in ?
OR((Q205922,P17,c(Q15617994)), (Q18291393,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q205922
relation P17
action find
entity Q18291393
relation P17
type Q15617994
{'OR': [['Q205922', 'P17', {'concept': 'Q15617994'}], ['Q18291393', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?a ) { ( resource:Q18291393 ) ( resource:Q205922 ) } . ?a property:P17 ?x } . ?x rdf:type ontology:Q15617994 }
Krogsta Qiqihar
action filter_type
action union
action find
entity Qiqihar
relation country
action find
entity Krogsta
relation country
type designation for an administrative territorial entity
{'OR': [['Qiqihar', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Krogsta', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?a ) { ( resource:Krogsta ) ( resource:Qiqihar ) } . ?a property:country ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q34
SYSTEM
People's Republic of China, Sweden
Q148 Q34
OR((Q205922,P17,c(Q15617994)), (Q18291393,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q205922
relation P17
action find
entity Q18291393
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q205922', 'P17', {'concept': 'Q15617994'}], ['Q18291393', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?a ) { ( resource:Q18291393 ) ( resource:Q205922 ) } . ?a property:P17 ?x } . ?x rdf:type ontology:Q15617994 }
People's Republic of China Sweden
Which administrative territories are Qiqihar or Krogsta located in
People's Republic of China Sweden
action filter_type
action union
action find
entity Qiqihar
relation country
action find
entity Krogsta
relation country
type designation for an administrative territorial entity
{'OR': [['Qiqihar', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Krogsta', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?a ) { ( resource:Krogsta ) ( resource:Qiqihar ) } . ?a property:country ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q15617994 Q11060274 Q838948
USER
Which administrative territories are demonstrated in min number of prints and works of art ?
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?q ) { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?u ) WHERE { { ?a property:P180 ?x . ?x rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q11060274 } UNION { ?a property:P180 ?x . ?x rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q838948 } } GROUP BY ?x } } . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } } GROUP BY ?h } . FILTER ( ?y = ?q ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?q ) { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?u ) WHERE { { ?a property:depicts ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:print } UNION { ?a property:depicts ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:work_of_art } } GROUP BY ?x } } . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:print ) ( ontology:work_of_art ) } } GROUP BY ?h } . FILTER ( ?y = ?q ) }
[]
designation for an administrative territorial entity print work of art
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q148 Q128081 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q298 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
[ANSWERS] are demonstrated in min number of prints and works of art
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?q ) { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?u ) WHERE { { ?a property:P180 ?x . ?x rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q11060274 } UNION { ?a property:P180 ?x . ?x rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q838948 } } GROUP BY ?x } } . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } } GROUP BY ?h } . FILTER ( ?y = ?q ) }
Catanzaro Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom People's Republic of China Cori, Lazio Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Italy, Brazil and Russia are demonstrated in min number of prints and works of art
Italy Brazil Russia
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?q ) { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?u ) WHERE { { ?a property:depicts ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:print } UNION { ?a property:depicts ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:work_of_art } } GROUP BY ?x } } . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:print ) ( ontology:work_of_art ) } } GROUP BY ?h } . FILTER ( ?y = ?q ) }
[]