Simple Question (Direct)
Simple Question
Q695536
P1313
Q12737077
USER
What is the occupation held by Laujar de Andarax ?
(Q695536,P1313,c(Q12737077))
action filter_type
action find
entity Q695536
relation P1313
type Q12737077
['Q695536', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q695536 property:P1313 ?o }
Laujar de Andarax
action filter_type
action find
entity Laujar de Andarax
relation office held by head of government
type occupation
['Laujar de Andarax', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Laujar_de_Andarax property:office_held_by_head_of_government ?o }
[]
occupation
Q26699701
SYSTEM
mayor of Laujar de Andarax
Q26699701
(Q695536,P1313,c(Q12737077))
action filter_type
action find
entity Q695536
relation P1313
type Q12737077
The occupation held by Laujar de Andarax is the [ANSWER]
['Q695536', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q695536 property:P1313 ?o }
mayor of Laujar de Andarax
The occupation held by Laujar de Andarax is the mayor of Laujar de Andarax
mayor of Laujar de Andarax
action filter_type
action find
entity Laujar de Andarax
relation office held by head of government
type occupation
['Laujar de Andarax', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Laujar_de_Andarax property:office_held_by_head_of_government ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q695536
P6
Q502895
USER
Which person is the head of government of that political territory ?
(Q26699701,P6,c(Q502895))
action filter_type
action find
entity Q695536
relation P6
type Q502895
['Q26699701', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q695536 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Laujar de Andarax
action filter_type
action find
entity Laujar de Andarax
relation head of government
type common name
['mayor of Laujar de Andarax', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Laujar_de_Andarax property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
Q14025232
SYSTEM
Emilio Jose Romero Lopez
Q14025232
(Q26699701,P6,c(Q502895))
action filter_type
action find
entity Q695536
relation P6
type Q502895
[ANSWER] is the head of government of that political territory
['Q26699701', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q695536 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Emilio Jose Romero Lopez
Emilio Jose Romero Lopez is the head of government of that political territory
Emilio Jose Romero Lopez
action filter_type
action find
entity Laujar de Andarax
relation head of government
type common name
['mayor of Laujar de Andarax', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Laujar_de_Andarax property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P748
Q178706 Q1752346 Q12737077
USER
Which occupations were appointed by max number of institutions and assemblies ?
(c(Q12737077),P748,c(Q178706)|c(Q1752346))
action argmax
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?e ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?o ) WHERE { VALUES ( ?s ) { ( ontology:Q1752346 ) ( ontology:Q178706 ) } . ?j rdf:type ?s } GROUP BY ?y } } . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?r ) WHERE { { ?k rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q1752346 . ?k property:P748 ?z } UNION { ?k property:P748 ?z . ?k rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q178706 } } GROUP BY ?k } . FILTER ( ?r = ?e ) }
action argmax
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?e ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?o ) WHERE { VALUES ( ?s ) { ( ontology:assembly ) ( ontology:institution ) } . ?j rdf:type ?s } GROUP BY ?y } } . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?r ) WHERE { { ?k rdf:type ontology:occupation . ?z rdf:type ontology:assembly . ?k property:appointed_by ?z } UNION { ?k property:appointed_by ?z . ?k rdf:type ontology:occupation . ?z rdf:type ontology:institution } } GROUP BY ?k } . FILTER ( ?r = ?e ) }
[]
institution assembly occupation
Q81066 Q842386 Q1370482
SYSTEM
United Nations Secretary-General, Prime Minister of Russia, President of Cuba
Q740126 Q15305714 Q842386 Q19056310 Q890030 Q1161813 Q796593 Q7574264 Q8882 Q3409203 Q327948 Q1370482 Q634291 Q735587 Q81066 Q628102
(c(Q12737077),P748,c(Q178706)|c(Q1752346))
action argmax
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
[ANSWERS] were appointed by max number of institutions and assemblies
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?e ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?o ) WHERE { VALUES ( ?s ) { ( ontology:Q1752346 ) ( ontology:Q178706 ) } . ?j rdf:type ?s } GROUP BY ?y } } . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?r ) WHERE { { ?k rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q1752346 . ?k property:P748 ?z } UNION { ?k property:P748 ?z . ?k rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q178706 } } GROUP BY ?k } . FILTER ( ?r = ?e ) }
President of the European Parliament Prime Minister of Libya Prime Minister of Russia President of Botswana State President of South Africa President of the United Nations General Assembly President of Malta Speaker of the Hellenic Parliament President of the European Commission President of Greece President of Israel President of Cuba High Representative of the Union for Foreign Affairs and Security Policy President of the European Council United Nations Secretary-General President of Nauru
United Nations Secretary-General, Prime Minister of Russia and President of Cuba were appointed by max number of institutions and assemblies
United Nations Secretary-General Prime Minister of Russia President of Cuba
action argmax
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?e ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?o ) WHERE { VALUES ( ?s ) { ( ontology:assembly ) ( ontology:institution ) } . ?j rdf:type ?s } GROUP BY ?y } } . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?r ) WHERE { { ?k rdf:type ontology:occupation . ?z rdf:type ontology:assembly . ?k property:appointed_by ?z } UNION { ?k property:appointed_by ?z . ?k rdf:type ontology:occupation . ?z rdf:type ontology:institution } } GROUP BY ?k } . FILTER ( ?r = ?e ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q3516658 Q2342494
USER
Which occupations are depicted in min number of heraldic symbols or collectables ?
(c(Q3516658)|c(Q2342494),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
[[{'concept': 'Q3516658'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?h ) { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?f ) WHERE { ?n rdf:type ?e . VALUES ( ?e ) { ( ontology:Q3516658 ) ( ontology:Q2342494 ) } } GROUP BY ?z } } . { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:Q3516658 ) ( ontology:Q2342494 ) } . ?g rdf:type ?r } GROUP BY ?j } . FILTER ( ?i = ?h ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
[[{'concept': 'heraldic symbol'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?h ) { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?f ) WHERE { ?n rdf:type ?e . VALUES ( ?e ) { ( ontology:heraldic_symbol ) ( ontology:collectable ) } } GROUP BY ?z } } . { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:heraldic_symbol ) ( ontology:collectable ) } . ?g rdf:type ?r } GROUP BY ?j } . FILTER ( ?i = ?h ) }
[]
occupation heraldic symbol collectable
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3516658)|c(Q2342494),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
[ANSWERS] are depicted in min number of heraldic symbols or collectables
[[{'concept': 'Q3516658'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?h ) { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?f ) WHERE { ?n rdf:type ?e . VALUES ( ?e ) { ( ontology:Q3516658 ) ( ontology:Q2342494 ) } } GROUP BY ?z } } . { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:Q3516658 ) ( ontology:Q2342494 ) } . ?g rdf:type ?r } GROUP BY ?j } . FILTER ( ?i = ?h ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are depicted in min number of heraldic symbols or collectables
farmer nurse tailor
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
[[{'concept': 'heraldic symbol'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?h ) { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?f ) WHERE { ?n rdf:type ?e . VALUES ( ?e ) { ( ontology:heraldic_symbol ) ( ontology:collectable ) } } GROUP BY ?z } } . { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:heraldic_symbol ) ( ontology:collectable ) } . ?g rdf:type ?r } GROUP BY ?j } . FILTER ( ?i = ?h ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3209915 Q186360
P161 P417
Q502895
USER
Which people are the names of person who are the patron saints of nurse or were casted in The Square Jungle ?
OR((Q186360,P417,c(Q502895)), (Q3209915,P161,c(Q502895)))
action filter_type
action union
action find
entity Q186360
relation P417
action find
entity Q3209915
relation P161
type Q502895
{'OR': [['Q186360', 'P417', {'concept': 'Q502895'}], ['Q3209915', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q186360 property:P417 ?y } UNION { resource:Q3209915 property:P161 ?y } } . ?y rdf:type ontology:Q502895 }
The Square Jungle nurse
action filter_type
action union
action find
entity nurse
relation patron saint
action find
entity The Square Jungle
relation cast member
type common name
{'OR': [['nurse', 'patron saint', {'concept': 'common name'}], ['The Square Jungle', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:nurse property:patron_saint ?y } UNION { resource:The_Square_Jungle property:cast_member ?y } } . ?y rdf:type ontology:common_name }
[]
common name
Q498840 Q240371 Q273206 Q162389 Q1236412 Q4861767 Q102551 Q200895 Q946196 Q137947
SYSTEM
Some of them are David Janssen, Carmen McRae, Joe Louis, Tony Curtis, Jim Backus, Barney Phillips, Ernest Borgnine, Agatha of Sicily, John Marley, Alexius of Rome
Q1236412 Q332656 Q200895 Q229190 Q929838 Q498840 Q162389 Q240371 Q179718 Q4861767 Q137947 Q273206 Q946196 Q102551
OR((Q186360,P417,c(Q502895)), (Q3209915,P161,c(Q502895)))
action filter_type
action union
action find
entity Q186360
relation P417
action find
entity Q3209915
relation P161
type Q502895
[ANSWERS] are the names of person who are the patron saints of nurse or were casted in The Square Jungle
{'OR': [['Q186360', 'P417', {'concept': 'Q502895'}], ['Q3209915', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q186360 property:P417 ?y } UNION { resource:Q3209915 property:P161 ?y } } . ?y rdf:type ontology:Q502895 }
Jim Backus Camillus de Lellis Agatha of Sicily Catherine of Siena Paul Kelly David Janssen Tony Curtis Carmen McRae Catherine of Alexandria Barney Phillips Alexius of Rome Joe Louis John Marley Ernest Borgnine
David Janssen, Carmen McRae, Joe Louis, Tony Curtis, Jim Backus, Barney Phillips, Ernest Borgnine, Agatha of Sicily, John Marley and Alexius of Rome are the names of person who are the patron saints of nurse or were casted in The Square Jungle
David Janssen Carmen McRae Joe Louis Tony Curtis Jim Backus Barney Phillips Ernest Borgnine Agatha of Sicily John Marley Alexius of Rome
action filter_type
action union
action find
entity nurse
relation patron saint
action find
entity The Square Jungle
relation cast member
type common name
{'OR': [['nurse', 'patron saint', {'concept': 'common name'}], ['The Square Jungle', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:nurse property:patron_saint ?y } UNION { resource:The_Square_Jungle property:cast_member ?y } } . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q1236412
P161 P364
Q838948
USER
Which works of art do Jim Backus star in and were originally created in English language ?
AND((c(Q838948),P161,Q1236412), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1236412
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q1236412'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q1236412 . ?d property:P364 resource:Q1860 . ?d rdf:type ontology:Q838948 }
English Jim Backus
action filter_type
action intersection
action find_reverse
entity Jim Backus
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Jim Backus'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Jim_Backus . ?d property:original_language_of_work resource:English . ?d rdf:type ontology:work_of_art }
[]
work of art
Q2870390 Q6588602 Q1332299 Q2493780 Q18153008 Q426346 Q934021 Q6880179 Q3067189 Q5708673
SYSTEM
Some of them are Deep in My Heart, Johnny Cool, Pete's Dragon, The Great Man, 1001 Arabian Nights, Rebel Without a Cause, His Kind of Woman, Mister Magoo's Christmas Carol, Father was a Fullback, Hello Down There
Q3273366 Q18153008 Q2358316 Q136592 Q5708673 Q2613223 Q4911833 Q5006108 Q3209915 Q2031626 Q2309562 Q1518111 Q203101 Q1366508 Q1332299 Q1767272 Q3002394 Q1520030 Q2275710 Q3230887 Q1637360 Q7538754 Q6880179 Q2493780 Q1849684 Q1217650 Q3841929 Q12136278 Q7096812 Q3067189 Q3027830 Q647814 Q6588602 Q2142990 Q3713975 Q1306890 Q2870390 Q3794147 Q934021 Q2080652 Q210590 Q2618102 Q1647896 Q3521762 Q2192726 Q426346 Q3204880 Q3203423 Q2289807
AND((c(Q838948),P161,Q1236412), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1236412
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWERS] Jim Backus star in and were originally created in English language
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q1236412'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q1236412 . ?d property:P364 resource:Q1860 . ?d rdf:type ontology:Q838948 }
M 1001 Arabian Nights Ask Any Girl Man of a Thousand Faces Hello Down There Androcles and the Lion Billie C.H.O.M.P.S. The Square Jungle Pat and Mike The Wild and the Innocent Bright Victory Don't Make Waves Now You See Him, Now You Don't Pete's Dragon Francis in the Navy Crazy Mama The Wheeler Dealers Boys' Night Out Ice Palace Don't Bother to Knock Slapstick of Another Kind Mister Magoo's Christmas Carol The Great Man Sunday in New York The Wonderful World of the Brothers Grimm Macabre Zotz! Operation Bikini Father was a Fullback Hurry Sundown Good Guys Wear Black Johnny Cool Where Were You When the Lights Went Out? Meet Me in Las Vegas It's a Mad, Mad, Mad, Mad World Deep in My Heart Easy Living His Kind of Woman John Goldfarb, Please Come Home Angel Face Angels Revenge I'll See You in My Dreams The Man with a Cloak A Private's Affair Rebel Without a Cause The High Cost of Loving You Can't Run Away from It Above and Beyond
Deep in My Heart, Johnny Cool, Pete's Dragon, The Great Man, 1001 Arabian Nights, Rebel Without a Cause, His Kind of Woman, Mister Magoo's Christmas Carol, Father was a Fullback and Hello Down There Jim Backus star in and were originally created in English language
Deep in My Heart Johnny Cool Pete's Dragon The Great Man 1001 Arabian Nights Rebel Without a Cause His Kind of Woman Mister Magoo's Christmas Carol Father was a Fullback Hello Down There
action filter_type
action intersection
action find_reverse
entity Jim Backus
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Jim Backus'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Jim_Backus . ?d property:original_language_of_work resource:English . ?d rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a component of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?v WHERE { resource:Q1860 property:P361 ?v . ?v rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?v WHERE { resource:English property:part_of ?v . ?v rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a component of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?v WHERE { resource:Q1860 property:P361 ?v . ?v rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a component of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?v WHERE { resource:English property:part_of ?v . ?v rdf:type ontology:classification_scheme }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4352437 Q1860
P361 P289
Q5962346
USER
Which classification schemes are English a part of or are the vessel classes of HMS Revenge ?
OR((Q1860,P361,c(Q5962346)), (Q4352437,P289,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q4352437
relation P289
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q4352437', 'P289', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1860 property:P361 ?x } UNION { resource:Q4352437 property:P289 ?x } } . ?x rdf:type ontology:Q5962346 }
HMS Revenge English
action filter_type
action union
action find
entity English
relation part of
action find
entity HMS Revenge
relation vessel class
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['HMS Revenge', 'vessel class', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?x WHERE { { { resource:English property:part_of ?x } UNION { resource:HMS_Revenge property:vessel_class ?x } } . ?x rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170 Q584865
SYSTEM
Anglic languages, Anglo-Frisian languages, Resolution class submarine
Q1346342 Q5329170 Q584865
OR((Q1860,P361,c(Q5962346)), (Q4352437,P289,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q4352437
relation P289
type Q5962346
[ANSWERS] are English a part of or are the vessel classes of HMS Revenge
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q4352437', 'P289', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1860 property:P361 ?x } UNION { resource:Q4352437 property:P289 ?x } } . ?x rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages Resolution class submarine
Anglic languages, Anglo-Frisian languages and Resolution class submarine are English a part of or are the vessel classes of HMS Revenge
Anglic languages Anglo-Frisian languages Resolution class submarine
action filter_type
action union
action find
entity English
relation part of
action find
entity HMS Revenge
relation vessel class
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['HMS Revenge', 'vessel class', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?x WHERE { { { resource:English property:part_of ?x } UNION { resource:HMS_Revenge property:vessel_class ?x } } . ?x rdf:type ontology:classification_scheme }
[]