Simple Question (Direct)
Simple Question
Q21621861
P19
Q56061
USER
Which administrative territory was Aleksandr Logunov born at ?
(Q21621861,P19,c(Q56061))
action filter_type
action find
entity Q21621861
relation P19
type Q56061
['Q21621861', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q21621861 property:P19 ?c }
Aleksandr Logunov
action filter_type
action find
entity Aleksandr Logunov
relation place of birth
type administrative territorial entity
['Aleksandr Logunov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Aleksandr_Logunov property:place_of_birth ?c }
[]
administrative territorial entity
Q135285
SYSTEM
Dimitrovgrad
Q135285
(Q21621861,P19,c(Q56061))
action filter_type
action find
entity Q21621861
relation P19
type Q56061
Aleksandr Logunov was born in [ANSWER]
['Q21621861', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q21621861 property:P19 ?c }
Dimitrovgrad
Aleksandr Logunov was born in Dimitrovgrad
Dimitrovgrad
action filter_type
action find
entity Aleksandr Logunov
relation place of birth
type administrative territorial entity
['Aleksandr Logunov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Aleksandr_Logunov property:place_of_birth ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21621861
P106
Q12737077
USER
Which occupation has Aleksandr Logunov as his/her 's career ?
(Q21621861,P106,c(Q12737077))
action filter_type
action find
entity Q21621861
relation P106
type Q12737077
['Q21621861', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q21621861 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Aleksandr Logunov
action filter_type
action find
entity Aleksandr Logunov
relation occupation
type occupation
['Aleksandr Logunov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Aleksandr_Logunov property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q21621861,P106,c(Q12737077))
action filter_type
action find
entity Q21621861
relation P106
type Q12737077
As [ANSWER] has Aleksandr Logunov as his/her 's career
['Q21621861', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q21621861 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
As association football player has Aleksandr Logunov as his/her 's career
association football player
action filter_type
action find
entity Aleksandr Logunov
relation occupation
type occupation
['Aleksandr Logunov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Aleksandr_Logunov property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21621861
P27
Q15617994
USER
Which administrative territory is Aleksandr Logunov a civilian of ?
(Q21621861,P27,c(Q15617994))
action filter_type
action find
entity Q21621861
relation P27
type Q15617994
['Q21621861', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q21621861 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Aleksandr Logunov
action filter_type
action find
entity Aleksandr Logunov
relation country of citizenship
type designation for an administrative territorial entity
['Aleksandr Logunov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Aleksandr_Logunov property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q21621861,P27,c(Q15617994))
action filter_type
action find
entity Q21621861
relation P27
type Q15617994
[ANSWER] is Aleksandr Logunov a civilian of
['Q21621861', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q21621861 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Russia
Russia is Aleksandr Logunov a civilian of
Russia
action filter_type
action find
entity Aleksandr Logunov
relation country of citizenship
type designation for an administrative territorial entity
['Aleksandr Logunov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Aleksandr_Logunov property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q159 Q42321
P530
Q15617994
USER
Does Cavriana have a diplomatic relationship with Russia ?
(Q159,P530,Q42321)
action is_in
entity Q42321
action find
entity Q159
relation P530
['Q159', 'P530', 'Q42321']
ASK WHERE { resource:Q159 property:P530 resource:Q42321 }
Russia Cavriana
action is_in
entity Cavriana
action find
entity Russia
relation diplomatic relation
['Russia', 'diplomatic relation', 'Cavriana']
ASK WHERE { resource:Russia property:diplomatic_relation resource:Cavriana }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q159,P530,Q42321)
action is_in
entity Q42321
action find
entity Q159
relation P530
[ANSWER]
['Q159', 'P530', 'Q42321']
ASK WHERE { resource:Q159 property:P530 resource:Q42321 }
No
action is_in
entity Cavriana
action find
entity Russia
relation diplomatic relation
['Russia', 'diplomatic relation', 'Cavriana']
ASK WHERE { resource:Russia property:diplomatic_relation resource:Cavriana }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P495
Q15416
USER
Which television programs have Russia as their place of origin ?
action filter_type
action find_reverse
entity Q159
relation P495
type Q15416
SELECT DISTINCT ?v WHERE { ?v property:P495 resource:Q159 . ?v rdf:type ontology:Q15416 }
Russia
action filter_type
action find_reverse
entity Russia
relation country of origin
type television program
SELECT DISTINCT ?v WHERE { ?v property:country_of_origin resource:Russia . ?v rdf:type ontology:television_program }
[]
television program
Q2817195 Q32235 Q4155469
SYSTEM
The Three Musketeers, Stalin, Dasha Vasileva. Lyubitelnitsa chastnogo syska
Q16272381 Q16272273 Q15260610 Q4528051 Q4431114 Q2582960 Q4289693 Q16959909 Q4449950 Q16272347 Q18407360 Q32235 Q4106371 Q7862956 Q4475721 Q4523158 Q5188227 Q18122841 Q4114652 Q4303948 Q4081072 Q27049547 Q3729092 Q3611892 Q4249828 Q18147982 Q4246940 Q22084214 Q2817195 Q2133214 Q5247142 Q27511167 Q1973970 Q19886321 Q4413266 Q22084229 Q1668081 Q972939 Q1963084 Q1951181 Q7129718 Q4058022 Q2941802 Q19904621 Q4313301 Q7720908 Q1969810 Q600931 Q16740163 Q1974780 Q17904404 Q4101717 Q4110462 Q16272336 Q4474744 Q3315304 Q4329823 Q2667119 Q4423228 Q4058098 Q4081656 Q778718 Q4334878 Q4085932 Q4155469 Q2472357 Q291776 Q1635748 Q3613592 Q4480683 Q22910188 Q19619067 Q19603765 Q4077271 Q18343463 Q17582649 Q2026107 Q7730065 Q4197943 Q20189
action filter_type
action find_reverse
entity Q159
relation P495
type Q15416
[ANSWERS] have Russia as their place of origin
SELECT DISTINCT ?v WHERE { ?v property:P495 resource:Q159 . ?v rdf:type ontology:Q15416 }
Strasti po Chapayu Molodezhka Один в один Balakirev the Buffoon Spetsnaz Soviet Storm: World War II in the East Melochi zhizni Last Hero The Secret of Queen Anne or Musketeers Thirty Years After SashaTanya Catherine the Great Stalin Water U.E. Univer Sherlock Holmes CrossTalk Name That Tune Muhtar's return Moscow Saga Crazy Day or The Marriage of Figaro Delo bylo na Kubani Peter the Great: The Testament Bullet to Beijing Kitchen Sto k odnomu Qumi-Qumi 1st season of The Voice Kids Russia The Three Musketeers The Master and Margarita Inexplicably, but the fact World Order Comedy Club President Sekret Uspekha 2nd season of The Voice Kids Russia Interns Top Model po-russki Not Born Beautiful Happy Together Pan ili Propal Adjutants of Love Catherine Glavnaya Scena Narodniy Artist The Cadets Daddy's Daughters My Fair Nanny Kingdom of Crooked Mirrors Nasha Russia Sasha+Masha The First Circle Vzyat Tarantinu Rodina Streets of Broken Lights Univer The Dark Side of the Moon Masha and the Bear Sled Azazel The White Guard Lost in Siberia They Chose Freedom Possessed Dasha Vasileva. Lyubitelnitsa chastnogo syska Big Difference Podnebesnaya Mr. Freeman The Canterbury Tales Faktor A 3rd season of The Voice Kids Russia Mazhor Crimea. The Way Home Bandit Petersburg Klim Perevodchik Minuta slavy The Dialogues with Solzhenitsyn The Idiot Kikoriki
The Three Musketeers, Stalin and Dasha Vasileva. Lyubitelnitsa chastnogo syska have Russia as their place of origin
The Three Musketeers Stalin Dasha Vasileva. Lyubitelnitsa chastnogo syska
action filter_type
action find_reverse
entity Russia
relation country of origin
type television program
SELECT DISTINCT ?v WHERE { ?v property:country_of_origin resource:Russia . ?v rdf:type ontology:television_program }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q39631 Q937857
P106
Q502895
USER
Which people have the profession as association football player and physician ?
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q39631))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q39631
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q39631']]}
SELECT DISTINCT ?n WHERE { ?n property:P106 resource:Q39631 . ?n property:P106 resource:Q937857 . ?n rdf:type ontology:Q502895 }
physician association football player
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity physician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'physician']]}
SELECT DISTINCT ?n WHERE { ?n property:occupation resource:physician . ?n property:occupation resource:association_football_player . ?n rdf:type ontology:common_name }
[]
common name
Q896087 Q2612390 Q1338912 Q760794 Q19974858 Q1930715 Q935376 Q11982076 Q5641138 Q15438142
SYSTEM
Some of them are Ferdinand Hueppe, Carles Comamala, Sonny Carter, Hans Tetzner, John Macdonald, Michel D'Hooghe, Gejus van der Meulen, Kristian Wiese, Eduardo Mauri, Bernd Pansold
Q19974858 Q11927864 Q12813764 Q712801 Q6249948 Q11903839 Q823324 Q360765 Q21034083 Q1930715 Q760794 Q935376 Q2119579 Q2612390 Q896087 Q5641138 Q3492483 Q468819 Q3816015 Q15438142 Q16521008 Q102331 Q15830397 Q280993 Q1338912 Q11982076
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q39631))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q39631
relation P106
type Q502895
[ANSWERS] have the profession as association football player and physician
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q39631']]}
SELECT DISTINCT ?n WHERE { ?n property:P106 resource:Q39631 . ?n property:P106 resource:Q937857 . ?n rdf:type ontology:Q502895 }
John Macdonald Joan Navés i Janer István Berkes Giorgos Kalafatis John Murray Abel Hernández i Sánchez Bernd Brexendorf Carlos Bilardo Zdeněk Placheta Michel D'Hooghe Hans Tetzner Gejus van der Meulen Armand Swartenbroeks Carles Comamala Ferdinand Hueppe Eduardo Mauri Ivan Chodák Charles Bilot Knut Kolle Bernd Pansold János Janka Sócrates Eilert Eilertsen Frits Kuipers Sonny Carter Kristian Wiese
Ferdinand Hueppe, Carles Comamala, Sonny Carter, Hans Tetzner, John Macdonald, Michel D'Hooghe, Gejus van der Meulen, Kristian Wiese, Eduardo Mauri and Bernd Pansold have the profession as association football player and physician
Ferdinand Hueppe Carles Comamala Sonny Carter Hans Tetzner John Macdonald Michel D'Hooghe Gejus van der Meulen Kristian Wiese Eduardo Mauri Bernd Pansold
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity physician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'physician']]}
SELECT DISTINCT ?n WHERE { ?n property:occupation resource:physician . ?n property:occupation resource:association_football_player . ?n rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1372163
P144
Q15416 Q838948 Q15961987
USER
How many television programs are more number of works of art or television genres a fork of than Kamen Rider Wizard ?
(c(Q838948)|c(Q15961987),P144,c(Q15416))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q838948
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15961987
action count
action filter_multi_types
action find_reverse
entity Q1372163
relation P144
type Q838948
type Q15961987
[[{'concept': 'Q838948'}, {'concept': 'Q15961987'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?d WHERE { { ?t property:P144 ?d . ?t rdf:type ontology:Q15961987 . ?d rdf:type ontology:Q15416 } UNION { ?t property:P144 ?d . ?d rdf:type ontology:Q15416 . ?t rdf:type ontology:Q838948 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P144 resource:Q1372163 . { VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q15961987 ) } . ?h rdf:type ?f } } } . FILTER ( ?m > ?j ) }
Kamen Rider Wizard
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type television program
type work of art
action find_reverse_tuple_counts
relation based on
type television program
type television genre
action count
action filter_multi_types
action find_reverse
entity Kamen Rider Wizard
relation based on
type work of art
type television genre
[[{'concept': 'work of art'}, {'concept': 'television genre'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?d WHERE { { ?t property:based_on ?d . ?t rdf:type ontology:television_genre . ?d rdf:type ontology:television_program } UNION { ?t property:based_on ?d . ?d rdf:type ontology:television_program . ?t rdf:type ontology:work_of_art } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:based_on resource:Kamen_Rider_Wizard . { VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:television_genre ) } . ?h rdf:type ?f } } } . FILTER ( ?m > ?j ) }
[]
television program work of art television genre
SYSTEM
17
Q201358 Q4427572 Q6682512 Q3567653 Q369111 Q484020 Q974857 Q1982608 Q617274 Q2313956 Q13979 Q2744 Q182056 Q192015 Q599309 Q1991960 Q137034
(c(Q838948)|c(Q15961987),P144,c(Q15416))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q838948
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15961987
action count
action filter_multi_types
action find_reverse
entity Q1372163
relation P144
type Q838948
type Q15961987
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15961987'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?d WHERE { { ?t property:P144 ?d . ?t rdf:type ontology:Q15961987 . ?d rdf:type ontology:Q15416 } UNION { ?t property:P144 ?d . ?d rdf:type ontology:Q15416 . ?t rdf:type ontology:Q838948 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P144 resource:Q1372163 . { VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q15961987 ) } . ?h rdf:type ?f } } } . FILTER ( ?m > ?j ) }
The Flintstones Soldier Los Beverly de Peralvillo Wheel of Fortune Mission: Impossible Mr. Bean Police Squad! Kamen Rider Charlie's Angels Twelve Angry Men Saturday Night Live The X-Files Inuyasha Yu-Gi-Oh! Tenchi Muyo! George of the Jungle The Fugitive
17
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type television program
type work of art
action find_reverse_tuple_counts
relation based on
type television program
type television genre
action count
action filter_multi_types
action find_reverse
entity Kamen Rider Wizard
relation based on
type work of art
type television genre
[[{'concept': 'work of art'}, {'concept': 'television genre'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?d WHERE { { ?t property:based_on ?d . ?t rdf:type ontology:television_genre . ?d rdf:type ontology:television_program } UNION { ?t property:based_on ?d . ?d rdf:type ontology:television_program . ?t rdf:type ontology:work_of_art } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:based_on resource:Kamen_Rider_Wizard . { VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:television_genre ) } . ?h rdf:type ?f } } } . FILTER ( ?m > ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1193499
P144
Q15416 Q838948 Q15961987
USER
And also tell me about Kamen Rider Black RX?
(c(Q838948)|c(Q15961987),P144,c(Q15416))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q838948
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15961987
action count
action filter_multi_types
action find_reverse
entity Q1193499
relation P144
type Q838948
type Q15961987
[[{'concept': 'Q838948'}, {'concept': 'Q15961987'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?w WHERE { ?n rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15961987 ) ( ontology:Q838948 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P144 resource:Q1193499 . { { ?h rdf:type ontology:Q15961987 } UNION { ?h rdf:type ontology:Q838948 } } } } . FILTER ( ?g > ?j ) }
Kamen Rider Black RX
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type television program
type work of art
action find_reverse_tuple_counts
relation based on
type television program
type television genre
action count
action filter_multi_types
action find_reverse
entity Kamen Rider Black RX
relation based on
type work of art
type television genre
[[{'concept': 'work of art'}, {'concept': 'television genre'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?w WHERE { ?n rdf:type ?v . VALUES ( ?v ) { ( ontology:television_genre ) ( ontology:work_of_art ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:based_on resource:Kamen_Rider_Black_RX . { { ?h rdf:type ontology:television_genre } UNION { ?h rdf:type ontology:work_of_art } } } } . FILTER ( ?g > ?j ) }
[]
television program work of art television genre
SYSTEM
107
Q201358 Q4347124 Q1193168 Q1887148 Q1372163 Q3234798 Q1247770 Q4427572 Q1166225 Q2318552 Q11160398 Q6682512 Q120300 Q3567653 Q464123 Q4384432 Q1031065 Q1368978 Q611100 Q1248747 Q23831 Q83071 Q23572 Q1249333 Q655271 Q978011 Q451399 Q369111 Q166845 Q4351904 Q7512111 Q214107 Q1264983 Q1247907 Q702061 Q1247268 Q484020 Q974857 Q1849170 Q77522 Q1278637 Q280154 Q11275379 Q2553745 Q7336117 Q1982608 Q617274 Q6857960 Q2072832 Q465616 Q1247201 Q1625113 Q4982200 Q1044635 Q1229047 Q2085 Q635933 Q214016 Q272015 Q1894972 Q162371 Q774834 Q2313956 Q174390 Q152178 Q634199 Q3794953 Q6900695 Q933189 Q990842 Q1400775 Q559321 Q779048 Q1312683 Q617251 Q451943 Q13979 Q18469946 Q2744 Q4529 Q208647 Q4183763 Q344081 Q182056 Q1247495 Q1573292 Q1080682 Q7497756 Q126631 Q1145002 Q824379 Q700127 Q192015 Q1247567 Q20655866 Q56194 Q7721796 Q599309 Q189350 Q5291435 Q1193512 Q1991960 Q250767 Q137034 Q5161696 Q701189 Q536137
(c(Q838948)|c(Q15961987),P144,c(Q15416))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q838948
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15961987
action count
action filter_multi_types
action find_reverse
entity Q1193499
relation P144
type Q838948
type Q15961987
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15961987'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?w WHERE { ?n rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15961987 ) ( ontology:Q838948 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P144 resource:Q1193499 . { { ?h rdf:type ontology:Q15961987 } UNION { ?h rdf:type ontology:Q838948 } } } } . FILTER ( ?g > ?j ) }
The Flintstones Porridge The Equalizer Unsolved Mysteries Kamen Rider Wizard The Life and Loves of a She-Devil Peter Gunn Soldier Dark Shadows The Rocky and Bullwinkle Show Z for Zachariah Los Beverly de Peralvillo Crayon Shin-chan Wheel of Fortune The A-Team Traffik Underdog Liar Game Da Ali G Show Steptoe and Son The Office Downton Abbey Game of Thrones The Quatermass Experiment Top Cat The Inbetweeners Edge of Darkness Mission: Impossible Maverick Big Brother Australia Sightings DuckTales The Man from U.N.C.L.E. My Favorite Martian Little Lord Fauntleroy Get Smart Mr. Bean Police Squad! Reno 911! Winx Club The Wild Wild West All That Hagure Keiji: Junjōha Fat Albert and the Cosby Kids Rising Damp Kamen Rider Charlie's Angels Miljoenenjacht Climax! Jackass Batman Rendezvous with Death Bubble Gang Bewitched Teacher's Pet Twin Peaks The Batman 21 Jump Street Ranma ½ Mystery Science Theater 3000 Charmed Toen Was Geluk Heel Gewoon Twelve Angry Men State of Play Glee Bottom Robin's Nest Monkey-ed Movies The World of David the Gnome Hallo K3 Trailer Park Boys Miami Vice Dead Like Me Nitro Circus Zyuden Sentai Kyoryuger Land of the Lost Saturday Night Live Vai Que Cola The X-Files Veronica Mars Married... with Children Super Robot Mach Baron Recess Inuyasha Wonder Woman The League of Gentlemen Decalogue II Shinsengumi Keppuroku Hannah Montana The Osbournes Strangers with Candy Science Ninja Team Gatchaman Yu-Gi-Oh! Car 54, Where Are You? Ashura no Gotoku 24 The Cay Tenchi Muyo! 30 Rock Don't Be Afraid of the Dark Kamen Rider V3 George of the Jungle The Brady Bunch The Fugitive Connections Kindaichi Case Files Lost in Space
107
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type television program
type work of art
action find_reverse_tuple_counts
relation based on
type television program
type television genre
action count
action filter_multi_types
action find_reverse
entity Kamen Rider Black RX
relation based on
type work of art
type television genre
[[{'concept': 'work of art'}, {'concept': 'television genre'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?w WHERE { ?n rdf:type ?v . VALUES ( ?v ) { ( ontology:television_genre ) ( ontology:work_of_art ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:based_on resource:Kamen_Rider_Black_RX . { { ?h rdf:type ontology:television_genre } UNION { ?h rdf:type ontology:work_of_art } } } } . FILTER ( ?g > ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7657 Q2612390
P19 P36
Q56061
USER
Which administrative territories were Carles Comamala born in or are the capitals of Boksitogorsky District ?
OR((Q2612390,P19,c(Q56061)), (Q7657,P36,c(Q56061)))
action filter_type
action union
action find
entity Q2612390
relation P19
action find
entity Q7657
relation P36
type Q56061
{'OR': [['Q2612390', 'P19', {'concept': 'Q56061'}], ['Q7657', 'P36', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q2612390 property:P19 ?e } UNION { resource:Q7657 property:P36 ?e } } . ?e rdf:type ontology:Q56061 }
Boksitogorsky District Carles Comamala
action filter_type
action union
action find
entity Carles Comamala
relation place of birth
action find
entity Boksitogorsky District
relation capital
type administrative territorial entity
{'OR': [['Carles Comamala', 'place of birth', {'concept': 'administrative territorial entity'}], ['Boksitogorsky District', 'capital', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Carles_Comamala property:place_of_birth ?e } UNION { resource:Boksitogorsky_District property:capital ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807 Q15236
SYSTEM
Madrid, Boksitogorsk
Q2807 Q15236
OR((Q2612390,P19,c(Q56061)), (Q7657,P36,c(Q56061)))
action filter_type
action union
action find
entity Q2612390
relation P19
action find
entity Q7657
relation P36
type Q56061
Carles Comamala were born or are the capitals of Boksitogorsky District of [ANSWERS]
{'OR': [['Q2612390', 'P19', {'concept': 'Q56061'}], ['Q7657', 'P36', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q2612390 property:P19 ?e } UNION { resource:Q7657 property:P36 ?e } } . ?e rdf:type ontology:Q56061 }
Madrid Boksitogorsk
Carles Comamala were born or are the capitals of Boksitogorsky District of Madrid and Boksitogorsk
Madrid Boksitogorsk
action filter_type
action union
action find
entity Carles Comamala
relation place of birth
action find
entity Boksitogorsky District
relation capital
type administrative territorial entity
{'OR': [['Carles Comamala', 'place of birth', {'concept': 'administrative territorial entity'}], ['Boksitogorsky District', 'capital', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Carles_Comamala property:place_of_birth ?e } UNION { resource:Boksitogorsky_District property:capital ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]