Simple Question (Direct)
Simple Question
Q7976384
P136
Q151885
USER
Which genre does Wayne Kemp belong to ?
(Q7976384,P136,c(Q151885))
action filter_type
action find
entity Q7976384
relation P136
type Q151885
['Q7976384', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q151885 . resource:Q7976384 property:P136 ?w }
Wayne Kemp
action filter_type
action find
entity Wayne Kemp
relation genre
type concept
['Wayne Kemp', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:concept . resource:Wayne_Kemp property:genre ?w }
[]
concept
Q83440
SYSTEM
country music
Q83440
(Q7976384,P136,c(Q151885))
action filter_type
action find
entity Q7976384
relation P136
type Q151885
Wayne Kemp belongs to [ANSWER]
['Q7976384', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q151885 . resource:Q7976384 property:P136 ?w }
country music
Wayne Kemp belongs to country music
country music
action filter_type
action find
entity Wayne Kemp
relation genre
type concept
['Wayne Kemp', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:concept . resource:Wayne_Kemp property:genre ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7976384
P21
Q290
USER
Which sex does Wayne Kemp possess ?
(Q7976384,P21,c(Q290))
action filter_type
action find
entity Q7976384
relation P21
type Q290
['Q7976384', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q7976384 property:P21 ?z . ?z rdf:type ontology:Q290 }
Wayne Kemp
action filter_type
action find
entity Wayne Kemp
relation gender
type sex
['Wayne Kemp', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Wayne_Kemp property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7976384,P21,c(Q290))
action filter_type
action find
entity Q7976384
relation P21
type Q290
Wayne Kemp possesses a [ANSWER]
['Q7976384', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q7976384 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
Wayne Kemp possesses a male
male
action filter_type
action find
entity Wayne Kemp
relation gender
type sex
['Wayne Kemp', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Wayne_Kemp property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7976384
P264
Q334453
USER
Who sponsored the recoding of that person ?
(Q6581097,P264,c(Q334453))
action filter_type
action find
entity Q7976384
relation P264
type Q334453
['Q6581097', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?w WHERE { resource:Q7976384 property:P264 ?w . ?w rdf:type ontology:Q334453 }
Wayne Kemp
action filter_type
action find
entity Wayne Kemp
relation record label
type division
['male', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?w WHERE { resource:Wayne_Kemp property:record_label ?w . ?w rdf:type ontology:division }
[]
division
Q557632
SYSTEM
Decca Records
Q557632
(Q6581097,P264,c(Q334453))
action filter_type
action find
entity Q7976384
relation P264
type Q334453
[ANSWER] sponsored the recoding of that person
['Q6581097', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?w WHERE { resource:Q7976384 property:P264 ?w . ?w rdf:type ontology:Q334453 }
Decca Records
Decca Records sponsored the recoding of that person
Decca Records
action filter_type
action find
entity Wayne Kemp
relation record label
type division
['male', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?w WHERE { resource:Wayne_Kemp property:record_label ?w . ?w rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q557632
P112
Q502895
USER
Who was the founder of that division ?
(Q557632,P112,c(Q502895))
action filter_type
action find
entity Q557632
relation P112
type Q502895
['Q557632', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q557632 property:P112 ?f . ?f rdf:type ontology:Q502895 }
Decca Records
action filter_type
action find
entity Decca Records
relation founder
type common name
['Decca Records', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Decca_Records property:founder ?f . ?f rdf:type ontology:common_name }
[]
common name
Q5344131
SYSTEM
Edward Lewis
Q5344131
(Q557632,P112,c(Q502895))
action filter_type
action find
entity Q557632
relation P112
type Q502895
The founder of that division was Lewis [ANSWER]
['Q557632', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q557632 property:P112 ?f . ?f rdf:type ontology:Q502895 }
Edward Lewis
The founder of that division was Lewis Edward Lewis
Edward Lewis
action filter_type
action find
entity Decca Records
relation founder
type common name
['Decca Records', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Decca_Records property:founder ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5344131 Q51353
P27
Q15617994
USER
Does that person belong to Castiglione a Casauria ?
(Q5344131,P27,Q51353)
action is_in
entity Q51353
action find
entity Q5344131
relation P27
['Q5344131', 'P27', 'Q51353']
ASK WHERE { resource:Q5344131 property:P27 resource:Q51353 }
Edward Lewis Castiglione a Casauria
action is_in
entity Castiglione a Casauria
action find
entity Edward Lewis
relation country of citizenship
['Edward Lewis', 'country of citizenship', 'Castiglione a Casauria']
ASK WHERE { resource:Edward_Lewis property:country_of_citizenship resource:Castiglione_a_Casauria }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5344131,P27,Q51353)
action is_in
entity Q51353
action find
entity Q5344131
relation P27
[ANSWER]
['Q5344131', 'P27', 'Q51353']
ASK WHERE { resource:Q5344131 property:P27 resource:Q51353 }
No
action is_in
entity Castiglione a Casauria
action find
entity Edward Lewis
relation country of citizenship
['Edward Lewis', 'country of citizenship', 'Castiglione a Casauria']
ASK WHERE { resource:Edward_Lewis property:country_of_citizenship resource:Castiglione_a_Casauria }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 1938 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1938
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?p ) WHERE { ?h rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 . ?v property:P1303 ?h } GROUP BY ?h } . FILTER ( ?p >= 1938 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1938
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?p ) WHERE { ?h rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name . ?v property:instrument ?h } GROUP BY ?h } . FILTER ( ?p >= 1938 ) }
[]
musical instrument common name
SYSTEM
4
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1938
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?p ) WHERE { ?h rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 . ?v property:P1303 ?h } GROUP BY ?h } . FILTER ( ?p >= 1938 ) }
piano violin organ drum kit
4
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1938
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?p ) WHERE { ?h rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name . ?v property:instrument ?h } GROUP BY ?h } . FILTER ( ?p >= 1938 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6581072 Q6581097
P21
Q502895
USER
Which people are a male and female ?
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?a WHERE { ?a property:P21 resource:Q6581097 . ?a property:P21 resource:Q6581072 . ?a rdf:type ontology:Q502895 }
female male
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?a WHERE { ?a property:gender resource:male . ?a property:gender resource:female . ?a rdf:type ontology:common_name }
[]
common name
Q5856706 Q16865281 Q4979792 Q21033490 Q734662 Q25768293 Q17628096 Q19543099 Q3291942 Q22342662
SYSTEM
Some of them are Ingel Fallstedt, Choi Jung-moon, Emma Josepha Sparre, Silke Weitendorf, Joan de Munchensi, Shagdaryn Bira, Rafeef Ziadah, Ionna Stephanopoli, Marie-Joseph Charles des Acres de l'Aigle, Magdalena Mayr
Q12966459 Q17600942 Q3260705 Q5874237 Q21391750 Q17225819 Q5972494 Q16941580 Q16733519 Q11622868 Q6702791 Q10263785 Q6571041 Q16732132 Q24264223 Q20401379 Q20119921 Q2312612 Q16164967 Q242700 Q6555624 Q12586819 Q23698979 Q17628096 Q22342662 Q525066 Q9544977 Q503007 Q22280111 Q22102078 Q5482749 Q21392153 Q201204 Q10281088 Q442804 Q16767898 Q22570074 Q21601127 Q12403076 Q14432239 Q12734885 Q734662 Q24500675 Q24034956 Q19957341 Q6258596 Q22236117 Q22808784 Q11379959 Q6003690 Q24807469 Q21857402 Q21258362 Q4979792 Q11449790 Q22001922 Q3575012 Q3764762 Q7377573 Q20068820 Q6031433 Q21794041 Q6438624 Q25768293 Q19448005 Q21503040 Q17148031 Q11604340 Q17158335 Q11815936 Q17364527 Q22280435 Q15934058 Q18559837 Q11201210 Q25748324 Q459844 Q2379965 Q3291942 Q17621841 Q20980163 Q453573 Q11531266 Q4255661 Q22675675 Q528434 Q237726 Q74813 Q2668396 Q298423 Q22073991 Q503575 Q23416861 Q15807938 Q19357604 Q18049905 Q26921704 Q2882250 Q18346977 Q2939204 Q3809749 Q12685049 Q21033490 Q5856706 Q16165783 Q5569499 Q12613187 Q7849225 Q16582167 Q19543099 Q16865281 Q22095108 Q12872947 Q15433626
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] are a male and female
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?a WHERE { ?a property:P21 resource:Q6581097 . ?a property:P21 resource:Q6581072 . ?a rdf:type ontology:Q502895 }
Kim Ju-yeong Gert Portael Louis-Marie Autissier Hom Nguyen George Mather Luer Hajime Hyakkoku Leeland Dayton Mooring Antonio Merayo Ali Nuhu Kodai Fujii Luli Bitri Dalmau IV de Rocabertí Diemut Theato Robin Mathews Milko Tokola Hakima El Haite Lee Parkhill Floris Meydam Ivan Almeida Naima Mora Hana Shezifi Gilgun Elmo Jankari Rafeef Ziadah Magdalena Mayr Liss Eriksson Lilly Wachowski Andreja Pejić Yengkhom Roma Letebrhan Haylay Gebreslasea Francis Wheatley Jian-Huan Yang Dana International Fenedy Masauvakalo Anna Grodzka Chanmi Elisabeth Ullmann Marina Lampraki-Plaka Ángel Martínez Ortega Benny Motzfeldt Maria-Magdalena Zaharescu Joan de Munchensi Amadeus Serafini Jaki Irvine Tinne De Caigny John Spaulding Colombe Marcasiano Annegret Kuhn Kazue Itō María Elena Orantes Kudirat Akhigbe Miska Humaloja Dominique Van Der Straeten Emma Josepha Sparre Terunobu Utsunomiya Suzanne Schulting Zdeněk Koubek Shamshad Begum Rudy Autio Lesya Nikityuk Matthew W. Taylor Jelizaveta Potapova Gaz Beadle Shagdaryn Bira Juan Illas y Vidal Kenneth Neil Maria Espinalt i Font Akira Yoneda Songhaye Petia Stawrewa Ángel Tejeda Sun Vandeth Matsudaira Yoshiko Mirabel Topham Asmik Grigorian K. T. Rama Rao Norah Al Faiz Thomas Beatie Marie-Joseph Charles des Acres de l'Aigle Marta Linares Engel Reimers Vicki Richter Miki Matsumoto Adolfine Therese Leander-Flodin Nikola Jakadofsky Daniele Hypólito Rosalba Carriera Mina Caputo Parinya Charoenphol Chelsea Manning Saalumarada Thimmakka Cesare Nebbia Ivica Mavrenski Elvire De Bruyn Hamda Khamis Stanisława Witekowa Jean-Marie Aleokol Mabieme Jingjing Wang Jan Norback Carlo Guasco Jaiyah Saelua Chew Mei Fun Silke Weitendorf Ingel Fallstedt America Sanchez Glenys Barton Lee Hye-jin Kim Ye-ri Jorge Garate Ionna Stephanopoli Choi Jung-moon Taofik Adegbite Frosso Kiaou Florence Randal Livesay
Ingel Fallstedt, Choi Jung-moon, Emma Josepha Sparre, Silke Weitendorf, Joan de Munchensi, Shagdaryn Bira, Rafeef Ziadah, Ionna Stephanopoli, Marie-Joseph Charles des Acres de l'Aigle and Magdalena Mayr are a male and female
Ingel Fallstedt Choi Jung-moon Emma Josepha Sparre Silke Weitendorf Joan de Munchensi Shagdaryn Bira Rafeef Ziadah Ionna Stephanopoli Marie-Joseph Charles des Acres de l'Aigle Magdalena Mayr
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?a WHERE { ?a property:gender resource:male . ?a property:gender resource:female . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5856706 Q16865281 Q4979792 Q21033490 Q734662 Q25768293 Q17628096 Q19543099 Q3291942 Q22342662
P21
Q290
USER
Which sexes do Ingel Fallstedt, Choi Jung-moon, Emma Josepha Sparre, Silke Weitendorf, Joan de Munchensi, Shagdaryn Bira, Rafeef Ziadah, Ionna Stephanopoli, Marie-Joseph Charles des Acres de l'Aigle and Magdalena Mayr belong to ?
(Q5856706,P21,c(Q290)) (Q16865281,P21,c(Q290)) (Q4979792,P21,c(Q290)) (Q21033490,P21,c(Q290)) (Q734662,P21,c(Q290)) (Q25768293,P21,c(Q290)) (Q17628096,P21,c(Q290)) (Q19543099,P21,c(Q290)) (Q3291942,P21,c(Q290)) (Q22342662,P21,c(Q290))
action union
action filter_type
action find
entity Q5856706
relation P21
type Q290
action filter_type
action find
entity Q16865281
relation P21
type Q290
action filter_type
action find
entity Q4979792
relation P21
type Q290
action filter_type
action find
entity Q21033490
relation P21
type Q290
action filter_type
action find
entity Q734662
relation P21
type Q290
action filter_type
action find
entity Q25768293
relation P21
type Q290
action filter_type
action find
entity Q17628096
relation P21
type Q290
action filter_type
action find
entity Q19543099
relation P21
type Q290
action filter_type
action find
entity Q3291942
relation P21
type Q290
action filter_type
action find
entity Q22342662
relation P21
type Q290
['Q5856706', 'P21', {'concept': 'Q290'}] ['Q16865281', 'P21', {'concept': 'Q290'}] ['Q4979792', 'P21', {'concept': 'Q290'}] ['Q21033490', 'P21', {'concept': 'Q290'}] ['Q734662', 'P21', {'concept': 'Q290'}] ['Q25768293', 'P21', {'concept': 'Q290'}] ['Q17628096', 'P21', {'concept': 'Q290'}] ['Q19543099', 'P21', {'concept': 'Q290'}] ['Q3291942', 'P21', {'concept': 'Q290'}] ['Q22342662', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { { resource:Q5856706 property:P21 ?c . ?c rdf:type ontology:Q290 } UNION { resource:Q16865281 property:P21 ?c . ?c rdf:type ontology:Q290 } }
Ingel Fallstedt Choi Jung-moon Emma Josepha Sparre Silke Weitendorf Joan de Munchensi Shagdaryn Bira Rafeef Ziadah Ionna Stephanopoli Marie-Joseph Charles des Acres de l'Aigle Magdalena Mayr
action union
action filter_type
action find
entity Ingel Fallstedt
relation gender
type sex
action filter_type
action find
entity Choi Jung-moon
relation gender
type sex
action filter_type
action find
entity Emma Josepha Sparre
relation gender
type sex
action filter_type
action find
entity Silke Weitendorf
relation gender
type sex
action filter_type
action find
entity Joan de Munchensi
relation gender
type sex
action filter_type
action find
entity Shagdaryn Bira
relation gender
type sex
action filter_type
action find
entity Rafeef Ziadah
relation gender
type sex
action filter_type
action find
entity Ionna Stephanopoli
relation gender
type sex
action filter_type
action find
entity Marie-Joseph Charles des Acres de l'Aigle
relation gender
type sex
action filter_type
action find
entity Magdalena Mayr
relation gender
type sex
['Ingel Fallstedt', 'gender', {'concept': 'sex'}] ['Choi Jung-moon', 'gender', {'concept': 'sex'}] ['Emma Josepha Sparre', 'gender', {'concept': 'sex'}] ['Silke Weitendorf', 'gender', {'concept': 'sex'}] ['Joan de Munchensi', 'gender', {'concept': 'sex'}] ['Shagdaryn Bira', 'gender', {'concept': 'sex'}] ['Rafeef Ziadah', 'gender', {'concept': 'sex'}] ['Ionna Stephanopoli', 'gender', {'concept': 'sex'}] ["Marie-Joseph Charles des Acres de l'Aigle", 'gender', {'concept': 'sex'}] ['Magdalena Mayr', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { { resource:Ingel_Fallstedt property:gender ?c . ?c rdf:type ontology:sex } UNION { resource:Choi_Jung-moon property:gender ?c . ?c rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072
(Q5856706,P21,c(Q290)) (Q16865281,P21,c(Q290)) (Q4979792,P21,c(Q290)) (Q21033490,P21,c(Q290)) (Q734662,P21,c(Q290)) (Q25768293,P21,c(Q290)) (Q17628096,P21,c(Q290)) (Q19543099,P21,c(Q290)) (Q3291942,P21,c(Q290)) (Q22342662,P21,c(Q290))
action union
action filter_type
action find
entity Q5856706
relation P21
type Q290
action filter_type
action find
entity Q16865281
relation P21
type Q290
action filter_type
action find
entity Q4979792
relation P21
type Q290
action filter_type
action find
entity Q21033490
relation P21
type Q290
action filter_type
action find
entity Q734662
relation P21
type Q290
action filter_type
action find
entity Q25768293
relation P21
type Q290
action filter_type
action find
entity Q17628096
relation P21
type Q290
action filter_type
action find
entity Q19543099
relation P21
type Q290
action filter_type
action find
entity Q3291942
relation P21
type Q290
action filter_type
action find
entity Q22342662
relation P21
type Q290
[ANSWERS]
['Q5856706', 'P21', {'concept': 'Q290'}] ['Q16865281', 'P21', {'concept': 'Q290'}] ['Q4979792', 'P21', {'concept': 'Q290'}] ['Q21033490', 'P21', {'concept': 'Q290'}] ['Q734662', 'P21', {'concept': 'Q290'}] ['Q25768293', 'P21', {'concept': 'Q290'}] ['Q17628096', 'P21', {'concept': 'Q290'}] ['Q19543099', 'P21', {'concept': 'Q290'}] ['Q3291942', 'P21', {'concept': 'Q290'}] ['Q22342662', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { { resource:Q5856706 property:P21 ?c . ?c rdf:type ontology:Q290 } UNION { resource:Q16865281 property:P21 ?c . ?c rdf:type ontology:Q290 } }
male female male female male female male female male female male female male female male female male female male female
Male, female and male Ingel Fallstedt, Choi Jung-moon, Emma Josepha Sparre, Silke Weitenrf, Joan de Munchensi, Shagdaryn Bira, Rafeef Ziadah, Ionna Stephanopoli, Marie-Joseph Charles des Acres de l'Aigle and Magdalena Mayr belong to
male female male
action union
action filter_type
action find
entity Ingel Fallstedt
relation gender
type sex
action filter_type
action find
entity Choi Jung-moon
relation gender
type sex
action filter_type
action find
entity Emma Josepha Sparre
relation gender
type sex
action filter_type
action find
entity Silke Weitendorf
relation gender
type sex
action filter_type
action find
entity Joan de Munchensi
relation gender
type sex
action filter_type
action find
entity Shagdaryn Bira
relation gender
type sex
action filter_type
action find
entity Rafeef Ziadah
relation gender
type sex
action filter_type
action find
entity Ionna Stephanopoli
relation gender
type sex
action filter_type
action find
entity Marie-Joseph Charles des Acres de l'Aigle
relation gender
type sex
action filter_type
action find
entity Magdalena Mayr
relation gender
type sex
['Ingel Fallstedt', 'gender', {'concept': 'sex'}] ['Choi Jung-moon', 'gender', {'concept': 'sex'}] ['Emma Josepha Sparre', 'gender', {'concept': 'sex'}] ['Silke Weitendorf', 'gender', {'concept': 'sex'}] ['Joan de Munchensi', 'gender', {'concept': 'sex'}] ['Shagdaryn Bira', 'gender', {'concept': 'sex'}] ['Rafeef Ziadah', 'gender', {'concept': 'sex'}] ['Ionna Stephanopoli', 'gender', {'concept': 'sex'}] ["Marie-Joseph Charles des Acres de l'Aigle", 'gender', {'concept': 'sex'}] ['Magdalena Mayr', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { { resource:Ingel_Fallstedt property:gender ?c . ?c rdf:type ontology:sex } UNION { resource:Choi_Jung-moon property:gender ?c . ?c rdf:type ontology:sex } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5856706
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q5856706,P106,c(Q12737077))
action filter_type
action find
entity Q5856706
relation P106
type Q12737077
['Q5856706', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q5856706 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Ingel Fallstedt
action filter_type
action find
entity Ingel Fallstedt
relation occupation
type occupation
['Ingel Fallstedt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Ingel_Fallstedt property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q5856706
SYSTEM
Did you mean Ingel Fallstedt ?
Q6581097 Q6581072 Q6581097
(Q6581097,P106,c(Q12737077)) (Q6581072,P106,c(Q12737077)) (Q6581097,P106,c(Q12737077))
[ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}] ['Q6581072', 'P106', {'concept': 'Q12737077'}] ['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q5856706 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
male female male
Did you mean Ingel Fallstedt ?
Ingel Fallstedt
['male', 'occupation', {'concept': 'occupation'}] ['female', 'occupation', {'concept': 'occupation'}] ['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Ingel_Fallstedt property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(Q5856706,P106,c(Q12737077))
['Q5856706', 'P106', {'concept': 'Q12737077'}]
['Ingel Fallstedt', 'occupation', {'concept': 'occupation'}]
[]
Q1281618
SYSTEM
sculptor
Q1281618
(Q5856706,P106,c(Q12737077))
action filter_type
action find
entity Q5856706
relation P106
type Q12737077
[ANSWER] has that person as his/her 's career
['Q5856706', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q5856706 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
sculptor
Sculptor has that person as his/her 's career
sculptor
action filter_type
action find
entity Ingel Fallstedt
relation occupation
type occupation
['Ingel Fallstedt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Ingel_Fallstedt property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of min number of occupations ?
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?m ) { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:P417 ?e . ?e rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 } GROUP BY ?e } } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P417 ?t . ?t rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?t } }
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?m ) { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:patron_saint ?e . ?e rdf:type ontology:common_name . ?u rdf:type ontology:occupation } GROUP BY ?e } } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:patron_saint ?t . ?t rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?t } }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWERS] are the patron saint of min number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?m ) { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:P417 ?e . ?e rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 } GROUP BY ?e } } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P417 ?t . ?t rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?t } }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saint of min number of occupations
Elizabeth II Tadeusz Kościuszko Louis IX of France
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?m ) { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:patron_saint ?e . ?e rdf:type ontology:common_name . ?u rdf:type ontology:occupation } GROUP BY ?e } } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:patron_saint ?t . ?t rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?t } }
[]