Simple Question (Direct)
Simple Question
Q60627
P734
Q82799
USER
Which name is associated with Matthieu Saunier ?
(Q60627,P734,c(Q82799))
action filter_type
action find
entity Q60627
relation P734
type Q82799
['Q60627', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q60627 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Matthieu Saunier
action filter_type
action find
entity Matthieu Saunier
relation family name
type name
['Matthieu Saunier', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Matthieu_Saunier property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q24699545
SYSTEM
Saunier
Q24699545
(Q60627,P734,c(Q82799))
action filter_type
action find
entity Q60627
relation P734
type Q82799
[ANSWER] is associated with Matthieu [ANSWER]
['Q60627', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q60627 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Saunier
Saunier is associated with Matthieu Saunier
Saunier
action filter_type
action find
entity Matthieu Saunier
relation family name
type name
['Matthieu Saunier', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Matthieu_Saunier property:family_name ?i . ?i rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for atleast 48 names ?
(c(Q82799),P407,c(Q34770))
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 48
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?i >= 48 ) . { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P407 ?v . ?v rdf:type ontology:Q34770 . ?g rdf:type ontology:Q82799 } GROUP BY ?v } }
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 48
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?i >= 48 ) . { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:language_of_work_or_name ?v . ?v rdf:type ontology:language . ?g rdf:type ontology:name } GROUP BY ?v } }
[]
language name
Q1860 Q1321 Q652
SYSTEM
English, Spanish, Italian
Q1860 Q1321 Q652
(c(Q82799),P407,c(Q34770))
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 48
[ANSWERS] the languages of work for atleast 48 names
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?i >= 48 ) . { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P407 ?v . ?v rdf:type ontology:Q34770 . ?g rdf:type ontology:Q82799 } GROUP BY ?v } }
English Spanish Italian
English, Spanish and Italian the languages of work for atleast 48 names
English Spanish Italian
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 48
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?i >= 48 ) . { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:language_of_work_or_name ?v . ?v rdf:type ontology:language . ?g rdf:type ontology:name } GROUP BY ?v } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages use lesser number of writing systems as the writing system than that language ?
(c(Q34770),P282,c(Q8192))
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
writing system language
Comparative|Count over More/Less|Single entity type|Clarification
Q652
SYSTEM
Did you mean Italian ?
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
Did you mean Italian ?
Italian
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q34770),P282,c(Q8192))
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
[]
SYSTEM
0
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
0
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q395714 Q24699545
P106 P138
Q12737077
USER
Which occupations are the etymology of Saunier or have Agostino Scilla as his/her as a career ?
OR((Q24699545,P138,c(Q12737077)), (Q395714,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q24699545
relation P138
action find
entity Q395714
relation P106
type Q12737077
{'OR': [['Q24699545', 'P138', {'concept': 'Q12737077'}], ['Q395714', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q395714 property:P106 ?g } UNION { resource:Q24699545 property:P138 ?g } } . ?g rdf:type ontology:Q12737077 }
Agostino Scilla Saunier
action filter_type
action union
action find
entity Saunier
relation named after
action find
entity Agostino Scilla
relation occupation
type occupation
{'OR': [['Saunier', 'named after', {'concept': 'occupation'}], ['Agostino Scilla', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Agostino_Scilla property:occupation ?g } UNION { resource:Saunier property:named_after ?g } } . ?g rdf:type ontology:occupation }
[]
occupation
Q1028181 Q21075713 Q2004963 Q901
SYSTEM
painter, salt worker, numismatist, scientist
Q1028181 Q21075713 Q2004963 Q901
OR((Q24699545,P138,c(Q12737077)), (Q395714,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q24699545
relation P138
action find
entity Q395714
relation P106
type Q12737077
[ANSWERS] are the etymology of Saunier or have Agostino Scilla as his/her as a career
{'OR': [['Q24699545', 'P138', {'concept': 'Q12737077'}], ['Q395714', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q395714 property:P106 ?g } UNION { resource:Q24699545 property:P138 ?g } } . ?g rdf:type ontology:Q12737077 }
painter salt worker numismatist scientist
Painter, salt worker, numismatist and scientist are the etymology of Saunier or have Agostino Scilla as his/her as a career
painter salt worker numismatist scientist
action filter_type
action union
action find
entity Saunier
relation named after
action find
entity Agostino Scilla
relation occupation
type occupation
{'OR': [['Saunier', 'named after', {'concept': 'occupation'}], ['Agostino Scilla', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Agostino_Scilla property:occupation ?g } UNION { resource:Saunier property:named_after ?g } } . ?g rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q7275 Q1048835
USER
How many languages are the official languages of exactly 2 states or political territories ?
(c(Q7275)|c(Q1048835),P37,c(Q34770))
action count
action equal
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
value 2
[[{'concept': 'Q7275'}, {'concept': 'Q1048835'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?z rdf:type ?y } GROUP BY ?k } . FILTER ( ?t = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
value 2
[[{'concept': 'state'}, {'concept': 'political territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?z rdf:type ?y } GROUP BY ?k } . FILTER ( ?t = 2 ) }
[]
language state political territorial entity
SYSTEM
3
Q9056 Q13211 Q652
(c(Q7275)|c(Q1048835),P37,c(Q34770))
action count
action equal
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
value 2
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q1048835'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?z rdf:type ?y } GROUP BY ?k } . FILTER ( ?t = 2 ) }
Czech Ruthenian Italian
3
action count
action equal
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
value 2
[[{'concept': 'state'}, {'concept': 'political territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?z rdf:type ?y } GROUP BY ?k } . FILTER ( ?t = 2 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P123
Q166142
USER
Which applications were published by that language ?
action filter_type
action find_reverse
entity Q1860
relation P123
type Q166142
SELECT DISTINCT ?x WHERE { ?x property:P123 resource:Q1860 . ?x rdf:type ontology:Q166142 }
English
action filter_type
action find_reverse
entity English
relation publisher
type application
SELECT DISTINCT ?x WHERE { ?x property:publisher resource:English . ?x rdf:type ontology:application }
[]
application
Q7847513 Q308159 Q286737
SYSTEM
True Remembrance, Narcissu: Side 2nd, The Path
Q7847513 Q308159 Q286737
action filter_type
action find_reverse
entity Q1860
relation P123
type Q166142
[ANSWERS] were published by that language
SELECT DISTINCT ?x WHERE { ?x property:P123 resource:Q1860 . ?x rdf:type ontology:Q166142 }
True Remembrance Narcissu: Side 2nd The Path
True Remembrance, Narcissu: Side 2nd and The Path were published by that language
True Remembrance Narcissu: Side 2nd The Path
action filter_type
action find_reverse
entity English
relation publisher
type application
SELECT DISTINCT ?x WHERE { ?x property:publisher resource:English . ?x rdf:type ontology:application }
[]
Clarification
Simple Question|Single Entity|Indirect
Q286737
P750
Q166142
USER
Which application is the distributor of that one ?
(Q286737,P750,c(Q166142))
action filter_type
action find
entity Q286737
relation P750
type Q166142
['Q286737', 'P750', {'concept': 'Q166142'}]
SELECT DISTINCT ?w WHERE { resource:Q286737 property:P750 ?w . ?w rdf:type ontology:Q166142 }
The Path
action filter_type
action find
entity The Path
relation distributor
type application
['The Path', 'distributor', {'concept': 'application'}]
SELECT DISTINCT ?w WHERE { resource:The_Path property:distributor ?w . ?w rdf:type ontology:application }
[]
application
Clarification for simple ques.
Q286737
SYSTEM
Did you mean The Path ?
Q7847513 Q308159 Q286737
(Q7847513,P750,c(Q166142)) (Q308159,P750,c(Q166142)) (Q286737,P750,c(Q166142))
[ANSWER]
['Q7847513', 'P750', {'concept': 'Q166142'}] ['Q308159', 'P750', {'concept': 'Q166142'}] ['Q286737', 'P750', {'concept': 'Q166142'}]
SELECT DISTINCT ?w WHERE { resource:Q286737 property:P750 ?w . ?w rdf:type ontology:Q166142 }
True Remembrance Narcissu: Side 2nd The Path
Did you mean The Path ?
The Path
['True Remembrance', 'distributor', {'concept': 'application'}] ['Narcissu: Side 2nd', 'distributor', {'concept': 'application'}] ['The Path', 'distributor', {'concept': 'application'}]
SELECT DISTINCT ?w WHERE { resource:The_Path property:distributor ?w . ?w rdf:type ontology:application }
[]
Simple Question (Coreferenced)
USER
Yes
(Q286737,P750,c(Q166142))
['Q286737', 'P750', {'concept': 'Q166142'}]
['The Path', 'distributor', {'concept': 'application'}]
[]
Q3029361
SYSTEM
Direct2Drive
Q3029361
(Q286737,P750,c(Q166142))
action filter_type
action find
entity Q286737
relation P750
type Q166142
[ANSWER] is the distributor of that one
['Q286737', 'P750', {'concept': 'Q166142'}]
SELECT DISTINCT ?w WHERE { resource:Q286737 property:P750 ?w . ?w rdf:type ontology:Q166142 }
Direct2Drive
Direct2Drive is the distributor of that one
Direct2Drive
action filter_type
action find
entity The Path
relation distributor
type application
['The Path', 'distributor', {'concept': 'application'}]
SELECT DISTINCT ?w WHERE { resource:The_Path property:distributor ?w . ?w rdf:type ontology:application }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q29282
P180
Q12737077 Q17638008 Q386724
USER
Which occupations are expressed in around the same number of game equipment and works as Archbishop of Canterbury ?
(c(Q17638008)|c(Q386724),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q29282
relation P180
type Q17638008
type Q386724
[[{'concept': 'Q17638008'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:P180 ?h . ?b rdf:type ontology:Q17638008 . ?h rdf:type ontology:Q12737077 } UNION { ?b property:P180 ?h . ?b rdf:type ontology:Q386724 . ?h rdf:type ontology:Q12737077 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:P180 resource:Q29282 . { ?v rdf:type ?n . VALUES ( ?n ) { ( ontology:Q17638008 ) ( ontology:Q386724 ) } } } } . FILTER ( ?y = ?u ) }
Archbishop of Canterbury
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity Archbishop of Canterbury
relation depicts
type game equipment
type work
[[{'concept': 'game equipment'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:depicts ?h . ?b rdf:type ontology:game_equipment . ?h rdf:type ontology:occupation } UNION { ?b property:depicts ?h . ?b rdf:type ontology:work . ?h rdf:type ontology:occupation } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:depicts resource:Archbishop_of_Canterbury . { ?v rdf:type ?n . VALUES ( ?n ) { ( ontology:game_equipment ) ( ontology:work ) } } } } . FILTER ( ?y = ?u ) }
[]
occupation game equipment work
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q386724),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q29282
relation P180
type Q17638008
type Q386724
[ANSWERS] are expressed in around the same number of game equipment and works as Archbishop of Canterbury
[[{'concept': 'Q17638008'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:P180 ?h . ?b rdf:type ontology:Q17638008 . ?h rdf:type ontology:Q12737077 } UNION { ?b property:P180 ?h . ?b rdf:type ontology:Q386724 . ?h rdf:type ontology:Q12737077 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:P180 resource:Q29282 . { ?v rdf:type ?n . VALUES ( ?n ) { ( ontology:Q17638008 ) ( ontology:Q386724 ) } } } } . FILTER ( ?y = ?u ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler 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 explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are expressed in around the same number of game equipment and works as Archbishop of Canterbury
farmer nurse tailor
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity Archbishop of Canterbury
relation depicts
type game equipment
type work
[[{'concept': 'game equipment'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:depicts ?h . ?b rdf:type ontology:game_equipment . ?h rdf:type ontology:occupation } UNION { ?b property:depicts ?h . ?b rdf:type ontology:work . ?h rdf:type ontology:occupation } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:depicts resource:Archbishop_of_Canterbury . { ?v rdf:type ?n . VALUES ( ?n ) { ( ontology:game_equipment ) ( ontology:work ) } } } } . FILTER ( ?y = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q36834
P180
Q12737077 Q17638008 Q386724
USER
And what about composer?
(c(Q17638008)|c(Q386724),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q36834
relation P180
type Q17638008
type Q386724
[[{'concept': 'Q17638008'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?j WHERE { { ?s property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q386724 } UNION { ?s property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q17638008 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:P180 resource:Q36834 . { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:Q17638008 ) ( ontology:Q386724 ) } } } } . FILTER ( ?z = ?x ) }
composer
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity composer
relation depicts
type game equipment
type work
[[{'concept': 'game equipment'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?j WHERE { { ?s property:depicts ?j . ?j rdf:type ontology:occupation . ?s rdf:type ontology:work } UNION { ?s property:depicts ?j . ?j rdf:type ontology:occupation . ?s rdf:type ontology:game_equipment } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:depicts resource:composer . { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:game_equipment ) ( ontology:work ) } } } } . FILTER ( ?z = ?x ) }
[]
occupation game equipment work
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q386724),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q36834
relation P180
type Q17638008
type Q386724
[ANSWERS]
[[{'concept': 'Q17638008'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?j WHERE { { ?s property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q386724 } UNION { ?s property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q17638008 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:P180 resource:Q36834 . { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:Q17638008 ) ( ontology:Q386724 ) } } } } . FILTER ( ?z = ?x ) }
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 military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
farmer nurse tailor
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity composer
relation depicts
type game equipment
type work
[[{'concept': 'game equipment'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?j WHERE { { ?s property:depicts ?j . ?j rdf:type ontology:occupation . ?s rdf:type ontology:work } UNION { ?s property:depicts ?j . ?j rdf:type ontology:occupation . ?s rdf:type ontology:game_equipment } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:depicts resource:composer . { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:game_equipment ) ( ontology:work ) } } } } . FILTER ( ?z = ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a part of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?e WHERE { resource:Q1860 property:P361 ?e . ?e rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?e WHERE { resource:English property:part_of ?e . ?e rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a part of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?e WHERE { resource:Q1860 property:P361 ?e . ?e rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a part of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?e WHERE { resource:English property:part_of ?e . ?e rdf:type ontology:classification_scheme }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q13526867
Q5962346
USER
And how about Wichí Lhamtés Vejoz?
(Q13526867,P361,c(Q5962346))
action filter_type
action find
entity Q13526867
relation P361
type Q5962346
['Q13526867', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?q WHERE { resource:Q13526867 property:P361 ?q . ?q rdf:type ontology:Q5962346 }
Wichí Lhamtés Vejoz
action filter_type
action find
entity Wichí Lhamtés Vejoz
relation part of
type classification scheme
['Wichí Lhamtés Vejoz', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?q WHERE { resource:Wichí_Lhamtés_Vejoz property:part_of ?q . ?q rdf:type ontology:classification_scheme }
[]
classification scheme
Q2447424
SYSTEM
Matacoan languages
Q2447424
(Q13526867,P361,c(Q5962346))
action filter_type
action find
entity Q13526867
relation P361
type Q5962346
[ANSWER]
['Q13526867', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?q WHERE { resource:Q13526867 property:P361 ?q . ?q rdf:type ontology:Q5962346 }
Matacoan languages
Matacoan languages
action filter_type
action find
entity Wichí Lhamtés Vejoz
relation part of
type classification scheme
['Wichí Lhamtés Vejoz', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?q WHERE { resource:Wichí_Lhamtés_Vejoz property:part_of ?q . ?q rdf:type ontology:classification_scheme }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P361
Q5962346 Q1299240
USER
Which classification schemes are greater number of interior spaces a component of than that classification scheme ?
(c(Q1299240),P361,c(Q5962346))
action greater
action find_tuple_counts
relation P361
type Q5962346
type Q1299240
action count
action filter_type
action find_reverse
entity Q2447424
relation P361
type Q5962346
[{'concept': 'Q1299240'}, 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?r ) WHERE { ?b property:P361 ?c . ?b rdf:type ontology:Q5962346 . ?c rdf:type ontology:Q1299240 } GROUP BY ?b } . FILTER ( ?r > ?t ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { ?z property:P361 resource:Q2447424 . ?z rdf:type ontology:Q5962346 } } }
action greater
action find_tuple_counts
relation part of
type classification scheme
type interior space
action count
action filter_type
action find_reverse
entity Matacoan languages
relation part of
type classification scheme
[{'concept': 'interior space'}, 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?r ) WHERE { ?b property:part_of ?c . ?b rdf:type ontology:classification_scheme . ?c rdf:type ontology:interior_space } GROUP BY ?b } . FILTER ( ?r > ?t ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { ?z property:part_of resource:Matacoan_languages . ?z rdf:type ontology:classification_scheme } } }
[]
classification scheme interior space
Q1460420
SYSTEM
emergency management
Q1460420
(c(Q1299240),P361,c(Q5962346))
action greater
action find_tuple_counts
relation P361
type Q5962346
type Q1299240
action count
action filter_type
action find_reverse
entity Q2447424
relation P361
type Q5962346
[ANSWER] is greater number of interior spaces a component of than that classification scheme
[{'concept': 'Q1299240'}, 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?r ) WHERE { ?b property:P361 ?c . ?b rdf:type ontology:Q5962346 . ?c rdf:type ontology:Q1299240 } GROUP BY ?b } . FILTER ( ?r > ?t ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { ?z property:P361 resource:Q2447424 . ?z rdf:type ontology:Q5962346 } } }
emergency management
Emergency management is greater number of interior spaces a component of than that classification scheme
emergency management
action greater
action find_tuple_counts
relation part of
type classification scheme
type interior space
action count
action filter_type
action find_reverse
entity Matacoan languages
relation part of
type classification scheme
[{'concept': 'interior space'}, 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?r ) WHERE { ?b property:part_of ?c . ?b rdf:type ontology:classification_scheme . ?c rdf:type ontology:interior_space } GROUP BY ?b } . FILTER ( ?r > ?t ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { ?z property:part_of resource:Matacoan_languages . ?z rdf:type ontology:classification_scheme } } }
[]