Simple Question (Direct)
Simple Question
Q714760
P921
Q349
USER
What was the main subject of Slam Dunk 's work ?
(Q714760,P921,c(Q349))
action filter_type
action find
entity Q714760
relation P921
type Q349
['Q714760', 'P921', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q714760 property:P921 ?m . ?m rdf:type ontology:Q349 }
Slam Dunk
action filter_type
action find
entity Slam Dunk
relation main subject
type sport
['Slam Dunk', 'main subject', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Slam_Dunk property:main_subject ?m . ?m rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q714760,P921,c(Q349))
action filter_type
action find
entity Q714760
relation P921
type Q349
The main subject of Slam Dunk's work was [ANSWER]
['Q714760', 'P921', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q714760 property:P921 ?m . ?m rdf:type ontology:Q349 }
basketball
The main subject of Slam Dunk's work was basketball
basketball
action filter_type
action find
entity Slam Dunk
relation main subject
type sport
['Slam Dunk', 'main subject', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Slam_Dunk property:main_subject ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q714760
P800
Q502895
USER
Which person has Slam Dunk as a notable work ?
(c(Q502895),P800,Q714760)
action filter_type
action find_reverse
entity Q714760
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q714760']
SELECT DISTINCT ?w WHERE { ?w property:P800 resource:Q714760 . ?w rdf:type ontology:Q502895 }
Slam Dunk
action filter_type
action find_reverse
entity Slam Dunk
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Slam Dunk']
SELECT DISTINCT ?w WHERE { ?w property:notable_work resource:Slam_Dunk . ?w rdf:type ontology:common_name }
[]
common name
Q459911
SYSTEM
Takehiko Inoue
Q459911
(c(Q502895),P800,Q714760)
action filter_type
action find_reverse
entity Q714760
relation P800
type Q502895
[ANSWER] has Slam Dunk as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q714760']
SELECT DISTINCT ?w WHERE { ?w property:P800 resource:Q714760 . ?w rdf:type ontology:Q502895 }
Takehiko Inoue
Takehiko Inoue has Slam Dunk as a notable work
Takehiko Inoue
action filter_type
action find_reverse
entity Slam Dunk
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Slam Dunk']
SELECT DISTINCT ?w WHERE { ?w property:notable_work resource:Slam_Dunk . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q714760
P136
Q483394
USER
What can be considered as category for Slam Dunk ?
(Q714760,P136,c(Q483394))
action filter_type
action find
entity Q714760
relation P136
type Q483394
['Q714760', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?f WHERE { resource:Q714760 property:P136 ?f . ?f rdf:type ontology:Q483394 }
Slam Dunk
action filter_type
action find
entity Slam Dunk
relation genre
type genre
['Slam Dunk', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?f WHERE { resource:Slam_Dunk property:genre ?f . ?f rdf:type ontology:genre }
[]
genre
Q15286013
SYSTEM
comedy manga and animation
Q15286013
(Q714760,P136,c(Q483394))
action filter_type
action find
entity Q714760
relation P136
type Q483394
[ANSWER] can be considered as category for Slam Dunk
['Q714760', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?f WHERE { resource:Q714760 property:P136 ?f . ?f rdf:type ontology:Q483394 }
comedy manga and animation
Comedy manga and animation can be considered as category for Slam Dunk
comedy manga and animation
action filter_type
action find
entity Slam Dunk
relation genre
type genre
['Slam Dunk', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?f WHERE { resource:Slam_Dunk property:genre ?f . ?f rdf:type ontology:genre }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q714760
Q20087698
USER
And which comic genre?
(Q714760,P136,c(Q20087698))
action filter_type
action find
entity Q714760
relation P136
type Q20087698
['Q714760', 'P136', {'concept': 'Q20087698'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q20087698 . resource:Q714760 property:P136 ?a }
Slam Dunk
action filter_type
action find
entity Slam Dunk
relation genre
type comic genre
['Slam Dunk', 'genre', {'concept': 'comic genre'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:comic_genre . resource:Slam_Dunk property:genre ?a }
[]
comic genre
Q231302 Q5366097
SYSTEM
shōnen manga, School anime and manga
Q231302 Q5366097
(Q714760,P136,c(Q20087698))
action filter_type
action find
entity Q714760
relation P136
type Q20087698
[ANSWERS]
['Q714760', 'P136', {'concept': 'Q20087698'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q20087698 . resource:Q714760 property:P136 ?a }
shōnen manga School anime and manga
shōnen manga School anime and manga
action filter_type
action find
entity Slam Dunk
relation genre
type comic genre
['Slam Dunk', 'genre', {'concept': 'comic genre'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:comic_genre . resource:Slam_Dunk property:genre ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q5366097
P136
Q36649 Q26971562
USER
How many visual artss and comic formats have School anime and manga as their category ?
(c(Q36649),P136,Q5366097) (c(Q26971562),P136,Q5366097)
action count
action union
action filter_type
action find_reverse
entity Q5366097
relation P136
type Q36649
action filter_type
action find_reverse
entity Q5366097
relation P136
type Q26971562
[{'concept': 'Q36649'}, 'P136', 'Q5366097'] [{'concept': 'Q26971562'}, 'P136', 'Q5366097']
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:P136 resource:Q5366097 . ?t rdf:type ontology:Q36649 } UNION { ?t property:P136 resource:Q5366097 . ?t rdf:type ontology:Q26971562 } }
School anime and manga
action count
action union
action filter_type
action find_reverse
entity School anime and manga
relation genre
type visual arts
action filter_type
action find_reverse
entity School anime and manga
relation genre
type comic format
[{'concept': 'visual arts'}, 'genre', 'School anime and manga'] [{'concept': 'comic format'}, 'genre', 'School anime and manga']
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:genre resource:School_anime_and_manga . ?t rdf:type ontology:visual_arts } UNION { ?t property:genre resource:School_anime_and_manga . ?t rdf:type ontology:comic_format } }
[]
visual arts comic format
SYSTEM
1 visual artss and 76 comic formats
Q6772857 Q3272548 Q999291 Q5462209 Q1075001 Q4354920 Q2070560 Q877292 Q11338596 Q2664035 Q1306234 Q2759728 Q7750259 Q1075171 Q4952627 Q7834576 Q13471331 Q11273809 Q7096201 Q7100815 Q649683 Q1338432 Q638499 Q7389512 Q11304518 Q3543674 Q485482 Q4782750 Q1067595 Q7243860 Q210744 Q15077272 Q4690537 Q4656964 Q1022053 Q3274864 Q1635548 Q3545660 Q1000500 Q3543420 Q5225036 Q2829172 Q5968835 Q10918197 Q2713260 Q3642264 Q3124716 Q2352575 Q5357395 Q1377807 Q497852 Q5978629 Q3821572 Q5989350 Q2662527 Q2717065 Q1329708 Q5237084 Q3544616 Q2606299 Q1202684 Q11299787 Q3894859 Q1131397 Q663521 Q2526745 Q7764696 Q597280 Q2826325 Q4752019 Q2526419 Q2635477 Q3153801 Q1938809 Q2294784 Q403139 Q5188374
(c(Q36649),P136,Q5366097) (c(Q26971562),P136,Q5366097)
action count
action union
action filter_type
action find_reverse
entity Q5366097
relation P136
type Q36649
action filter_type
action find_reverse
entity Q5366097
relation P136
type Q26971562
[ANSWER]
[{'concept': 'Q36649'}, 'P136', 'Q5366097'] [{'concept': 'Q26971562'}, 'P136', 'Q5366097']
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:P136 resource:Q5366097 . ?t rdf:type ontology:Q36649 } UNION { ?t property:P136 resource:Q5366097 . ?t rdf:type ontology:Q26971562 } }
Marriage Royale C.M.B. S.S. Astro Flower in a Storm Shiroi Heya no Futari Beast Master Strobe Edge Ai to Makoto Our Miracle Mr. Fullswing Faster than a Kiss See Me After Class The Manzai Comics The Last Uniform Boys'n Girl Translucent Neon Genesis Evangelion: Angelic Days Dokkiri Micron Open Sesame Ordinary Crush W Juliet Kaze to Ki no Uta Ahiru no Sora SD Gundam Musha Banchō Fūunroku Sakura no Uta First Love Sisters Watashitachi no Tamura-kun Aquarium Nosatsu Junkie Prince Charming Elite Yankee Saburo Sakamoto desu ga? After I Win A Gentle Breeze in the Village Love Roma Ageha100% Akuma na Eros Backstage Prince Sundome Girl Got Game Sakura no Sono A Devil and Her Love Song Iris Zero Kanzen Shouri Daiteioh Parfait Tic! Boogiepop Dual: Losers' Circus Happy Hustle High Ebiten: Kōritsu Ebisugawa Kōkō Tenmonbu Electric Hands Alien Nine Yubisaki Milk Tea Onihime VS Oira Sukeban Idol Ace Aki Sora Doubt!! Angel Densetsu Rocket Man Akatsuki-iro no Senpuku Majo Slow Step Anedoki Cross Manage Papillon High School Debut Arisa Kitchen Princess The Sky Over My Spectacles Cat Street Afterschool Charisma Anata to Scandal Dengeki Daisy Hayate X Blade Inu Neko Jump! Psychic Academy Ai Kora Aion Cross Over
1 visual artss and 76 comic formats
action count
action union
action filter_type
action find_reverse
entity School anime and manga
relation genre
type visual arts
action filter_type
action find_reverse
entity School anime and manga
relation genre
type comic format
[{'concept': 'visual arts'}, 'genre', 'School anime and manga'] [{'concept': 'comic format'}, 'genre', 'School anime and manga']
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:genre resource:School_anime_and_manga . ?t rdf:type ontology:visual_arts } UNION { ?t property:genre resource:School_anime_and_manga . ?t rdf:type ontology:comic_format } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q459911 Q3573601
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Takehiko Inoue or Yves Delorme ?
(Q459911,P27,c(Q15617994)) (Q3573601,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q459911
relation P27
type Q15617994
action filter_type
action find
entity Q3573601
relation P27
type Q15617994
['Q459911', 'P27', {'concept': 'Q15617994'}] ['Q3573601', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { resource:Q3573601 property:P27 ?x . ?x rdf:type ontology:Q15617994 } UNION { resource:Q459911 property:P27 ?x . ?x rdf:type ontology:Q15617994 } }
Takehiko Inoue Yves Delorme
action count
action union
action filter_type
action find
entity Takehiko Inoue
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Yves Delorme
relation country of citizenship
type designation for an administrative territorial entity
['Takehiko Inoue', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Yves Delorme', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { resource:Yves_Delorme property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Takehiko_Inoue property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q17
(Q459911,P27,c(Q15617994)) (Q3573601,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q459911
relation P27
type Q15617994
action filter_type
action find
entity Q3573601
relation P27
type Q15617994
[ANSWER]
['Q459911', 'P27', {'concept': 'Q15617994'}] ['Q3573601', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { resource:Q3573601 property:P27 ?x . ?x rdf:type ontology:Q15617994 } UNION { resource:Q459911 property:P27 ?x . ?x rdf:type ontology:Q15617994 } }
France Japan
2
action count
action union
action filter_type
action find
entity Takehiko Inoue
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Yves Delorme
relation country of citizenship
type designation for an administrative territorial entity
['Takehiko Inoue', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Yves Delorme', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { resource:Yves_Delorme property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Takehiko_Inoue property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q500834 Q18608583
USER
Which sports did atmost 1417 tournaments or recurring sporting events participate in ?
(c(Q500834)|c(Q18608583),P641,c(Q349))
action atmost
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 1417
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?j ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } . ?t rdf:type ?j } GROUP BY ?i } . FILTER ( ?r <= 1417 ) }
action atmost
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 1417
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?j ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } . ?t rdf:type ?j } GROUP BY ?i } . FILTER ( ?r <= 1417 ) }
[]
sport tournament recurring sporting event
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 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 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 Q2736 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q500834)|c(Q18608583),P641,c(Q349))
action atmost
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 1417
Atmost 1417 tournaments or recurring sporting events participated in [ANSWERS]
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?j ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } . ?t rdf:type ?j } GROUP BY ?i } . FILTER ( ?r <= 1417 ) }
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 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 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 association football 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
Atmost 1417 tournaments or recurring sporting events participated in BASE jumping, pesäpallo and floorball
BASE jumping pesäpallo floorball
action atmost
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 1417
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?j ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } . ?t rdf:type ?j } GROUP BY ?i } . FILTER ( ?r <= 1417 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q8341
P941
Q151885 Q483394
USER
How many concepts inspired around the same number of genres as jazz ?
(c(Q483394),P941,c(Q151885))
action count
action approx
action find_reverse_tuple_counts
relation P941
type Q151885
type Q483394
action count
action filter_type
action find
entity Q8341
relation P941
type Q151885
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:P941 ?j . ?u rdf:type ontology:Q483394 . ?j rdf:type ontology:Q151885 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o rdf:type ontology:Q151885 . resource:Q8341 property:P941 ?o } } . FILTER ( ?r = ?f ) }
jazz
action count
action approx
action find_reverse_tuple_counts
relation inspired by
type concept
type genre
action count
action filter_type
action find
entity jazz
relation inspired by
type concept
[{'concept': 'genre'}, 'inspired by', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:inspired_by ?j . ?u rdf:type ontology:genre . ?j rdf:type ontology:concept } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o rdf:type ontology:concept . resource:jazz property:inspired_by ?o } } . FILTER ( ?r = ?f ) }
[]
concept genre
SYSTEM
2
Q8341 Q2979
(c(Q483394),P941,c(Q151885))
action count
action approx
action find_reverse_tuple_counts
relation P941
type Q151885
type Q483394
action count
action filter_type
action find
entity Q8341
relation P941
type Q151885
[ANSWER]
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:P941 ?j . ?u rdf:type ontology:Q483394 . ?j rdf:type ontology:Q151885 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o rdf:type ontology:Q151885 . resource:Q8341 property:P941 ?o } } . FILTER ( ?r = ?f ) }
jazz liberty
2
action count
action approx
action find_reverse_tuple_counts
relation inspired by
type concept
type genre
action count
action filter_type
action find
entity jazz
relation inspired by
type concept
[{'concept': 'genre'}, 'inspired by', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:inspired_by ?j . ?u rdf:type ontology:genre . ?j rdf:type ontology:concept } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o rdf:type ontology:concept . resource:jazz property:inspired_by ?o } } . FILTER ( ?r = ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q206763
P366
Q811979
USER
Which architectural structure mainly plays the role of a floorball ?
(c(Q811979),P366,Q206763)
action filter_type
action find_reverse
entity Q206763
relation P366
type Q811979
[{'concept': 'Q811979'}, 'P366', 'Q206763']
SELECT DISTINCT ?n WHERE { ?n property:P366 resource:Q206763 . ?n rdf:type ontology:Q811979 }
floorball
action filter_type
action find_reverse
entity floorball
relation use
type architectural structure
[{'concept': 'architectural structure'}, 'use', 'floorball']
SELECT DISTINCT ?n WHERE { ?n property:use resource:floorball . ?n rdf:type ontology:architectural_structure }
[]
architectural structure
Q10542115
SYSTEM
Jönköpings idrottshus
Q10542115
(c(Q811979),P366,Q206763)
action filter_type
action find_reverse
entity Q206763
relation P366
type Q811979
The [ANSWER] mainly plays the role of a floorball
[{'concept': 'Q811979'}, 'P366', 'Q206763']
SELECT DISTINCT ?n WHERE { ?n property:P366 resource:Q206763 . ?n rdf:type ontology:Q811979 }
Jönköpings idrottshus
The Jönköpings idrottshus mainly plays the role of a floorball
Jönköpings idrottshus
action filter_type
action find_reverse
entity floorball
relation use
type architectural structure
[{'concept': 'architectural structure'}, 'use', 'floorball']
SELECT DISTINCT ?n WHERE { ?n property:use resource:floorball . ?n rdf:type ontology:architectural_structure }
[]