Simple Question (Direct)
Simple Question
Q5593185
P641
Q349
USER
What did Graham Rodger participate in ?
(Q5593185,P641,c(Q349))
action filter_type
action find
entity Q5593185
relation P641
type Q349
['Q5593185', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q5593185 property:P641 ?g . ?g rdf:type ontology:Q349 }
Graham Rodger
action filter_type
action find
entity Graham Rodger
relation sport
type sport
['Graham Rodger', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Graham_Rodger property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5593185,P641,c(Q349))
action filter_type
action find
entity Q5593185
relation P641
type Q349
Graham Rodger participated in [ANSWER]
['Q5593185', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q5593185 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
Graham Rodger participated in association football
association football
action filter_type
action find
entity Graham Rodger
relation sport
type sport
['Graham Rodger', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Graham_Rodger property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5593185
P106
Q12737077
USER
What is the profession of Graham Rodger ?
(Q5593185,P106,c(Q12737077))
action filter_type
action find
entity Q5593185
relation P106
type Q12737077
['Q5593185', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q5593185 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Graham Rodger
action filter_type
action find
entity Graham Rodger
relation occupation
type occupation
['Graham Rodger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Graham_Rodger property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5593185,P106,c(Q12737077))
action filter_type
action find
entity Q5593185
relation P106
type Q12737077
The profession of Graham Rodger is an [ANSWER]
['Q5593185', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q5593185 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football player
The profession of Graham Rodger is an association football player
association football player
action filter_type
action find
entity Graham Rodger
relation occupation
type occupation
['Graham Rodger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Graham_Rodger property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5593185
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q5593185
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q5593185 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Graham Rodger
action filter_type
action find
entity Graham Rodger
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Graham_Rodger property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q5593185
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q5593185 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that person an inhabitant of
United Kingdom
action filter_type
action find
entity Graham Rodger
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Graham_Rodger property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5593185
P21
Q290
USER
Which sex does that person possess ?
(Q145,P21,c(Q290))
action filter_type
action find
entity Q5593185
relation P21
type Q290
['Q145', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5593185 property:P21 ?m . ?m rdf:type ontology:Q290 }
Graham Rodger
action filter_type
action find
entity Graham Rodger
relation gender
type sex
['United Kingdom', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Graham_Rodger property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q145,P21,c(Q290))
action filter_type
action find
entity Q5593185
relation P21
type Q290
That person possesses a [ANSWER]
['Q145', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5593185 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Graham Rodger
relation gender
type sex
['United Kingdom', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Graham_Rodger property:gender ?m . ?m rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q502895 Q13406554
USER
Which sports were atmost 45945 people or sport competitions a part of ?
(c(Q502895)|c(Q13406554),P641,c(Q349))
action atmost
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
value 45945
[[{'concept': 'Q502895'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?j <= 45945 ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?p WHERE { { ?a property:P641 ?p . ?p rdf:type ontology:Q349 . ?a rdf:type ontology:Q502895 } UNION { ?a property:P641 ?p . ?p rdf:type ontology:Q349 . ?a rdf:type ontology:Q13406554 } } GROUP BY ?p } }
action atmost
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
value 45945
[[{'concept': 'common name'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?j <= 45945 ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?p WHERE { { ?a property:sport ?p . ?p rdf:type ontology:sport . ?a rdf:type ontology:common_name } UNION { ?a property:sport ?p . ?p rdf:type ontology:sport . ?a rdf:type ontology:sport_competition } } GROUP BY ?p } }
[]
sport common name sport competition
Q809831 Q1295867 Q206763
SYSTEM
BASE jumping, pesäpallo, floorball
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q847 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q7291 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5372 Q5375 Q5377 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q41466 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q502895)|c(Q13406554),P641,c(Q349))
action atmost
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
value 45945
[ANSWERS] were atmost 45945 people or sport competitions a part of
[[{'concept': 'Q502895'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?j <= 45945 ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?p WHERE { { ?a property:P641 ?p . ?p rdf:type ontology:Q349 . ?a rdf:type ontology:Q502895 } UNION { ?a property:P641 ?p . ?p rdf:type ontology:Q349 . ?a rdf:type ontology:Q13406554 } } GROUP BY ?p } }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport tennis equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football badminton dancesport Kabaddi curling women's basketball rallying rallycross basketball cricket golf shooting sport baseball canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque ice hockey shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
BASE jumping, pesäpallo and floorball were atmost 45945 people or sport competitions a part of
BASE jumping pesäpallo floorball
action atmost
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
value 45945
[[{'concept': 'common name'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?j <= 45945 ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?p WHERE { { ?a property:sport ?p . ?p rdf:type ontology:sport . ?a rdf:type ontology:common_name } UNION { ?a property:sport ?p . ?p rdf:type ontology:sport . ?a rdf:type ontology:sport_competition } } GROUP BY ?p } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q671419
P841
Q186081 Q573 Q502895
USER
Which people have lesser number of time intervals and days as their principal feast day than Eucherius of Lyon ?
(c(Q502895),P841,c(Q186081)|c(Q573))
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q671419
relation P841
type Q186081
type Q573
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?f ) WHERE { { ?w property:P841 ?o . ?w rdf:type ontology:Q502895 . ?o rdf:type ontology:Q186081 } UNION { ?w property:P841 ?o . ?w rdf:type ontology:Q502895 . ?o rdf:type ontology:Q573 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q671419 property:P841 ?z . { VALUES ( ?c ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?z rdf:type ?c } } } . FILTER ( ?f < ?g ) }
Eucherius of Lyon
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Eucherius of Lyon
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?f ) WHERE { { ?w property:feast_day ?o . ?w rdf:type ontology:common_name . ?o rdf:type ontology:time_interval } UNION { ?w property:feast_day ?o . ?w rdf:type ontology:common_name . ?o rdf:type ontology:day } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Eucherius_of_Lyon property:feast_day ?z . { VALUES ( ?c ) { ( ontology:time_interval ) ( ontology:day ) } . ?z rdf:type ?c } } } . FILTER ( ?f < ?g ) }
[]
time interval day common name
Q679784 Q3047912 Q167477
SYSTEM
Pier Giorgio Frassati, Seraphina Sforza, Anthony of Padua
Q384117 Q365797 Q3483257 Q679784 Q3483161 Q3483259 Q3483263 Q167477 Q3047912 Q269889 Q2701365
(c(Q502895),P841,c(Q186081)|c(Q573))
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q671419
relation P841
type Q186081
type Q573
[ANSWERS] have lesser number of time intervals and days as their principal feast day than Eucherius of Lyon
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?f ) WHERE { { ?w property:P841 ?o . ?w rdf:type ontology:Q502895 . ?o rdf:type ontology:Q186081 } UNION { ?w property:P841 ?o . ?w rdf:type ontology:Q502895 . ?o rdf:type ontology:Q573 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q671419 property:P841 ?z . { VALUES ( ?c ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?z rdf:type ?c } } } . FILTER ( ?f < ?g ) }
Aignan of Orleans Ahmad al-Tijani Sidi M'hamed Bou Qobrine Pier Giorgio Frassati Sidi Abder Rahman El Thaelebi Sidi M'hand Oumalek Sidi Mansour Anthony of Padua Seraphina Sforza Joanna, wife of Chuza Thomas Percy, 7th Earl of Northumberland
Pier Giorgio Frassati, Seraphina Sforza and Anthony of Padua have lesser number of time intervals and days as their principal feast day than Eucherius of Lyon
Pier Giorgio Frassati Seraphina Sforza Anthony of Padua
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Eucherius of Lyon
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?f ) WHERE { { ?w property:feast_day ?o . ?w rdf:type ontology:common_name . ?o rdf:type ontology:time_interval } UNION { ?w property:feast_day ?o . ?w rdf:type ontology:common_name . ?o rdf:type ontology:day } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Eucherius_of_Lyon property:feast_day ?z . { VALUES ( ?c ) { ( ontology:time_interval ) ( ontology:day ) } . ?z rdf:type ?c } } } . FILTER ( ?f < ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q68268
P841
Q186081 Q573 Q502895
USER
And what about Margareta Ebner?
(c(Q502895),P841,c(Q186081)|c(Q573))
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q68268
relation P841
type Q186081
type Q573
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?r WHERE { { ?r property:P841 ?z . ?r rdf:type ontology:Q502895 . ?z rdf:type ontology:Q186081 } UNION { ?r property:P841 ?z . ?r rdf:type ontology:Q502895 . ?z rdf:type ontology:Q573 } } GROUP BY ?r } . FILTER ( ?n < ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Q68268 property:P841 ?s . { { ?s rdf:type ontology:Q186081 } UNION { ?s rdf:type ontology:Q573 } } } } }
Margareta Ebner
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Margareta Ebner
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?r WHERE { { ?r property:feast_day ?z . ?r rdf:type ontology:common_name . ?z rdf:type ontology:time_interval } UNION { ?r property:feast_day ?z . ?r rdf:type ontology:common_name . ?z rdf:type ontology:day } } GROUP BY ?r } . FILTER ( ?n < ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Margareta_Ebner property:feast_day ?s . { { ?s rdf:type ontology:time_interval } UNION { ?s rdf:type ontology:day } } } } }
[]
time interval day common name
Q679784 Q3047912 Q167477
SYSTEM
Pier Giorgio Frassati, Seraphina Sforza, Anthony of Padua
Q384117 Q365797 Q3483257 Q679784 Q3483161 Q3483259 Q3483263 Q167477 Q3047912 Q269889 Q2701365
(c(Q502895),P841,c(Q186081)|c(Q573))
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q68268
relation P841
type Q186081
type Q573
[ANSWERS]
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?r WHERE { { ?r property:P841 ?z . ?r rdf:type ontology:Q502895 . ?z rdf:type ontology:Q186081 } UNION { ?r property:P841 ?z . ?r rdf:type ontology:Q502895 . ?z rdf:type ontology:Q573 } } GROUP BY ?r } . FILTER ( ?n < ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Q68268 property:P841 ?s . { { ?s rdf:type ontology:Q186081 } UNION { ?s rdf:type ontology:Q573 } } } } }
Aignan of Orleans Ahmad al-Tijani Sidi M'hamed Bou Qobrine Pier Giorgio Frassati Sidi Abder Rahman El Thaelebi Sidi M'hand Oumalek Sidi Mansour Anthony of Padua Seraphina Sforza Joanna, wife of Chuza Thomas Percy, 7th Earl of Northumberland
Pier Giorgio Frassati Seraphina Sforza Anthony of Padua
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Margareta Ebner
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?r WHERE { { ?r property:feast_day ?z . ?r rdf:type ontology:common_name . ?z rdf:type ontology:time_interval } UNION { ?r property:feast_day ?z . ?r rdf:type ontology:common_name . ?z rdf:type ontology:day } } GROUP BY ?r } . FILTER ( ?n < ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Margareta_Ebner property:feast_day ?s . { { ?s rdf:type ontology:time_interval } UNION { ?s rdf:type ontology:day } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q28465
P725
Q502895 Q95074
USER
How many fictional characters had more number of people as the dubbing artist than Peter Griffin ?
(c(Q95074),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q28465
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?k ) WHERE { ?u property:P725 ?h . ?h rdf:type ontology:Q502895 . ?u rdf:type ontology:Q95074 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i rdf:type ontology:Q95074 . resource:Q28465 property:P725 ?i } } . FILTER ( ?k > ?a ) }
Peter Griffin
action count
action greater
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Peter Griffin
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?k ) WHERE { ?u property:voice_actor ?h . ?h rdf:type ontology:common_name . ?u rdf:type ontology:fictional_character } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i rdf:type ontology:fictional_character . resource:Peter_Griffin property:voice_actor ?i } } . FILTER ( ?k > ?a ) }
[]
common name fictional character
SYSTEM
26
Q16027672 Q21837832 Q21847058 Q21847115 Q15710873 Q21847074 Q21837038 Q2570349 Q21847089 Q21847086 Q11623287 Q17349786 Q21847215 Q3256697 Q21837905 Q21837397 Q1621656 Q2544561 Q21837021 Q21837027 Q1984009 Q21847105 Q3471289 Q21847103 Q12400 Q2340460
(c(Q95074),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q28465
relation P725
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?k ) WHERE { ?u property:P725 ?h . ?h rdf:type ontology:Q502895 . ?u rdf:type ontology:Q95074 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i rdf:type ontology:Q95074 . resource:Q28465 property:P725 ?i } } . FILTER ( ?k > ?a ) }
Dr. Stewart Kyōichi Sudō Yūichi Tachibana Fumihiro Princess Celestia Kōichirō Iketani Keisuke Takahashi Spike Spiegel Kenji Natsuki Mogi Takumi Fujiwara Shulk Seiji Iwaki Little Mac Itsuki Takeuchi Takeshi Nakazato Solid Snake Ike Bunta Fujiwara Ryōsuke Takahashi Death Kenta Nakamura Samurai Goroh Shingo Shōji Samus Aran Captain Falcon
26
action count
action greater
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Peter Griffin
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?k ) WHERE { ?u property:voice_actor ?h . ?h rdf:type ontology:common_name . ?u rdf:type ontology:fictional_character } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i rdf:type ontology:fictional_character . resource:Peter_Griffin property:voice_actor ?i } } . FILTER ( ?k > ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q766
P495
Q838948
USER
How many works of art are United Kingdom and Jamaica a country of origin of ?
(c(Q838948),P495,Q145) (c(Q838948),P495,Q766)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P495
type Q838948
action filter_type
action find_reverse
entity Q766
relation P495
type Q838948
[{'concept': 'Q838948'}, 'P495', 'Q145'] [{'concept': 'Q838948'}, 'P495', 'Q766']
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P495 resource:Q766 . ?u rdf:type ontology:Q838948 . ?u rdf:type ontology:Q838948 . ?u property:P495 resource:Q145 }
United Kingdom Jamaica
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type work of art
action filter_type
action find_reverse
entity Jamaica
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'United Kingdom'] [{'concept': 'work of art'}, 'country of origin', 'Jamaica']
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:country_of_origin resource:Jamaica . ?u rdf:type ontology:work_of_art . ?u rdf:type ontology:work_of_art . ?u property:country_of_origin resource:United_Kingdom }
[]
work of art
SYSTEM
2
Q1189617 Q23016189
(c(Q838948),P495,Q145) (c(Q838948),P495,Q766)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P495
type Q838948
action filter_type
action find_reverse
entity Q766
relation P495
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P495', 'Q145'] [{'concept': 'Q838948'}, 'P495', 'Q766']
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P495 resource:Q766 . ?u rdf:type ontology:Q838948 . ?u rdf:type ontology:Q838948 . ?u property:P495 resource:Q145 }
Marley Lee Scratch Perry's Vision of Paradise
2
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type work of art
action filter_type
action find_reverse
entity Jamaica
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'United Kingdom'] [{'concept': 'work of art'}, 'country of origin', 'Jamaica']
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:country_of_origin resource:Jamaica . ?u rdf:type ontology:work_of_art . ?u rdf:type ontology:work_of_art . ?u property:country_of_origin resource:United_Kingdom }
[]