Simple Question (Direct)
Simple Question
Q67409
P26
Q502895
USER
Which person is married to Christian Charles Josias von Bunsen ?
(Q67409,P26,c(Q502895))
action filter_type
action find
entity Q67409
relation P26
type Q502895
['Q67409', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q67409 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Christian Charles Josias von Bunsen
action filter_type
action find
entity Christian Charles Josias von Bunsen
relation spouse
type common name
['Christian Charles Josias von Bunsen', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Christian_Charles_Josias_von_Bunsen property:spouse ?z . ?z rdf:type ontology:common_name }
[]
common name
Q15456194
SYSTEM
Frances Bunsen
Q15456194
(Q67409,P26,c(Q502895))
action filter_type
action find
entity Q67409
relation P26
type Q502895
[ANSWER] is married to Christian Charles Josias von Bunsen
['Q67409', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q67409 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Frances Bunsen
Frances Bunsen is married to Christian Charles Josias von Bunsen
Frances Bunsen
action filter_type
action find
entity Christian Charles Josias von Bunsen
relation spouse
type common name
['Christian Charles Josias von Bunsen', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Christian_Charles_Josias_von_Bunsen property:spouse ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15456194
P9
Q502895
USER
Who has that one as thier sibling ?
(Q15456194,P9,c(Q502895))
action filter_type
action find
entity Q15456194
relation P9
type Q502895
['Q15456194', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q15456194 property:P9 ?g . ?g rdf:type ontology:Q502895 }
Frances Bunsen
action filter_type
action find
entity Frances Bunsen
relation sister
type common name
['Frances Bunsen', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Frances_Bunsen property:sister ?g . ?g rdf:type ontology:common_name }
[]
common name
Q2870954
SYSTEM
Augusta Hall, Baroness Llanover
Q2870954
(Q15456194,P9,c(Q502895))
action filter_type
action find
entity Q15456194
relation P9
type Q502895
[ANSWER] has that one as thier sibling
['Q15456194', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q15456194 property:P9 ?g . ?g rdf:type ontology:Q502895 }
Augusta Hall, Baroness Llanover
Augusta Hall, Baroness Llanover has that one as thier sibling
Augusta Hall, Baroness Llanover
action filter_type
action find
entity Frances Bunsen
relation sister
type common name
['Frances Bunsen', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Frances_Bunsen property:sister ?g . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atmost 1693 people ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1693
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?h ) WHERE { ?e rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 . ?t property:P1303 ?e } GROUP BY ?e } . FILTER ( ?h <= 1693 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1693
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?h ) WHERE { ?e rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name . ?t property:instrument ?e } GROUP BY ?e } . FILTER ( ?h <= 1693 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1693
[ANSWERS] are played by atmost 1693 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?h ) WHERE { ?e rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 . ?t property:P1303 ?e } GROUP BY ?e } . FILTER ( ?h <= 1693 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by atmost 1693 people
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1693
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?h ) WHERE { ?e rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name . ?t property:instrument ?e } GROUP BY ?e } . FILTER ( ?h <= 1693 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18921212 Q15456194
P26
Q502895
USER
Which people are married to Frances Bunsen or Irma Chiazzese ?
OR((Q15456194,P26,c(Q502895)), (Q18921212,P26,c(Q502895)))
action filter_type
action union
action find
entity Q15456194
relation P26
action find
entity Q18921212
relation P26
type Q502895
{'OR': [['Q15456194', 'P26', {'concept': 'Q502895'}], ['Q18921212', 'P26', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q15456194 property:P26 ?b } UNION { resource:Q18921212 property:P26 ?b } } . ?b rdf:type ontology:Q502895 }
Irma Chiazzese Frances Bunsen
action filter_type
action union
action find
entity Frances Bunsen
relation spouse
action find
entity Irma Chiazzese
relation spouse
type common name
{'OR': [['Frances Bunsen', 'spouse', {'concept': 'common name'}], ['Irma Chiazzese', 'spouse', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Frances_Bunsen property:spouse ?b } UNION { resource:Irma_Chiazzese property:spouse ?b } } . ?b rdf:type ontology:common_name }
[]
common name
Q2063147 Q67409
SYSTEM
Piersanti Mattarella, Christian Charles Josias von Bunsen
Q2063147 Q67409
OR((Q15456194,P26,c(Q502895)), (Q18921212,P26,c(Q502895)))
action filter_type
action union
action find
entity Q15456194
relation P26
action find
entity Q18921212
relation P26
type Q502895
[ANSWERS] are married to Frances Bunsen or Irma Chiazzese
{'OR': [['Q15456194', 'P26', {'concept': 'Q502895'}], ['Q18921212', 'P26', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q15456194 property:P26 ?b } UNION { resource:Q18921212 property:P26 ?b } } . ?b rdf:type ontology:Q502895 }
Piersanti Mattarella Christian Charles Josias von Bunsen
Piersanti Mattarella and Christian Charles Josias von Bunsen are married to Frances Bunsen or Irma Chiazzese
Piersanti Mattarella Christian Charles Josias von Bunsen
action filter_type
action union
action find
entity Frances Bunsen
relation spouse
action find
entity Irma Chiazzese
relation spouse
type common name
{'OR': [['Frances Bunsen', 'spouse', {'concept': 'common name'}], ['Irma Chiazzese', 'spouse', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Frances_Bunsen property:spouse ?b } UNION { resource:Irma_Chiazzese property:spouse ?b } } . ?b rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q20899576
P725
Q502895 Q15416
USER
How many television programs had greater number of people as the dubbing artist than Shimmer and Shine ?
(c(Q15416),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q20899576
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?u ) WHERE { ?l property:P725 ?k . ?k rdf:type ontology:Q502895 . ?l rdf:type ontology:Q15416 } GROUP BY ?l } . FILTER ( ?u > ?o ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q20899576 property:P725 ?s . ?s rdf:type ontology:Q15416 } } }
Shimmer and Shine
action count
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Shimmer and Shine
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?u ) WHERE { ?l property:voice_actor ?k . ?k rdf:type ontology:common_name . ?l rdf:type ontology:television_program } GROUP BY ?l } . FILTER ( ?u > ?o ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Shimmer_and_Shine property:voice_actor ?s . ?s rdf:type ontology:television_program } } }
[]
common name television program
SYSTEM
15
Q2042834 Q23558 Q15863567 Q951078 Q18571935 Q165515 Q10358973 Q25000347 Q18553975 Q18577675 Q1002254 Q428130 Q17183708 Q18575654 Q15863577
(c(Q15416),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q20899576
relation P725
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?u ) WHERE { ?l property:P725 ?k . ?k rdf:type ontology:Q502895 . ?l rdf:type ontology:Q15416 } GROUP BY ?l } . FILTER ( ?u > ?o ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q20899576 property:P725 ?s . ?s rdf:type ontology:Q15416 } } }
The Proud Family Movie House K-On! Hellsing The Big O 101 Dalmatians: The Series Reynard the Fox Pirate Express Soul Eater Darker than Black Wacky Races Sonic X The 7D Trigun K-On!!
15
action count
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Shimmer and Shine
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?u ) WHERE { ?l property:voice_actor ?k . ?k rdf:type ontology:common_name . ?l rdf:type ontology:television_program } GROUP BY ?l } . FILTER ( ?u > ?o ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Shimmer_and_Shine property:voice_actor ?s . ?s rdf:type ontology:television_program } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2063147
P40
Q502895
USER
Who have Piersanti Mattarella as an offspring ?
(c(Q502895),P40,Q2063147)
action filter_type
action find_reverse
entity Q2063147
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2063147']
SELECT DISTINCT ?z WHERE { ?z property:P40 resource:Q2063147 . ?z rdf:type ontology:Q502895 }
Piersanti Mattarella
action filter_type
action find_reverse
entity Piersanti Mattarella
relation child
type common name
[{'concept': 'common name'}, 'child', 'Piersanti Mattarella']
SELECT DISTINCT ?z WHERE { ?z property:child resource:Piersanti_Mattarella . ?z rdf:type ontology:common_name }
[]
common name
Q3638792 Q18959978
SYSTEM
Bernardo Mattarella, Maria Buccellato
Q3638792 Q18959978
(c(Q502895),P40,Q2063147)
action filter_type
action find_reverse
entity Q2063147
relation P40
type Q502895
[ANSWERS] have Piersanti Mattarella as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q2063147']
SELECT DISTINCT ?z WHERE { ?z property:P40 resource:Q2063147 . ?z rdf:type ontology:Q502895 }
Bernardo Mattarella Maria Buccellato
Bernardo Mattarella and Maria Buccellato have Piersanti Mattarella as an offspring
Bernardo Mattarella Maria Buccellato
action filter_type
action find_reverse
entity Piersanti Mattarella
relation child
type common name
[{'concept': 'common name'}, 'child', 'Piersanti Mattarella']
SELECT DISTINCT ?z WHERE { ?z property:child resource:Piersanti_Mattarella . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15456194
P106
Q12737077
USER
What are the job of Frances Bunsen ?
(Q15456194,P106,c(Q12737077))
action filter_type
action find
entity Q15456194
relation P106
type Q12737077
['Q15456194', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q15456194 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Frances Bunsen
action filter_type
action find
entity Frances Bunsen
relation occupation
type occupation
['Frances Bunsen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Frances_Bunsen property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q1028181 Q864380
SYSTEM
painter, biographer
Q1028181 Q864380
(Q15456194,P106,c(Q12737077))
action filter_type
action find
entity Q15456194
relation P106
type Q12737077
The job of Frances Bunsen are a [ANSWERS]
['Q15456194', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q15456194 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
painter biographer
The job of Frances Bunsen are a painter and biographer
painter biographer
action filter_type
action find
entity Frances Bunsen
relation occupation
type occupation
['Frances Bunsen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Frances_Bunsen property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
Which occupations are the field of work of greater number of collectables than that occupation ?
(c(Q2342494),P101,c(Q12737077))
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
occupation collectable
Comparative|More/Less|Single entity type|Clarification
Q864380
SYSTEM
Did you mean biographer ?
(c(Q2342494),P101,c(Q12737077))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
Did you mean biographer ?
biographer
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
USER
No, I meant painter. Could you tell me the answer for that?
(c(Q2342494),P101,c(Q12737077))
Q1028181
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
[]
Q15954519
SYSTEM
alchemist
Q15954519
(c(Q2342494),P101,c(Q12737077))
[ANSWER] is the field of work of greater number of collectables than that occupation
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
alchemist
Alchemist is the field of work of greater number of collectables than that occupation
alchemist
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints 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 ?e WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?u ) { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P417 ?n . ?n rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?n } } . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?q ) WHERE { ?m property:P417 ?e . ?e rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?e } . FILTER ( ?q = ?u ) }
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 ?e WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?u ) { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:patron_saint ?n . ?n rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?n } } . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?q ) WHERE { ?m property:patron_saint ?e . ?e rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?e } . FILTER ( ?q = ?u ) }
[]
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 names of person who are the patron saints of min number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?u ) { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P417 ?n . ?n rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?n } } . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?q ) WHERE { ?m property:P417 ?e . ?e rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?e } . FILTER ( ?q = ?u ) }
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 names of person who are the patron saints 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 ?e WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?u ) { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:patron_saint ?n . ?n rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?n } } . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?q ) WHERE { ?m property:patron_saint ?e . ?e rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?e } . FILTER ( ?q = ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1028181
P180
Q3305213 Q838948
USER
How many paintings and works of art depict painter ?
(c(Q3305213),P180,Q1028181) (c(Q838948),P180,Q1028181)
action count
action union
action filter_type
action find_reverse
entity Q1028181
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q1028181
relation P180
type Q838948
[{'concept': 'Q3305213'}, 'P180', 'Q1028181'] [{'concept': 'Q838948'}, 'P180', 'Q1028181']
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { ?y property:P180 resource:Q1028181 . ?y rdf:type ontology:Q3305213 } UNION { ?y rdf:type ontology:Q838948 . ?y property:P180 resource:Q1028181 } }
painter
action count
action union
action filter_type
action find_reverse
entity painter
relation depicts
type painting
action filter_type
action find_reverse
entity painter
relation depicts
type work of art
[{'concept': 'painting'}, 'depicts', 'painter'] [{'concept': 'work of art'}, 'depicts', 'painter']
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { ?y property:depicts resource:painter . ?y rdf:type ontology:painting } UNION { ?y rdf:type ontology:work_of_art . ?y property:depicts resource:painter } }
[]
painting work of art
SYSTEM
1 paintings and 2 works of art
Q19060290 Q19346610 Q20064508
(c(Q3305213),P180,Q1028181) (c(Q838948),P180,Q1028181)
action count
action union
action filter_type
action find_reverse
entity Q1028181
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q1028181
relation P180
type Q838948
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q1028181'] [{'concept': 'Q838948'}, 'P180', 'Q1028181']
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { ?y property:P180 resource:Q1028181 . ?y rdf:type ontology:Q3305213 } UNION { ?y rdf:type ontology:Q838948 . ?y property:P180 resource:Q1028181 } }
Domenichino Bust of Martin Fréminet Painter at the easel
1 paintings and 2 works of art
action count
action union
action filter_type
action find_reverse
entity painter
relation depicts
type painting
action filter_type
action find_reverse
entity painter
relation depicts
type work of art
[{'concept': 'painting'}, 'depicts', 'painter'] [{'concept': 'work of art'}, 'depicts', 'painter']
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { ?y property:depicts resource:painter . ?y rdf:type ontology:painting } UNION { ?y rdf:type ontology:work_of_art . ?y property:depicts resource:painter } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1028181 Q3356245
P425
Q874405
USER
How many social groups have painter or Civilekonom as the associated fields of occupation ?
(Q1028181,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q1028181
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
['Q1028181', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?j property:P425 ?y . VALUES ( ?j ) { ( resource:Q1028181 ) ( resource:Q3356245 ) } }
painter Civilekonom
action count
action union
action filter_type
action find
entity painter
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['painter', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?j property:field_of_this_occupation ?y . VALUES ( ?j ) { ( resource:painter ) ( resource:Civilekonom ) } }
[]
social group
SYSTEM
2
Q4830453 Q163740
(Q1028181,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q1028181
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
[ANSWER]
['Q1028181', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?j property:P425 ?y . VALUES ( ?j ) { ( resource:Q1028181 ) ( resource:Q3356245 ) } }
business enterprise nonprofit organization
2
action count
action union
action filter_type
action find
entity painter
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['painter', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?j property:field_of_this_occupation ?y . VALUES ( ?j ) { ( resource:painter ) ( resource:Civilekonom ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9682
P108
Q502895
USER
Which person has Elizabeth II as its employer ?
(c(Q502895),P108,Q9682)
action filter_type
action find_reverse
entity Q9682
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q9682']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P108 resource:Q9682 }
Elizabeth II
action filter_type
action find_reverse
entity Elizabeth II
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Elizabeth II']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:employer resource:Elizabeth_II }
[]
common name
Q1670833
SYSTEM
Patric Laurence Dickinson
Q1670833
(c(Q502895),P108,Q9682)
action filter_type
action find_reverse
entity Q9682
relation P108
type Q502895
[ANSWER] has Elizabeth II as its employer
[{'concept': 'Q502895'}, 'P108', 'Q9682']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P108 resource:Q9682 }
Patric Laurence Dickinson
Patric Laurence Dickinson has Elizabeth II as its employer
Patric Laurence Dickinson
action filter_type
action find_reverse
entity Elizabeth II
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Elizabeth II']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:employer resource:Elizabeth_II }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9682
P3091
Q502895
USER
Which person is ridden by Elizabeth II ?
(Q9682,P3091,c(Q502895))
action filter_type
action find
entity Q9682
relation P3091
type Q502895
['Q9682', 'P3091', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q9682 property:P3091 ?f . ?f rdf:type ontology:Q502895 }
Elizabeth II
action filter_type
action find
entity Elizabeth II
relation mount
type common name
['Elizabeth II', 'mount', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Elizabeth_II property:mount ?f . ?f rdf:type ontology:common_name }
[]
common name
Q1016696
SYSTEM
Burmese
Q1016696
(Q9682,P3091,c(Q502895))
action filter_type
action find
entity Q9682
relation P3091
type Q502895
[ANSWER] is ridden by Elizabeth II
['Q9682', 'P3091', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q9682 property:P3091 ?f . ?f rdf:type ontology:Q502895 }
Burmese
Burmese is ridden by Elizabeth II
Burmese
action filter_type
action find
entity Elizabeth II
relation mount
type common name
['Elizabeth II', 'mount', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Elizabeth_II property:mount ?f . ?f rdf:type ontology:common_name }
[]