Simple Question (Direct)
Simple Question
Q1170394
P641
Q349
USER
Which sport did Joe Pace participate in ?
(Q1170394,P641,c(Q349))
action filter_type
action find
entity Q1170394
relation P641
type Q349
['Q1170394', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q1170394 property:P641 ?v }
Joe Pace
action filter_type
action find
entity Joe Pace
relation sport
type sport
['Joe Pace', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Joe_Pace property:sport ?v }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q1170394,P641,c(Q349))
action filter_type
action find
entity Q1170394
relation P641
type Q349
Joe Pace participated in [ANSWER]
['Q1170394', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q1170394 property:P641 ?v }
basketball
Joe Pace participated in basketball
basketball
action filter_type
action find
entity Joe Pace
relation sport
type sport
['Joe Pace', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Joe_Pace property:sport ?v }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atmost 8849 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 8849
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?d <= 8849 ) . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?p } }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 8849
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?d <= 8849 ) . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?p } }
[]
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 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 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 8849
Atmost 8849 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?d <= 8849 ) . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?p } }
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 violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Atmost 8849 people know about davul, harpsichord and Wurlitzer electric piano
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 8849
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?d <= 8849 ) . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q60059
P417
Q502895 Q56061 Q44539
USER
How many people are the patron saint of more number of administrative territories or temples than Albertus Magnus ?
(c(Q56061)|c(Q44539),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action count
action filter_multi_types
action find_reverse
entity Q60059
relation P417
type Q56061
type Q44539
[[{'concept': 'Q56061'}, {'concept': 'Q44539'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?d ) WHERE { VALUES ( ?s ) { ( ontology:Q56061 ) ( ontology:Q44539 ) } . ?g rdf:type ?s } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:P417 resource:Q60059 . { VALUES ( ?r ) { ( ontology:Q56061 ) ( ontology:Q44539 ) } . ?v rdf:type ?r } } } . FILTER ( ?d > ?p ) }
Albertus Magnus
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action count
action filter_multi_types
action find_reverse
entity Albertus Magnus
relation patron saint
type administrative territorial entity
type temple
[[{'concept': 'administrative territorial entity'}, {'concept': 'temple'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?d ) WHERE { VALUES ( ?s ) { ( ontology:administrative_territorial_entity ) ( ontology:temple ) } . ?g rdf:type ?s } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:patron_saint resource:Albertus_Magnus . { VALUES ( ?r ) { ( ontology:administrative_territorial_entity ) ( ontology:temple ) } . ?v rdf:type ?r } } } . FILTER ( ?d > ?p ) }
[]
common name administrative territorial entity temple
SYSTEM
58
Q133704 Q152457 Q394727 Q61914 Q320199 Q43689 Q128267 Q328804 Q163900 Q31966 Q170547 Q44024 Q676555 Q244380 Q181715 Q1284971 Q686948 Q42887 Q177903 Q207113 Q8018 Q33923 Q161775 Q221522 Q183240 Q145746 Q298845 Q167477 Q288295 Q297742 Q48438 Q63070 Q43399 Q189776 Q196527 Q336731 Q560531 Q9200 Q346 Q180936 Q43999 Q43669 Q44269 Q44265 Q192816 Q43982 Q179718 Q40662 Q210096 Q80513 Q151967 Q149727 Q11905449 Q164294 Q159862 Q17590 Q200895 Q310633
(c(Q56061)|c(Q44539),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action count
action filter_multi_types
action find_reverse
entity Q60059
relation P417
type Q56061
type Q44539
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q44539'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?d ) WHERE { VALUES ( ?s ) { ( ontology:Q56061 ) ( ontology:Q44539 ) } . ?g rdf:type ?s } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:P417 resource:Q60059 . { VALUES ( ?r ) { ( ontology:Q56061 ) ( ontology:Q44539 ) } . ?v rdf:type ?r } } } . FILTER ( ?d > ?p ) }
Martin of Tours Saint Roch Agnes of Bohemia Gotthard of Hildesheim Apollinaris of Ravenna Ambrose Joseph John the Evangelist Saint Francis Xavier Mark the Evangelist Anthony the Great Athanasius of Alexandria Francis of Assisi Saint Denis Thérèse of Lisieux Victor Maurus Alban of Mainz Clement I Stephen I of Hungary Hippolytus Augustine of Hippo Peter Stephen John of Nepomuk Saint Lucy Joseph Saint Florian Anthony of Padua Justina of Padua Margaret the Virgin Saint George Mary Magdalene Andrew Zeno of Verona Saint Wenceslaus I, Duke of Bohemia Pancras of Rome Suitbert of Kaiserswerdt Paul Louis IX of France Saint Gall James Thomas the Apostle Saint Nicholas Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Agnes of Rome Saint Cecilia Saint Blaise Saint Giles Anastasi de Lleida Saint Anna Elizabeth of Hungary Lawrence of Rome Agatha of Sicily Demetrius of Thessaloniki
58
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action count
action filter_multi_types
action find_reverse
entity Albertus Magnus
relation patron saint
type administrative territorial entity
type temple
[[{'concept': 'administrative territorial entity'}, {'concept': 'temple'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?d ) WHERE { VALUES ( ?s ) { ( ontology:administrative_territorial_entity ) ( ontology:temple ) } . ?g rdf:type ?s } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:patron_saint resource:Albertus_Magnus . { VALUES ( ?r ) { ( ontology:administrative_territorial_entity ) ( ontology:temple ) } . ?v rdf:type ?r } } } . FILTER ( ?d > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q593995
P870
Q34379 Q9748 Q862597
USER
Which musical instruments are used as instrumentation in greater number of concertoes or musical forms than player piano ?
(c(Q9748)|c(Q862597),P870,c(Q34379))
action greater
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action count
action filter_multi_types
action find_reverse
entity Q593995
relation P870
type Q9748
type Q862597
[[{'concept': 'Q9748'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?u ) WHERE { { ?j property:P870 ?y . ?j rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 } UNION { ?j property:P870 ?y . ?y rdf:type ontology:Q34379 . ?j rdf:type ontology:Q862597 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P870 resource:Q593995 . { { ?f rdf:type ontology:Q9748 } UNION { ?f rdf:type ontology:Q862597 } } } } . FILTER ( ?u > ?l ) }
player piano
action greater
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action count
action filter_multi_types
action find_reverse
entity player piano
relation instrumentation
type concerto
type musical form
[[{'concept': 'concerto'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?u ) WHERE { { ?j property:instrumentation ?y . ?j rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument } UNION { ?j property:instrumentation ?y . ?y rdf:type ontology:musical_instrument . ?j rdf:type ontology:musical_form } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:instrumentation resource:player_piano . { { ?f rdf:type ontology:concerto } UNION { ?f rdf:type ontology:musical_form } } } } . FILTER ( ?u > ?l ) }
[]
musical instrument concerto musical form
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q8371 Q5994 Q1444 Q8355 Q81982
(c(Q9748)|c(Q862597),P870,c(Q34379))
action greater
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action count
action filter_multi_types
action find_reverse
entity Q593995
relation P870
type Q9748
type Q862597
[ANSWERS] are used as instrumentation in greater number of concertoes or musical forms than player piano
[[{'concept': 'Q9748'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?u ) WHERE { { ?j property:P870 ?y . ?j rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 } UNION { ?j property:P870 ?y . ?y rdf:type ontology:Q34379 . ?j rdf:type ontology:Q862597 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P870 resource:Q593995 . { { ?f rdf:type ontology:Q9748 } UNION { ?f rdf:type ontology:Q862597 } } } } . FILTER ( ?u > ?l ) }
viola cello piano organ violin harpsichord
Piano, harpsichord and viola are used as instrumentation in greater number of concertoes or musical forms than player piano
piano harpsichord viola
action greater
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action count
action filter_multi_types
action find_reverse
entity player piano
relation instrumentation
type concerto
type musical form
[[{'concept': 'concerto'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?u ) WHERE { { ?j property:instrumentation ?y . ?j rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument } UNION { ?j property:instrumentation ?y . ?y rdf:type ontology:musical_instrument . ?j rdf:type ontology:musical_form } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:instrumentation resource:player_piano . { { ?f rdf:type ontology:concerto } UNION { ?f rdf:type ontology:musical_form } } } } . FILTER ( ?u > ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q8338
P870
Q34379 Q9748 Q862597
USER
And what about trumpet?
(c(Q9748)|c(Q862597),P870,c(Q34379))
action greater
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action count
action filter_multi_types
action find_reverse
entity Q8338
relation P870
type Q9748
type Q862597
[[{'concept': 'Q9748'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?k WHERE { VALUES ( ?a ) { ( ontology:Q9748 ) ( ontology:Q862597 ) } . ?x rdf:type ?a } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:P870 resource:Q8338 . { { ?e rdf:type ontology:Q9748 } UNION { ?e rdf:type ontology:Q862597 } } } } . FILTER ( ?j > ?t ) }
trumpet
action greater
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action count
action filter_multi_types
action find_reverse
entity trumpet
relation instrumentation
type concerto
type musical form
[[{'concept': 'concerto'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?k WHERE { VALUES ( ?a ) { ( ontology:concerto ) ( ontology:musical_form ) } . ?x rdf:type ?a } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:instrumentation resource:trumpet . { { ?e rdf:type ontology:concerto } UNION { ?e rdf:type ontology:musical_form } } } } . FILTER ( ?j > ?t ) }
[]
musical instrument concerto musical form
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q8371 Q5994 Q1444 Q8355 Q81982
(c(Q9748)|c(Q862597),P870,c(Q34379))
action greater
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action count
action filter_multi_types
action find_reverse
entity Q8338
relation P870
type Q9748
type Q862597
[ANSWERS]
[[{'concept': 'Q9748'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?k WHERE { VALUES ( ?a ) { ( ontology:Q9748 ) ( ontology:Q862597 ) } . ?x rdf:type ?a } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:P870 resource:Q8338 . { { ?e rdf:type ontology:Q9748 } UNION { ?e rdf:type ontology:Q862597 } } } } . FILTER ( ?j > ?t ) }
viola cello piano organ violin harpsichord
piano harpsichord viola
action greater
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action count
action filter_multi_types
action find_reverse
entity trumpet
relation instrumentation
type concerto
type musical form
[[{'concept': 'concerto'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?k WHERE { VALUES ( ?a ) { ( ontology:concerto ) ( ontology:musical_form ) } . ?x rdf:type ?a } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:instrumentation resource:trumpet . { { ?e rdf:type ontology:concerto } UNION { ?e rdf:type ontology:musical_form } } } } . FILTER ( ?j > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q15637844
P248
Q11032 Q11204 Q502895
USER
How many people have been recognized first in lesser number of newspapers or legislatures than David Smith ?
(c(Q502895),P248,c(Q11032)|c(Q11204))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q11032
action find_tuple_counts
relation P248
type Q502895
type Q11204
action count
action filter_multi_types
action find
entity Q15637844
relation P248
type Q11032
type Q11204
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q11032'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?r WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q11204 ) ( ontology:Q11032 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { { ?n rdf:type ontology:Q11032 } UNION { ?n rdf:type ontology:Q11204 } } . resource:Q15637844 property:P248 ?n } } . FILTER ( ?e < ?h ) }
David Smith
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type newspaper
action find_tuple_counts
relation stated in
type common name
type legislature
action count
action filter_multi_types
action find
entity David Smith
relation stated in
type newspaper
type legislature
[{'concept': 'common name'}, 'stated in', [{'concept': 'newspaper'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?r WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:legislature ) ( ontology:newspaper ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { { ?n rdf:type ontology:newspaper } UNION { ?n rdf:type ontology:legislature } } . resource:David_Smith property:stated_in ?n } } . FILTER ( ?e < ?h ) }
[]
newspaper legislature common name
SYSTEM
363
Q16859599 Q6130307 Q6255166 Q6255164 Q5239877 Q5239876 Q5144961 Q5239879 Q16210814 Q16013737 Q7342716 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q8017696 Q6237329 Q5232852 Q16859511 Q16011002 Q17402519 Q6257923 Q6255435 Q6262994 Q6262996 Q6262991 Q15456236 Q6255181 Q6249883 Q6255184 Q15996304 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6260667 Q6236088 Q16062974 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q18546633 Q18546632 Q5606268 Q16857953 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q11035229 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q5241202 Q6260355 Q18534216 Q18534214 Q6130319 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6249873 Q6255172 Q6249879 Q6221412 Q16060029 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q3528952 Q6237337 Q1776423 Q6255426 Q6228764 Q6228766 Q6246935 Q5232850 Q5232857 Q5232854 Q18546651 Q5232859 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q8018834 Q6145023 Q6145020 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q16015315 Q8004402 Q8004400 Q5537303 Q18530282 Q5537308 Q15990337 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6239287 Q6130325 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q5606277 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q15994621 Q15994622 Q6221434 Q17423413 Q7493391 Q8020388 Q6239263 Q6237345 Q8020387 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q17308862 Q5239884 Q15995818 Q16859222 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q16228915 Q4679001 Q6237308 Q6237302 Q16194812 Q8017685 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q6263006 Q6263007 Q15452052 Q6255417 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q6246952 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 Q16043626 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q6255170 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5239886 Q5233458 Q15982602 Q5233453 Q14951093 Q8020399 Q8020396 Q6221424 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q5241196 Q6255179 Q6262733 Q6262982 Q6262980 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q15994581 Q6244744 Q6244748 Q6470045 Q2778111 Q18546659 Q18546658 Q16859187 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q5240358 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q6263011 Q10363011 Q6145009 Q6145005 Q6145007 Q5233462 Q5233466 Q5233469 Q333770 Q6251897 Q6242832 Q5537322 Q5537324 Q5537325 Q6246965 Q6246963 Q16066618 Q8019368 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q16225515 Q18527351 Q5241210 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q11032)|c(Q11204))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q11032
action find_tuple_counts
relation P248
type Q502895
type Q11204
action count
action filter_multi_types
action find
entity Q15637844
relation P248
type Q11032
type Q11204
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q11032'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?r WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q11204 ) ( ontology:Q11032 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { { ?n rdf:type ontology:Q11032 } UNION { ?n rdf:type ontology:Q11204 } } . resource:Q15637844 property:P248 ?n } } . FILTER ( ?e < ?h ) }
William Thompson James Brown John Roberts John Roberts David Smith David Smith Colin Campbell David Smith David Evans John Roberts Robert Campbell Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall John Hall William Robinson John Hall David Davies John Robinson John Parker Greg Smith John Simpson John Rogers John Ward John Ward John Ward William Williams John Roberts John Murphy John Roberts John Martin Robert Williams John Rogers John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Thompson John Gray James Walker John Williams John Gray John Gray John Bell David Thomas John Gray Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith John Smith John Smith Greg Smith John Martin David Wilson John Martin Gilles De Haes John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin John Davies John Smith John Martin John Parker John Robinson John Robinson John Carter William Thompson William Walker William Thompson John Brown John Smith David Wilson John Taylor John Ward John Taylor James Brown James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Murphy John Roberts John Murphy John Bell David Davies Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango George Brown John Hall Raud the Strong John Rogers John Davies John Davies John Martin David Davies David Davies David Davies John Williams David Davies James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith William Stewart James Walker James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson David Thomas William Anderson William Anderson George Brown John Randall Clarke George Brown James Walker David Evans John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan John Hill William Brown John Murray John Martin John Gray Ethan Wragge John Murphy William Brown James Walker John Rogers James Brown Epimenides John Martin William Thompson John Hill James Brown James Brown Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Bell John Murphy David Smith John Bell John Bell John Hill John Martin John Martin John Bell James Brown Shelby Harris William Williams John Hill John Hall William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson Colin Campbell David Smith John Thompson Robert Williams David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown George Brown John Wilson Adam Dunkels John Hall John Hall David Smith William Robinson William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Ward John Ward John Rogers John Rogers John Kennedy John Ward John Ward John Davies George Brown John Martin George Brown John Martin John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis John Roberts William Thompson John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell John Roberts David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Smith David Evans John Young David Evans John Jackson William Williams William Williams John Bell Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson David Wilson John Roberts John Walker John Ward John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis John Lewis John Lewis Lady Colin Campbell Greg Smith John Williams John Williams James Walker John Williams John Rogers John Williams John Williams John Williams David Thomas Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith John Davies Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Hall John Ward Risques Pereira James Walker James Walker James Walker David Evans David Evans David Evans Victorinus John Parker John Kennedy George Brown George Brown George Brown John Martin John Martin John Ward William Thompson John Walker John Walker William Thompson John Walker John Kennedy John Simpson John Moore David Wilson William Thompson Carsten Tank George Smith
363
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type newspaper
action find_tuple_counts
relation stated in
type common name
type legislature
action count
action filter_multi_types
action find
entity David Smith
relation stated in
type newspaper
type legislature
[{'concept': 'common name'}, 'stated in', [{'concept': 'newspaper'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?r WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:legislature ) ( ontology:newspaper ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { { ?n rdf:type ontology:newspaper } UNION { ?n rdf:type ontology:legislature } } . resource:David_Smith property:stated_in ?n } } . FILTER ( ?e < ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q15991813
P608
Q33506 Q464980 Q502895
USER
How many people were exhibited at greater number of museums and exhibitions than Judie Bamber ?
(c(Q502895),P608,c(Q33506)|c(Q464980))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q33506
action find_tuple_counts
relation P608
type Q502895
type Q464980
action count
action filter_multi_types
action find
entity Q15991813
relation P608
type Q33506
type Q464980
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q33506'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?z WHERE { { ?z rdf:type ontology:Q502895 . ?p rdf:type ontology:Q33506 . ?z property:P608 ?p } UNION { ?z property:P608 ?p . ?p rdf:type ontology:Q464980 . ?z rdf:type ontology:Q502895 } } GROUP BY ?z } . FILTER ( ?e > ?i ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Q15991813 property:P608 ?j . { { ?j rdf:type ontology:Q464980 } UNION { ?j rdf:type ontology:Q33506 } } } } }
Judie Bamber
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type museum
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action count
action filter_multi_types
action find
entity Judie Bamber
relation exhibition history
type museum
type exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'museum'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?z WHERE { { ?z rdf:type ontology:common_name . ?p rdf:type ontology:museum . ?z property:exhibition_history ?p } UNION { ?z property:exhibition_history ?p . ?p rdf:type ontology:exhibition . ?z rdf:type ontology:common_name } } GROUP BY ?z } . FILTER ( ?e > ?i ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Judie_Bamber property:exhibition_history ?j . { { ?j rdf:type ontology:exhibition } UNION { ?j rdf:type ontology:museum } } } } }
[]
museum exhibition common name
SYSTEM
17
Q70006 Q17314881 Q6196481 Q4945678 Q16004451 Q4648360 Q7649008 Q6990118 Q17625628 Q1964408 Q5040332 Q3289592 Q20888837 Q5375139 Q16080418 Q16121375 Q16968866
(c(Q502895),P608,c(Q33506)|c(Q464980))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q33506
action find_tuple_counts
relation P608
type Q502895
type Q464980
action count
action filter_multi_types
action find
entity Q15991813
relation P608
type Q33506
type Q464980
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q33506'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?z WHERE { { ?z rdf:type ontology:Q502895 . ?p rdf:type ontology:Q33506 . ?z property:P608 ?p } UNION { ?z property:P608 ?p . ?p rdf:type ontology:Q464980 . ?z rdf:type ontology:Q502895 } } GROUP BY ?z } . FILTER ( ?e > ?i ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Q15991813 property:P608 ?j . { { ?j rdf:type ontology:Q464980 } UNION { ?j rdf:type ontology:Q33506 } } } } }
Lotte Jacobi René Izaure Jim Love Martha Edelheit Jennifer Bolande A. S. Baylinson Susie Bootja Bootja Napaltjarri Nellie Mae Rowe Deborah De Robertis Nan Hoover Carl Holty Moniek Toebosch Angélique Bègue Ena Swansea Alyce Frank Judith Lowry Lydia Schouten
17
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type museum
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action count
action filter_multi_types
action find
entity Judie Bamber
relation exhibition history
type museum
type exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'museum'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?z WHERE { { ?z rdf:type ontology:common_name . ?p rdf:type ontology:museum . ?z property:exhibition_history ?p } UNION { ?z property:exhibition_history ?p . ?p rdf:type ontology:exhibition . ?z rdf:type ontology:common_name } } GROUP BY ?z } . FILTER ( ?e > ?i ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Judie_Bamber property:exhibition_history ?j . { { ?j rdf:type ontology:exhibition } UNION { ?j rdf:type ontology:museum } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1170394
P54
Q12973014
USER
What is Joe Pace a member of ?
(Q1170394,P54,c(Q12973014))
action filter_type
action find
entity Q1170394
relation P54
type Q12973014
['Q1170394', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?e WHERE { resource:Q1170394 property:P54 ?e . ?e rdf:type ontology:Q12973014 }
Joe Pace
action filter_type
action find
entity Joe Pace
relation member of sports team
type sports team
['Joe Pace', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?e WHERE { resource:Joe_Pace property:member_of_sports_team ?e . ?e rdf:type ontology:sports_team }
[]
sports team
Q36406
SYSTEM
Victoria Libertas Pesaro
Q36406
(Q1170394,P54,c(Q12973014))
action filter_type
action find
entity Q1170394
relation P54
type Q12973014
Joe Pace a member of is [ANSWER]
['Q1170394', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?e WHERE { resource:Q1170394 property:P54 ?e . ?e rdf:type ontology:Q12973014 }
Victoria Libertas Pesaro
Joe Pace a member of is Victoria Libertas Pesaro
Victoria Libertas Pesaro
action filter_type
action find
entity Joe Pace
relation member of sports team
type sports team
['Joe Pace', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?e WHERE { resource:Joe_Pace property:member_of_sports_team ?e . ?e rdf:type ontology:sports_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q36406 Q1093458
P54
Q502895
USER
Is Peter Guarasci a member of that sports team ?
(Q1093458,P54,Q36406)
action is_in
entity Q36406
action find
entity Q1093458
relation P54
['Q1093458', 'P54', 'Q36406']
ASK WHERE { resource:Q1093458 property:P54 resource:Q36406 }
Victoria Libertas Pesaro Peter Guarasci
action is_in
entity Victoria Libertas Pesaro
action find
entity Peter Guarasci
relation member of sports team
['Peter Guarasci', 'member of sports team', 'Victoria Libertas Pesaro']
ASK WHERE { resource:Peter_Guarasci property:member_of_sports_team resource:Victoria_Libertas_Pesaro }
[]
common name
SYSTEM
YES
(Q1093458,P54,Q36406)
action is_in
entity Q36406
action find
entity Q1093458
relation P54
[ANSWER]
['Q1093458', 'P54', 'Q36406']
ASK WHERE { resource:Q1093458 property:P54 resource:Q36406 }
Yes
action is_in
entity Victoria Libertas Pesaro
action find
entity Peter Guarasci
relation member of sports team
['Peter Guarasci', 'member of sports team', 'Victoria Libertas Pesaro']
ASK WHERE { resource:Peter_Guarasci property:member_of_sports_team resource:Victoria_Libertas_Pesaro }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36406
P466
Q811979
USER
What is the architectural structure occupied by Victoria Libertas Pesaro ?
(c(Q811979),P466,Q36406)
action filter_type
action find_reverse
entity Q36406
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q36406']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q811979 . ?z property:P466 resource:Q36406 }
Victoria Libertas Pesaro
action filter_type
action find_reverse
entity Victoria Libertas Pesaro
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Victoria Libertas Pesaro']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:architectural_structure . ?z property:occupant resource:Victoria_Libertas_Pesaro }
[]
architectural structure
Q1092170
SYSTEM
Adriatic Arena
Q1092170
(c(Q811979),P466,Q36406)
action filter_type
action find_reverse
entity Q36406
relation P466
type Q811979
The architectural structure occupied by Victoria Libertas Pesaro is the [ANSWER]
[{'concept': 'Q811979'}, 'P466', 'Q36406']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q811979 . ?z property:P466 resource:Q36406 }
Adriatic Arena
The architectural structure occupied by Victoria Libertas Pesaro is the Adriatic Arena
Adriatic Arena
action filter_type
action find_reverse
entity Victoria Libertas Pesaro
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Victoria Libertas Pesaro']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:architectural_structure . ?z property:occupant resource:Victoria_Libertas_Pesaro }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1092170
P17
Q15617994
USER
Which administrative territory is that architectural structure a part of ?
(Q1092170,P17,c(Q15617994))
action filter_type
action find
entity Q1092170
relation P17
type Q15617994
['Q1092170', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q1092170 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Adriatic Arena
action filter_type
action find
entity Adriatic Arena
relation country
type designation for an administrative territorial entity
['Adriatic Arena', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Adriatic_Arena property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q1092170,P17,c(Q15617994))
action filter_type
action find
entity Q1092170
relation P17
type Q15617994
The [ANSWER] is that architectural structure a part of
['Q1092170', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q1092170 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Italy
The Italy is that architectural structure a part of
Italy
action filter_type
action find
entity Adriatic Arena
relation country
type designation for an administrative territorial entity
['Adriatic Arena', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Adriatic_Arena property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]