Simple Question (Direct)
Simple Question
Q5270947
P57
Q502895
USER
Which person served as the directed of Diamond Walkers ?
(Q5270947,P57,c(Q502895))
action filter_type
action find
entity Q5270947
relation P57
type Q502895
['Q5270947', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q5270947 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Diamond Walkers
action filter_type
action find
entity Diamond Walkers
relation director
type common name
['Diamond Walkers', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Diamond_Walkers property:director ?v . ?v rdf:type ontology:common_name }
[]
common name
Q990909
SYSTEM
Paul Martin
Q990909
(Q5270947,P57,c(Q502895))
action filter_type
action find
entity Q5270947
relation P57
type Q502895
[ANSWER] served as the directed of Diamond Walkers
['Q5270947', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q5270947 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Paul Martin
Paul Martin served as the directed of Diamond Walkers
Paul Martin
action filter_type
action find
entity Diamond Walkers
relation director
type common name
['Diamond Walkers', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Diamond_Walkers property:director ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5270947
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q990909,P136,c(Q1792379))
action filter_type
action find
entity Q5270947
relation P136
type Q1792379
['Q990909', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1792379 . resource:Q5270947 property:P136 ?t }
Diamond Walkers
action filter_type
action find
entity Diamond Walkers
relation genre
type art genre
['Paul Martin', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:art_genre . resource:Diamond_Walkers property:genre ?t }
[]
art genre
Q319221 Q188473
SYSTEM
adventure film, action film
Q319221 Q188473
(Q990909,P136,c(Q1792379))
action filter_type
action find
entity Q5270947
relation P136
type Q1792379
And [ANSWERS] can be considered as category for that work of art
['Q990909', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1792379 . resource:Q5270947 property:P136 ?t }
adventure film action film
And adventure film and action film can be considered as category for that work of art
adventure film action film
action filter_type
action find
entity Diamond Walkers
relation genre
type art genre
['Paul Martin', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:art_genre . resource:Diamond_Walkers property:genre ?t }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P136
Q1792379 Q166142
USER
How many art genres can be considered as category for approximately the same number of applications as that art genre ?
(c(Q166142),P136,c(Q1792379))
[{'concept': 'Q166142'}, 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q483394 ?y . ?z rdf:type ontology:Q166142 . ?y rdf:type ontology:Q1792379 }
[{'concept': 'application'}, 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:genre ?y . ?z rdf:type ontology:application . ?y rdf:type ontology:art_genre }
[]
art genre application
Comparative|Count over More/Less|Single entity type|Clarification
Q319221
SYSTEM
Did you mean adventure film ?
(c(Q166142),P136,c(Q1792379))
[ANSWER]
[{'concept': 'Q166142'}, 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q483394 ?y . ?z rdf:type ontology:Q166142 . ?y rdf:type ontology:Q1792379 }
Did you mean adventure film ?
adventure film
[{'concept': 'application'}, 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:genre ?y . ?z rdf:type ontology:application . ?y rdf:type ontology:art_genre }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant action film. Could you tell me the answer for that?
(c(Q166142),P136,c(Q1792379))
Q188473
[{'concept': 'Q166142'}, 'P136', {'concept': 'Q1792379'}]
[{'concept': 'application'}, 'genre', {'concept': 'art genre'}]
[]
SYSTEM
520
Q3684595 Q5528690 Q1029945 Q3028680 Q590103 Q11871 Q3656658 Q1312571 Q7440128 Q2334148 Q3026054 Q2421000 Q615498 Q3331891 Q742530 Q2593937 Q179700 Q1862618 Q17172848 Q909586 Q16551815 Q13464614 Q376693 Q883179 Q26268098 Q3328821 Q2415378 Q1342372 Q5793771 Q20669574 Q20664530 Q645717 Q319226 Q319221 Q725377 Q44342 Q36279 Q93204 Q18536349 Q138679 Q4376526 Q191839 Q870452 Q18811686 Q1339864 Q185529 Q208555 Q959790 Q212781 Q1747837 Q1935974 Q1535153 Q16681629 Q1057172 Q4836991 Q491158 Q3811649 Q2254211 Q1433099 Q1161145 Q596138 Q1164267 Q4075563 Q471839 Q26906566 Q12303833 Q214127 Q26929442 Q7834250 Q7225114 Q18783399 Q210121 Q20737410 Q223945 Q20656352 Q465821 Q188473 Q170571 Q147516 Q17489160 Q5442753 Q249697 Q18809567 Q24723 Q27020789 Q279060 Q15806966 Q1919632 Q1788980 Q643873 Q3025978 Q3072049 Q550484 Q3072043 Q20669538 Q2561438 Q629917 Q21616374 Q1391420 Q1146354 Q5292 Q22981906 Q2973201 Q157394 Q5493886 Q1033891 Q2321734 Q21088117 Q2302151 Q7451276 Q858330 Q2330570 Q2117603 Q180494 Q1146335 Q12197074 Q7308029 Q13408937 Q185363 Q192239 Q200092 Q6647667 Q7135533 Q2520572 Q3940786 Q1601739 Q853630 Q1519335 Q15858553 Q192782 Q3238422 Q20730955 Q659396 Q93196 Q13209138 Q268416 Q18917896 Q3344204 Q166030 Q7578116 Q17514 Q1084059 Q775169 Q1361392 Q21615367 Q26228231 Q986216 Q1425557 Q2894452 Q794357 Q19310814 Q7046534 Q747381 Q16954139 Q21931667 Q622548 Q742333 Q1332055 Q1957385 Q248726 Q591055 Q3374808 Q718972 Q7379160 Q1429059 Q7444356 Q193606 Q157443 Q5145881 Q1935609 Q783459 Q1361932 Q1589214 Q1426213 Q2735649 Q2484376 Q7644030 Q2584671 Q3440961 Q26225470 Q3440984 Q3056541 Q131539 Q477756 Q2278308 Q622291 Q19968941 Q1072723 Q3640599 Q9259727 Q7551315 Q4984974 Q2254193 Q2566458 Q7645884 Q909887 Q3272147 Q860626 Q11163999 Q26928598 Q646420 Q1341051 Q421966 Q1190502 Q252370 Q26225484 Q2137852 Q11766734 Q4875794 Q20442589 Q11766730 Q605789 Q3928536 Q1200678 Q275934 Q248583 Q2125170 Q936749 Q3374376 Q8812380 Q1723850 Q174864 Q182659 Q384515 Q2477736 Q5456296 Q18809589 Q15898171 Q628165 Q693 Q11558987 Q699 Q1637212 Q12799318 Q10728648 Q1328330 Q1194480 Q619551 Q18822288 Q5151497 Q7168625 Q3368492 Q20656232 Q13136 Q5366020 Q1851397 Q217117 Q11825892 Q3072031 Q224700 Q17517379 Q11452132 Q2973217 Q14524057 Q1325447 Q3442060 Q2490520 Q459435 Q18211112 Q2678111 Q1185399 Q4690955 Q17345318 Q2110126 Q1538137 Q6960620 Q3381576 Q2975633 Q20358335 Q1076506 Q8261 Q824894 Q1464369 Q735478 Q429767 Q1257444 Q6045975 Q5457615 Q20443008 Q459290 Q1150666 Q26228228 Q21905924 Q5769663 Q740919 Q5897543 Q369747 Q185598 Q1115187 Q1054574 Q4774498 Q19926329 Q1740789 Q17013749 Q1743287 Q10916116 Q2642760 Q193206 Q1772 Q18810037 Q538812 Q482 Q908667 Q15890340 Q131138 Q5147136 Q2670855 Q2297927 Q169672 Q332564 Q5110346 Q7210294 Q1159457 Q5967378 Q158607 Q27801 Q1347298 Q790192 Q191163 Q468930 Q193866 Q474090 Q472637 Q18809643 Q1659897 Q1941707 Q1371394 Q4235011 Q10992055 Q4184 Q6045390 Q1066582 Q12912091 Q605076 Q1191618 Q10379557 Q192881 Q652256 Q1225344 Q186602 Q3990883 Q1433443 Q3990887 Q3440959 Q250090 Q2802102 Q2281713 Q27022970 Q1593709 Q19039929 Q367591 Q5258881 Q58854 Q26987767 Q846544 Q2448865 Q1125133 Q1194365 Q37484 Q27022710 Q586250 Q11793314 Q208505 Q223638 Q747483 Q7579035 Q185867 Q1004 Q3541116 Q4160933 Q24862 Q599558 Q5883078 Q663106 Q5575435 Q20665028 Q10453828 Q1233720 Q1129795 Q645928 Q18353841 Q286328 Q26929719 Q568286 Q17327049 Q1239328 Q21401869 Q2904863 Q3072039 Q1787111 Q336144 Q1384425 Q1323308 Q472808 Q390001 Q1093312 Q172980 Q131395 Q19926326 Q1353984 Q1097273 Q1779653 Q44563 Q966880 Q7256214 Q3454432 Q2367164 Q222639 Q223770 Q1153484 Q20089346 Q174526 Q182357 Q12617225 Q1615638 Q358998 Q182956 Q1599788 Q17393935 Q20669641 Q7824966 Q19367312 Q948970 Q7551149 Q2414609 Q20540663 Q5778924 Q5185614 Q2439025 Q842256 Q186424 Q583976 Q13405586 Q1619888 Q34274 Q15146165 Q3249257 Q20443047 Q1784733 Q3399515 Q130232 Q149537 Q738473 Q723620 Q5465542 Q1496857 Q7362831 Q3409594 Q60797 Q15919135 Q6619804 Q624771 Q1503147 Q1683266 Q1800833 Q6949160 Q3476508 Q226730 Q1776156 Q583768 Q2608088 Q542475 Q1117103 Q333357 Q2724311 Q1135802 Q112983 Q7430734 Q819652 Q304538 Q937330 Q1940294 Q10635804 Q12132683 Q1481165 Q2660540 Q1503133 Q690810 Q1067324 Q2016518 Q7679101 Q1760864 Q26906554 Q1310296 Q2143665 Q3294465 Q3440942 Q3739522 Q20664817 Q18815437 Q3634883 Q1377546 Q5395423 Q1400853 Q16738862 Q35760 Q16254232 Q4731380 Q11356864 Q3648909 Q2292320 Q3374353 Q512207 Q20667180 Q1675302 Q4914883 Q5448026 Q643684 Q10493645 Q676 Q457832 Q496523 Q21074330 Q2246055 Q1092621 Q3476533 Q16675884 Q20646003 Q11820947 Q10927187
(c(Q166142),P136,c(Q1792379))
[ANSWER]
[{'concept': 'Q166142'}, 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q483394 ?y . ?z rdf:type ontology:Q166142 . ?y rdf:type ontology:Q1792379 }
elegiac comedy gay novel education novel Masala psychological thriller schwank lesbian pulp fiction developmental novel nautical fiction sculptural group Socratic dialogue novelization documentary photography mythopoeia idyll conspiracy fiction statue gay literature theatre splatter film emblematica ceramic art herma blaxploitation Eastern narration schutterstuk monster film crime fiction short story creative nonfiction crime literature Christian art adventure novel adventure film graphic novel legend biography documentary film pamphlet travel photography double novel aerial photography family saga interior view sports film pornographic film parable crime film spaghetti western zombie comedy cityscape superhero film alternate history literature fantasy literature B western Revisionist Western juvenile fantasy political fiction tronie prose poetry educational film travel book outlaw biker film science fiction film Beat poetry floral painting genre painting regional literature transgressive fiction political satire mythology sculpture social documentary photography philosophical story Bildungsroman alternate history film epistolary novel action film still life magic realism bust female buddy film eulogy three-quarter portait literary fairy tale steampunk nove robinsonade Email novel melodrama crime-comedy film legal drama dialogue zombie film video installation dance film pornographic literature slice of life Jidaigeki vampire novel specialized literature fashion photography encyclopedia treasure hunt film political cinema fantasy film fratire martial arts film police procedural Haerlempjes animal painting sentimental novel romance novel still life photography Rabbinic literature saga teen film western novel Regency romance philosophical literature chronicle historical novel horror film literary fiction paranoid fiction esoteric novel scientific romance heroic poetry slasher film ghost story Wuxia film gothic novel science fiction literature tale equestrian statue Bollywood auteur film fiction history sculpture Northern veduta spiritual autobiography graffiti Christian literature Weird West erotic photography children's novel cyberpunk novel paraliterature vampire literature mashup libertine novel verse poetry nocturne light novel Musar literature pornographic novel parody film history painting giallo cinematic fairy tale Venus figurine panegyric penny dreadful medical novel Rumberas film pop novel mob film horror literature comedy film collage film propaganda film Künstlerroman family film cloak and dagger novel espionage novel Romantic poetry thriller film supernatural fiction Japanese horror sensation novel alternate history novel historical romance autobiographical novel children's literature chick lit capriccio political thriller double portrait travel literature bizarro fiction religious film social problem film buddy cop film rape and revenge film bird-and-flower painting surf film sketch story found footage romantic comedy youth and children's literature dystopian novel Fayum mummy portraits post-apocalyptic film nude photography surrealist cinema retelling apocalyptic novel vampire film Marine painting beach party film LGBT-related film allegorical painting war photography speculative fiction short story mystery film Tokusatsu screwball comedy film race film literary nonsense mythological painting pseudo-documentary cannibal film elegy ballad treatise Lost World fiction fix-up full-frontal portrait survival film road movie fable sea adventure novel fairy tale Comic fantasy powest occult detective fiction hardboiled genre fiction apologue architectural view Comedy of remarriage historical period drama pastorale in painting science fiction action film reference work science fiction anime street photography burlesque young adult novel Hyperlink cinema comedy horror animated short film erotic novel structural film pastoral poetry non-fiction novel partisan film legal thriller mockumentary magical feminism action comedy film Fête galante Aga saga women's writing monodic lyric gore travel novel monochrome photography coming-of-age story political novel choral poetry novel sex manual making-of newsreel heroic romance film adaptation satiric novel flash fiction dystopian film independent film world cinema biopunk novel science fiction short story gothic horror film social novel hood film war film diary Commedia all'italiana romance film anti-war film girls adventure stories poliziotteschi historical film girls' literature history book vigilante film anecdote epitaph bust portrait novel of manners poetry war novel poetic prose joke courtly romance travel documentary spy film Samurai cinema Abstract animation Christian novel political drama chivalric romance speculative fiction marine art non-fiction literature serial experimental film landscape art trompe-l'œil annals narrative poetry docufiction profile portrait encyclopedia of literature mockbuster ethnographic film space Western fantasy novel autobiography interactive novel fine-art photography fiction film cookbook erotic romance novel zhanghui novel tragicomedy epic film dictator novel period novel action thriller peplum film genre medical thriller thriller novel Ruba'i family saga novel cantiga utopian novel dime novel historical mysteries Western literature werewolf film literary criticism feminist novel disaster film Lovecraftian horror fictional diary pink film epic poem postcyberpunk novel prison film indigenista novel crime novel guide book erotic literature sponsored film film noir comic true crime Junbungaku short film erotic film Hollywood novel buddy film novela realista detective literature time travel novel young adult literature popular science literature biographical film Architectural painting psychological novel military science fiction novel cento scientific literature national encyclopedia flashback film bit-lit trial film biographical encyclopedia anthology film experimental literature Direct Cinema novelette pastoral historical mystery Western dialogue boys adventure stories landscape photography epic literature colossal statue picaresque novel wildlife photography psychedelic literature hysterical realism epic swashbuckler film B movie folk art science fiction animation cyberpunk lyric poetry religious literature submarine films utopian and dystopian fiction portrait photography phrase book highway art gothic fiction topographical poetry crime thriller verse novel social guidance film religious painting documentary novel black comedy film American literary regionalism erotic thriller musical film detective fiction campus novel non-fiction literature form pastoral novel gospel Regentenstuk adult animation dystopian literature correspondence equestrian portrait drama film novella romance Bambocciata food writing prayerbook Romantic thriller Fictional memoir sermon horror short story parallel novel slapstick monogatari political literature rockumentary Mythic fiction animal sculpture silent film girls with guns women in prison film invasion literature costume drama Z movie abstract painting New Queer Cinema art film memoir script mountain film Heimatfilm kouros noir novel boys' litterature science fiction novel Holocaust literature mock-heroic poem travel journal nature photography exploitation film philosophical novel story nature documentary post-apocalyptic novel Vita children's film lesbian literature roman du terroir self-help book detective novel back portrait supernatural drama Nunsploitation monster erotica portrait painting statuette essay porn parody allegorical sculpture experimental film Popular-science film sexploitation film battle painting roman à clef horror novel Itinerarium biographical novel figure painting jukebox musical faction prose stoner film heist film church interior Ancient Greek novel cinéma vérité monumental sculpture religious sculpture proletarian poetry epic poem autofiction
520
[{'concept': 'application'}, 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:genre ?y . ?z rdf:type ontology:application . ?y rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q990909
P57
Q838948
USER
How many works of art did Paul Martin direct ?
(c(Q838948),P57,Q990909)
action count
action filter_type
action find_reverse
entity Q990909
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q990909']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ontology:Q838948 . ?h property:P57 resource:Q990909 }
Paul Martin
action count
action filter_type
action find_reverse
entity Paul Martin
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Paul Martin']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ontology:work_of_art . ?h property:director resource:Paul_Martin }
[]
work of art
SYSTEM
20
Q1213122 Q17538947 Q3707082 Q17632480 Q23562755 Q5270947 Q1219617 Q17479173 Q27590709 Q21646920 Q20649820 Q16745477 Q21646625 Q479817 Q1305406 Q25341433 Q1656352 Q13423832 Q3549008 Q17039536
(c(Q838948),P57,Q990909)
action count
action filter_type
action find_reverse
entity Q990909
relation P57
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q990909']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ontology:Q838948 . ?h property:P57 resource:Q990909 }
Massacre at Marble City The Bath in the Barn Die Privatsekretärin The Desert Song Adieu, Lebewohl, Goodbye Diamond Walkers Die Tödlichen Träume Black Roses Seven Slaps Ramona Don't Ask My Heart Black Roses La Paloma A Prussian Love Story A Blonde Dream Marina Ich zähle täglich meine Sorgen The Victor Happy Ever After Woman at the Wheel
20
action count
action filter_type
action find_reverse
entity Paul Martin
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Paul Martin']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ontology:work_of_art . ?h property:director resource:Paul_Martin }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q990909
P106
Q28640
USER
What are the job of Paul Martin ?
(Q990909,P106,c(Q28640))
action filter_type
action find
entity Q990909
relation P106
type Q28640
['Q990909', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?j WHERE { resource:Q990909 property:P106 ?j . ?j rdf:type ontology:Q28640 }
Paul Martin
action filter_type
action find
entity Paul Martin
relation occupation
type profession
['Paul Martin', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?j WHERE { resource:Paul_Martin property:occupation ?j . ?j rdf:type ontology:profession }
[]
profession
Q2526255 Q28389
SYSTEM
film director, screenwriter
Q2526255 Q28389
(Q990909,P106,c(Q28640))
action filter_type
action find
entity Q990909
relation P106
type Q28640
The job of Paul Martin are a [ANSWERS]
['Q990909', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?j WHERE { resource:Q990909 property:P106 ?j . ?j rdf:type ontology:Q28640 }
film director screenwriter
The job of Paul Martin are a film director and screenwriter
film director screenwriter
action filter_type
action find
entity Paul Martin
relation occupation
type profession
['Paul Martin', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?j WHERE { resource:Paul_Martin property:occupation ?j . ?j rdf:type ontology:profession }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q990909
Q12737077
USER
And which occupation?
(Q990909,P106,c(Q12737077))
action filter_type
action find
entity Q990909
relation P106
type Q12737077
['Q990909', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q990909 property:P106 ?m }
Paul Martin
action filter_type
action find
entity Paul Martin
relation occupation
type occupation
['Paul Martin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Paul_Martin property:occupation ?m }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q990909,P106,c(Q12737077))
action filter_type
action find
entity Q990909
relation P106
type Q12737077
[ANSWER]
['Q990909', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q990909 property:P106 ?m }
actor
actor
action filter_type
action find
entity Paul Martin
relation occupation
type occupation
['Paul Martin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Paul_Martin property:occupation ?m }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q43229 Q502895
USER
How many occupations are the area of lesser number of organizations or people than that occupation ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q33999
relation P101
type Q43229
type Q502895
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?l WHERE { { ?l rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q43229 . ?u property:P101 ?l } UNION { ?u property:P101 ?l . ?l rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q502895 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P101 resource:Q33999 . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q43229 } } } } . FILTER ( ?h < ?f ) }
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity actor
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?l WHERE { { ?l rdf:type ontology:occupation . ?u rdf:type ontology:organization . ?u property:field_of_work ?l } UNION { ?u property:field_of_work ?l . ?l rdf:type ontology:occupation . ?u rdf:type ontology:common_name } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:field_of_work resource:actor . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:organization } } } } . FILTER ( ?h < ?f ) }
[]
occupation organization common name
SYSTEM
90
Q4175034 Q911554 Q80687 Q37226 Q652122 Q765778 Q2995983 Q627325 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q2516866 Q2259451 Q947873 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q7888586 Q30185 Q15839135 Q14467526 Q6500773 Q11642 Q937857 Q157509 Q128124 Q1999841 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q36180 Q15117302 Q17167049 Q1423891 Q3665646 Q11063 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q8011071 Q219477 Q154549 Q1709010 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q15954519 Q42603 Q3621491
(c(Q43229)|c(Q502895),P101,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q33999
relation P101
type Q43229
type Q502895
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?l WHERE { { ?l rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q43229 . ?u property:P101 ?l } UNION { ?u property:P101 ?l . ?l rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q502895 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P101 resource:Q33999 . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q43229 } } } } . FILTER ( ?h < ?f ) }
legislator business magnate secretary teacher sewing organist double-bassist graphic designer hieromonk musicologist philologist food critic surgeon children's writer goldsmith educationist seiyū bassist wood carver model violinist publisher stage actor television presenter short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer chemical engineer mayor developmental biologist linguist general practitioner pottery association football player legal guardian audio engineer faqih hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police writer volleyball player specialist in literature minister basketball player astronomer Train dispatcher scientist STEM fields mining engineer documentary filmmaker religious leader navigator theatre director type designer conductor rapper animal trainer missionary carpenter software engineer mangaka photographer choreographer illustrator statistician non-fiction writer alchemist priest archaeologist
90
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity actor
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?l WHERE { { ?l rdf:type ontology:occupation . ?u rdf:type ontology:organization . ?u property:field_of_work ?l } UNION { ?u property:field_of_work ?l . ?l rdf:type ontology:occupation . ?u rdf:type ontology:common_name } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:field_of_work resource:actor . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:organization } } } } . FILTER ( ?h < ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q990909
P58
Q838948
USER
Which works of art are Paul Martin a screenwriter of ?
(c(Q838948),P58,Q990909)
action filter_type
action find_reverse
entity Q990909
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q990909']
SELECT DISTINCT ?o WHERE { ?o property:P58 resource:Q990909 . ?o rdf:type ontology:Q838948 }
Paul Martin
action filter_type
action find_reverse
entity Paul Martin
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Paul Martin']
SELECT DISTINCT ?o WHERE { ?o property:screenwriter resource:Paul_Martin . ?o rdf:type ontology:work_of_art }
[]
work of art
Q13423832 Q479817
SYSTEM
The Victor, A Prussian Love Story
Q13423832 Q479817
(c(Q838948),P58,Q990909)
action filter_type
action find_reverse
entity Q990909
relation P58
type Q838948
[ANSWERS] are Paul Martin a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q990909']
SELECT DISTINCT ?o WHERE { ?o property:P58 resource:Q990909 . ?o rdf:type ontology:Q838948 }
The Victor A Prussian Love Story
The Victor and A Prussian Love Story are Paul Martin a screenwriter of
The Victor A Prussian Love Story
action filter_type
action find_reverse
entity Paul Martin
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Paul Martin']
SELECT DISTINCT ?o WHERE { ?o property:screenwriter resource:Paul_Martin . ?o rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q990909
P607
Q198
USER
What was was that person a part of ?
(Q13423832,P607,c(Q198)) (Q479817,P607,c(Q198))
action filter_type
action find
entity Q990909
relation P607
type Q198
['Q13423832', 'P607', {'concept': 'Q198'}] ['Q479817', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?w WHERE { resource:Q990909 property:P607 ?w . ?w rdf:type ontology:Q198 }
Paul Martin
action filter_type
action find
entity Paul Martin
relation conflict
type war
['The Victor', 'conflict', {'concept': 'war'}] ['A Prussian Love Story', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Martin property:conflict ?w . ?w rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q13423832,P607,c(Q198)) (Q479817,P607,c(Q198))
action filter_type
action find
entity Q990909
relation P607
type Q198
That person was a part of [ANSWER]
['Q13423832', 'P607', {'concept': 'Q198'}] ['Q479817', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?w WHERE { resource:Q990909 property:P607 ?w . ?w rdf:type ontology:Q198 }
World War I
That person was a part of World War I
World War I
action filter_type
action find
entity Paul Martin
relation conflict
type war
['The Victor', 'conflict', {'concept': 'war'}] ['A Prussian Love Story', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Martin property:conflict ?w . ?w rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q990909
P734
Q82799
USER
Who is associated with Paul Martin ?
(Q990909,P734,c(Q82799))
action filter_type
action find
entity Q990909
relation P734
type Q82799
['Q990909', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q990909 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Paul Martin
action filter_type
action find
entity Paul Martin
relation family name
type name
['Paul Martin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Martin property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q17744604
SYSTEM
Martin
Q17744604
(Q990909,P734,c(Q82799))
action filter_type
action find
entity Q990909
relation P734
type Q82799
[ANSWER] is associated with Paul [ANSWER]
['Q990909', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q990909 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Martin
Martin is associated with Paul Martin
Martin
action filter_type
action find
entity Paul Martin
relation family name
type name
['Paul Martin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Martin property:family_name ?h . ?h rdf:type ontology:name }
[]