Simple Question (Direct)
Simple Question
Q1290035
P641
Q349
USER
What did Bence Somodi participate in ?
(Q1290035,P641,c(Q349))
action filter_type
action find
entity Q1290035
relation P641
type Q349
['Q1290035', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q1290035 property:P641 ?m . ?m rdf:type ontology:Q349 }
Bence Somodi
action filter_type
action find
entity Bence Somodi
relation sport
type sport
['Bence Somodi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Bence_Somodi property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1290035,P641,c(Q349))
action filter_type
action find
entity Q1290035
relation P641
type Q349
Bence Somodi participated in [ANSWER]
['Q1290035', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q1290035 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
Bence Somodi participated in association football
association football
action filter_type
action find
entity Bence Somodi
relation sport
type sport
['Bence Somodi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Bence_Somodi property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1290035
P106
Q12737077
USER
What is the job of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q1290035
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1290035 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Bence Somodi
action filter_type
action find
entity Bence Somodi
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Bence_Somodi property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q1290035
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1290035 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Bence Somodi
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Bence_Somodi property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q622630
P180
Q12737077 Q2342494 Q11060274
USER
How many occupations are depicted in approximately the same number of collectables or prints as odalisque ?
(c(Q2342494)|c(Q11060274),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q622630
relation P180
type Q2342494
type Q11060274
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?d WHERE { VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q11060274 ) } . ?z rdf:type ?v } GROUP BY ?d } . FILTER ( ?n = ?b ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P180 resource:Q622630 . { { ?k rdf:type ontology:Q2342494 } UNION { ?k rdf:type ontology:Q11060274 } } } } }
odalisque
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity odalisque
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?d WHERE { VALUES ( ?v ) { ( ontology:collectable ) ( ontology:print ) } . ?z rdf:type ?v } GROUP BY ?d } . FILTER ( ?n = ?b ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:depicts resource:odalisque . { { ?k rdf:type ontology:collectable } UNION { ?k rdf:type ontology:print } } } } }
[]
occupation collectable print
SYSTEM
215
Q19754019 Q11957145 Q1934482 Q19937286 Q177220 Q1569439 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 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 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 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q116 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q774306 Q2276446 Q207651 Q5716684 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q189290 Q331432 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(Q2342494)|c(Q11060274),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q622630
relation P180
type Q2342494
type Q11060274
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?d WHERE { VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q11060274 ) } . ?z rdf:type ?v } GROUP BY ?d } . FILTER ( ?n = ?b ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P180 resource:Q622630 . { { ?k rdf:type ontology:Q2342494 } UNION { ?k rdf:type ontology:Q11060274 } } } } }
fiddler acrobat milkmaid worker singer sheep shearer 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 warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason 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 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 monarch pastor equestrian courtier judge abbot matador goldsmith waterseller pretender 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 woodcutter lacemaker Snake charming carpenter officer fisherman 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
215
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity odalisque
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?d WHERE { VALUES ( ?v ) { ( ontology:collectable ) ( ontology:print ) } . ?z rdf:type ?v } GROUP BY ?d } . FILTER ( ?n = ?b ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:depicts resource:odalisque . { { ?k rdf:type ontology:collectable } UNION { ?k rdf:type ontology:print } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2412523
P180
Q12737077 Q2342494 Q11060274
USER
And how about matador?
(c(Q2342494)|c(Q11060274),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q2412523
relation P180
type Q2342494
type Q11060274
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?z WHERE { { ?h property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q2342494 } UNION { ?h rdf:type ontology:Q11060274 . ?z rdf:type ontology:Q12737077 . ?h property:P180 ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P180 resource:Q2412523 . { ?m rdf:type ?c . VALUES ( ?c ) { ( ontology:Q11060274 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?d = ?p ) }
matador
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity matador
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?z WHERE { { ?h property:depicts ?z . ?z rdf:type ontology:occupation . ?h rdf:type ontology:collectable } UNION { ?h rdf:type ontology:print . ?z rdf:type ontology:occupation . ?h property:depicts ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:depicts resource:matador . { ?m rdf:type ?c . VALUES ( ?c ) { ( ontology:print ) ( ontology:collectable ) } } } } . FILTER ( ?d = ?p ) }
[]
occupation collectable print
SYSTEM
215
Q19754019 Q11957145 Q1934482 Q19937286 Q177220 Q1569439 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 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 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 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q116 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q774306 Q2276446 Q207651 Q5716684 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q189290 Q331432 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(Q2342494)|c(Q11060274),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q2412523
relation P180
type Q2342494
type Q11060274
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?z WHERE { { ?h property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q2342494 } UNION { ?h rdf:type ontology:Q11060274 . ?z rdf:type ontology:Q12737077 . ?h property:P180 ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P180 resource:Q2412523 . { ?m rdf:type ?c . VALUES ( ?c ) { ( ontology:Q11060274 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?d = ?p ) }
fiddler acrobat milkmaid worker singer sheep shearer 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 warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason 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 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 monarch pastor equestrian courtier judge abbot matador goldsmith waterseller pretender 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 woodcutter lacemaker Snake charming carpenter officer fisherman 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
215
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity matador
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?z WHERE { { ?h property:depicts ?z . ?z rdf:type ontology:occupation . ?h rdf:type ontology:collectable } UNION { ?h rdf:type ontology:print . ?z rdf:type ontology:occupation . ?h property:depicts ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:depicts resource:matador . { ?m rdf:type ?c . VALUES ( ?c ) { ( ontology:print ) ( ontology:collectable ) } } } } . FILTER ( ?d = ?p ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q86427 Q1290035
P840 P19
Q515
USER
Which cities were Bence Somodi born or are the narrative locations of Breathless ?
OR((Q1290035,P19,c(Q515)), (Q86427,P840,c(Q515)))
action filter_type
action union
action find
entity Q1290035
relation P19
action find
entity Q86427
relation P840
type Q515
{'OR': [['Q1290035', 'P19', {'concept': 'Q515'}], ['Q86427', 'P840', {'concept': 'Q515'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q86427 property:P840 ?v } UNION { resource:Q1290035 property:P19 ?v } } . ?v rdf:type ontology:Q515 }
Breathless Bence Somodi
action filter_type
action union
action find
entity Bence Somodi
relation place of birth
action find
entity Breathless
relation narrative location
type city
{'OR': [['Bence Somodi', 'place of birth', {'concept': 'city'}], ['Breathless', 'narrative location', {'concept': 'city'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Breathless property:narrative_location ?v } UNION { resource:Bence_Somodi property:place_of_birth ?v } } . ?v rdf:type ontology:city }
[]
city
Q23482 Q167109
SYSTEM
Marseille, Eger
Q23482 Q167109
OR((Q1290035,P19,c(Q515)), (Q86427,P840,c(Q515)))
action filter_type
action union
action find
entity Q1290035
relation P19
action find
entity Q86427
relation P840
type Q515
Bence Somodi were born in [ANSWERS] or are the narrative locations of Breathless
{'OR': [['Q1290035', 'P19', {'concept': 'Q515'}], ['Q86427', 'P840', {'concept': 'Q515'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q86427 property:P840 ?v } UNION { resource:Q1290035 property:P19 ?v } } . ?v rdf:type ontology:Q515 }
Marseille Eger
Bence Somodi were born in Marseille and Eger or are the narrative locations of Breathless
Marseille Eger
action filter_type
action union
action find
entity Bence Somodi
relation place of birth
action find
entity Breathless
relation narrative location
type city
{'OR': [['Bence Somodi', 'place of birth', {'concept': 'city'}], ['Breathless', 'narrative location', {'concept': 'city'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Breathless property:narrative_location ?v } UNION { resource:Bence_Somodi property:place_of_birth ?v } } . ?v rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q18062093 Q937857
P425 P641
Q349
USER
Which sports are associated with the field of occupation association football player and were Matteo Blomqvist-Zampi a part of ?
AND((Q937857,P425,c(Q349)), (Q18062093,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q18062093
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q18062093', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?t WHERE { resource:Q937857 property:P425 ?t . resource:Q18062093 property:P641 ?t . ?t rdf:type ontology:Q349 }
Matteo Blomqvist-Zampi association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Matteo Blomqvist-Zampi
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Matteo Blomqvist-Zampi', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?t WHERE { resource:association_football_player property:field_of_this_occupation ?t . resource:Matteo_Blomqvist-Zampi property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q18062093,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q18062093
relation P641
type Q349
Player [ANSWER] is associated with the field of occupation [ANSWER] player and were Matteo Blomqvist-Zampi a part of
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q18062093', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?t WHERE { resource:Q937857 property:P425 ?t . resource:Q18062093 property:P641 ?t . ?t rdf:type ontology:Q349 }
association football
Player association football is associated with the field of occupation association football player and were Matteo Blomqvist-Zampi a part of
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Matteo Blomqvist-Zampi
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Matteo Blomqvist-Zampi', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?t WHERE { resource:association_football_player property:field_of_this_occupation ?t . resource:Matteo_Blomqvist-Zampi property:sport ?t . ?t rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2833
P190
Q486972 Q515 Q515
USER
How many cities are a sister city of lesser number of human settlements and cities than Freiburg im Breisgau ?
(c(Q515),P190,c(Q486972)|c(Q515))
action count
action less
action union
action find_tuple_counts
relation P190
type Q515
type Q486972
action find_tuple_counts
relation P190
type Q515
type Q515
action count
action filter_multi_types
action find
entity Q2833
relation P190
type Q486972
type Q515
[{'concept': 'Q515'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?n ) WHERE { VALUES ( ?j ) { ( ontology:Q486972 ) ( ontology:Q515 ) } . ?p rdf:type ?j } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } . resource:Q2833 property:P190 ?c } } . FILTER ( ?n < ?z ) }
Freiburg im Breisgau
action count
action less
action union
action find_tuple_counts
relation sister city
type city
type human settlement
action find_tuple_counts
relation sister city
type city
type city
action count
action filter_multi_types
action find
entity Freiburg im Breisgau
relation sister city
type human settlement
type city
[{'concept': 'city'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?n ) WHERE { VALUES ( ?j ) { ( ontology:human_settlement ) ( ontology:city ) } . ?p rdf:type ?j } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:city ) ( ontology:human_settlement ) } } . resource:Freiburg_im_Breisgau property:sister_city ?c } } . FILTER ( ?n < ?z ) }
[]
human settlement city city
SYSTEM
556
Q386691 Q384403 Q373542 Q39738 Q823988 Q843001 Q1017045 Q843006 Q847602 Q847607 Q222242 Q1000086 Q197379 Q34412 Q849434 Q703158 Q205914 Q259498 Q83786 Q944051 Q696925 Q1000060 Q278877 Q533157 Q217432 Q827041 Q2936 Q850969 Q819639 Q385375 Q304848 Q270814 Q57921 Q10395 Q10397 Q664895 Q858008 Q496667 Q1000467 Q281371 Q837960 Q42651 Q612815 Q58273 Q1088716 Q1407742 Q1015011 Q695892 Q191120 Q385982 Q766168 Q837173 Q383850 Q58650 Q214938 Q770187 Q392692 Q830394 Q850344 Q734416 Q679428 Q985465 Q1009003 Q217646 Q846335 Q14499 Q789256 Q416669 Q7473516 Q946743 Q1321460 Q1001647 Q638312 Q502196 Q360069 Q1009095 Q377834 Q8247 Q295367 Q283023 Q166255 Q917888 Q59100 Q430864 Q1645575 Q349983 Q1010131 Q57818 Q349982 Q548097 Q783255 Q166282 Q246723 Q198240 Q773312 Q696388 Q363166 Q193719 Q1000029 Q1623 Q147738 Q835227 Q373023 Q1629 Q1008750 Q74957 Q404529 Q954569 Q158423 Q851001 Q127026 Q912224 Q849439 Q851419 Q1008686 Q714636 Q740800 Q5690 Q505208 Q852018 Q1000336 Q937008 Q605256 Q841603 Q1018795 Q1236048 Q860674 Q181276 Q3692 Q756593 Q368429 Q8131 Q192271 Q854956 Q235004 Q933641 Q1018700 Q325736 Q92297 Q375651 Q69060 Q71227 Q1632616 Q1019339 Q68534 Q132997 Q3104 Q120103 Q389515 Q394453 Q278017 Q216077 Q646847 Q68695 Q330409 Q221283 Q207408 Q155975 Q57997 Q913754 Q569639 Q958157 Q602976 Q793405 Q59144 Q386677 Q1818241 Q630358 Q583910 Q1482 Q34217 Q144988 Q154540 Q1467 Q855073 Q753731 Q623549 Q2865 Q379160 Q526335 Q737830 Q200500 Q496072 Q755691 Q854906 Q12245 Q427367 Q107401 Q1019335 Q16959 Q317827 Q1844 Q837154 Q650015 Q819629 Q1015409 Q1013843 Q385461 Q291745 Q755698 Q324293 Q986070 Q946893 Q75150 Q8854 Q838669 Q736276 Q858369 Q847577 Q235 Q15379 Q1019970 Q593157 Q1725 Q79535 Q683165 Q1723 Q167109 Q6582 Q851021 Q478038 Q911610 Q386026 Q846345 Q1025213 Q517407 Q126995 Q23661 Q817141 Q753864 Q570884 Q325164 Q373101 Q158435 Q1008595 Q740810 Q498545 Q502988 Q193724 Q734532 Q820760 Q842971 Q1475 Q3933 Q622594 Q978446 Q843028 Q341056 Q1017261 Q1000033 Q2100 Q589880 Q596486 Q851037 Q1410 Q71108 Q749283 Q57931 Q426130 Q651742 Q1852528 Q674311 Q242108 Q207881 Q178382 Q937688 Q453502 Q31238 Q1017769 Q1676870 Q860669 Q151958 Q487439 Q665097 Q162880 Q174461 Q68614 Q496681 Q3806 Q653402 Q854949 Q75203 Q404362 Q57756 Q320939 Q239597 Q158432 Q851007 Q335427 Q327764 Q1471150 Q495821 Q2337 Q633789 Q495802 Q1019844 Q373813 Q495809 Q104036 Q368929 Q693237 Q250733 Q592497 Q221214 Q722732 Q488869 Q71284 Q740853 Q840595 Q877266 Q840591 Q632146 Q207876 Q384926 Q842976 Q647508 Q1676863 Q941061 Q349976 Q279642 Q756581 Q373564 Q203929 Q273880 Q855060 Q643929 Q1473 Q841129 Q843021 Q14821 Q1020874 Q338616 Q954596 Q954611 Q57970 Q6343 Q6829 Q851042 Q1575979 Q850395 Q92324 Q854977 Q325555 Q819613 Q941032 Q890122 Q854987 Q394108 Q541550 Q855011 Q1258284 Q497341 Q4007 Q1013914 Q7070 Q655417 Q930396 Q271000 Q335506 Q55597 Q374511 Q4174 Q317844 Q200077 Q47916 Q846338 Q667208 Q191097 Q57885 Q29003 Q853623 Q946769 Q3126 Q1729076 Q360374 Q1430746 Q523489 Q499493 Q372791 Q237683 Q369628 Q1019360 Q1394252 Q750587 Q523469 Q1013850 Q692745 Q158420 Q999916 Q211243 Q210661 Q532560 Q210667 Q58178 Q158257 Q750573 Q736897 Q496080 Q656603 Q987487 Q217698 Q118213 Q629471 Q187861 Q207311 Q695911 Q695917 Q1641829 Q271917 Q57936 Q83247 Q3904 Q790370 Q572231 Q7033 Q57906 Q44244 Q855052 Q75026 Q3826 Q2907 Q492366 Q591823 Q1789604 Q349973 Q3768 Q732300 Q265555 Q470369 Q1863 Q1865 Q2209 Q532981 Q2203 Q359990 Q851114 Q108037 Q180470 Q210365 Q696407 Q430207 Q387211 Q17176 Q517783 Q571918 Q360235 Q1355 Q498060 Q3167 Q183584 Q3859 Q5869 Q144663 Q508591 Q570427 Q59227 Q789282 Q502993 Q75091 Q427769 Q634022 Q837170 Q789261 Q189823 Q496837 Q226000 Q3075 Q845857 Q851492 Q911634 Q494627 Q59223 Q187821 Q502205 Q230843 Q319729 Q460812 Q57944 Q986082 Q57947 Q1761 Q349985 Q236197 Q386250 Q750224 Q653446 Q329790 Q804395 Q329797 Q2706 Q2061 Q184998 Q890949 Q1017247 Q386988 Q269634 Q489147 Q601254 Q161060 Q158523 Q629849 Q843043 Q990988 Q20073 Q36063 Q924085 Q3931 Q248959 Q3751 Q3200 Q42666 Q844852 Q518360 Q742160 Q171943 Q651322 Q17189 Q819672 Q847557 Q518203 Q523956 Q4060 Q652710 Q646766 Q71339 Q1013909 Q57948 Q950352 Q933374 Q649214 Q58422 Q40626 Q187812 Q582209 Q877935 Q209983 Q2427155 Q696783 Q1756960 Q936145 Q842929 Q30340 Q842925 Q92277 Q225100 Q303478 Q304803 Q217681 Q263837 Q721163 Q275904 Q284480 Q496431 Q1641781 Q213296 Q1737652
(c(Q515),P190,c(Q486972)|c(Q515))
action count
action less
action union
action find_tuple_counts
relation P190
type Q515
type Q486972
action find_tuple_counts
relation P190
type Q515
type Q515
action count
action filter_multi_types
action find
entity Q2833
relation P190
type Q486972
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?n ) WHERE { VALUES ( ?j ) { ( ontology:Q486972 ) ( ontology:Q515 ) } . ?p rdf:type ?j } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } . resource:Q2833 property:P190 ?c } } . FILTER ( ?n < ?z ) }
Niiza City Litoměřice Szigetvár Laoag Kakegawa Csorna Protivín Nagykálló Nishinoomote Sanda Kisköre Nový Bor Zhangjiajie Foshan Fuefuki Velké Meziříčí Lijiang Rafaela Shimla Horní Jiřetín Iruma Humpolec Český Těšín Tianshui Port Harcourt Beroun Oldenburg Victoria Gero Ōmachi Daqing Ishinomaki Lößnitz Cirebon Sukabumi Uherský Brod Murayama Muroran Hostinné Jászberény Năvodari Wuxi Garachico Taizhou Lőrinci Horní Bříza Milevsko Nanao Jēkabpils Herend Nagykáta Cisnădie Litovel Zhangjiakou Gyula Kaminoyama Šumperk Nagykőrös Sakado Tsuruoka Tălmaciu Rakovník Staré Město Mudanjiang Kahoku Samarinda Balatonalmádi Yiyang Tokyo Skalná Králíky Budyně nad Ohří Toride Tenri Bengbu Otrokovice Szentes Biratnagar Nagyatád Maglód Horšovský Týn Vinaròs Shantou Nymburk Kostelec nad Orlicí Heihe Frýdlant nad Ostravicí Huai'an Hegang Visegrád Kapuvár Alghero Záhony Zhumadian Třeboň Toyooka Ganzhou Cheb Kraslice Valenzuela Saint Helier Ineu Weihai Zamboanga City Stříbro Anshan Xuchang Vyškov Buštěhrad Măcin Sakurai Techirghiol Kopřivnice Turnov Ivančice Miyakojima Paks Sparta Ouarzazate Izumisano Tandil Tótkomlós Shimada Tiszakécske Bzenec Dolní Benešov Tosu Szolnok Riyadh Târgu Neamț Felsőzsolca Palembang Guiyang Ibrány Vigan Martonvásár Bystřice nad Pernštejnem Ciacova Siping Valašské Meziříčí Xining Shiyan Počátky Město Albrechtice Nanping Florianópolis Koblenz Kaga Kariya Žďár nad Sázavou Tiszavasvári Jiujiang Sodegaura Quanzhou Ústí nad Orlicí Cape Coast Vác Kutná Hora Wolkenstein Zalalövő Lahnstein Sezimovo Ústí Klatovy Berettyóújfalu Zhanjiang Kusatsu, Shiga Rousínov Sedlčany Aš Cavite City Oxford Zalakaros Sásd Cebu City Solt Masuda Puerto de la Cruz Kassel Kunszentmárton Keszthely Mizil Takehara Fujinomiya Budaörs Gyömrő Stanley Guang'an Sivas Jílové u Prahy Ürümqi Hanamaki Vaduz Simeria Pannonhalma Toba Bílovec Dačice Ōmihachiman Ílhavo Svitavy Anyang Chrudim Teiuș Yingkou Las Piñas Yamatotakada Cernavodă Tōkamachi Susono Monaco Kendari Březnice Murfatlar Lipa Fort Smith Poděbrady Batangas City Eger Carcassonne Pâncota Kiskunfélegyháza Lengyeltóti Orlová Suzu Rosice Sondershausen Weinan Wellington Benešov nad Ploučnicí Kurobe Tongliao Kayes Rizhao Vrbno pod Pradědem Vrchlabí Békés Meldorf Takaoka Slavkov u Brna Fukaya Mihara Sellye Quezon City Celle Takayama Trmice Oroszlány Česká Třebová Rotava Lanškroun Duisburg Pucioasa Fujioka Comarnic Gibraltar Frauenstein San Juan Taizhou Mianyang Minamiashigara City Třebechovice pod Orebem Kisvárda Otaru Ichihara Jūrmala Strmilov Amami Miki Mnichovo Hradiště Jablonné nad Orlicí Nichinan Yueyang Oral Minoh Dezhou Ranchi Sanming Ebetsu Tübingen Shimoda Nyergesújfalu Liaoyang Xinxiang Lianyungang Mělník Neratovice Stochov Deta Kisarazu Prachatice Fryšták Saku Smolensk Dombóvár Hekinan Přimda Albufeira Fujimi Ventspils Jindřichův Hradec Chitose Wa Vălenii de Munte Cugir Litomyšl Benalmádena Xiangyang Szigetszentmiklós Kamisu Tainai Miyoshi Enying Yamaguchi Ōgaki Mátészalka Fujiyoshida Jablonec nad Jizerou Bystřice pod Hostýnem Yichun Myōkō Františkovy Lázně Liaocheng Zimnicea Beppu Encs Shūnan Davao City Iida Tolna Coburg Přeštice Čelákovice Havlíčkův Brod Jeseník Changzhou Carthage Speyer Hârlău Vratimov Gōtsu Tonghua Kerekegyháza Recaș Uozu Kozármisleny Bolhrad Soltvadkert Žirovnice Tiszaföldvár Heves Raspenava Xianyang Rosenheim Polička Eisenach Kenderes Nagakute Bouaké Salto Muñoz Oyama Emden Nishio Morioka Lucknow Suwa Fertőd Tachov Elterlein Jiamusi Bátaszék Mórahalom Erlangen Kardašova Řečice Anqing Košťany Terezín Seto Jining Ōme Sumoto Dobřany Kosmonosy Shirakawa Mariánské Lázně Rýmařov Monbetsu Červený Kostelec Vysoké Mýto Yinchuan Musashino Jiayuguan City Chōfu Jiaxing Hlučín Maizuru Hatsukaichi Kadoma Jičín Ostrov Weifang Yamatokōriyama Kiskunmajsa Wollongong Suzuka Kuji Kitakami Jiříkov Kushiro Scheibenberg Braga Mbabane Barcs Chongzuo Nordhausen Yangzhou Santa Fe Mezőtúr Fushun Muscat Sucre Norden Náchod Krnov Shuangyashan Yamoussoukro Gyomaendrőd Kitami Kolín Andorra la Vella Kuala Lumpur Roxas Baiyin Arica Wuhu Yasugi Valmiera Huangshan City Beihai Hakusan Komló Kamogawa Muntinlupa Pinamar Yulin Ma'anshan Bangalore Mooka Siegen Lanzhou Kigali Lhasa Hengyang Police nad Metují Obernkirchen Chaozhou Balatonföldvár Uherské Hradiště Benxi Kisbér Kiryū Gura Humorului Balatonboglár Haikou Lincang Jimbolia Fürth Uwajima Shibukawa Kisújszállás Ruhla Zhongshan Tatabánya Nemuro Zushi Urayasu Naruto Annaberg-Buchholz Litvínov Nantong Dublin Suihua Hino City Ōtake Strakonice Tsuchiura Kamaishi Blatná Iwakuni Bremerhaven Yellowknife Kaposvár Bohumín Podbořany Říčany Tachikawa City Schmalkalden Dubí Přibyslav Ehingen Hatvan Sárvár Broumov Hohenstein-Ernstthal Vecsés Horní Slavkov Brandenburg an der Havel Zărnești Praia Salzgitter Shaoxing Ueda Bílina Shijōnawate Nanchang Năsăud Pasay Kumano Nagai Iwanuma Auerbach in der Oberpfalz Hürth Letovice Tōno Xiaogan Slaný Aue Brtnice Nagybajom Csongrád Tangshan Tacloban Dunaújváros Tokaj Unnan Gyöngyös Náměšť nad Oslavou Yaizu Poběžovice Loket Nepomuk Zhengzhou Edelény Jilin City Bicaz Kravaře Mezőcsát Tai'an Ozamiz Itō Flămânzi Bóly Sakaiminato Vítkov Sinaia Kdyně
556
action count
action less
action union
action find_tuple_counts
relation sister city
type city
type human settlement
action find_tuple_counts
relation sister city
type city
type city
action count
action filter_multi_types
action find
entity Freiburg im Breisgau
relation sister city
type human settlement
type city
[{'concept': 'city'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?n ) WHERE { VALUES ( ?j ) { ( ontology:human_settlement ) ( ontology:city ) } . ?p rdf:type ?j } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:city ) ( ontology:human_settlement ) } } . resource:Freiburg_im_Breisgau property:sister_city ?c } } . FILTER ( ?n < ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q180379
P190
Q486972 Q515 Q515
USER
And how about Rēzekne?
(c(Q515),P190,c(Q486972)|c(Q515))
action count
action less
action union
action find_tuple_counts
relation P190
type Q515
type Q486972
action find_tuple_counts
relation P190
type Q515
type Q515
action count
action filter_multi_types
action find
entity Q180379
relation P190
type Q486972
type Q515
[{'concept': 'Q515'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?y ) WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Q180379 property:P190 ?t . { { ?t rdf:type ontology:Q486972 } UNION { ?t rdf:type ontology:Q515 } } } } . FILTER ( ?y < ?c ) }
Rēzekne
action count
action less
action union
action find_tuple_counts
relation sister city
type city
type human settlement
action find_tuple_counts
relation sister city
type city
type city
action count
action filter_multi_types
action find
entity Rēzekne
relation sister city
type human settlement
type city
[{'concept': 'city'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?y ) WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Rēzekne property:sister_city ?t . { { ?t rdf:type ontology:human_settlement } UNION { ?t rdf:type ontology:city } } } } . FILTER ( ?y < ?c ) }
[]
human settlement city city
SYSTEM
821
Q41283 Q386691 Q384403 Q373542 Q1021103 Q39738 Q10127 Q823988 Q843001 Q1017045 Q843006 Q847602 Q830404 Q847607 Q235746 Q222242 Q841296 Q7253 Q1000086 Q3974 Q362865 Q197379 Q34412 Q849434 Q703158 Q72877 Q205914 Q259498 Q83786 Q854913 Q944051 Q696925 Q1000060 Q460835 Q278877 Q533157 Q217432 Q827041 Q2936 Q850969 Q819639 Q385375 Q4024 Q304848 Q270814 Q57921 Q25282 Q10395 Q10397 Q664895 Q858008 Q496667 Q1000467 Q27860 Q854996 Q281371 Q58401 Q837960 Q42651 Q209785 Q360326 Q612815 Q320950 Q58273 Q1088716 Q1407742 Q1015011 Q695892 Q191120 Q385982 Q766168 Q837173 Q383850 Q58650 Q214938 Q755686 Q770187 Q392692 Q823874 Q830394 Q850344 Q205607 Q320943 Q734416 Q193050 Q679428 Q985465 Q1009003 Q217646 Q846335 Q14499 Q789256 Q416669 Q7473516 Q71266 Q15720 Q946743 Q1321460 Q1001647 Q638312 Q502196 Q360069 Q602042 Q843039 Q5779 Q1009095 Q377834 Q8247 Q295367 Q283023 Q425996 Q166255 Q57953 Q917888 Q174091 Q59100 Q430864 Q1645575 Q501891 Q349983 Q1010131 Q57818 Q349982 Q653372 Q653478 Q911517 Q38968 Q548097 Q783255 Q166282 Q59205 Q842961 Q41278 Q843035 Q246723 Q75978 Q198240 Q773312 Q696388 Q363166 Q193719 Q935846 Q1000029 Q1623 Q147738 Q835227 Q373023 Q1629 Q1008750 Q43196 Q74957 Q404529 Q954569 Q158423 Q851001 Q127026 Q912224 Q849439 Q210493 Q851419 Q1008686 Q834567 Q714636 Q740800 Q3214 Q5690 Q505208 Q852018 Q1000336 Q937008 Q605256 Q841603 Q1018795 Q1236048 Q860674 Q5838 Q181276 Q819664 Q220445 Q3692 Q847546 Q756593 Q368429 Q8131 Q857202 Q192271 Q854956 Q235004 Q933641 Q1018700 Q325736 Q92297 Q375651 Q69060 Q71227 Q1632616 Q1019339 Q68534 Q132997 Q3104 Q120103 Q389515 Q394453 Q278017 Q216077 Q646847 Q68695 Q330409 Q221283 Q461020 Q207408 Q155975 Q57997 Q57996 Q913754 Q569639 Q958157 Q507846 Q602976 Q793405 Q503411 Q59144 Q386677 Q12062 Q1818241 Q630358 Q178878 Q583910 Q203027 Q1482 Q34217 Q625154 Q179608 Q144988 Q154540 Q1467 Q855073 Q817965 Q843018 Q753731 Q1010144 Q623549 Q2865 Q379160 Q607625 Q526335 Q737830 Q5540 Q200500 Q496072 Q645014 Q10393 Q755691 Q854906 Q12245 Q427367 Q107401 Q791458 Q1019335 Q423371 Q16959 Q386635 Q317827 Q1844 Q837154 Q10389 Q650015 Q819629 Q1015409 Q1013843 Q385461 Q291745 Q755698 Q583620 Q1008983 Q324293 Q986070 Q946893 Q75150 Q515573 Q8854 Q1362 Q319804 Q838669 Q736276 Q182378 Q858369 Q847577 Q235 Q117604 Q15379 Q588606 Q104587 Q1019970 Q593157 Q1725 Q404873 Q79535 Q683165 Q1723 Q288413 Q167668 Q270704 Q167109 Q6582 Q851021 Q478038 Q911610 Q459787 Q386026 Q846345 Q149097 Q4346 Q393426 Q316841 Q6602 Q898468 Q1025213 Q276132 Q58560 Q517407 Q126995 Q23661 Q817141 Q753864 Q3866 Q570884 Q325164 Q373101 Q158435 Q1008595 Q740810 Q498545 Q193721 Q502988 Q193724 Q734532 Q911667 Q820760 Q987496 Q7568 Q842971 Q1475 Q3933 Q622594 Q978446 Q329775 Q784229 Q657642 Q843028 Q341056 Q755681 Q1017261 Q1000033 Q2100 Q76001 Q589880 Q3599 Q596486 Q851037 Q56759 Q1410 Q71108 Q749283 Q642006 Q26837 Q57931 Q3857 Q426130 Q7786 Q651742 Q606212 Q1852528 Q674311 Q242108 Q207881 Q178382 Q937688 Q453502 Q75110 Q58324 Q31238 Q1017769 Q1676870 Q860669 Q42664 Q58570 Q151958 Q1711 Q487439 Q665097 Q162880 Q174461 Q68614 Q1017806 Q857234 Q17182 Q496681 Q854940 Q3806 Q653402 Q514796 Q854949 Q416544 Q633983 Q604516 Q75203 Q404362 Q57756 Q320939 Q239597 Q158432 Q851007 Q335427 Q177149 Q327764 Q1471150 Q495821 Q208471 Q2337 Q633789 Q495802 Q1019844 Q373813 Q495809 Q3185 Q104036 Q368929 Q693237 Q250733 Q592497 Q781435 Q221214 Q722732 Q3004 Q740915 Q488869 Q71284 Q740853 Q840595 Q877266 Q840591 Q632146 Q645567 Q207876 Q384926 Q842976 Q2978 Q647508 Q1676863 Q188082 Q1889017 Q941061 Q34261 Q198266 Q349976 Q279642 Q756581 Q373564 Q203929 Q273880 Q855060 Q643929 Q1473 Q841129 Q842996 Q3852 Q679249 Q843021 Q14821 Q1020874 Q338616 Q954596 Q954611 Q57970 Q3955 Q6343 Q875070 Q668318 Q189633 Q933480 Q6829 Q260522 Q851042 Q844130 Q1575979 Q752838 Q426237 Q850395 Q42007 Q92324 Q854977 Q1858 Q325555 Q496499 Q819613 Q941032 Q1854 Q890122 Q854987 Q394108 Q541550 Q855011 Q1258284 Q497341 Q513417 Q4007 Q1013914 Q2096 Q14169 Q7070 Q655417 Q642031 Q930396 Q271000 Q58210 Q182852 Q111739 Q214942 Q16506 Q549427 Q335506 Q694370 Q55597 Q374511 Q4174 Q847565 Q245126 Q377929 Q386651 Q317844 Q1822 Q200077 Q47916 Q846338 Q389495 Q667208 Q191097 Q75336 Q57885 Q385623 Q29003 Q853623 Q946769 Q3126 Q846351 Q739304 Q789233 Q1729076 Q360374 Q157835 Q75230 Q3046 Q1430746 Q594275 Q523489 Q499493 Q372791 Q237683 Q463171 Q246634 Q369628 Q851048 Q857293 Q1019360 Q5753 Q1394252 Q750587 Q523469 Q1013850 Q692745 Q158420 Q999916 Q211243 Q210661 Q532560 Q210667 Q911674 Q58178 Q158257 Q750573 Q736897 Q185684 Q496080 Q656603 Q987487 Q217698 Q118213 Q629471 Q187861 Q207311 Q695911 Q695917 Q7027 Q376233 Q1641829 Q206872 Q271917 Q57936 Q719 Q1720 Q83247 Q851029 Q1645 Q3904 Q790370 Q572231 Q7033 Q57906 Q44244 Q855052 Q215755 Q547479 Q75026 Q509923 Q3826 Q773203 Q2907 Q149108 Q492366 Q591823 Q149105 Q63855 Q1789604 Q349973 Q3768 Q732300 Q789510 Q265555 Q470369 Q1863 Q1865 Q2209 Q727143 Q146363 Q532981 Q863739 Q2203 Q359990 Q851114 Q108037 Q180470 Q210365 Q696407 Q430207 Q756273 Q387211 Q17176 Q633996 Q188247 Q517783 Q571918 Q72778 Q360235 Q1355 Q498060 Q3167 Q183584 Q3859 Q187136 Q5869 Q144663 Q508591 Q570427 Q59227 Q75379 Q789282 Q502993 Q637913 Q75091 Q728438 Q427769 Q634022 Q837170 Q789261 Q189823 Q496837 Q855086 Q55740 Q226000 Q3075 Q845857 Q825166 Q851492 Q911634 Q320798 Q494627 Q57941 Q855082 Q59223 Q187821 Q502205 Q530634 Q230843 Q71151 Q319729 Q4175 Q71159 Q460812 Q57944 Q986082 Q189761 Q57947 Q390156 Q189769 Q1761 Q349985 Q2795 Q236197 Q386250 Q750224 Q378225 Q653446 Q329790 Q804395 Q263757 Q329797 Q2706 Q2061 Q207222 Q653364 Q184998 Q5217 Q890949 Q1017247 Q386988 Q854965 Q269634 Q489147 Q755701 Q601254 Q161060 Q604385 Q158523 Q843031 Q629849 Q843043 Q2833 Q990988 Q20073 Q36063 Q924085 Q3931 Q146033 Q726993 Q248959 Q3751 Q3750 Q3200 Q42666 Q3612 Q844852 Q518360 Q742160 Q158272 Q933638 Q171943 Q651322 Q17189 Q386661 Q819672 Q847557 Q166183 Q158245 Q25475 Q518203 Q523956 Q18575 Q680743 Q4060 Q652710 Q646766 Q71339 Q1013909 Q57948 Q950352 Q1530 Q680963 Q66485 Q933374 Q649214 Q58422 Q40626 Q187812 Q582209 Q877935 Q3994 Q954808 Q209983 Q432055 Q240891 Q320964 Q23768 Q58584 Q2427155 Q696783 Q1756960 Q936145 Q842929 Q30340 Q842925 Q92277 Q302526 Q392429 Q1019371 Q243293 Q225100 Q59132 Q303478 Q304803 Q217681 Q263837 Q721163 Q275904 Q284480 Q496431 Q1641781 Q104125 Q247387 Q213296 Q1737652
(c(Q515),P190,c(Q486972)|c(Q515))
action count
action less
action union
action find_tuple_counts
relation P190
type Q515
type Q486972
action find_tuple_counts
relation P190
type Q515
type Q515
action count
action filter_multi_types
action find
entity Q180379
relation P190
type Q486972
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?y ) WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Q180379 property:P190 ?t . { { ?t rdf:type ontology:Q486972 } UNION { ?t rdf:type ontology:Q515 } } } } . FILTER ( ?y < ?c ) }
Gwangju Niiza City Litoměřice Szigetvár Meziboří Laoag Tangerang Kakegawa Csorna Protivín Nagykálló Nishinoomote Hajdúszoboszló Sanda Kesennuma Kisköre Příbram Padang Nový Bor Landshut Pingxiang Zhangjiajie Foshan Fuefuki Velké Meziříčí Datong Lijiang Rafaela Shimla Szikszó Horní Jiřetín Iruma Humpolec Marugame Český Těšín Tianshui Port Harcourt Beroun Oldenburg Victoria Gero Ōmachi Frankfurt (Oder) Daqing Ishinomaki Lößnitz Danang Cirebon Sukabumi Uherský Brod Murayama Muroran Hostinné Jayapura Szerencs Jászberény Shijiazhuang Năvodari Wuxi Ichikawa Tongling Garachico Trutnov Taizhou Lőrinci Horní Bříza Milevsko Nanao Jēkabpils Herend Nagykáta Cisnădie Litovel Zhangjiakou Gyula Nyírbátor Kaminoyama Šumperk Toda Nagykőrös Sakado Zirc Matsudo Tsuruoka Érd Tălmaciu Rakovník Staré Město Mudanjiang Kahoku Samarinda Balatonalmádi Yiyang Tokyo Yichang Satsumasendai Skalná Králíky Budyně nad Ohří Toride Tenri Bengbu Baktalórántháza Veresegyház Banda Aceh Otrokovice Szentes Biratnagar Nagyatád Maglód Deyang Horšovský Týn Schwarzenberg Vinaròs Changsha Shantou Nymburk Kostelec nad Orlicí Tahara Heihe Frýdlant nad Ostravicí Huai'an Hegang Higashihiroshima Mishima Létavértes Liuzhou Visegrád Kapuvár Alghero Heyuan Mezőberény Ulsan Celldömölk Záhony Calamba Zhumadian Třeboň Toyooka Ganzhou Cheb Vlăhița Kraslice Valenzuela Saint Helier Ineu Weihai Zamboanga City Stříbro Cincinnati Anshan Xuchang Vyškov Buštěhrad Măcin Sakurai Techirghiol Kopřivnice Yantai Turnov Ivančice Bonyhád Miyakojima Paks Cottbus Sparta Ouarzazate Izumisano Tandil Tótkomlós Shimada Tiszakécske Bzenec Dolní Benešov Tosu Kabul Szolnok Sukagawa Kuching Riyadh Saiki Târgu Neamț Felsőzsolca Palembang Sanuki Guiyang Ibrány Vigan Martonvásár Bystřice nad Pernštejnem Ciacova Siping Valašské Meziříčí Xining Shiyan Počátky Město Albrechtice Nanping Florianópolis Koblenz Kaga Kariya Žďár nad Sázavou Tiszavasvári Jiujiang Sodegaura Quanzhou Ústí nad Orlicí Cape Coast Imabari Vác Kutná Hora Wolkenstein Thum Zalalövő Lahnstein Sezimovo Ústí Sebiș Klatovy Berettyóújfalu Inuyama Zhanjiang Kusatsu, Shiga Torgau Rousínov Sedlčany Békéscsaba Aš Tsu Cavite City Oxford Komárom Nanning Zalakaros Sásd Cebu City Solt Ikeda Kunszentmiklós Masuda Hluboká nad Vltavou Puerto de la Cruz Kassel Kunszentmárton Tamási Keszthely Mizil Penza Takehara Fujinomiya Túrkeve Bogor Budaörs Gyömrő Stanley Guang'an Sivas Battonya Jílové u Prahy Ștei Ürümqi Hikone Hanamaki Vaduz Simeria Bandung Pannonhalma Toba Bílovec Dačice Ōmihachiman Ílhavo Svitavy Dévaványa Vodňany Anyang Chrudim Teiuș Yingkou Hanzhong Las Piñas Islamabad Sanya Yamatotakada Cernavodă Putrajaya Tōkamachi Susono Monaco Nago Kendari Fonyód Kyjov Březnice Murfatlar Lipa Xinyang Fort Smith Poděbrady Batangas City Tapolca Liepāja Třebíč Eger Carcassonne Pâncota Kiskunfélegyháza Lengyeltóti Iloilo City Orlová Suzu Jirkov Waren (Müritz) Žatec Karlovo Strasbourg Brandýs nad Labem-Stará Boleslav Rosice Pecica Qinhuangdao Sondershausen Weinan Wellington Benešov nad Ploučnicí Kurobe Dodoma Tongliao Kayes Rizhao Vrbno pod Pradědem Vrchlabí Békés Meldorf Tábor Takaoka Slavkov u Brna Fukaya Elek Mihara Kralupy nad Vltavou Yogyakarta Sellye Quezon City Celle Takayama Trmice Kiskunhalas Szigethalom Villány Oroszlány Česká Třebová Várpalota Rotava Lanškroun Duisburg San Pablo Pucioasa Bicske Fujioka Comarnic Olongapo Gibraltar Frauenstein San Juan Kurayoshi Sorong Taizhou Wilhelmshaven Mianyang Pekanbaru Minamiashigara City Fremantle Třebechovice pod Orebem Kisvárda Otaru Ichihara Jūrmala Strmilov Amami Dandong Zhoushan Miki Mnichovo Hradiště Jablonné nad Orlicí Nichinan Huzhou Handan Yueyang Potsdam Oral Minoh Dezhou Ranchi Sanming Nové Sedlo Shōbara Parañaque Ebetsu Dabas Tübingen Shimoda Baoji Nyergesújfalu Changde Kashiwazaki Szentgotthárd Liaoyang Xinxiang Lianyungang Mělník Neratovice Stochov Deta Kisarazu Obihiro Prachatice Fryšták Saku Kaifeng Smolensk Dombóvár Hekinan Přimda Albufeira Fujimi Hildesheim Ventspils Jindřichův Hradec Chitose Wa Vălenii de Munte Derecske Cugir Litomyšl Ingolstadt Fulnek Benalmádena Xiangyang Szigetszentmiklós Kamisu Tainai Miyoshi Enying Törökbálint Yamaguchi Ōgaki Mátészalka Regensburg Fujiyoshida Jablonec nad Jizerou Český Krumlov Mandaue Bystřice pod Hostýnem Port-au-Prince Zhuzhou Yichun Myōkō Františkovy Lázně Liaocheng Zimnicea Beppu Encs Shūnan Davao City Iida Pécsvárad Worms Kalocsa Tolna Coburg Přeštice Čelákovice Havlíčkův Brod Jeseník Changzhou Weimar Carthage Dagupan Sárospatak Guilin Luhačovice Speyer Bácsalmás Hârlău Nagahama Vratimov Aszód Guangyuan Gōtsu Szombathely Tonghua Kerekegyháza Hanoi Recaș Kazuno Uozu Kozármisleny Ho Chi Minh City Bolhrad Soltvadkert Žirovnice Tiszaföldvár Heves Raspenava Xianyang Vsetín Rosenheim Polička Edmonton Singkawang Eisenach Kenderes Gárdony Nagakute Bouaké Jinhua Kunming Puerto Princesa Kazincbarcika České Budějovice Jánoshalma Salto Ayabe Muñoz Oyama Emden Hanyū City Siófok Hévíz Iwata Nishio Baguio Morioka Lucknow Suwa Toyokawa Fertőd Tachov Chaoyang Elterlein Ōmuta, Fukuoka Jiamusi Bátaszék Mórahalom Erlangen Miyazu Hajdúnánás Balassagyarmat Kardašova Řečice Anqing Zaporizhzhya Panjin Pforzheim Košťany General Santos Terezín Seto Jining Ōme Handa Zábřeh Sumoto Făget Kamo Dobřany Samarkand Kosmonosy Shirakawa Mariánské Lázně Rýmařov Monbetsu Červený Kostelec Vysoké Mýto Yinchuan Musashino Jiayuguan City Chōfu Simontornya Jiaxing Hlučín Maizuru Hatsukaichi Hefei Kadoma Jičín Ostrov Weifang Yamatokōriyama Kiskunmajsa Wollongong Suzuka Kuji Kitakami Straubing Săcueni Jiříkov Ajka Kushiro Scheibenberg Saginaw Mainz Braga Aleșd Cagayan de Oro Mbabane Barcs Chongzuo Nordhausen Yangzhou Santa Fe Mezőtúr Xiangtan Dunakeszi Fushun Mezőhegyes Muscat Százhalombatta Sucre Jablunkov Norden Náchod Tanvald Roudnice nad Labem Krnov Shuangyashan Yamoussoukro Gyomaendrőd Balmazújváros Kitami Kolín Andorra la Vella Kuala Lumpur Roxas Örkény Most Baiyin Kasaoka Arica Wuhu Yasugi Valmiera Huangshan City Beihai Hakusan Komló Karcag Kamogawa Muntinlupa Kameoka Sarkad Pinamar Yulin Taiyuan Ma'anshan Bangalore Mooka Siegen Lanzhou Kigali Luoyang Lhasa Hengyang Police nad Metují Obernkirchen Chaozhou Huludao Balatonföldvár Uherské Hradiště Tōgane Benxi Siklós Kisbér Kiryū Gura Humorului Balatonboglár Haikou Lincang Sajószentpéter San Fernando Jimbolia Fürth Uwajima Izumo Shibukawa Kisújszállás Mohács Ruhla Schneeberg, Saxony Csenger Zhongshan Tatabánya Nemuro Pilisvörösvár Zushi Sayda Urayasu Ibbenbüren Brand-Erbisdorf Naruto Annaberg-Buchholz Litvínov Szekszárd Nantong Petrila Salgótarján Dublin Suihua Chemnitz Hino City Ōtake Strakonice Hagi Tsuchiura Kamaishi Blatná Kadarkút Iwakuni Bremerhaven Yellowknife Zlaté Hory Atami Kaposvár Bacolod Bohumín Podbořany Říčany Lenti Tachikawa City Schmalkalden Ráckeve Dubí Přibyslav Shizuishan Ehingen Vasvár Hatvan Sárvár Freiburg im Breisgau Broumov Hohenstein-Ernstthal Vecsés Horní Slavkov Brandenburg an der Havel Zamárdi Cotabato City Zărnești Praia Gera Salzgitter Shaoxing Antofagasta Ueda Bílina Shijōnawate Žamberk Mezőkövesd Nanchang Năsăud Pasay Fujisawa Kumano Nagai Nabari Písek Batumi Iwanuma Auerbach in der Oberpfalz Tucson Balatonfüred Hürth Letovice Tōno Xiaogan Slaný Aue Brtnice Baghdad Mór Jaipur Nagybajom Csongrád Tangshan Tacloban Dunaújváros Tokaj Unnan Kempten Kaplice Gyöngyös Hamada Higashiōmi Yonago Las Vegas Baoding Náměšť nad Oslavou Yaizu Poběžovice Loket Nepomuk Zhengzhou Edelény Jilin City Tab Šternberk Studénka Sekondi-Takoradi Bicaz Jiangmen Kravaře Mezőcsát Tai'an Ozamiz Itō Flămânzi Bóly Sakaiminato Vítkov Lucena Kaba Sinaia Kdyně
821
action count
action less
action union
action find_tuple_counts
relation sister city
type city
type human settlement
action find_tuple_counts
relation sister city
type city
type city
action count
action filter_multi_types
action find
entity Rēzekne
relation sister city
type human settlement
type city
[{'concept': 'city'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?y ) WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Rēzekne property:sister_city ?t . { { ?t rdf:type ontology:human_settlement } UNION { ?t rdf:type ontology:city } } } } . FILTER ( ?y < ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3694595
P27
Q15617994
USER
Which administrative territory is the native country of Wasif Ali Wasif ?
(Q3694595,P27,c(Q15617994))
action filter_type
action find
entity Q3694595
relation P27
type Q15617994
['Q3694595', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q3694595 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Wasif Ali Wasif
action filter_type
action find
entity Wasif Ali Wasif
relation country of citizenship
type designation for an administrative territorial entity
['Wasif Ali Wasif', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Wasif_Ali_Wasif property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q843
SYSTEM
Pakistan
Q843
(Q3694595,P27,c(Q15617994))
action filter_type
action find
entity Q3694595
relation P27
type Q15617994
[ANSWER] is the native country of Wasif Ali Wasif
['Q3694595', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q3694595 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Pakistan
Pakistan is the native country of Wasif Ali Wasif
Pakistan
action filter_type
action find
entity Wasif Ali Wasif
relation country of citizenship
type designation for an administrative territorial entity
['Wasif Ali Wasif', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Wasif_Ali_Wasif property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]