Simple Question (Direct)
Simple Question
Q2558025
P27
Q15617994
USER
Which administrative territory does Maikel Verkoelen belong to ?
(Q2558025,P27,c(Q15617994))
action filter_type
action find
entity Q2558025
relation P27
type Q15617994
['Q2558025', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2558025 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Maikel Verkoelen
action filter_type
action find
entity Maikel Verkoelen
relation country of citizenship
type designation for an administrative territorial entity
['Maikel Verkoelen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Maikel_Verkoelen property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q2558025,P27,c(Q15617994))
action filter_type
action find
entity Q2558025
relation P27
type Q15617994
Maikel Verkoelen belongs to [ANSWER]
['Q2558025', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2558025 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Maikel Verkoelen belongs to Kingdom of the Netherlands
Kingdom of the Netherlands
action filter_type
action find
entity Maikel Verkoelen
relation country of citizenship
type designation for an administrative territorial entity
['Maikel Verkoelen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Maikel_Verkoelen property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2558025
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q29999,P19,c(Q56061))
action filter_type
action find
entity Q2558025
relation P19
type Q56061
['Q29999', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q2558025 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Maikel Verkoelen
action filter_type
action find
entity Maikel Verkoelen
relation place of birth
type administrative territorial entity
['Kingdom of the Netherlands', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Maikel_Verkoelen property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q9844
SYSTEM
Helmond
Q9844
(Q29999,P19,c(Q56061))
action filter_type
action find
entity Q2558025
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q29999', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q2558025 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Helmond
Helmond is the birthplace of that person
Helmond
action filter_type
action find
entity Maikel Verkoelen
relation place of birth
type administrative territorial entity
['Kingdom of the Netherlands', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Maikel_Verkoelen property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q486972 Q56061
USER
How many human settlements and administrative territories are twin town of that administrative territory ?
(c(Q486972),P190,Q9844) (c(Q56061),P190,Q9844) (c(Q486972),P190,Q9844) (c(Q56061),P190,Q9844)
action count
action union
action filter_type
action find_reverse
entity Q9844
relation P190
type Q486972
action filter_type
action find_reverse
entity Q9844
relation P190
type Q56061
[{'concept': 'Q486972'}, 'P190', 'Q9844'] [{'concept': 'Q56061'}, 'P190', 'Q9844'] [{'concept': 'Q486972'}, 'P190', 'Q9844'] [{'concept': 'Q56061'}, 'P190', 'Q9844']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { ?f property:P190 resource:Q9844 . ?f rdf:type ontology:Q56061 } UNION { ?f property:P190 resource:Q9844 . ?f rdf:type ontology:Q486972 } }
action count
action union
action filter_type
action find_reverse
entity Helmond
relation sister city
type human settlement
action filter_type
action find_reverse
entity Helmond
relation sister city
type administrative territorial entity
[{'concept': 'human settlement'}, 'sister city', 'Helmond'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Helmond'] [{'concept': 'human settlement'}, 'sister city', 'Helmond'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Helmond']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { ?f property:sister_city resource:Helmond . ?f rdf:type ontology:administrative_territorial_entity } UNION { ?f property:sister_city resource:Helmond . ?f rdf:type ontology:human_settlement } }
[]
human settlement administrative territorial entity
SYSTEM
1 human settlements and 1 administrative territories
Q104720 Q162022
(c(Q486972),P190,Q9844) (c(Q56061),P190,Q9844) (c(Q486972),P190,Q9844) (c(Q56061),P190,Q9844)
action count
action union
action filter_type
action find_reverse
entity Q9844
relation P190
type Q486972
action filter_type
action find_reverse
entity Q9844
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q486972'}, 'P190', 'Q9844'] [{'concept': 'Q56061'}, 'P190', 'Q9844'] [{'concept': 'Q486972'}, 'P190', 'Q9844'] [{'concept': 'Q56061'}, 'P190', 'Q9844']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { ?f property:P190 resource:Q9844 . ?f rdf:type ontology:Q56061 } UNION { ?f property:P190 resource:Q9844 . ?f rdf:type ontology:Q486972 } }
Zielona Góra Mechelen
1 human settlements and 1 administrative territories
action count
action union
action filter_type
action find_reverse
entity Helmond
relation sister city
type human settlement
action filter_type
action find_reverse
entity Helmond
relation sister city
type administrative territorial entity
[{'concept': 'human settlement'}, 'sister city', 'Helmond'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Helmond'] [{'concept': 'human settlement'}, 'sister city', 'Helmond'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Helmond']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { ?f property:sister_city resource:Helmond . ?f rdf:type ontology:administrative_territorial_entity } UNION { ?f property:sister_city resource:Helmond . ?f rdf:type ontology:human_settlement } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16924246 Q2558025
P106
Q12737077
USER
Which occupations are the professions of Maikel Verkoelen or Louis Delmas ?
OR((Q2558025,P106,c(Q12737077)), (Q16924246,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2558025
relation P106
action find
entity Q16924246
relation P106
type Q12737077
{'OR': [['Q2558025', 'P106', {'concept': 'Q12737077'}], ['Q16924246', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q16924246 property:P106 ?b } UNION { resource:Q2558025 property:P106 ?b } } . ?b rdf:type ontology:Q12737077 }
Louis Delmas Maikel Verkoelen
action filter_type
action union
action find
entity Maikel Verkoelen
relation occupation
action find
entity Louis Delmas
relation occupation
type occupation
{'OR': [['Maikel Verkoelen', 'occupation', {'concept': 'occupation'}], ['Louis Delmas', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Louis_Delmas property:occupation ?b } UNION { resource:Maikel_Verkoelen property:occupation ?b } } . ?b rdf:type ontology:occupation }
[]
occupation
Q201788 Q39631 Q937857
SYSTEM
historian, physician, association football player
Q201788 Q39631 Q937857
OR((Q2558025,P106,c(Q12737077)), (Q16924246,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2558025
relation P106
action find
entity Q16924246
relation P106
type Q12737077
[ANSWERS] are the professions of Maikel Verkoelen or Louis Delmas
{'OR': [['Q2558025', 'P106', {'concept': 'Q12737077'}], ['Q16924246', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q16924246 property:P106 ?b } UNION { resource:Q2558025 property:P106 ?b } } . ?b rdf:type ontology:Q12737077 }
historian physician association football player
Historian, physician and association football player are the professions of Maikel Verkoelen or Louis Delmas
historian physician association football player
action filter_type
action union
action find
entity Maikel Verkoelen
relation occupation
action find
entity Louis Delmas
relation occupation
type occupation
{'OR': [['Maikel Verkoelen', 'occupation', {'concept': 'occupation'}], ['Louis Delmas', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Louis_Delmas property:occupation ?b } UNION { resource:Maikel_Verkoelen property:occupation ?b } } . ?b rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q817330 Q2558025
P106
Q12737077
USER
Which occupations are the job of Maikel Verkoelen or Benita Cantieni ?
OR((Q2558025,P106,c(Q12737077)), (Q817330,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2558025
relation P106
action find
entity Q817330
relation P106
type Q12737077
{'OR': [['Q2558025', 'P106', {'concept': 'Q12737077'}], ['Q817330', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . { ?d property:P106 ?s . VALUES ( ?d ) { ( resource:Q2558025 ) ( resource:Q817330 ) } } }
Benita Cantieni Maikel Verkoelen
action filter_type
action union
action find
entity Maikel Verkoelen
relation occupation
action find
entity Benita Cantieni
relation occupation
type occupation
{'OR': [['Maikel Verkoelen', 'occupation', {'concept': 'occupation'}], ['Benita Cantieni', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . { ?d property:occupation ?s . VALUES ( ?d ) { ( resource:Maikel_Verkoelen ) ( resource:Benita_Cantieni ) } } }
[]
occupation
Q1930187 Q36180 Q937857
SYSTEM
journalist, writer, association football player
Q1930187 Q36180 Q937857
OR((Q2558025,P106,c(Q12737077)), (Q817330,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2558025
relation P106
action find
entity Q817330
relation P106
type Q12737077
The [ANSWERS] are the job of Maikel Verkoelen or Benita Cantieni
{'OR': [['Q2558025', 'P106', {'concept': 'Q12737077'}], ['Q817330', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . { ?d property:P106 ?s . VALUES ( ?d ) { ( resource:Q2558025 ) ( resource:Q817330 ) } } }
journalist writer association football player
The journalist, writer and association football player are the job of Maikel Verkoelen or Benita Cantieni
journalist writer association football player
action filter_type
action union
action find
entity Maikel Verkoelen
relation occupation
action find
entity Benita Cantieni
relation occupation
type occupation
{'OR': [['Maikel Verkoelen', 'occupation', {'concept': 'occupation'}], ['Benita Cantieni', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . { ?d property:occupation ?s . VALUES ( ?d ) { ( resource:Maikel_Verkoelen ) ( resource:Benita_Cantieni ) } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q843281
P180
Q12737077 Q15709879 Q2342494
USER
How many occupations are depicted in less number of artwork series or collectables than hobo ?
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
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 Q15709879
type Q2342494
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?e WHERE { VALUES ( ?f ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?y rdf:type ?f } GROUP BY ?e } . FILTER ( ?b < ?q ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } } . ?a property:P180 resource:Q843281 } } }
hobo
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
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 artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?e WHERE { VALUES ( ?f ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?y rdf:type ?f } GROUP BY ?e } . FILTER ( ?b < ?q ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:artwork_series ) ( ontology:collectable ) } } . ?a property:depicts resource:hobo } } }
[]
occupation artwork series collectable
SYSTEM
220
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 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 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 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 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
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 Q15709879
type Q2342494
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?e WHERE { VALUES ( ?f ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?y rdf:type ?f } GROUP BY ?e } . FILTER ( ?b < ?q ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } } . ?a property:P180 resource:Q843281 } } }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective 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 harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter 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 chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador 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 sea captain Roman emperor quarryman cook street artist waiting staff
220
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
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 artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?e WHERE { VALUES ( ?f ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?y rdf:type ?f } GROUP BY ?e } . FILTER ( ?b < ?q ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:artwork_series ) ( ontology:collectable ) } } . ?a property:depicts resource:hobo } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q12059906
P180
Q12737077 Q15709879 Q2342494
USER
And also tell me about herder?
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q12059906
relation P180
type Q15709879
type Q2342494
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { FILTER ( ?c < ?i ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { { ?h rdf:type ontology:Q15709879 } UNION { ?h rdf:type ontology:Q2342494 } } . ?h property:P180 resource:Q12059906 } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) ?m WHERE { { ?d property:P180 ?m . ?d rdf:type ontology:Q15709879 . ?m rdf:type ontology:Q12737077 } UNION { ?d property:P180 ?m . ?m rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q2342494 } } GROUP BY ?m } }
herder
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity herder
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { FILTER ( ?c < ?i ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { { ?h rdf:type ontology:artwork_series } UNION { ?h rdf:type ontology:collectable } } . ?h property:depicts resource:herder } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) ?m WHERE { { ?d property:depicts ?m . ?d rdf:type ontology:artwork_series . ?m rdf:type ontology:occupation } UNION { ?d property:depicts ?m . ?m rdf:type ontology:occupation . ?d rdf:type ontology:collectable } } GROUP BY ?m } }
[]
occupation artwork series collectable
SYSTEM
220
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 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 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 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 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q12059906
relation P180
type Q15709879
type Q2342494
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { FILTER ( ?c < ?i ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { { ?h rdf:type ontology:Q15709879 } UNION { ?h rdf:type ontology:Q2342494 } } . ?h property:P180 resource:Q12059906 } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) ?m WHERE { { ?d property:P180 ?m . ?d rdf:type ontology:Q15709879 . ?m rdf:type ontology:Q12737077 } UNION { ?d property:P180 ?m . ?m rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q2342494 } } GROUP BY ?m } }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective 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 harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter 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 chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador 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 sea captain Roman emperor quarryman cook street artist waiting staff
220
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity herder
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { FILTER ( ?c < ?i ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { { ?h rdf:type ontology:artwork_series } UNION { ?h rdf:type ontology:collectable } } . ?h property:depicts resource:herder } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) ?m WHERE { { ?d property:depicts ?m . ?d rdf:type ontology:artwork_series . ?m rdf:type ontology:occupation } UNION { ?d property:depicts ?m . ?m rdf:type ontology:occupation . ?d rdf:type ontology:collectable } } GROUP BY ?m } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36180 Q4027
P937
Q502895
USER
How many people have writer or Jean Moulin University Lyon 3 as their work location ?
(c(Q502895),P937,Q36180) (c(Q502895),P937,Q4027)
action count
action union
action filter_type
action find_reverse
entity Q36180
relation P937
type Q502895
action filter_type
action find_reverse
entity Q4027
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q36180'] [{'concept': 'Q502895'}, 'P937', 'Q4027']
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { ?e property:P937 resource:Q36180 . ?e rdf:type ontology:Q502895 } UNION { ?e property:P937 resource:Q4027 . ?e rdf:type ontology:Q502895 } }
writer Jean Moulin University Lyon 3
action count
action union
action filter_type
action find_reverse
entity writer
relation work location
type common name
action filter_type
action find_reverse
entity Jean Moulin University Lyon 3
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'writer'] [{'concept': 'common name'}, 'work location', 'Jean Moulin University Lyon 3']
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { ?e property:work_location resource:writer . ?e rdf:type ontology:common_name } UNION { ?e property:work_location resource:Jean_Moulin_University_Lyon_3 . ?e rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q3398852 Q3571665
(c(Q502895),P937,Q36180) (c(Q502895),P937,Q4027)
action count
action union
action filter_type
action find_reverse
entity Q36180
relation P937
type Q502895
action filter_type
action find_reverse
entity Q4027
relation P937
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q36180'] [{'concept': 'Q502895'}, 'P937', 'Q4027']
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { ?e property:P937 resource:Q36180 . ?e rdf:type ontology:Q502895 } UNION { ?e property:P937 resource:Q4027 . ?e rdf:type ontology:Q502895 } }
Lidija Dimkovska Yann Le Bohec
2
action count
action union
action filter_type
action find_reverse
entity writer
relation work location
type common name
action filter_type
action find_reverse
entity Jean Moulin University Lyon 3
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'writer'] [{'concept': 'common name'}, 'work location', 'Jean Moulin University Lyon 3']
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { ?e property:work_location resource:writer . ?e rdf:type ontology:common_name } UNION { ?e property:work_location resource:Jean_Moulin_University_Lyon_3 . ?e rdf:type ontology:common_name } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q43845
P921
Q12737077 Q838948 Q2342494
USER
How many occupations were less number of works of art or collectables mainly about than businessperson ?
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q43845
relation P921
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?k WHERE { { ?b property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q838948 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } . ?n property:P921 resource:Q43845 } } . FILTER ( ?d < ?u ) }
businessperson
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity businessperson
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?k WHERE { { ?b property:main_subject ?k . ?k rdf:type ontology:occupation . ?b rdf:type ontology:collectable } UNION { ?b property:main_subject ?k . ?k rdf:type ontology:occupation . ?b rdf:type ontology:work_of_art } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:work_of_art ) } } . ?n property:main_subject resource:businessperson } } . FILTER ( ?d < ?u ) }
[]
occupation work of art collectable
SYSTEM
63
Q172907 Q9045502 Q2666591 Q5185440 Q765778 Q3809586 Q3315094 Q622807 Q131512 Q1708232 Q2094335 Q842782 Q378622 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q14128148 Q814356 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q486839 Q510373 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q654291 Q483501 Q152002 Q1114448 Q16533 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q838811 Q219477 Q1006696 Q639669 Q732358 Q17143199 Q384593 Q372436 Q182436 Q361593 Q1856798 Q16707842
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q43845
relation P921
type Q838948
type Q2342494
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?k WHERE { { ?b property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q838948 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } . ?n property:P921 resource:Q43845 } } . FILTER ( ?d < ?u ) }
praetor member of the Parliament of Norway Chair of the Federal Reserve Crime scene cleanup organist Wikipedian in Residence Prime Minister of Hungary seiyū farmer medallist United States Attorney detective racing driver Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate gridiron football player call girl political commissar Fletcher Christian double agent member of the Lok Sabha soldier member of parliament Lord High Steward violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver Deputy to the Dáil artist pastor cartoonist judge caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor peasant missionary United States federal judge musician Nomarch medical examiner police officer statesman librarian police officer baseball umpire Member of Parliament in the United Kingdom
63
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity businessperson
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?k WHERE { { ?b property:main_subject ?k . ?k rdf:type ontology:occupation . ?b rdf:type ontology:collectable } UNION { ?b property:main_subject ?k . ?k rdf:type ontology:occupation . ?b rdf:type ontology:work_of_art } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:work_of_art ) } } . ?n property:main_subject resource:businessperson } } . FILTER ( ?d < ?u ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q132253 Q2558025
P641
Q349
USER
Which sports did Maikel Verkoelen or Karl Alzner participate in ?
OR((Q2558025,P641,c(Q349)), (Q132253,P641,c(Q349)))
action filter_type
action union
action find
entity Q2558025
relation P641
action find
entity Q132253
relation P641
type Q349
{'OR': [['Q2558025', 'P641', {'concept': 'Q349'}], ['Q132253', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?c ) { ( resource:Q2558025 ) ( resource:Q132253 ) } . ?c property:P641 ?b } . ?b rdf:type ontology:Q349 }
Karl Alzner Maikel Verkoelen
action filter_type
action union
action find
entity Maikel Verkoelen
relation sport
action find
entity Karl Alzner
relation sport
type sport
{'OR': [['Maikel Verkoelen', 'sport', {'concept': 'sport'}], ['Karl Alzner', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?c ) { ( resource:Maikel_Verkoelen ) ( resource:Karl_Alzner ) } . ?c property:sport ?b } . ?b rdf:type ontology:sport }
[]
sport
Q41466 Q2736
SYSTEM
ice hockey, association football
Q41466 Q2736
OR((Q2558025,P641,c(Q349)), (Q132253,P641,c(Q349)))
action filter_type
action union
action find
entity Q2558025
relation P641
action find
entity Q132253
relation P641
type Q349
Maikel Verkoelen or Karl Alzner participated in [ANSWERS]
{'OR': [['Q2558025', 'P641', {'concept': 'Q349'}], ['Q132253', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?c ) { ( resource:Q2558025 ) ( resource:Q132253 ) } . ?c property:P641 ?b } . ?b rdf:type ontology:Q349 }
ice hockey association football
Maikel Verkoelen or Karl Alzner participated in ice hockey and association football
ice hockey association football
action filter_type
action union
action find
entity Maikel Verkoelen
relation sport
action find
entity Karl Alzner
relation sport
type sport
{'OR': [['Maikel Verkoelen', 'sport', {'concept': 'sport'}], ['Karl Alzner', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?c ) { ( resource:Maikel_Verkoelen ) ( resource:Karl_Alzner ) } . ?c property:sport ?b } . ?b rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2325975
P641
Q41176
USER
Does Tissot Arena play those sports ?
(Q2325975,P641,Q41466) (Q2325975,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q2325975
relation P641
['Q2325975', 'P641', 'Q41466'] ['Q2325975', 'P641', 'Q2736']
ASK WHERE { VALUES ( ?w ) { ( resource:Q41466 ) ( resource:Q2736 ) } . resource:Q2325975 property:P641 ?w }
Tissot Arena
action is_in
entity prev_answer
action find
entity Tissot Arena
relation sport
['Tissot Arena', 'sport', 'ice hockey'] ['Tissot Arena', 'sport', 'association football']
ASK WHERE { VALUES ( ?w ) { ( resource:ice_hockey ) ( resource:association_football ) } . resource:Tissot_Arena property:sport ?w }
[]
building
SYSTEM
YES
(Q2325975,P641,Q41466) (Q2325975,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q2325975
relation P641
[ANSWER]
['Q2325975', 'P641', 'Q41466'] ['Q2325975', 'P641', 'Q2736']
ASK WHERE { VALUES ( ?w ) { ( resource:Q41466 ) ( resource:Q2736 ) } . resource:Q2325975 property:P641 ?w }
Yes
action is_in
entity prev_answer
action find
entity Tissot Arena
relation sport
['Tissot Arena', 'sport', 'ice hockey'] ['Tissot Arena', 'sport', 'association football']
ASK WHERE { VALUES ( ?w ) { ( resource:ice_hockey ) ( resource:association_football ) } . resource:Tissot_Arena property:sport ?w }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7938326 Q2558025
P641
Q349
USER
Which sports did Maikel Verkoelen and Vladimir Feskov participate in ?
AND((Q2558025,P641,c(Q349)), (Q7938326,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q2558025
relation P641
action find
entity Q7938326
relation P641
type Q349
{'AND': [['Q2558025', 'P641', {'concept': 'Q349'}], ['Q7938326', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q349 . resource:Q2558025 property:P641 ?g . resource:Q7938326 property:P641 ?g }
Vladimir Feskov Maikel Verkoelen
action filter_type
action intersection
action find
entity Maikel Verkoelen
relation sport
action find
entity Vladimir Feskov
relation sport
type sport
{'AND': [['Maikel Verkoelen', 'sport', {'concept': 'sport'}], ['Vladimir Feskov', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport . resource:Maikel_Verkoelen property:sport ?g . resource:Vladimir_Feskov property:sport ?g }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q2558025,P641,c(Q349)), (Q7938326,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q2558025
relation P641
action find
entity Q7938326
relation P641
type Q349
Maikel Verkoelen and Vladimir Feskov participated in [ANSWER]
{'AND': [['Q2558025', 'P641', {'concept': 'Q349'}], ['Q7938326', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q349 . resource:Q2558025 property:P641 ?g . resource:Q7938326 property:P641 ?g }
association football
Maikel Verkoelen and Vladimir Feskov participated in association football
association football
action filter_type
action intersection
action find
entity Maikel Verkoelen
relation sport
action find
entity Vladimir Feskov
relation sport
type sport
{'AND': [['Maikel Verkoelen', 'sport', {'concept': 'sport'}], ['Vladimir Feskov', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport . resource:Maikel_Verkoelen property:sport ?g . resource:Vladimir_Feskov property:sport ?g }
[]