Simple Question (Direct)
Simple Question
Q653029
P27
Q15617994
USER
Which administrative territory is Seán Treacy a civilian of ?
(Q653029,P27,c(Q15617994))
action filter_type
action find
entity Q653029
relation P27
type Q15617994
['Q653029', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q653029 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Seán Treacy
action filter_type
action find
entity Seán Treacy
relation country of citizenship
type designation for an administrative territorial entity
['Seán Treacy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Seán_Treacy property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q27
SYSTEM
Ireland
Q27
(Q653029,P27,c(Q15617994))
action filter_type
action find
entity Q653029
relation P27
type Q15617994
[ANSWER] is Seán Treacy a civilian of
['Q653029', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q653029 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Ireland
Ireland is Seán Treacy a civilian of
Ireland
action filter_type
action find
entity Seán Treacy
relation country of citizenship
type designation for an administrative territorial entity
['Seán Treacy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Seán_Treacy property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q653029
P102
Q7210356
USER
Which party does Seán Treacy belong to ?
(Q653029,P102,c(Q7210356))
action filter_type
action find
entity Q653029
relation P102
type Q7210356
['Q653029', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q653029 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Seán Treacy
action filter_type
action find
entity Seán Treacy
relation member of political party
type political organization
['Seán Treacy', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Seán_Treacy property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Q503614
SYSTEM
Labour Party
Q503614
(Q653029,P102,c(Q7210356))
action filter_type
action find
entity Q653029
relation P102
type Q7210356
Seán Treacy belongs to [ANSWER]
['Q653029', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q653029 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Labour Party
Seán Treacy belongs to Labour Party
Labour Party
action filter_type
action find
entity Seán Treacy
relation member of political party
type political organization
['Seán Treacy', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Seán_Treacy property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q653029
P106
Q12737077
USER
Which occupation is the profession of Seán Treacy ?
(Q653029,P106,c(Q12737077))
action filter_type
action find
entity Q653029
relation P106
type Q12737077
['Q653029', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q653029 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Seán Treacy
action filter_type
action find
entity Seán Treacy
relation occupation
type occupation
['Seán Treacy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Seán_Treacy property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q653029,P106,c(Q12737077))
action filter_type
action find
entity Q653029
relation P106
type Q12737077
So [ANSWER] is the profession of Seán Treacy
['Q653029', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q653029 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
politician
So politician is the profession of Seán Treacy
politician
action filter_type
action find
entity Seán Treacy
relation occupation
type occupation
['Seán Treacy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Seán_Treacy property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3310171
Q12737077
USER
And also tell me about Michel Lemerle?
(Q3310171,P106,c(Q12737077))
action filter_type
action find
entity Q3310171
relation P106
type Q12737077
['Q3310171', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3310171 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Michel Lemerle
action filter_type
action find
entity Michel Lemerle
relation occupation
type occupation
['Michel Lemerle', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Michel_Lemerle property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q1930187
SYSTEM
journalist
Q1930187
(Q3310171,P106,c(Q12737077))
action filter_type
action find
entity Q3310171
relation P106
type Q12737077
[ANSWER]
['Q3310171', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3310171 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
journalist
journalist
action filter_type
action find
entity Michel Lemerle
relation occupation
type occupation
['Michel Lemerle', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Michel_Lemerle property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4991371
P180
Q12737077 Q1792379 Q2342494
USER
How many occupations are expressed in lesser number of art genres and collectables than soldier ?
(c(Q1792379)|c(Q2342494),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q1792379
type Q2342494
[[{'concept': 'Q1792379'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?d WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q1792379 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P180 resource:Q4991371 . { VALUES ( ?n ) { ( ontology:Q2342494 ) ( ontology:Q1792379 ) } . ?t rdf:type ?n } } } . FILTER ( ?y < ?u ) }
soldier
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type art genre
type collectable
[[{'concept': 'art genre'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?d WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:collectable ) ( ontology:art_genre ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:depicts resource:soldier . { VALUES ( ?n ) { ( ontology:collectable ) ( ontology:art_genre ) } . ?t rdf:type ?n } } } . FILTER ( ?y < ?u ) }
[]
occupation art genre collectable
SYSTEM
223
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 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 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 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 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(Q1792379)|c(Q2342494),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q1792379
type Q2342494
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?d WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q1792379 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P180 resource:Q4991371 . { VALUES ( ?n ) { ( ontology:Q2342494 ) ( ontology:Q1792379 ) } . ?t rdf:type ?n } } } . FILTER ( ?y < ?u ) }
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 geographer Archbishop of Canterbury minister receptionist milkman coachman warrior 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 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 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
223
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type art genre
type collectable
[[{'concept': 'art genre'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?d WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:collectable ) ( ontology:art_genre ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:depicts resource:soldier . { VALUES ( ?n ) { ( ontology:collectable ) ( ontology:art_genre ) } . ?t rdf:type ?n } } } . FILTER ( ?y < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q843281
P180
Q12737077 Q1792379 Q2342494
USER
And how about hobo?
(c(Q1792379)|c(Q2342494),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q843281
relation P180
type Q1792379
type Q2342494
[[{'concept': 'Q1792379'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { FILTER ( ?u < ?x ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:P180 resource:Q843281 . { VALUES ( ?z ) { ( ontology:Q1792379 ) ( ontology:Q2342494 ) } . ?e rdf:type ?z } } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?f WHERE { { ?m property:P180 ?f . ?m rdf:type ontology:Q1792379 . ?f rdf:type ontology:Q12737077 } UNION { ?m rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q12737077 . ?m property:P180 ?f } } GROUP BY ?f } }
hobo
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity hobo
relation depicts
type art genre
type collectable
[[{'concept': 'art genre'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { FILTER ( ?u < ?x ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:depicts resource:hobo . { VALUES ( ?z ) { ( ontology:art_genre ) ( ontology:collectable ) } . ?e rdf:type ?z } } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?f WHERE { { ?m property:depicts ?f . ?m rdf:type ontology:art_genre . ?f rdf:type ontology:occupation } UNION { ?m rdf:type ontology:collectable . ?f rdf:type ontology:occupation . ?m property:depicts ?f } } GROUP BY ?f } }
[]
occupation art genre collectable
SYSTEM
223
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 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 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 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 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(Q1792379)|c(Q2342494),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q843281
relation P180
type Q1792379
type Q2342494
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { FILTER ( ?u < ?x ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:P180 resource:Q843281 . { VALUES ( ?z ) { ( ontology:Q1792379 ) ( ontology:Q2342494 ) } . ?e rdf:type ?z } } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?f WHERE { { ?m property:P180 ?f . ?m rdf:type ontology:Q1792379 . ?f rdf:type ontology:Q12737077 } UNION { ?m rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q12737077 . ?m property:P180 ?f } } GROUP BY ?f } }
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 geographer Archbishop of Canterbury minister receptionist milkman coachman warrior 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 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 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
223
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity hobo
relation depicts
type art genre
type collectable
[[{'concept': 'art genre'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { FILTER ( ?u < ?x ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:depicts resource:hobo . { VALUES ( ?z ) { ( ontology:art_genre ) ( ontology:collectable ) } . ?e rdf:type ?z } } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?f WHERE { { ?m property:depicts ?f . ?m rdf:type ontology:art_genre . ?f rdf:type ontology:occupation } UNION { ?m rdf:type ontology:collectable . ?f rdf:type ontology:occupation . ?m property:depicts ?f } } GROUP BY ?f } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q183 Q27
P27
Q502895
USER
Which people are a citizen of Ireland and Germany ?
AND((c(Q502895),P27,Q27), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q27
relation P27
action find_reverse
entity Q183
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q27'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?g WHERE { ?g property:P27 resource:Q27 . ?g property:P27 resource:Q183 . ?g rdf:type ontology:Q502895 }
Germany Ireland
action filter_type
action intersection
action find_reverse
entity Ireland
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Ireland'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?g WHERE { ?g property:country_of_citizenship resource:Ireland . ?g property:country_of_citizenship resource:Germany . ?g rdf:type ontology:common_name }
[]
common name
Q97287 Q1359239 Q1419950 Q16438755 Q57147
SYSTEM
Christabel Bielenberg, Ernst Lewy, John Hennig, John Keogh, Michael Fassbender
Q97287 Q1359239 Q1419950 Q16438755 Q57147
AND((c(Q502895),P27,Q27), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q27
relation P27
action find_reverse
entity Q183
relation P27
type Q502895
[ANSWERS] are a citizen of Ireland and Germany
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q27'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?g WHERE { ?g property:P27 resource:Q27 . ?g property:P27 resource:Q183 . ?g rdf:type ontology:Q502895 }
Christabel Bielenberg Ernst Lewy John Hennig John Keogh Michael Fassbender
Christabel Bielenberg, Ernst Lewy, John Hennig, John Keogh and Michael Fassbender are a citizen of Ireland and Germany
Christabel Bielenberg Ernst Lewy John Hennig John Keogh Michael Fassbender
action filter_type
action intersection
action find_reverse
entity Ireland
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Ireland'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?g WHERE { ?g property:country_of_citizenship resource:Ireland . ?g property:country_of_citizenship resource:Germany . ?g rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q485958
P725
Q502895 Q2342494
USER
How many collectables did more number of people dub for than Ro-Kyu-Bu! ?
(c(Q2342494),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q485958
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { FILTER ( ?x > ?b ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q485958 property:P725 ?w . ?w rdf:type ontology:Q2342494 } } . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?x ) WHERE { ?v property:P725 ?k . ?v rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q502895 } GROUP BY ?v } }
Ro-Kyu-Bu!
action count
action greater
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Ro-Kyu-Bu!
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { FILTER ( ?x > ?b ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Ro-Kyu-Bu! property:voice_actor ?w . ?w rdf:type ontology:collectable } } . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?x ) WHERE { ?v property:voice_actor ?k . ?v rdf:type ontology:collectable . ?k rdf:type ontology:common_name } GROUP BY ?v } }
[]
common name collectable
SYSTEM
3
Q483263 Q53351 Q5647726
(c(Q2342494),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q485958
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { FILTER ( ?x > ?b ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q485958 property:P725 ?w . ?w rdf:type ontology:Q2342494 } } . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?x ) WHERE { ?v property:P725 ?k . ?v rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q502895 } GROUP BY ?v } }
Baka and Test Accel World Handy Manny's Motorcycle Adventure
3
action count
action greater
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Ro-Kyu-Bu!
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { FILTER ( ?x > ?b ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Ro-Kyu-Bu! property:voice_actor ?w . ?w rdf:type ontology:collectable } } . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?x ) WHERE { ?v property:voice_actor ?k . ?v rdf:type ontology:collectable . ?k rdf:type ontology:common_name } GROUP BY ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1204015
P725
Q502895 Q2342494
USER
And what about Ōkami Kakushi?
(c(Q2342494),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q1204015
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?u ) WHERE { ?w property:P725 ?j . ?w rdf:type ontology:Q2342494 . ?j rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?u > ?a ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q1204015 property:P725 ?i . ?i rdf:type ontology:Q2342494 } } }
Ōkami Kakushi
action count
action greater
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Ōkami Kakushi
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?u ) WHERE { ?w property:voice_actor ?j . ?w rdf:type ontology:collectable . ?j rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?u > ?a ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Ōkami_Kakushi property:voice_actor ?i . ?i rdf:type ontology:collectable } } }
[]
common name collectable
SYSTEM
3
Q483263 Q53351 Q5647726
(c(Q2342494),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q1204015
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?u ) WHERE { ?w property:P725 ?j . ?w rdf:type ontology:Q2342494 . ?j rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?u > ?a ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q1204015 property:P725 ?i . ?i rdf:type ontology:Q2342494 } } }
Baka and Test Accel World Handy Manny's Motorcycle Adventure
3
action count
action greater
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Ōkami Kakushi
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?u ) WHERE { ?w property:voice_actor ?j . ?w rdf:type ontology:collectable . ?j rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?u > ?a ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Ōkami_Kakushi property:voice_actor ?i . ?i rdf:type ontology:collectable } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q27 Q31
P6
Q502895
USER
How many people have Ireland or Belgium as their heads of government ?
(Q27,P6,c(Q502895)) (Q31,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q27
relation P6
type Q502895
action filter_type
action find
entity Q31
relation P6
type Q502895
['Q27', 'P6', {'concept': 'Q502895'}] ['Q31', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?k property:P6 ?q . VALUES ( ?k ) { ( resource:Q27 ) ( resource:Q31 ) } }
Ireland Belgium
action count
action union
action filter_type
action find
entity Ireland
relation head of government
type common name
action filter_type
action find
entity Belgium
relation head of government
type common name
['Ireland', 'head of government', {'concept': 'common name'}] ['Belgium', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?k property:head_of_government ?q . VALUES ( ?k ) { ( resource:Ireland ) ( resource:Belgium ) } }
[]
common name
SYSTEM
2
Q950958 Q57815
(Q27,P6,c(Q502895)) (Q31,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q27
relation P6
type Q502895
action filter_type
action find
entity Q31
relation P6
type Q502895
[ANSWER]
['Q27', 'P6', {'concept': 'Q502895'}] ['Q31', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?k property:P6 ?q . VALUES ( ?k ) { ( resource:Q27 ) ( resource:Q31 ) } }
Charles Michel Enda Kenny
2
action count
action union
action filter_type
action find
entity Ireland
relation head of government
type common name
action filter_type
action find
entity Belgium
relation head of government
type common name
['Ireland', 'head of government', {'concept': 'common name'}] ['Belgium', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?k property:head_of_government ?q . VALUES ( ?k ) { ( resource:Ireland ) ( resource:Belgium ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5262922 Q485958
P495
Q15617994
USER
Which administrative territories are the countries of origin of Ro-Kyu-Bu! or Three Sad Tigers ?
OR((Q485958,P495,c(Q15617994)), (Q5262922,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q485958
relation P495
action find
entity Q5262922
relation P495
type Q15617994
{'OR': [['Q485958', 'P495', {'concept': 'Q15617994'}], ['Q5262922', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?h ) { ( resource:Q485958 ) ( resource:Q5262922 ) } . ?h property:P495 ?t } . ?t rdf:type ontology:Q15617994 }
Three Sad Tigers Ro-Kyu-Bu!
action filter_type
action union
action find
entity Ro-Kyu-Bu!
relation country of origin
action find
entity Three Sad Tigers
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Ro-Kyu-Bu!', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Three Sad Tigers', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?h ) { ( resource:Ro-Kyu-Bu! ) ( resource:Three_Sad_Tigers ) } . ?h property:country_of_origin ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q298
SYSTEM
Japan, Chile
Q17 Q298
OR((Q485958,P495,c(Q15617994)), (Q5262922,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q485958
relation P495
action find
entity Q5262922
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Ro-Kyu-Bu! or Three Sad Tigers
{'OR': [['Q485958', 'P495', {'concept': 'Q15617994'}], ['Q5262922', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?h ) { ( resource:Q485958 ) ( resource:Q5262922 ) } . ?h property:P495 ?t } . ?t rdf:type ontology:Q15617994 }
Japan Chile
Japan and Chile are the countries of origin of Ro-Kyu-Bu! or Three Sad Tigers
Japan Chile
action filter_type
action union
action find
entity Ro-Kyu-Bu!
relation country of origin
action find
entity Three Sad Tigers
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Ro-Kyu-Bu!', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Three Sad Tigers', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?h ) { ( resource:Ro-Kyu-Bu! ) ( resource:Three_Sad_Tigers ) } . ?h property:country_of_origin ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3714200
P840
Q166142
USER
Do Doraemon no Quiz Boy 2 have their narrative set in those administrative territories ?
(Q3714200,P840,Q17) (Q3714200,P840,Q298)
action is_in
entity prev_answer
action find
entity Q3714200
relation P840
['Q3714200', 'P840', 'Q17'] ['Q3714200', 'P840', 'Q298']
ASK WHERE { resource:Q3714200 property:P840 ?f . VALUES ( ?f ) { ( resource:Q17 ) ( resource:Q298 ) } }
Doraemon no Quiz Boy 2
action is_in
entity prev_answer
action find
entity Doraemon no Quiz Boy 2
relation narrative location
['Doraemon no Quiz Boy 2', 'narrative location', 'Japan'] ['Doraemon no Quiz Boy 2', 'narrative location', 'Chile']
ASK WHERE { resource:Doraemon_no_Quiz_Boy_2 property:narrative_location ?f . VALUES ( ?f ) { ( resource:Japan ) ( resource:Chile ) } }
[]
application
SYSTEM
NO
(Q3714200,P840,Q17) (Q3714200,P840,Q298)
action is_in
entity prev_answer
action find
entity Q3714200
relation P840
[ANSWER]
['Q3714200', 'P840', 'Q17'] ['Q3714200', 'P840', 'Q298']
ASK WHERE { resource:Q3714200 property:P840 ?f . VALUES ( ?f ) { ( resource:Q17 ) ( resource:Q298 ) } }
No
action is_in
entity prev_answer
action find
entity Doraemon no Quiz Boy 2
relation narrative location
['Doraemon no Quiz Boy 2', 'narrative location', 'Japan'] ['Doraemon no Quiz Boy 2', 'narrative location', 'Chile']
ASK WHERE { resource:Doraemon_no_Quiz_Boy_2 property:narrative_location ?f . VALUES ( ?f ) { ( resource:Japan ) ( resource:Chile ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q17
P1001
Q19983480 Q12737077
USER
How many Ministrys of Communications or occupations preside the jurisdiction over Japan ?
(c(Q19983480),P1001,Q17) (c(Q12737077),P1001,Q17)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P1001
type Q19983480
action filter_type
action find_reverse
entity Q17
relation P1001
type Q12737077
[{'concept': 'Q19983480'}, 'P1001', 'Q17'] [{'concept': 'Q12737077'}, 'P1001', 'Q17']
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { ?b property:P1001 resource:Q17 . ?b rdf:type ontology:Q12737077 } UNION { ?b property:P1001 resource:Q17 . ?b rdf:type ontology:Q19983480 } }
Japan
action count
action union
action filter_type
action find_reverse
entity Japan
relation applies to jurisdiction
type Ministry of Communications
action filter_type
action find_reverse
entity Japan
relation applies to jurisdiction
type occupation
[{'concept': 'Ministry of Communications'}, 'applies to jurisdiction', 'Japan'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Japan']
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { ?b property:applies_to_jurisdiction resource:Japan . ?b rdf:type ontology:occupation } UNION { ?b property:applies_to_jurisdiction resource:Japan . ?b rdf:type ontology:Ministry_of_Communications } }
[]
Ministry of Communications occupation
SYSTEM
18
Q8191055 Q6500849 Q17506823 Q842359 Q1104488 Q841904 Q842012 Q1355043 Q11612810 Q1578065 Q6500838 Q905554 Q1767791 Q841962 Q208233 Q274948 Q20011928 Q14552828
(c(Q19983480),P1001,Q17) (c(Q12737077),P1001,Q17)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P1001
type Q19983480
action filter_type
action find_reverse
entity Q17
relation P1001
type Q12737077
[ANSWER]
[{'concept': 'Q19983480'}, 'P1001', 'Q17'] [{'concept': 'Q12737077'}, 'P1001', 'Q17']
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { ?b property:P1001 resource:Q17 . ?b rdf:type ontology:Q12737077 } UNION { ?b property:P1001 resource:Q17 . ?b rdf:type ontology:Q19983480 } }
Minister of Agriculture, Forestry and Fisheries Minister of Finance member of the House of Representatives of Japan Minister of Education, Culture, Sports, Science and Technology of Japan Minister of the Environment Minister of Justice Minister of Land, Infrastructure, Transport and Tourism Minister for Foreign Affairs Minister of Home Affairs Minister of Internal Affairs and Communications Minister of Defense of Japan Ministry of Posts and Telecommunications Deputy Prime Minister of Japan Minister of Health, Labour and Welfare Emperor of Japan Prime Minister of Japan member of the House of Peers member of the House of Councillors
18
action count
action union
action filter_type
action find_reverse
entity Japan
relation applies to jurisdiction
type Ministry of Communications
action filter_type
action find_reverse
entity Japan
relation applies to jurisdiction
type occupation
[{'concept': 'Ministry of Communications'}, 'applies to jurisdiction', 'Japan'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Japan']
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { ?b property:applies_to_jurisdiction resource:Japan . ?b rdf:type ontology:occupation } UNION { ?b property:applies_to_jurisdiction resource:Japan . ?b rdf:type ontology:Ministry_of_Communications } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2141710 Q1204015
P50 P58
Q502895
USER
Which people were the writers of Ōkami Kakushi or served as the screenwriter for Electronic Labyrinth: THX 1138 4EB ?
OR((Q1204015,P50,c(Q502895)), (Q2141710,P58,c(Q502895)))
action filter_type
action union
action find
entity Q1204015
relation P50
action find
entity Q2141710
relation P58
type Q502895
{'OR': [['Q1204015', 'P50', {'concept': 'Q502895'}], ['Q2141710', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . { { resource:Q2141710 property:P58 ?u } UNION { resource:Q1204015 property:P50 ?u } } }
Electronic Labyrinth: THX 1138 4EB Ōkami Kakushi
action filter_type
action union
action find
entity Ōkami Kakushi
relation author
action find
entity Electronic Labyrinth: THX 1138 4EB
relation screenwriter
type common name
{'OR': [['Ōkami Kakushi', 'author', {'concept': 'common name'}], ['Electronic Labyrinth: THX 1138 4EB', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . { { resource:Electronic_Labyrinth:_THX_1138_4EB property:screenwriter ?u } UNION { resource:Ōkami_Kakushi property:author ?u } } }
[]
common name
Q38222 Q22443109
SYSTEM
George Lucas, Touko Machida
Q38222 Q22443109
OR((Q1204015,P50,c(Q502895)), (Q2141710,P58,c(Q502895)))
action filter_type
action union
action find
entity Q1204015
relation P50
action find
entity Q2141710
relation P58
type Q502895
[ANSWERS] were the writers of Ōkami Kakushi or served as the screenwriter for Electronic Labyrinth: THX 1138 4EB
{'OR': [['Q1204015', 'P50', {'concept': 'Q502895'}], ['Q2141710', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . { { resource:Q2141710 property:P58 ?u } UNION { resource:Q1204015 property:P50 ?u } } }
George Lucas Touko Machida
George Lucas and Touko Machida were the writers of Ōkami Kakushi or served as the screenwriter for Electronic Labyrinth: THX 1138 4EB
George Lucas Touko Machida
action filter_type
action union
action find
entity Ōkami Kakushi
relation author
action find
entity Electronic Labyrinth: THX 1138 4EB
relation screenwriter
type common name
{'OR': [['Ōkami Kakushi', 'author', {'concept': 'common name'}], ['Electronic Labyrinth: THX 1138 4EB', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . { { resource:Electronic_Labyrinth:_THX_1138_4EB property:screenwriter ?u } UNION { resource:Ōkami_Kakushi property:author ?u } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q214565 Q22443109
P800
Q2342494
USER
Which collectables were done by Touko Machida or Beatrix Potter ?
OR((Q22443109,P800,c(Q2342494)), (Q214565,P800,c(Q2342494)))
action filter_type
action union
action find
entity Q22443109
relation P800
action find
entity Q214565
relation P800
type Q2342494
{'OR': [['Q22443109', 'P800', {'concept': 'Q2342494'}], ['Q214565', 'P800', {'concept': 'Q2342494'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q22443109 property:P800 ?v } UNION { resource:Q214565 property:P800 ?v } } . ?v rdf:type ontology:Q2342494 }
Beatrix Potter Touko Machida
action filter_type
action union
action find
entity Touko Machida
relation notable work
action find
entity Beatrix Potter
relation notable work
type collectable
{'OR': [['Touko Machida', 'notable work', {'concept': 'collectable'}], ['Beatrix Potter', 'notable work', {'concept': 'collectable'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Touko_Machida property:notable_work ?v } UNION { resource:Beatrix_Potter property:notable_work ?v } } . ?v rdf:type ontology:collectable }
[]
collectable
Q4272367 Q4272152 Q6625462 Q4263682 Q4386569 Q6622533 Q5390567 Q6621808 Q4781446 Q22674239
SYSTEM
Some of them are The Tale of Ginger and Pickles, The Tale of Squirrel Nutkin, The Tale of Mrs. Tiggy-Winkle, The Tale of Tom Kitten, The Tailor of Gloucester, The Tale of Pigling Bland, The Tale of Two Bad Mice, The Tale of Little Pig Robinson, Appley Dapply's Nursery Rhymes, The Tale of Kitty-in-Boots
Q6622533 Q6621583 Q6623073 Q6625640 Q1204015 Q5056525 Q2068209 Q3062161 Q4264077 Q4272115 Q4272137 Q4272152 Q5390567 Q580463 Q4263059 Q6624663 Q4781446 Q4386569 Q4272367 Q22674239 Q3079758 Q6622821 Q3275331 Q6621808 Q4263682 Q6625462 Q591892
OR((Q22443109,P800,c(Q2342494)), (Q214565,P800,c(Q2342494)))
action filter_type
action union
action find
entity Q22443109
relation P800
action find
entity Q214565
relation P800
type Q2342494
[ANSWERS] were done by Touko Machida or Beatrix Potter
{'OR': [['Q22443109', 'P800', {'concept': 'Q2342494'}], ['Q214565', 'P800', {'concept': 'Q2342494'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q22443109 property:P800 ?v } UNION { resource:Q214565 property:P800 ?v } } . ?v rdf:type ontology:Q2342494 }
The Tale of Pigling Bland The Tale of Johnny Town-Mouse The Tale of Timmy Tiptoes The Story of a Fierce Bad Rabbit Ōkami Kakushi Cecily Parsley's Nursery Rhymes The Tale of Samuel Whiskers or The Roly-Poly Pudding The Tale of The Flopsy Bunnies The Tale of the Pie and the Patty-Pan The Story of Miss Moppet The Tale of Mr. Jeremy Fisher The Tale of Squirrel Nutkin The Tale of Two Bad Mice The Tale of Peter Rabbit The Tale of Mr. Tod The Fairy Caravan Appley Dapply's Nursery Rhymes The Tailor of Gloucester The Tale of Ginger and Pickles The Tale of Kitty-in-Boots The Tale of Jemima Puddle-Duck The Sly Old Cat The Tale of Mrs. Tittlemouse The Tale of Little Pig Robinson The Tale of Tom Kitten The Tale of Mrs. Tiggy-Winkle The Tale of Benjamin Bunny
The Tale of Ginger and Pickles, The Tale of Squirrel Nutkin, The Tale of Mrs. Tiggy-Winkle, The Tale of Tom Kitten, The Tailor of Gloucester, The Tale of Pigling Bland, The Tale of Two Bad Mice, The Tale of Little Pig Robinson, Appley Dapply's Nursery Rhymes and The Tale of Kitty-in-Boots were done by Touko Machida or Beatrix Potter
The Tale of Ginger and Pickles The Tale of Squirrel Nutkin The Tale of Mrs. Tiggy-Winkle The Tale of Tom Kitten The Tailor of Gloucester The Tale of Pigling Bland The Tale of Two Bad Mice The Tale of Little Pig Robinson Appley Dapply's Nursery Rhymes The Tale of Kitty-in-Boots
action filter_type
action union
action find
entity Touko Machida
relation notable work
action find
entity Beatrix Potter
relation notable work
type collectable
{'OR': [['Touko Machida', 'notable work', {'concept': 'collectable'}], ['Beatrix Potter', 'notable work', {'concept': 'collectable'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Touko_Machida property:notable_work ?v } UNION { resource:Beatrix_Potter property:notable_work ?v } } . ?v rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1533375 Q27
P530 P27
Q1048835
USER
Which political territories have diplomatic relations with Ireland or are the countries of citizenship of Reinhard Mildner ?
OR((Q27,P530,c(Q1048835)), (Q1533375,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q27
relation P530
action find
entity Q1533375
relation P27
type Q1048835
{'OR': [['Q27', 'P530', {'concept': 'Q1048835'}], ['Q1533375', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1533375 property:P27 ?s } UNION { resource:Q27 property:P530 ?s } } . ?s rdf:type ontology:Q1048835 }
Reinhard Mildner Ireland
action filter_type
action union
action find
entity Ireland
relation diplomatic relation
action find
entity Reinhard Mildner
relation country of citizenship
type political territorial entity
{'OR': [['Ireland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Reinhard Mildner', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Reinhard_Mildner property:country_of_citizenship ?s } UNION { resource:Ireland property:diplomatic_relation ?s } } . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q16 Q183 Q40
SYSTEM
Australia, Canada, Germany, Austria
Q408 Q16 Q183 Q40
OR((Q27,P530,c(Q1048835)), (Q1533375,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q27
relation P530
action find
entity Q1533375
relation P27
type Q1048835
[ANSWERS] have diplomatic relations with Ireland or are the countries of citizenship of Reinhard Mildner
{'OR': [['Q27', 'P530', {'concept': 'Q1048835'}], ['Q1533375', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1533375 property:P27 ?s } UNION { resource:Q27 property:P530 ?s } } . ?s rdf:type ontology:Q1048835 }
Australia Canada Germany Austria
Australia, Canada, Germany and Austria have diplomatic relations with Ireland or are the countries of citizenship of Reinhard Mildner
Australia Canada Germany Austria
action filter_type
action union
action find
entity Ireland
relation diplomatic relation
action find
entity Reinhard Mildner
relation country of citizenship
type political territorial entity
{'OR': [['Ireland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Reinhard Mildner', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Reinhard_Mildner property:country_of_citizenship ?s } UNION { resource:Ireland property:diplomatic_relation ?s } } . ?s rdf:type ontology:political_territorial_entity }
[]