Simple Question (Direct)
Simple Question
Q463673
P241
Q781132
USER
Which military branch is Regis Philbin associated with ?
(Q463673,P241,c(Q781132))
action filter_type
action find
entity Q463673
relation P241
type Q781132
['Q463673', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?d WHERE { resource:Q463673 property:P241 ?d . ?d rdf:type ontology:Q781132 }
Regis Philbin
action filter_type
action find
entity Regis Philbin
relation military branch
type military branch
['Regis Philbin', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?d WHERE { resource:Regis_Philbin property:military_branch ?d . ?d rdf:type ontology:military_branch }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q463673,P241,c(Q781132))
action filter_type
action find
entity Q463673
relation P241
type Q781132
Regis Philbin is associated with [ANSWER]
['Q463673', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?d WHERE { resource:Q463673 property:P241 ?d . ?d rdf:type ontology:Q781132 }
United States Navy
Regis Philbin is associated with United States Navy
United States Navy
action filter_type
action find
entity Regis Philbin
relation military branch
type military branch
['Regis Philbin', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?d WHERE { resource:Regis_Philbin property:military_branch ?d . ?d rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11220
P121
Q11436
USER
Which aircraft is operated by that military branch ?
(Q11220,P121,c(Q11436))
action filter_type
action find
entity Q11220
relation P121
type Q11436
['Q11220', 'P121', {'concept': 'Q11436'}]
SELECT DISTINCT ?p WHERE { resource:Q11220 property:P121 ?p . ?p rdf:type ontology:Q11436 }
United States Navy
action filter_type
action find
entity United States Navy
relation item operated
type aircraft
['United States Navy', 'item operated', {'concept': 'aircraft'}]
SELECT DISTINCT ?p WHERE { resource:United_States_Navy property:item_operated ?p . ?p rdf:type ontology:aircraft }
[]
aircraft
Q11436
SYSTEM
aircraft
Q11436
(Q11220,P121,c(Q11436))
action filter_type
action find
entity Q11220
relation P121
type Q11436
[ANSWER] is operated by that military branch
['Q11220', 'P121', {'concept': 'Q11436'}]
SELECT DISTINCT ?p WHERE { resource:Q11220 property:P121 ?p . ?p rdf:type ontology:Q11436 }
aircraft
Aircraft is operated by that military branch
aircraft
action filter_type
action find
entity United States Navy
relation item operated
type aircraft
['United States Navy', 'item operated', {'concept': 'aircraft'}]
SELECT DISTINCT ?p WHERE { resource:United_States_Navy property:item_operated ?p . ?p rdf:type ontology:aircraft }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11220
P166
Q4220917
USER
What was won by that military branch ?
(Q11436,P166,c(Q4220917))
action filter_type
action find
entity Q11220
relation P166
type Q4220917
['Q11436', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?k WHERE { resource:Q11220 property:P166 ?k . ?k rdf:type ontology:Q4220917 }
United States Navy
action filter_type
action find
entity United States Navy
relation award received
type film award
['aircraft', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?k WHERE { resource:United_States_Navy property:award_received ?k . ?k rdf:type ontology:film_award }
[]
film award
Q111332
SYSTEM
Academy Award for Best Documentary Feature
Q111332
(Q11436,P166,c(Q4220917))
action filter_type
action find
entity Q11220
relation P166
type Q4220917
The [ANSWER] was won by that military branch
['Q11436', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?k WHERE { resource:Q11220 property:P166 ?k . ?k rdf:type ontology:Q4220917 }
Academy Award for Best Documentary Feature
The Academy Award for Best Documentary Feature was won by that military branch
Academy Award for Best Documentary Feature
action filter_type
action find
entity United States Navy
relation award received
type film award
['aircraft', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?k WHERE { resource:United_States_Navy property:award_received ?k . ?k rdf:type ontology:film_award }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16338 Q11436
P1056
Q43229
USER
Which organizations are the producer of aircraft or personal computer ?
OR((c(Q43229),P1056,Q11436), (c(Q43229),P1056,Q16338))
action filter_type
action union
action find_reverse
entity Q11436
relation P1056
action find_reverse
entity Q16338
relation P1056
type Q43229
{'OR': [[{'concept': 'Q43229'}, 'P1056', 'Q11436'], [{'concept': 'Q43229'}, 'P1056', 'Q16338']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P1056 resource:Q16338 } UNION { ?g property:P1056 resource:Q11436 } } . ?g rdf:type ontology:Q43229 }
personal computer aircraft
action filter_type
action union
action find_reverse
entity aircraft
relation product
action find_reverse
entity personal computer
relation product
type organization
{'OR': [[{'concept': 'organization'}, 'product', 'aircraft'], [{'concept': 'organization'}, 'product', 'personal computer']]}
SELECT DISTINCT ?g WHERE { { { ?g property:product resource:personal_computer } UNION { ?g property:product resource:aircraft } } . ?g rdf:type ontology:organization }
[]
organization
Q689159 Q152864 Q21858414 Q420843
SYSTEM
Armstrong Whitworth, Asus, Albastar Ltd, Komsomolsk-on-Amur Aircraft Production Association
Q689159 Q152864 Q21858414 Q420843
OR((c(Q43229),P1056,Q11436), (c(Q43229),P1056,Q16338))
action filter_type
action union
action find_reverse
entity Q11436
relation P1056
action find_reverse
entity Q16338
relation P1056
type Q43229
[ANSWERS] are the producer of aircraft or personal computer
{'OR': [[{'concept': 'Q43229'}, 'P1056', 'Q11436'], [{'concept': 'Q43229'}, 'P1056', 'Q16338']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P1056 resource:Q16338 } UNION { ?g property:P1056 resource:Q11436 } } . ?g rdf:type ontology:Q43229 }
Armstrong Whitworth Asus Albastar Ltd Komsomolsk-on-Amur Aircraft Production Association
Armstrong Whitworth, Asus, Albastar Ltd and Komsomolsk-on-Amur Aircraft Production Association are the producer of aircraft or personal computer
Armstrong Whitworth Asus Albastar Ltd Komsomolsk-on-Amur Aircraft Production Association
action filter_type
action union
action find_reverse
entity aircraft
relation product
action find_reverse
entity personal computer
relation product
type organization
{'OR': [[{'concept': 'organization'}, 'product', 'aircraft'], [{'concept': 'organization'}, 'product', 'personal computer']]}
SELECT DISTINCT ?g WHERE { { { ?g property:product resource:personal_computer } UNION { ?g property:product resource:aircraft } } . ?g rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q56942 Q16338
P400
Q166142
USER
Which applications were developed to run on personal computer or Wii U ?
OR((c(Q166142),P400,Q16338), (c(Q166142),P400,Q56942))
action filter_type
action union
action find_reverse
entity Q16338
relation P400
action find_reverse
entity Q56942
relation P400
type Q166142
{'OR': [[{'concept': 'Q166142'}, 'P400', 'Q16338'], [{'concept': 'Q166142'}, 'P400', 'Q56942']]}
SELECT DISTINCT ?t WHERE { { ?t property:P400 ?n . VALUES ( ?n ) { ( resource:Q16338 ) ( resource:Q56942 ) } } . ?t rdf:type ontology:Q166142 }
Wii U personal computer
action filter_type
action union
action find_reverse
entity personal computer
relation platform
action find_reverse
entity Wii U
relation platform
type application
{'OR': [[{'concept': 'application'}, 'platform', 'personal computer'], [{'concept': 'application'}, 'platform', 'Wii U']]}
SELECT DISTINCT ?t WHERE { { ?t property:platform ?n . VALUES ( ?n ) { ( resource:personal_computer ) ( resource:Wii_U ) } } . ?t rdf:type ontology:application }
[]
application
Q16975080 Q15037088 Q2662707 Q6716740 Q15963969 Q11955503 Q83265 Q332697 Q20888644 Q779699
SYSTEM
Some of them are Octodad: Dadliest Catch, E.T.'s Rugby League, Pikmin 3, MMA Pro Fighter, Teslagrad, Yoshi's Woolly World, Grand Theft Auto: San Andreas, Terraria, Minecraft: Story Mode, Ninja Gaiden 3
Q7560672 Q16259503 Q16267752 Q16259693 Q10826261 Q2070167 Q3283369 Q7775651 Q2353384 Q7441880 Q7208771 Q17168217 Q13220119 Q15732421 Q17168212 Q19801811 Q19849221 Q5519880 Q16001915 Q7514699 Q16267825 Q21039861 Q500851 Q393059 Q10540976 Q1880781 Q7008944 Q16267829 Q7426726 Q5627893 Q16258837 Q94671 Q15381821 Q1953243 Q6860290 Q5519808 Q16267688 Q6311065 Q13426947 Q6311067 Q1100752 Q20190033 Q16267685 Q16259515 Q20189776 Q161192 Q7290778 Q1371726 Q6072892 Q17007953 Q791569 Q1138864 Q20730405 Q4905926 Q1308224 Q16259027 Q23008476 Q5272079 Q7441879 Q323862 Q1797666 Q16259687 Q13565603 Q16267053 Q16648024 Q19824577 Q2799616 Q17490239 Q1929655 Q6151028 Q83265 Q7506916 Q16267886 Q2582942 Q5664003 Q1955277 Q2385 Q491722 Q21190139 Q4918670 Q16259213 Q5188264 Q784870 Q3959224 Q21540307 Q2280952 Q15037088 Q3120801 Q20858961 Q6716740 Q16205201 Q13423115 Q1175156 Q17375345 Q4947517 Q19861433 Q23383739 Q54854 Q12147068 Q2255492 Q384153 Q16625874 Q4824614 Q17185964 Q5192263 Q11902510 Q83565 Q6311049 Q3083413 Q17992708 Q7691448 Q622081 Q7723536 Q3811483 Q7723534 Q2610535 Q20675795 Q11168 Q16267384 Q753511 Q6005421 Q17505226 Q19462980 Q13427374 Q496566 Q2690094 Q16266781 Q16259512 Q6367445 Q16258840 Q6151016 Q24057203 Q17164955 Q2269283 Q20888644 Q676563 Q17157196 Q15380959 Q7683488 Q16259635 Q7581654 Q16611324 Q6129617 Q17157041 Q4873228 Q18536880 Q2625129 Q1797550 Q44373 Q16258879 Q1784048 Q3921808 Q15904573 Q6151017 Q2539933 Q2529000 Q2069428 Q15138161 Q2502136 Q17163279 Q40166 Q2632229 Q1195150 Q16742668 Q11697511 Q5197711 Q20128820 Q619427 Q16743234 Q248810 Q16259084 Q49607 Q7246628 Q15715824 Q16259719 Q16267767 Q3942491 Q642107 Q16971686 Q15614860 Q13357805 Q380918 Q16743006 Q3696751 Q6151023 Q17162624 Q4043791 Q15963969 Q13427428 Q16975080 Q684160 Q137977 Q16258862 Q3233480 Q258448 Q16267099 Q4774203 Q288811 Q5124007 Q6311053 Q13427106 Q18781808 Q5288338 Q17042829 Q20154696 Q16267773 Q16267776 Q7497192 Q18185769 Q672049 Q2944361 Q16259498 Q11955503 Q5242936 Q18378574 Q332697 Q3701904 Q7206403 Q16259594 Q18881099 Q17182671 Q3662198 Q13582278 Q5527705 Q19463032 Q3284183 Q7522695 Q52053 Q13442177 Q7798505 Q13427360 Q16267181 Q745481 Q18729307 Q8068935 Q4797244 Q11704521 Q18572855 Q18920891 Q5255428 Q15361287 Q4834744 Q6303118 Q16259387 Q1506526 Q7620443 Q6667442 Q2662707 Q18920887 Q10856847 Q144728 Q2614466 Q779699 Q7156470 Q1030478 Q219119 Q20141656 Q1608476 Q49740 Q16319370 Q1166314 Q14900378 Q13233160
OR((c(Q166142),P400,Q16338), (c(Q166142),P400,Q56942))
action filter_type
action union
action find_reverse
entity Q16338
relation P400
action find_reverse
entity Q56942
relation P400
type Q166142
[ANSWERS] were developed to run on personal computer or Wii U
{'OR': [[{'concept': 'Q166142'}, 'P400', 'Q16338'], [{'concept': 'Q166142'}, 'P400', 'Q56942']]}
SELECT DISTINCT ?t WHERE { { ?t property:P400 ?n . VALUES ( ?n ) { ( resource:Q16338 ) ( resource:Q56942 ) } } . ?t rdf:type ontology:Q166142 }
Son of They Came From Hollywood EverQuest: Lost Dungeons of Norrath Masters of the World (video game) International Cricket Captain 2006: Ashes Edition Batman: Arkham Origins Lego City Undercover 3D Maze Man: Amazing Adventures The Wonderful 101 Maxithlon Season Ticket Football 2003 Pokémon Scramble U Star Fox Zero Toki Tori 2 Transformers: Rise of the Dark Spark Star Fox Guard Guitar Hero Live Yooka-Laylee Game Party Champions Adventure Time: Explore the Dungeon Because I Don't Know! Silent Thunder: A-10 Tank Killer II Catlateral Damage Air Control Company of Heroes Lego The Hobbit Journalist Need for Speed: Most Wanted New In Town Minefield (online game) Saturday Night Speedway H.A.V.E. Online (a.k.a. "Micro Volts" or "ToyWars" Mario Andretti's Racing Challenge Grand Theft Auto: Vice City NES Remix Rabbids Land Milo Game & Wario NarcoGuerra JumpStart Adventures 6th Grade: Mission Earthquest Super Mario 3D World JumpStart Kindergarten Jewel Quest Bloodstained: Ritual of the Night Soul Saga: Episode 1 EverQuest: The Ruins of Kunark Amiibo tap: Nintendo's Greatest Bits 007 Legends Ranch Rush 2 Watch Dogs Iron Warriors: T-72 Tank Commander Lego Batman 3: Beyond Gotham Bayonetta Resident Evil: Revelations Mario & Sonic at the Rio 2016 Olympic Games Big Kahuna Words Michael Jackson: The Experience Panty Raider: From Here to Immaturity The Legend of Zelda: Twilight Princess HD Diaspora Season Ticket Basketball 2003 The Elder Scrolls V: Skyrim Mario & Luigi: Partners in Time Industryplayer Armikrog Jane's WWII Fighters Wii Karaoke U by JOYSOUND Adventure Time: Finn & Jake Investigations F1 Championship Season 2000 Splatoon Hardwar Jane's Longbow 2 Grand Theft Auto: San Andreas Sibak Al Fursan Panzer Tactics HD Fate of Hellas Harrier Jump Jet Tom Clancy's Splinter Cell: Blacklist Civilization V Scions of Fate Candy Crush Soda Saga Bit.Trip Presents Runner 2: Future Legend of Rhythm Alien EverQuest: The Shadows of Luclin Cross Country USA Auto Club Revolution Shattered Suns Batman Returns Mafia Wars E.T.'s Rugby League Gunlord Funky Barn MMA Pro Fighter Where in Time Is Carmen Sandiego? Nano Assault Neo Max Payne The Legend of Korra Boss Rally Disney Infinity 3.0 Wii Street U Angry Birds Star Wars Call of Duty: Ghosts Rayman Legends Speedball Fatal Frame V Jane's USAF The Legend of Zelda: Breath of the Wild Cubis 2 Worms Crazy Golf Epic Mickey 2: The Power of Two JumpStart 1st Grade Dragon's Dogma The Dark Phantom: Dawn of Darkness Team Bravo: Weapons and Tactics Marvel Avengers: Battle for Earth The ClueFinders Reading Adventures Just Dance 4 The ClueFinders 6th Grade Adventures: The Empire of the Plant People SoccerProject The Peanuts Movie: Snoopy's Grand Adventure Super Mario Bros. Simplz: Zoo Mass Effect 3 Immune Attack 1001 Spikes The Oregon Trail 4th Edition Shovel Knight TalesRunner Castlevania: Lords of Shadow – Mirror of Fate Treasure Cove! EverQuest: The Legacy of Ykesha Kar Racing Math Blaster Episode II: Secret of the Lost City Jane's Fighters Anthology Sid Meier's Civilization® VI Super Mario Maker Wii Fit U Minecraft: Story Mode Battlefield: Bad Company 2 Mario Party 10 Dr. Luigi Tank Racer Helicops SpyParty New Super Luigi U Assassin's Creed IV: Black Flag Captain Toad: Treasure Tracker Battleship: Surface Thunder Sonic Boom: Rise of Lyric The Amazing Spider-Man Mario & Luigi: Superstar Saga Nintendo Land Mini Racing Online Super Meat Boy Primitive Wars The Lego Movie Videogame Jane's F/A-18 Metroid Prime: Trilogy EarthBound Project CARS Wii Sports Club Skylanders: Giants Kirby and the Rainbow Curse Assassin's Creed III Trine 2 Super Smash Bros. for Nintendo 3DS and Wii U Phineas and Ferb: Quest for Cool Stuff F1 Racing Simulation Cyber Cross Animal Crossing: Amiibo Festival Injustice: Gods Among Us Tower of Guns Dwarf Fortress Puzzlegeddon The Elder Scrolls IV: Oblivion Pro/DESKTOP Sonic Boom JumpStart Typing Lego Minifigures Online Rugbymania Deus Ex: Human Revolution Disney Infinity 2.0: Marvel Super Heroes Xenoblade Chronicles X Sonic Lost World Call of Duty: Black Ops II SteamWorld Dig Crazy Cars: Hit the Road Jane's IAF: Israeli Air Force Just Dance 2015 Master of Epic Teslagrad The Swapper Octodad: Dadliest Catch Yakuza 2 FIFA 13 Midway Arcade Treasures Deluxe Edition Bayonetta 2 Lazarus Jonny Quest: Cover-Up at Roswell Anti-Japan War Online Batman: Arkham City City of the Dead JumpStart Advanced 1st Grade Mario Kart 8 Mario vs. Donkey Kong: Tipping Stars Dogfights: The Game RollerCoaster Tycoon World Just Dance 2016 Foul Play Armillo Tokyo Mirage Sessions ♯FE Pokkén Tournament Tekken Tag Tournament 2 Ninja Gaiden 3: Razor's Edge EverQuest: Call of the Forsaken Yoshi's Woolly World Day of Love Skywind Terraria The Cave Pocket God Guardians of Graxia A World of Keflings Freedom Planet Lego Marvel Super Heroes Pirates of Black Cove GauntNet The Oregon Trail 3rd Edition Jane's F-15 Sing Party Star Heritage 1: The Black Cobra Wii Party U Throw In Donkey Kong Country: Tropical Freeze Robot City (video game) Dragon Quest X Happy Tree Friends: Milk Pong ZenGems Art of Murder: Cards of Destiny The Sting! Jack Lumber Lego Marvel's Avengers Demise: Rise of the Ku'tan Hyrule Warriors BBBeat Skylanders: Swap Force The Grandest Fleet New Super Mario Bros. U Storybook Weaver Logic Quest 3D Pikmin 3 Lego Jurassic World Batman: Arkham Origins Blackgate Bad Piggies Sonic & All-Stars Racing Transformed Ninja Gaiden 3 Pax Warrior The Walking Dead: Survival Instinct ZombiU Mario Tennis: Ultra Smash Yakuza Minecraft Child of Light Darksiders II The Legend of Zelda: The Wind Waker HD Mario & Sonic at the Sochi 2014 Olympic Winter Games
Octodad: Dadliest Catch, E.T.'s Rugby League, Pikmin 3, MMA Pro Fighter, Teslagrad, Yoshi's Woolly World, Grand Theft Auto: San Andreas, Terraria, Minecraft: Story Mode and Ninja Gaiden 3 were developed to run on personal computer or Wii U
Octodad: Dadliest Catch E.T.'s Rugby League Pikmin 3 MMA Pro Fighter Teslagrad Yoshi's Woolly World Grand Theft Auto: San Andreas Terraria Minecraft: Story Mode Ninja Gaiden 3
action filter_type
action union
action find_reverse
entity personal computer
relation platform
action find_reverse
entity Wii U
relation platform
type application
{'OR': [[{'concept': 'application'}, 'platform', 'personal computer'], [{'concept': 'application'}, 'platform', 'Wii U']]}
SELECT DISTINCT ?t WHERE { { ?t property:platform ?n . VALUES ( ?n ) { ( resource:personal_computer ) ( resource:Wii_U ) } } . ?t rdf:type ontology:application }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q166142 Q166142 Q5398426
USER
Which applications do approximately 3 applications and television series extend upon ?
(c(Q166142)|c(Q5398426),P144,c(Q166142))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q166142
type Q166142
action find_reverse_tuple_counts
relation P144
type Q166142
type Q5398426
value 3
[[{'concept': 'Q166142'}, {'concept': 'Q5398426'}], 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:P144 ?z . ?z rdf:type ontology:Q166142 . ?v rdf:type ontology:Q166142 } UNION { ?v property:P144 ?z . ?z rdf:type ontology:Q166142 . ?v rdf:type ontology:Q5398426 } } GROUP BY ?z } . FILTER ( ?o = 3 ) }
action approx
action union
action find_reverse_tuple_counts
relation based on
type application
type application
action find_reverse_tuple_counts
relation based on
type application
type television series
value 3
[[{'concept': 'application'}, {'concept': 'television series'}], 'based on', {'concept': 'application'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:based_on ?z . ?z rdf:type ontology:application . ?v rdf:type ontology:application } UNION { ?v property:based_on ?z . ?z rdf:type ontology:application . ?v rdf:type ontology:television_series } } GROUP BY ?z } . FILTER ( ?o = 3 ) }
[]
application application television series
Q951384 Q629577 Q1061708
SYSTEM
Total Annihilation, Neverwinter Nights 2, Warhammer 40,000: Dawn of War
Q951384 Q629577 Q1061708
(c(Q166142)|c(Q5398426),P144,c(Q166142))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q166142
type Q166142
action find_reverse_tuple_counts
relation P144
type Q166142
type Q5398426
value 3
Approximately 3 applications and television series extend to [ANSWERS]
[[{'concept': 'Q166142'}, {'concept': 'Q5398426'}], 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:P144 ?z . ?z rdf:type ontology:Q166142 . ?v rdf:type ontology:Q166142 } UNION { ?v property:P144 ?z . ?z rdf:type ontology:Q166142 . ?v rdf:type ontology:Q5398426 } } GROUP BY ?z } . FILTER ( ?o = 3 ) }
Total Annihilation Neverwinter Nights 2 Warhammer 40,000: Dawn of War
Approximately 3 applications and television series extend to Total Annihilation, Neverwinter Nights 2 and Warhammer 40,000: Dawn of War
Total Annihilation Neverwinter Nights 2 Warhammer 40,000: Dawn of War
action approx
action union
action find_reverse_tuple_counts
relation based on
type application
type application
action find_reverse_tuple_counts
relation based on
type application
type television series
value 3
[[{'concept': 'application'}, {'concept': 'television series'}], 'based on', {'concept': 'application'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:based_on ?z . ?z rdf:type ontology:application . ?v rdf:type ontology:application } UNION { ?v property:based_on ?z . ?z rdf:type ontology:application . ?v rdf:type ontology:television_series } } GROUP BY ?z } . FILTER ( ?o = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q166142 Q386724
USER
Which works were described in atmost 7 applications ?
(c(Q386724),P1445,c(Q166142))
action atmost
action find_tuple_counts
relation P1445
type Q386724
type Q166142
value 7
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?o ) WHERE { ?a property:P1445 ?s . ?s rdf:type ontology:Q166142 . ?a rdf:type ontology:Q386724 } GROUP BY ?a } . FILTER ( ?o <= 7 ) }
action atmost
action find_tuple_counts
relation fictional universe described in
type work
type application
value 7
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?o ) WHERE { ?a property:fictional_universe_described_in ?s . ?s rdf:type ontology:application . ?a rdf:type ontology:work } GROUP BY ?a } . FILTER ( ?o <= 7 ) }
[]
application work
Q384426 Q15731902 Q11927
SYSTEM
Pirates of the Caribbean, Aladdin media franchise, Stargate
Q15731902 Q11927 Q3177580 Q384426
(c(Q386724),P1445,c(Q166142))
action atmost
action find_tuple_counts
relation P1445
type Q386724
type Q166142
value 7
[ANSWERS] were described in atmost 7 applications
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?o ) WHERE { ?a property:P1445 ?s . ?s rdf:type ontology:Q166142 . ?a rdf:type ontology:Q386724 } GROUP BY ?a } . FILTER ( ?o <= 7 ) }
Aladdin media franchise Stargate The Walking Dead Pirates of the Caribbean
Pirates of the Caribbean, Aladdin media franchise and Stargate were described in atmost 7 applications
Pirates of the Caribbean Aladdin media franchise Stargate
action atmost
action find_tuple_counts
relation fictional universe described in
type work
type application
value 7
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?o ) WHERE { ?a property:fictional_universe_described_in ?s . ?s rdf:type ontology:application . ?a rdf:type ontology:work } GROUP BY ?a } . FILTER ( ?o <= 7 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11927
P170
Q502895
USER
Who created that work ?
(Q11927,P170,c(Q502895))
action filter_type
action find
entity Q11927
relation P170
type Q502895
['Q11927', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q11927 property:P170 ?a . ?a rdf:type ontology:Q502895 }
Stargate
action filter_type
action find
entity Stargate
relation creator
type common name
['Stargate', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Stargate property:creator ?a . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q15731902
SYSTEM
Did you mean Aladdin media franchise ?
Q384426 Q15731902 Q11927
(Q384426,P170,c(Q502895)) (Q15731902,P170,c(Q502895)) (Q11927,P170,c(Q502895))
[ANSWER]
['Q384426', 'P170', {'concept': 'Q502895'}] ['Q15731902', 'P170', {'concept': 'Q502895'}] ['Q11927', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q11927 property:P170 ?a . ?a rdf:type ontology:Q502895 }
Pirates of the Caribbean Aladdin media franchise Stargate
Did you mean Aladdin media franchise ?
Aladdin media franchise
['Pirates of the Caribbean', 'creator', {'concept': 'common name'}] ['Aladdin media franchise', 'creator', {'concept': 'common name'}] ['Stargate', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Stargate property:creator ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Stargate. Could you tell me the answer for that?
(Q11927,P170,c(Q502895))
Q11927
['Q11927', 'P170', {'concept': 'Q502895'}]
['Stargate', 'creator', {'concept': 'common name'}]
[]
Q60100 Q119849
SYSTEM
Roland Emmerich, Dean Devlin
Q60100 Q119849
(Q11927,P170,c(Q502895))
action filter_type
action find
entity Q11927
relation P170
type Q502895
[ANSWERS] created that work
['Q11927', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q11927 property:P170 ?a . ?a rdf:type ontology:Q502895 }
Roland Emmerich Dean Devlin
Roland Emmerich and Dean Devlin created that work
Roland Emmerich Dean Devlin
action filter_type
action find
entity Stargate
relation creator
type common name
['Stargate', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Stargate property:creator ?a . ?a rdf:type ontology:common_name }
[]