Simple Question (Direct)
Simple Question
Q464328
P364
Q34770
USER
Which language was used originally for the creation of American Ninja 2: The Confrontation ?
(Q464328,P364,c(Q34770))
action filter_type
action find
entity Q464328
relation P364
type Q34770
['Q464328', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q464328 property:P364 ?f . ?f rdf:type ontology:Q34770 }
American Ninja 2: The Confrontation
action filter_type
action find
entity American Ninja 2: The Confrontation
relation original language of work
type language
['American Ninja 2: The Confrontation', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:American_Ninja_2:_The_Confrontation property:original_language_of_work ?f . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q464328,P364,c(Q34770))
action filter_type
action find
entity Q464328
relation P364
type Q34770
In [ANSWER] was used originally for the creation of American Ninja 2: The Confrontation
['Q464328', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q464328 property:P364 ?f . ?f rdf:type ontology:Q34770 }
English
In English was used originally for the creation of American Ninja 2: The Confrontation
English
action filter_type
action find
entity American Ninja 2: The Confrontation
relation original language of work
type language
['American Ninja 2: The Confrontation', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:American_Ninja_2:_The_Confrontation property:original_language_of_work ?f . ?f rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q464328
P136
Q1792379
USER
What can be considered as category for American Ninja 2: The Confrontation ?
(Q464328,P136,c(Q1792379))
action filter_type
action find
entity Q464328
relation P136
type Q1792379
['Q464328', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1792379 . resource:Q464328 property:P136 ?c }
American Ninja 2: The Confrontation
action filter_type
action find
entity American Ninja 2: The Confrontation
relation genre
type art genre
['American Ninja 2: The Confrontation', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:art_genre . resource:American_Ninja_2:_The_Confrontation property:genre ?c }
[]
art genre
Q1033891 Q188473
SYSTEM
martial arts film, action film
Q1033891 Q188473
(Q464328,P136,c(Q1792379))
action filter_type
action find
entity Q464328
relation P136
type Q1792379
And [ANSWERS] can be considered as category for American Ninja 2: The Confrontation
['Q464328', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1792379 . resource:Q464328 property:P136 ?c }
martial arts film action film
And martial arts film and action film can be considered as category for American Ninja 2: The Confrontation
martial arts film action film
action filter_type
action find
entity American Ninja 2: The Confrontation
relation genre
type art genre
['American Ninja 2: The Confrontation', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:art_genre . resource:American_Ninja_2:_The_Confrontation property:genre ?c }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1033891 Q188473
P136
Q15416
USER
Which television programs have those ones as genre ?
(c(Q15416),P136,Q1033891) (c(Q15416),P136,Q188473)
action filter_type
action find_reverse
entity prev_answer
relation P136
type Q15416
[{'concept': 'Q15416'}, 'P136', 'Q1033891'] [{'concept': 'Q15416'}, 'P136', 'Q188473']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15416 . ?s property:P136 ?y . VALUES ( ?y ) { ( resource:Q1033891 ) ( resource:Q188473 ) } }
martial arts film action film
action filter_type
action find_reverse
entity prev_answer
relation genre
type television program
[{'concept': 'television program'}, 'genre', 'martial arts film'] [{'concept': 'television program'}, 'genre', 'action film']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:television_program . ?s property:genre ?y . VALUES ( ?y ) { ( resource:martial_arts_film ) ( resource:action_film ) } }
[]
television program
Q472309 Q17378072 Q16654468
SYSTEM
Princess of Thieves, Z Nation, Bermuda Triangle North Sea
Q1437827 Q6444433 Q4927929 Q7746749 Q16031396 Q3100345 Q7552988 Q15978300 Q14948518 Q4008594 Q964651 Q21148896 Q5655309 Q1934832 Q1753093 Q3280713 Q1602710 Q16654468 Q228396 Q2305094 Q483572 Q1786452 Q4993651 Q176973 Q6444462 Q5693220 Q7714112 Q5245503 Q511010 Q17507174 Q234800 Q392783 Q954905 Q3562618 Q1767491 Q4796862 Q2080272 Q1264983 Q926772 Q5453863 Q6778137 Q3796240 Q191001 Q2604917 Q8064791 Q7675230 Q6518602 Q583870 Q24204834 Q4927929 Q1831060 Q599086 Q3013504 Q7379626 Q2758389 Q845905 Q7415874 Q129892 Q1030954 Q4115044 Q3837457 Q1247476 Q1477152 Q4122510 Q1535979 Q19258667 Q6899641 Q965944 Q1170683 Q2964242 Q750341 Q2391166 Q212807 Q750354 Q471304 Q843003 Q843008 Q12100139 Q717089 Q751472 Q1535638 Q783765 Q623640 Q608071 Q7755051 Q1754158 Q3072841 Q3002165 Q4351197 Q6649494 Q2705177 Q82098 Q1501999 Q1194295 Q3226776 Q14948518 Q6407539 Q17378072 Q2065369 Q7797445 Q844659 Q11215381 Q4137453 Q6083186 Q7741065 Q1891297 Q921796 Q7622976 Q585545 Q7738025 Q5610899 Q2293 Q288011 Q1970404 Q7755751 Q2082466 Q880820 Q390405 Q18914929 Q3963084 Q1537095 Q1536346 Q26693418 Q3205812 Q1215903 Q3344618 Q1167853 Q32723 Q1497100 Q16977365 Q4006032 Q7995109 Q5421283 Q1247482 Q1919742 Q1926143 Q2421745 Q3207369 Q6966552 Q20438869 Q472309 Q217232 Q1196252 Q1568384 Q2054626 Q3147747 Q497589 Q4443069 Q2542389 Q3927611 Q1134134 Q812641 Q2916883 Q1889573 Q374251 Q1419230 Q4659156 Q2002034 Q7767156 Q1638905 Q3988811 Q1627701 Q4518921 Q560416 Q950355 Q1040434
(c(Q15416),P136,Q1033891) (c(Q15416),P136,Q188473)
action filter_type
action find_reverse
entity prev_answer
relation P136
type Q15416
[ANSWERS] have those ones as genre
[{'concept': 'Q15416'}, 'P136', 'Q1033891'] [{'concept': 'Q15416'}, 'P136', 'Q188473']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15416 . ?s property:P136 ?y . VALUES ( ?y ) { ( resource:Q1033891 ) ( resource:Q188473 ) } }
Invincible Kung Fu: The Movie Bloodfist 2050 The Legend of Master So The Legend of Lu Xiaofeng (2006 TV series) Jackie Chan Presents: Metal Mayhem Sockbaby Street Fighter: Assassin's Fist The Last Conflict Vanishing Son Project G.e.e.K.e.R. Iron Fist Hard Luck Militia Ben 10: Race Against Time Ben 10: Destroy All Aliens Hellboy: Blood and Iron Bermuda Triangle North Sea Atomic Train Raid on Entebbe Anaconda 3: Offspring Merlin's Apprentice Lego Star Wars: The Quest for R2-D2 Beastmaster III: The Eye of Braxus Kung Fu Killer Heat Wave The Aquarians Dead on Target Avalanche Alley ISA 44 Minutes: The North Hollywood Shoot-Out The Bourne Identity Frankenfish Final Approach Ben 10: Alien Swarm Art Heist Defiance The Man from U.N.C.L.E. Gun First Target Marvel Action Universe Voyage of Terror: The Achille Lauro Affair 14 Hours Madame Sin Zaido: Pulis Pangkalawakan Tagget Lego Star Wars: Bombad Bounty Blade: The Series On the Border Bloodfist 2050 The Amazing Spider-Man Hold-up à l'italienne Destination: Infestation Runaway! Yamato: The New Voyage Sniper 2 Sand Serpents Death Train The Net El Cartel Raptor Island Spartacus Blackjack Scream of the Banshee Sonic Underground Airplane vs. Volcano Mongolian Death Worm Ring of Death The Lost Treasure of the Grand Canyon Fatal Error Cutaway Roadkill Alias Dead and Deader Supervolcano Universal Soldier II: Brothers in Arms Universal Soldier III: Unfinished Business The 3,000 Mile Chase Fire and Ice: The Dragon Chronicles S.S. Doomtrooper Kill Switch Burn Notice: The Fall of Sam Axe First Daughter Pterodactyl The One That Got Away Ben 10: Secret of the Omnitrix Firebreather Extreme Limits Interceptor Force 2 Little Champ Megafault The Way of War Generation X The Park Is Mine Volcano: Fire on the Mountain The Last Conflict Killer Wave Z Nation Once a Thief Three Delivery The Marksman Meteor Storm Lone Hero Island Heat: Stranded The Hunted Manticore My Spy Family Street Warrior The Librarian: Curse of the Judas Chalice The Greatest Adventure: Stories from the Bible Ground Zero Chuck Judgment Day No Code of Conduct The Owl Trucks Das Millionenspiel Nikita Dangerous Passion Snatched The Defender Victory at Entebbe The Way to Dusty Death Lost in the Dark The Incredible Hulk Returns Rock Monster The Final Game Mandrake Alien Arsenal Daredevil Point of Entry White Nights 3.98 Exploding Sun The Girl from U.N.C.L.E. Meltdown: Days of Destruction Danger Beneath the Sea Aftershock: Earthquake in New York Fall of Hyperion Nasaan Ka Elisa? Linkers: Secret Codes Princess of Thieves 24: Redemption The Poseidon Adventure The Keeper Stealth Fighter Icon The Dirty Dozen: The Next Mission Freeze Frame Walker, Texas Ranger: Trial by Fire The Dirty Dozen: The Deadly Mission Post Impact Baywatch: Hawaiian Wedding Top Cat and the Beverly Hills Cats The Librarian: Quest for the Spear End Game Escape from Mars A Real American Hero Wedlock The Substitute 3: Winner Takes All Shadows in Paradise The President's Man Haunted Black Scorpion Power Rangers Megaforce Mortal Kombat: Legacy M.I. High
Princess of Thieves, Z Nation and Bermuda Triangle North Sea have those ones as genre
Princess of Thieves Z Nation Bermuda Triangle North Sea
action filter_type
action find_reverse
entity prev_answer
relation genre
type television program
[{'concept': 'television program'}, 'genre', 'martial arts film'] [{'concept': 'television program'}, 'genre', 'action film']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:television_program . ?s property:genre ?y . VALUES ( ?y ) { ( resource:martial_arts_film ) ( resource:action_film ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16654468
P161
Q502895
USER
Who were casted in Bermuda Triangle North Sea ?
(Q16654468,P161,c(Q502895))
action filter_type
action find
entity Q16654468
relation P161
type Q502895
['Q16654468', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q16654468 property:P161 ?w . ?w rdf:type ontology:Q502895 }
Bermuda Triangle North Sea
action filter_type
action find
entity Bermuda Triangle North Sea
relation cast member
type common name
['Bermuda Triangle North Sea', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Bermuda_Triangle_North_Sea property:cast_member ?w . ?w rdf:type ontology:common_name }
[]
common name
Q72555 Q50012 Q2584228
SYSTEM
Bettina Zimmermann, Josefine Preuß, Winfried Hübner
Q72555 Q2128396 Q1721311 Q2077604 Q95314 Q1576006 Q68054 Q50012 Q124985 Q1227878 Q1734228 Q96072 Q2584228 Q1912675 Q114297
(Q16654468,P161,c(Q502895))
action filter_type
action find
entity Q16654468
relation P161
type Q502895
[ANSWERS] were casted in Bermuda Triangle North Sea
['Q16654468', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q16654468 property:P161 ?w . ?w rdf:type ontology:Q502895 }
Bettina Zimmermann Rainer Sellien Kai Lentrodt Peter Prager Hannes Jaenicke Hannes Hellmann Gudrun Landgrebe Josefine Preuß Niels Bruno Schmidt Dirk Heinrichs Karoline Eichhorn Bernadette Heerwagen Winfried Hübner Max Herbrechter Paul Maximilian Schüller
Bettina Zimmermann, Josefine Preuß and Winfried Hübner were casted in Bermuda Triangle North Sea
Bettina Zimmermann Josefine Preuß Winfried Hübner
action filter_type
action find
entity Bermuda Triangle North Sea
relation cast member
type common name
['Bermuda Triangle North Sea', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Bermuda_Triangle_North_Sea property:cast_member ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21998188
Q502895
USER
And what about Dear Dad?
(Q21998188,P161,c(Q502895))
action filter_type
action find
entity Q21998188
relation P161
type Q502895
['Q21998188', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q21998188 property:P161 ?e . ?e rdf:type ontology:Q502895 }
Dear Dad
action filter_type
action find
entity Dear Dad
relation cast member
type common name
['Dear Dad', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Dear_Dad property:cast_member ?e . ?e rdf:type ontology:common_name }
[]
common name
Q258005
SYSTEM
Arvind Swamy
Q258005
(Q21998188,P161,c(Q502895))
action filter_type
action find
entity Q21998188
relation P161
type Q502895
[ANSWER]
['Q21998188', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q21998188 property:P161 ?e . ?e rdf:type ontology:Q502895 }
Arvind Swamy
Arvind Swamy
action filter_type
action find
entity Dear Dad
relation cast member
type common name
['Dear Dad', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Dear_Dad property:cast_member ?e . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q23767438 Q17378072
P170 P161
Q502895
USER
Which people are in Z Nation or are the creaters of Bettws y coed ?
OR((Q17378072,P161,c(Q502895)), (Q23767438,P170,c(Q502895)))
action filter_type
action union
action find
entity Q17378072
relation P161
action find
entity Q23767438
relation P170
type Q502895
{'OR': [['Q17378072', 'P161', {'concept': 'Q502895'}], ['Q23767438', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q23767438 property:P170 ?j } UNION { resource:Q17378072 property:P161 ?j } } . ?j rdf:type ontology:Q502895 }
Bettws y coed Z Nation
action filter_type
action union
action find
entity Z Nation
relation cast member
action find
entity Bettws y coed
relation creator
type common name
{'OR': [['Z Nation', 'cast member', {'concept': 'common name'}], ['Bettws y coed', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Bettws_y_coed property:creator ?j } UNION { resource:Z_Nation property:cast_member ?j } } . ?j rdf:type ontology:common_name }
[]
common name
Q494393 Q236463 Q287255 Q8017318 Q233786 Q282360 Q5294190 Q361215 Q18683957 Q661304
SYSTEM
Some of them are Tom Everett Scott, Michael Welch, Tinsel Korey, William Radclyffe, Missi Pyle, Matt Cedeño, Donald Corren, Anthony Michael Hall, Keith Allan, Eddie Spears
Q6385818 Q361215 Q8017318 Q494393 Q661304 Q5371935 Q181677 Q233786 Q229325 Q287255 Q445638 Q2749209 Q152542 Q18683957 Q310551 Q3573137 Q862342 Q236463 Q5294190 Q229147 Q282360
OR((Q17378072,P161,c(Q502895)), (Q23767438,P170,c(Q502895)))
action filter_type
action union
action find
entity Q17378072
relation P161
action find
entity Q23767438
relation P170
type Q502895
[ANSWERS] are in Z Nation or are the creaters of Bettws y coed
{'OR': [['Q17378072', 'P161', {'concept': 'Q502895'}], ['Q23767438', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q23767438 property:P170 ?j } UNION { resource:Q17378072 property:P161 ?j } } . ?j rdf:type ontology:Q502895 }
Kellita Smith Anthony Michael Hall William Radclyffe Tom Everett Scott Eddie Spears Emilio Rivera George R. R. Martin Missi Pyle Gina Gershon Tinsel Korey DJ Qualls Anastasia Baranova William Sadler Keith Allan Harold Perrineau Yuji Okumoto Bill Moseley Michael Welch Donald Corren Kelly McGillis Matt Cedeño
Tom Everett Scott, Michael Welch, Tinsel Korey, William Radclyffe, Missi Pyle, Matt Cedeño, Donald Corren, Anthony Michael Hall, Keith Allan and Eddie Spears are in Z Nation or are the creaters of Bettws y coed
Tom Everett Scott Michael Welch Tinsel Korey William Radclyffe Missi Pyle Matt Cedeño Donald Corren Anthony Michael Hall Keith Allan Eddie Spears
action filter_type
action union
action find
entity Z Nation
relation cast member
action find
entity Bettws y coed
relation creator
type common name
{'OR': [['Z Nation', 'cast member', {'concept': 'common name'}], ['Bettws y coed', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Bettws_y_coed property:creator ?j } UNION { resource:Z_Nation property:cast_member ?j } } . ?j rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3788309 Q464328
P162 P175
Q502895
USER
Which people are the creators of American Ninja 2: The Confrontation or were performed by I'm Tryna ?
OR((Q464328,P162,c(Q502895)), (Q3788309,P175,c(Q502895)))
action filter_type
action union
action find
entity Q464328
relation P162
action find
entity Q3788309
relation P175
type Q502895
{'OR': [['Q464328', 'P162', {'concept': 'Q502895'}], ['Q3788309', 'P175', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q464328 property:P162 ?m } UNION { resource:Q3788309 property:P175 ?m } } . ?m rdf:type ontology:Q502895 }
I'm Tryna American Ninja 2: The Confrontation
action filter_type
action union
action find
entity American Ninja 2: The Confrontation
relation producer
action find
entity I'm Tryna
relation performer
type common name
{'OR': [['American Ninja 2: The Confrontation', 'producer', {'concept': 'common name'}], ["I'm Tryna", 'performer', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:American_Ninja_2:_The_Confrontation property:producer ?m } UNION { resource:I'm_Tryna property:performer ?m } } . ?m rdf:type ontology:common_name }
[]
common name
Q542003 Q361683 Q1382548
SYSTEM
Menahem Golan, Omarion, Yoram Globus
Q542003 Q361683 Q1382548
OR((Q464328,P162,c(Q502895)), (Q3788309,P175,c(Q502895)))
action filter_type
action union
action find
entity Q464328
relation P162
action find
entity Q3788309
relation P175
type Q502895
[ANSWERS] are the creators of American Ninja 2: The Confrontation or were performed by I'm Tryna
{'OR': [['Q464328', 'P162', {'concept': 'Q502895'}], ['Q3788309', 'P175', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q464328 property:P162 ?m } UNION { resource:Q3788309 property:P175 ?m } } . ?m rdf:type ontology:Q502895 }
Menahem Golan Omarion Yoram Globus
Menahem Golan, Omarion and Yoram Globus are the creators of American Ninja 2: The Confrontation or were performed by I'm Tryna
Menahem Golan Omarion Yoram Globus
action filter_type
action union
action find
entity American Ninja 2: The Confrontation
relation producer
action find
entity I'm Tryna
relation performer
type common name
{'OR': [['American Ninja 2: The Confrontation', 'producer', {'concept': 'common name'}], ["I'm Tryna", 'performer', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:American_Ninja_2:_The_Confrontation property:producer ?m } UNION { resource:I'm_Tryna property:performer ?m } } . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q258005
P106
Q12737077
USER
How many occupations are the professions of Arvind Swamy ?
(Q258005,P106,c(Q12737077))
action count
action filter_type
action find
entity Q258005
relation P106
type Q12737077
['Q258005', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q258005 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Arvind Swamy
action count
action filter_type
action find
entity Arvind Swamy
relation occupation
type occupation
['Arvind Swamy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Arvind_Swamy property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q33999
(Q258005,P106,c(Q12737077))
action count
action filter_type
action find
entity Q258005
relation P106
type Q12737077
[ANSWER]
['Q258005', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q258005 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
actor
1
action count
action filter_type
action find
entity Arvind Swamy
relation occupation
type occupation
['Arvind Swamy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Arvind_Swamy property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q258005
P22
Q502895
USER
Who was the dad of that one ?
action filter_type
action find
entity Q258005
relation P22
type Q502895
SELECT DISTINCT ?x WHERE { resource:Q258005 property:P22 ?x . ?x rdf:type ontology:Q502895 }
Arvind Swamy
action filter_type
action find
entity Arvind Swamy
relation father
type common name
SELECT DISTINCT ?x WHERE { resource:Arvind_Swamy property:father ?x . ?x rdf:type ontology:common_name }
[]
common name
Q5253773
SYSTEM
Delhi Kumar
Q5253773
action filter_type
action find
entity Q258005
relation P22
type Q502895
The dad of that one was the [ANSWER]
SELECT DISTINCT ?x WHERE { resource:Q258005 property:P22 ?x . ?x rdf:type ontology:Q502895 }
Delhi Kumar
The dad of that one was the Delhi Kumar
Delhi Kumar
action filter_type
action find
entity Arvind Swamy
relation father
type common name
SELECT DISTINCT ?x WHERE { resource:Arvind_Swamy property:father ?x . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories do that person belong to ?
(Q5253773,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5253773
relation P27
type Q15617994
['Q5253773', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q5253773 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Delhi Kumar
relation country of citizenship
type designation for an administrative territorial entity
['Delhi Kumar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Delhi_Kumar property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q668
(Q5253773,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5253773
relation P27
type Q15617994
[ANSWER]
['Q5253773', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q5253773 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
India
1
action count
action filter_type
action find
entity Delhi Kumar
relation country of citizenship
type designation for an administrative territorial entity
['Delhi Kumar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Delhi_Kumar property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5253773
P22
Q502895
USER
How many people are the offspring of Delhi Kumar ?
(c(Q502895),P22,Q5253773)
action count
action filter_type
action find_reverse
entity Q5253773
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q5253773']
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k rdf:type ontology:Q502895 . ?k property:P22 resource:Q5253773 }
Delhi Kumar
action count
action filter_type
action find_reverse
entity Delhi Kumar
relation father
type common name
[{'concept': 'common name'}, 'father', 'Delhi Kumar']
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k rdf:type ontology:common_name . ?k property:father resource:Delhi_Kumar }
[]
common name
SYSTEM
1
Q258005
(c(Q502895),P22,Q5253773)
action count
action filter_type
action find_reverse
entity Q5253773
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q5253773']
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k rdf:type ontology:Q502895 . ?k property:P22 resource:Q5253773 }
Arvind Swamy
1
action count
action filter_type
action find_reverse
entity Delhi Kumar
relation father
type common name
[{'concept': 'common name'}, 'father', 'Delhi Kumar']
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k rdf:type ontology:common_name . ?k property:father resource:Delhi_Kumar }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5253773
P40
Q502895
USER
Who is an offspring of that one ?
action filter_type
action find
entity Q5253773
relation P40
type Q502895
SELECT DISTINCT ?w WHERE { resource:Q5253773 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Delhi Kumar
action filter_type
action find
entity Delhi Kumar
relation child
type common name
SELECT DISTINCT ?w WHERE { resource:Delhi_Kumar property:child ?w . ?w rdf:type ontology:common_name }
[]
common name
Q258005
SYSTEM
Arvind Swamy
Q258005
action filter_type
action find
entity Q5253773
relation P40
type Q502895
An offspring of that one is the [ANSWER]
SELECT DISTINCT ?w WHERE { resource:Q5253773 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Arvind Swamy
An offspring of that one is the Arvind Swamy
Arvind Swamy
action filter_type
action find
entity Delhi Kumar
relation child
type common name
SELECT DISTINCT ?w WHERE { resource:Delhi_Kumar property:child ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q258005 Q1134966
P27
Q15617994
USER
Is Xinwu District the country of citizenship of that person ?
(Q258005,P27,Q1134966)
action is_in
entity Q1134966
action find
entity Q258005
relation P27
['Q258005', 'P27', 'Q1134966']
ASK WHERE { resource:Q258005 property:P27 resource:Q1134966 }
Arvind Swamy Xinwu District
action is_in
entity Xinwu District
action find
entity Arvind Swamy
relation country of citizenship
['Arvind Swamy', 'country of citizenship', 'Xinwu District']
ASK WHERE { resource:Arvind_Swamy property:country_of_citizenship resource:Xinwu_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q258005,P27,Q1134966)
action is_in
entity Q1134966
action find
entity Q258005
relation P27
[ANSWER]
['Q258005', 'P27', 'Q1134966']
ASK WHERE { resource:Q258005 property:P27 resource:Q1134966 }
No
action is_in
entity Xinwu District
action find
entity Arvind Swamy
relation country of citizenship
['Arvind Swamy', 'country of citizenship', 'Xinwu District']
ASK WHERE { resource:Arvind_Swamy property:country_of_citizenship resource:Xinwu_District }
[]