Simple Question (Direct)
Simple Question
Q6700399
P641
Q349
USER
Which sport was Luis Calix a part of ?
(Q6700399,P641,c(Q349))
action filter_type
action find
entity Q6700399
relation P641
type Q349
['Q6700399', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q349 . resource:Q6700399 property:P641 ?a }
Luis Calix
action filter_type
action find
entity Luis Calix
relation sport
type sport
['Luis Calix', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sport . resource:Luis_Calix property:sport ?a }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6700399,P641,c(Q349))
action filter_type
action find
entity Q6700399
relation P641
type Q349
Which sport was Luis Calix a part of
['Q6700399', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q349 . resource:Q6700399 property:P641 ?a }
association football
Which sport was Luis Calix a part of
association football
action filter_type
action find
entity Luis Calix
relation sport
type sport
['Luis Calix', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sport . resource:Luis_Calix property:sport ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6700399
P21
Q290
USER
Which sex does that person possess ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q6700399
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q6700399 property:P21 ?v . ?v rdf:type ontology:Q290 }
Luis Calix
action filter_type
action find
entity Luis Calix
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Luis_Calix property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q6700399
relation P21
type Q290
That person possesses a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q6700399 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Luis Calix
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Luis_Calix property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6700399
P106
Q12737077
USER
What are the job of Luis Calix ?
(Q6700399,P106,c(Q12737077))
action filter_type
action find
entity Q6700399
relation P106
type Q12737077
['Q6700399', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q6700399 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Luis Calix
action filter_type
action find
entity Luis Calix
relation occupation
type occupation
['Luis Calix', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Luis_Calix property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q6700399,P106,c(Q12737077))
action filter_type
action find
entity Q6700399
relation P106
type Q12737077
The job of Luis Calix are both [ANSWERS]
['Q6700399', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q6700399 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
association football manager association football player
The job of Luis Calix are both association football manager and association football player
association football manager association football player
action filter_type
action find
entity Luis Calix
relation occupation
type occupation
['Luis Calix', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Luis_Calix property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1411924
P106
Q502895
USER
Do Albrecht von Mutius have those occupations as his/her means of employment ?
(Q1411924,P106,Q628099) (Q1411924,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q1411924
relation P106
['Q1411924', 'P106', 'Q628099'] ['Q1411924', 'P106', 'Q937857']
ASK WHERE { resource:Q1411924 property:P106 ?o . VALUES ( ?o ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
Albrecht von Mutius
action is_in
entity prev_answer
action find
entity Albrecht von Mutius
relation occupation
['Albrecht von Mutius', 'occupation', 'association football manager'] ['Albrecht von Mutius', 'occupation', 'association football player']
ASK WHERE { resource:Albrecht_von_Mutius property:occupation ?o . VALUES ( ?o ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
common name
SYSTEM
NO
(Q1411924,P106,Q628099) (Q1411924,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q1411924
relation P106
[ANSWER]
['Q1411924', 'P106', 'Q628099'] ['Q1411924', 'P106', 'Q937857']
ASK WHERE { resource:Q1411924 property:P106 ?o . VALUES ( ?o ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
No
action is_in
entity prev_answer
action find
entity Albrecht von Mutius
relation occupation
['Albrecht von Mutius', 'occupation', 'association football manager'] ['Albrecht von Mutius', 'occupation', 'association football player']
ASK WHERE { resource:Albrecht_von_Mutius property:occupation ?o . VALUES ( ?o ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q191067
USER
Which occupations were approximately 7 works of art or articles mainly about ?
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 7
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) ?r WHERE { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } } GROUP BY ?r } . FILTER ( ?a = 7 ) }
action approx
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 article
value 7
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) ?r WHERE { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:article ) } } GROUP BY ?r } . FILTER ( ?a = 7 ) }
[]
occupation work of art article
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q16746569 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 7
[ANSWERS] were approximately 7 works of art or articles mainly about
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) ?r WHERE { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } } GROUP BY ?r } . FILTER ( ?a = 7 ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny high school student caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were approximately 7 works of art or articles mainly about
Fletcher Christian farmer librarian
action approx
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 article
value 7
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) ?r WHERE { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:article ) } } GROUP BY ?r } . FILTER ( ?a = 7 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q811122
P180
Q12737077 Q18783400 Q11060274
USER
Which occupations are expressed in approximately the same number of genres of sculpture and prints as construction worker ?
(c(Q18783400)|c(Q11060274),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q811122
relation P180
type Q18783400
type Q11060274
[[{'concept': 'Q18783400'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?t WHERE { { ?d property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q18783400 } UNION { ?d property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q11060274 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ontology:Q18783400 ) ( ontology:Q11060274 ) } . ?o rdf:type ?b } . ?o property:P180 resource:Q811122 } } . FILTER ( ?x = ?w ) }
construction worker
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity construction worker
relation depicts
type genre of sculpture
type print
[[{'concept': 'genre of sculpture'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?t WHERE { { ?d property:depicts ?t . ?t rdf:type ontology:occupation . ?d rdf:type ontology:genre_of_sculpture } UNION { ?d property:depicts ?t . ?t rdf:type ontology:occupation . ?d rdf:type ontology:print } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ontology:genre_of_sculpture ) ( ontology:print ) } . ?o rdf:type ?b } . ?o property:depicts resource:construction_worker } } . FILTER ( ?x = ?w ) }
[]
occupation genre of sculpture print
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
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 Q11900058 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 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 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 Q170779 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(Q18783400)|c(Q11060274),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q811122
relation P180
type Q18783400
type Q11060274
[ANSWERS] are expressed in approximately the same number of genres of sculpture and prints as construction worker
[[{'concept': 'Q18783400'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?t WHERE { { ?d property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q18783400 } UNION { ?d property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q11060274 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ontology:Q18783400 ) ( ontology:Q11060274 ) } . ?o rdf:type ?b } . ?o property:P180 resource:Q811122 } } . FILTER ( ?x = ?w ) }
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 explorer 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 hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest 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 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 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
Nurse, tailor and librarian are expressed in approximately the same number of genres of sculpture and prints as construction worker
nurse tailor librarian
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity construction worker
relation depicts
type genre of sculpture
type print
[[{'concept': 'genre of sculpture'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?t WHERE { { ?d property:depicts ?t . ?t rdf:type ontology:occupation . ?d rdf:type ontology:genre_of_sculpture } UNION { ?d property:depicts ?t . ?t rdf:type ontology:occupation . ?d rdf:type ontology:print } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ontology:genre_of_sculpture ) ( ontology:print ) } . ?o rdf:type ?b } . ?o property:depicts resource:construction_worker } } . FILTER ( ?x = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1413824
P180
Q12737077 Q18783400 Q11060274
USER
And what about glassblower?
(c(Q18783400)|c(Q11060274),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q1413824
relation P180
type Q18783400
type Q11060274
[[{'concept': 'Q18783400'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?p WHERE { { ?a property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q18783400 } UNION { ?a property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q11060274 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { { ?g rdf:type ontology:Q11060274 } UNION { ?g rdf:type ontology:Q18783400 } } . ?g property:P180 resource:Q1413824 } } . FILTER ( ?i = ?v ) }
glassblower
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity glassblower
relation depicts
type genre of sculpture
type print
[[{'concept': 'genre of sculpture'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?p WHERE { { ?a property:depicts ?p . ?p rdf:type ontology:occupation . ?a rdf:type ontology:genre_of_sculpture } UNION { ?a property:depicts ?p . ?p rdf:type ontology:occupation . ?a rdf:type ontology:print } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { { ?g rdf:type ontology:print } UNION { ?g rdf:type ontology:genre_of_sculpture } } . ?g property:depicts resource:glassblower } } . FILTER ( ?i = ?v ) }
[]
occupation genre of sculpture print
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
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 Q11900058 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 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 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 Q170779 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(Q18783400)|c(Q11060274),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q1413824
relation P180
type Q18783400
type Q11060274
[ANSWERS]
[[{'concept': 'Q18783400'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?p WHERE { { ?a property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q18783400 } UNION { ?a property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q11060274 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { { ?g rdf:type ontology:Q11060274 } UNION { ?g rdf:type ontology:Q18783400 } } . ?g property:P180 resource:Q1413824 } } . FILTER ( ?i = ?v ) }
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 explorer 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 hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest 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 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 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
nurse tailor librarian
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity glassblower
relation depicts
type genre of sculpture
type print
[[{'concept': 'genre of sculpture'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?p WHERE { { ?a property:depicts ?p . ?p rdf:type ontology:occupation . ?a rdf:type ontology:genre_of_sculpture } UNION { ?a property:depicts ?p . ?p rdf:type ontology:occupation . ?a rdf:type ontology:print } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { { ?g rdf:type ontology:print } UNION { ?g rdf:type ontology:genre_of_sculpture } } . ?g property:depicts resource:glassblower } } . FILTER ( ?i = ?v ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q186360 Q242468 Q182436
P417
Q502895
USER
What people are the patron saint of those occupations ?
(Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,P417,c(Q502895))
action filter_type
action find
entity prev_answer
relation P417
type Q502895
['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?o property:P417 ?l . ?l rdf:type ontology:Q502895 . VALUES ( ?o ) { ( resource:Q19754019 ) ( resource:Q11957145 ) ( resource:Q1934482 ) } }
nurse tailor librarian
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?o property:patron_saint ?l . ?l rdf:type ontology:common_name . VALUES ( ?o ) { ( resource:fiddler ) ( resource:acrobat ) ( resource:milkmaid ) } }
[]
common name
Q229190 Q44248 Q43982
SYSTEM
Catherine of Siena, Jerome, Bartholomew the Apostle
Q332656 Q200895 Q229190 Q137947 Q179718 Q179718 Q43982 Q179718 Q44248 Q17590
(Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,P417,c(Q502895))
action filter_type
action find
entity prev_answer
relation P417
type Q502895
[ANSWERS] are the patron saint of those occupations
['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?o property:P417 ?l . ?l rdf:type ontology:Q502895 . VALUES ( ?o ) { ( resource:Q19754019 ) ( resource:Q11957145 ) ( resource:Q1934482 ) } }
Camillus de Lellis Agatha of Sicily Catherine of Siena Alexius of Rome Catherine of Alexandria Catherine of Alexandria Bartholomew the Apostle Catherine of Alexandria Jerome Lawrence of Rome
Catherine of Siena, Jerome and Bartholomew the Apostle are the patron saint of those occupations
Catherine of Siena Jerome Bartholomew the Apostle
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?o property:patron_saint ?l . ?l rdf:type ontology:common_name . VALUES ( ?o ) { ( resource:fiddler ) ( resource:acrobat ) ( resource:milkmaid ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q44248
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q44248,P20,c(Q56061))
action filter_type
action find
entity Q44248
relation P20
type Q56061
['Q44248', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q44248 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Jerome
action filter_type
action find
entity Jerome
relation place of death
type administrative territorial entity
['Jerome', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Jerome property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q44248
SYSTEM
Did you mean Jerome ?
Q229190 Q44248 Q43982
(Q229190,P20,c(Q56061)) (Q44248,P20,c(Q56061)) (Q43982,P20,c(Q56061))
[ANSWER]
['Q229190', 'P20', {'concept': 'Q56061'}] ['Q44248', 'P20', {'concept': 'Q56061'}] ['Q43982', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q44248 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Catherine of Siena Jerome Bartholomew the Apostle
Did you mean Jerome ?
Jerome
['Catherine of Siena', 'place of death', {'concept': 'administrative territorial entity'}] ['Jerome', 'place of death', {'concept': 'administrative territorial entity'}] ['Bartholomew the Apostle', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Jerome property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q44248,P20,c(Q56061))
['Q44248', 'P20', {'concept': 'Q56061'}]
['Jerome', 'place of death', {'concept': 'administrative territorial entity'}]
[]
Q5776
SYSTEM
Bethlehem
Q5776
(Q44248,P20,c(Q56061))
action filter_type
action find
entity Q44248
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q44248', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q44248 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Bethlehem
The expiration of that person occurred in Bethlehem
Bethlehem
action filter_type
action find
entity Jerome
relation place of death
type administrative territorial entity
['Jerome', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Jerome property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]