Simple Question (Direct)
Simple Question
Q11956741
P22
Q502895
USER
Who was the father of Aaron Burmeister ?
(Q11956741,P22,c(Q502895))
action filter_type
action find
entity Q11956741
relation P22
type Q502895
['Q11956741', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q11956741 property:P22 ?g . ?g rdf:type ontology:Q502895 }
Aaron Burmeister
action filter_type
action find
entity Aaron Burmeister
relation father
type common name
['Aaron Burmeister', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Aaron_Burmeister property:father ?g . ?g rdf:type ontology:common_name }
[]
common name
Q18601741
SYSTEM
Richard Burmeister
Q18601741
(Q11956741,P22,c(Q502895))
action filter_type
action find
entity Q11956741
relation P22
type Q502895
The father of Aaron Burmeister was named [ANSWER]
['Q11956741', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q11956741 property:P22 ?g . ?g rdf:type ontology:Q502895 }
Richard Burmeister
The father of Aaron Burmeister was named Richard Burmeister
Richard Burmeister
action filter_type
action find
entity Aaron Burmeister
relation father
type common name
['Aaron Burmeister', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Aaron_Burmeister property:father ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11956741
P40
Q502895
USER
Who has Aaron Burmeister as an offspring ?
(c(Q502895),P40,Q11956741)
action filter_type
action find_reverse
entity Q11956741
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q11956741']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q11956741 . ?x rdf:type ontology:Q502895 }
Aaron Burmeister
action filter_type
action find_reverse
entity Aaron Burmeister
relation child
type common name
[{'concept': 'common name'}, 'child', 'Aaron Burmeister']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Aaron_Burmeister . ?x rdf:type ontology:common_name }
[]
common name
Q18601741
SYSTEM
Richard Burmeister
Q18601741
(c(Q502895),P40,Q11956741)
action filter_type
action find_reverse
entity Q11956741
relation P40
type Q502895
[ANSWER] has Aaron Burmeister as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q11956741']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q11956741 . ?x rdf:type ontology:Q502895 }
Richard Burmeister
Richard Burmeister has Aaron Burmeister as an offspring
Richard Burmeister
action filter_type
action find_reverse
entity Aaron Burmeister
relation child
type common name
[{'concept': 'common name'}, 'child', 'Aaron Burmeister']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Aaron_Burmeister . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18601741
P551
Q852446
USER
Which US administrative territory was that person a resident of ?
(Q18601741,P551,c(Q852446))
action filter_type
action find
entity Q18601741
relation P551
type Q852446
['Q18601741', 'P551', {'concept': 'Q852446'}]
SELECT DISTINCT ?e WHERE { resource:Q18601741 property:P551 ?e . ?e rdf:type ontology:Q852446 }
Richard Burmeister
action filter_type
action find
entity Richard Burmeister
relation residence
type administrative territorial entity of the United States
['Richard Burmeister', 'residence', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?e WHERE { resource:Richard_Burmeister property:residence ?e . ?e rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q797
SYSTEM
Alaska
Q797
(Q18601741,P551,c(Q852446))
action filter_type
action find
entity Q18601741
relation P551
type Q852446
The [ANSWER] was that person a resident of
['Q18601741', 'P551', {'concept': 'Q852446'}]
SELECT DISTINCT ?e WHERE { resource:Q18601741 property:P551 ?e . ?e rdf:type ontology:Q852446 }
Alaska
The Alaska was that person a resident of
Alaska
action filter_type
action find
entity Richard Burmeister
relation residence
type administrative territorial entity of the United States
['Richard Burmeister', 'residence', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?e WHERE { resource:Richard_Burmeister property:residence ?e . ?e rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q797
P276
Q15275719
USER
Which recurring event has its location as that US administrative territory ?
(c(Q15275719),P276,Q797)
action filter_type
action find_reverse
entity Q797
relation P276
type Q15275719
[{'concept': 'Q15275719'}, 'P276', 'Q797']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15275719 . ?w property:P276 resource:Q797 }
Alaska
action filter_type
action find_reverse
entity Alaska
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Alaska']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:recurring_event . ?w property:location resource:Alaska }
[]
recurring event
Q1415139
SYSTEM
Iditarod Trail Sled Dog Race
Q1415139
(c(Q15275719),P276,Q797)
action filter_type
action find_reverse
entity Q797
relation P276
type Q15275719
[ANSWER] has its location as that US administrative territory
[{'concept': 'Q15275719'}, 'P276', 'Q797']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15275719 . ?w property:P276 resource:Q797 }
Iditarod Trail Sled Dog Race
Iditarod Trail Sled Dog Race has its location as that US administrative territory
Iditarod Trail Sled Dog Race
action filter_type
action find_reverse
entity Alaska
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Alaska']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:recurring_event . ?w property:location resource:Alaska }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1826 Q797
P194
Q11204
USER
Which legislatures govern Alaska or Tagbilaran ?
OR((Q797,P194,c(Q11204)), (Q1826,P194,c(Q11204)))
action filter_type
action union
action find
entity Q797
relation P194
action find
entity Q1826
relation P194
type Q11204
{'OR': [['Q797', 'P194', {'concept': 'Q11204'}], ['Q1826', 'P194', {'concept': 'Q11204'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q797 property:P194 ?h } UNION { resource:Q1826 property:P194 ?h } } . ?h rdf:type ontology:Q11204 }
Tagbilaran Alaska
action filter_type
action union
action find
entity Alaska
relation legislative body
action find
entity Tagbilaran
relation legislative body
type legislature
{'OR': [['Alaska', 'legislative body', {'concept': 'legislature'}], ['Tagbilaran', 'legislative body', {'concept': 'legislature'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Alaska property:legislative_body ?h } UNION { resource:Tagbilaran property:legislative_body ?h } } . ?h rdf:type ontology:legislature }
[]
legislature
Q22443320 Q719894
SYSTEM
Sangguniang Panlungsod of Tagbilaran, Alaska Legislature
Q22443320 Q719894
OR((Q797,P194,c(Q11204)), (Q1826,P194,c(Q11204)))
action filter_type
action union
action find
entity Q797
relation P194
action find
entity Q1826
relation P194
type Q11204
[ANSWERS] govern Alaska or Tagbilaran
{'OR': [['Q797', 'P194', {'concept': 'Q11204'}], ['Q1826', 'P194', {'concept': 'Q11204'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q797 property:P194 ?h } UNION { resource:Q1826 property:P194 ?h } } . ?h rdf:type ontology:Q11204 }
Sangguniang Panlungsod of Tagbilaran Alaska Legislature
Sangguniang Panlungsod of Tagbilaran and Alaska Legislature govern Alaska or Tagbilaran
Sangguniang Panlungsod of Tagbilaran Alaska Legislature
action filter_type
action union
action find
entity Alaska
relation legislative body
action find
entity Tagbilaran
relation legislative body
type legislature
{'OR': [['Alaska', 'legislative body', {'concept': 'legislature'}], ['Tagbilaran', 'legislative body', {'concept': 'legislature'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Alaska property:legislative_body ?h } UNION { resource:Tagbilaran property:legislative_body ?h } } . ?h rdf:type ontology:legislature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1826
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Tagbilaran ?
(Q1826,P1313,c(Q12737077))
action filter_type
action find
entity Q1826
relation P1313
type Q12737077
['Q1826', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1826 property:P1313 ?z . ?z rdf:type ontology:Q12737077 }
Tagbilaran
action filter_type
action find
entity Tagbilaran
relation office held by head of government
type occupation
['Tagbilaran', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Tagbilaran property:office_held_by_head_of_government ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q1826,P1313,c(Q12737077))
action filter_type
action find
entity Q1826
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Tagbilaran
['Q1826', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1826 property:P1313 ?z . ?z rdf:type ontology:Q12737077 }
mayor
The mayor serves as the political office that is fulfilled by the head of the government of Tagbilaran
mayor
action filter_type
action find
entity Tagbilaran
relation office held by head of government
type occupation
['Tagbilaran', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Tagbilaran property:office_held_by_head_of_government ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12281
Q12737077
USER
And what about Molló?
(Q12281,P1313,c(Q12737077))
action filter_type
action find
entity Q12281
relation P1313
type Q12737077
['Q12281', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q12281 property:P1313 ?q }
Molló
action filter_type
action find
entity Molló
relation office held by head of government
type occupation
['Molló', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Molló property:office_held_by_head_of_government ?q }
[]
occupation
Q26690549
SYSTEM
mayor of Molló
Q26690549
(Q12281,P1313,c(Q12737077))
action filter_type
action find
entity Q12281
relation P1313
type Q12737077
[ANSWER]
['Q12281', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q12281 property:P1313 ?q }
mayor of Molló
mayor of Molló
action filter_type
action find
entity Molló
relation office held by head of government
type occupation
['Molló', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Molló property:office_held_by_head_of_government ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26690549
P1001
Q1048835
USER
Which political territory applies to jurisdiction of that occupation ?
(Q26690549,P1001,c(Q1048835))
action filter_type
action find
entity Q26690549
relation P1001
type Q1048835
['Q26690549', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q26690549 property:P1001 ?j . ?j rdf:type ontology:Q1048835 }
mayor of Molló
action filter_type
action find
entity mayor of Molló
relation applies to jurisdiction
type political territorial entity
['mayor of Molló', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:mayor_of_Molló property:applies_to_jurisdiction ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q12281
SYSTEM
Molló
Q12281
(Q26690549,P1001,c(Q1048835))
action filter_type
action find
entity Q26690549
relation P1001
type Q1048835
Of [ANSWER] applies to jurisdiction of that occupation
['Q26690549', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q26690549 property:P1001 ?j . ?j rdf:type ontology:Q1048835 }
Molló
Of Molló applies to jurisdiction of that occupation
Molló
action filter_type
action find
entity mayor of Molló
relation applies to jurisdiction
type political territorial entity
['mayor of Molló', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:mayor_of_Molló property:applies_to_jurisdiction ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q214994 Q7340286
P50
Q7725634
USER
How many literary works have Rodolfo Amando Philippi or Rob Kidd as their author ?
(c(Q7725634),P50,Q214994) (c(Q7725634),P50,Q7340286)
action count
action union
action filter_type
action find_reverse
entity Q214994
relation P50
type Q7725634
action filter_type
action find_reverse
entity Q7340286
relation P50
type Q7725634
[{'concept': 'Q7725634'}, 'P50', 'Q214994'] [{'concept': 'Q7725634'}, 'P50', 'Q7340286']
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P50 ?u . VALUES ( ?u ) { ( resource:Q214994 ) ( resource:Q7340286 ) } }
Rodolfo Amando Philippi Rob Kidd
action count
action union
action filter_type
action find_reverse
entity Rodolfo Amando Philippi
relation author
type literary work
action filter_type
action find_reverse
entity Rob Kidd
relation author
type literary work
[{'concept': 'literary work'}, 'author', 'Rodolfo Amando Philippi'] [{'concept': 'literary work'}, 'author', 'Rob Kidd']
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:author ?u . VALUES ( ?u ) { ( resource:Rodolfo_Amando_Philippi ) ( resource:Rob_Kidd ) } }
[]
literary work
SYSTEM
2
Q2460913 Q676396
(c(Q7725634),P50,Q214994) (c(Q7725634),P50,Q7340286)
action count
action union
action filter_type
action find_reverse
entity Q214994
relation P50
type Q7725634
action filter_type
action find_reverse
entity Q7340286
relation P50
type Q7725634
[ANSWER]
[{'concept': 'Q7725634'}, 'P50', 'Q214994'] [{'concept': 'Q7725634'}, 'P50', 'Q7340286']
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P50 ?u . VALUES ( ?u ) { ( resource:Q214994 ) ( resource:Q7340286 ) } }
Pirates of the Caribbean: Jack Sparrow Pirates of the Caribbean: Legends of the Brethren Court
2
action count
action union
action filter_type
action find_reverse
entity Rodolfo Amando Philippi
relation author
type literary work
action filter_type
action find_reverse
entity Rob Kidd
relation author
type literary work
[{'concept': 'literary work'}, 'author', 'Rodolfo Amando Philippi'] [{'concept': 'literary work'}, 'author', 'Rob Kidd']
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:author ?u . VALUES ( ?u ) { ( resource:Rodolfo_Amando_Philippi ) ( resource:Rob_Kidd ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q218
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with approximately the same number of political territories as Romania ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q218
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?g ) WHERE { ?a property:P530 ?t . ?a rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q218 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?d ) }
Romania
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Romania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?g ) WHERE { ?a property:diplomatic_relation ?t . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Romania property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?d ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
32
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q884 Q33 Q30 Q36 Q34 Q39 Q739 Q423 Q851 Q20 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q218
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?g ) WHERE { ?a property:P530 ?t . ?a rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q218 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?d ) }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey South Korea Finland United States of America Poland Sweden Switzerland Colombia North Korea Saudi Arabia Norway Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
32
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Romania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?g ) WHERE { ?a property:diplomatic_relation ?t . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Romania property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q211423
P180
Q12737077 Q17638008 Q340169
USER
Which occupations are expressed in around the same number of game equipment or medias as goldsmith ?
(c(Q17638008)|c(Q340169),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 Q340169
action count
action filter_multi_types
action find_reverse
entity Q211423
relation P180
type Q17638008
type Q340169
[[{'concept': 'Q17638008'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?b WHERE { { ?b rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q340169 . ?v property:P180 ?b } UNION { ?v property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q17638008 } } GROUP BY ?b } . FILTER ( ?s = ?x ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P180 resource:Q211423 . { { ?l rdf:type ontology:Q340169 } UNION { ?l rdf:type ontology:Q17638008 } } } } }
goldsmith
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 media
action count
action filter_multi_types
action find_reverse
entity goldsmith
relation depicts
type game equipment
type media
[[{'concept': 'game equipment'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?b WHERE { { ?b rdf:type ontology:occupation . ?v rdf:type ontology:media . ?v property:depicts ?b } UNION { ?v property:depicts ?b . ?b rdf:type ontology:occupation . ?v rdf:type ontology:game_equipment } } GROUP BY ?b } . FILTER ( ?s = ?x ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:depicts resource:goldsmith . { { ?l rdf:type ontology:media } UNION { ?l rdf:type ontology:game_equipment } } } } }
[]
occupation game equipment media
Q131512 Q242468 Q182436
SYSTEM
farmer, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 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 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q49757 Q160131 Q4990607 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q340169),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 Q340169
action count
action filter_multi_types
action find_reverse
entity Q211423
relation P180
type Q17638008
type Q340169
The [ANSWERS] are expressed in around the same number of game equipment or medias as goldsmith
[[{'concept': 'Q17638008'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?b WHERE { { ?b rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q340169 . ?v property:P180 ?b } UNION { ?v property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q17638008 } } GROUP BY ?b } . FILTER ( ?s = ?x ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P180 resource:Q211423 . { { ?l rdf:type ontology:Q340169 } UNION { ?l rdf:type ontology:Q17638008 } } } } }
fiddler acrobat milkmaid worker standard-bearer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist 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 clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic 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 goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith magistrate domestic worker tailor cardinal housekeeper theologian courier monarch porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra 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 poet baker knife grinder 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 bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
The farmer, tailor and librarian are expressed in around the same number of game equipment or medias as goldsmith
farmer tailor librarian
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 media
action count
action filter_multi_types
action find_reverse
entity goldsmith
relation depicts
type game equipment
type media
[[{'concept': 'game equipment'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?b WHERE { { ?b rdf:type ontology:occupation . ?v rdf:type ontology:media . ?v property:depicts ?b } UNION { ?v property:depicts ?b . ?b rdf:type ontology:occupation . ?v rdf:type ontology:game_equipment } } GROUP BY ?b } . FILTER ( ?s = ?x ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:depicts resource:goldsmith . { { ?l rdf:type ontology:media } UNION { ?l rdf:type ontology:game_equipment } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q185992
P180
Q12737077 Q17638008 Q340169
USER
And how about mufti?
(c(Q17638008)|c(Q340169),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 Q340169
action count
action filter_multi_types
action find_reverse
entity Q185992
relation P180
type Q17638008
type Q340169
[[{'concept': 'Q17638008'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?w ) WHERE { { ?y rdf:type ontology:Q340169 . ?h rdf:type ontology:Q12737077 . ?y property:P180 ?h } UNION { ?y property:P180 ?h . ?h rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q17638008 } } GROUP BY ?h } . FILTER ( ?w = ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q17638008 ) ( ontology:Q340169 ) } } . ?n property:P180 resource:Q185992 } } }
mufti
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 media
action count
action filter_multi_types
action find_reverse
entity mufti
relation depicts
type game equipment
type media
[[{'concept': 'game equipment'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?w ) WHERE { { ?y rdf:type ontology:media . ?h rdf:type ontology:occupation . ?y property:depicts ?h } UNION { ?y property:depicts ?h . ?h rdf:type ontology:occupation . ?y rdf:type ontology:game_equipment } } GROUP BY ?h } . FILTER ( ?w = ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:game_equipment ) ( ontology:media ) } } . ?n property:depicts resource:mufti } } }
[]
occupation game equipment media
Q131512 Q242468 Q182436
SYSTEM
farmer, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 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 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q49757 Q160131 Q4990607 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q340169),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 Q340169
action count
action filter_multi_types
action find_reverse
entity Q185992
relation P180
type Q17638008
type Q340169
[ANSWERS]
[[{'concept': 'Q17638008'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?w ) WHERE { { ?y rdf:type ontology:Q340169 . ?h rdf:type ontology:Q12737077 . ?y property:P180 ?h } UNION { ?y property:P180 ?h . ?h rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q17638008 } } GROUP BY ?h } . FILTER ( ?w = ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q17638008 ) ( ontology:Q340169 ) } } . ?n property:P180 resource:Q185992 } } }
fiddler acrobat milkmaid worker standard-bearer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist 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 clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic 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 goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith magistrate domestic worker tailor cardinal housekeeper theologian courier monarch porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra 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 poet baker knife grinder 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 bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
farmer tailor librarian
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 media
action count
action filter_multi_types
action find_reverse
entity mufti
relation depicts
type game equipment
type media
[[{'concept': 'game equipment'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?w ) WHERE { { ?y rdf:type ontology:media . ?h rdf:type ontology:occupation . ?y property:depicts ?h } UNION { ?y property:depicts ?h . ?h rdf:type ontology:occupation . ?y rdf:type ontology:game_equipment } } GROUP BY ?h } . FILTER ( ?w = ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:game_equipment ) ( ontology:media ) } } . ?n property:depicts resource:mufti } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q131512 Q242468 Q182436
P417
Q502895
USER
What are the names of the patron saint of farmer, tailor and librarian ?
(Q131512,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,P417,c(Q502895))
action union
action filter_type
action find
entity Q131512
relation P417
type Q502895
action filter_type
action find
entity Q242468
relation P417
type Q502895
action filter_type
action find
entity Q182436
relation P417
type Q502895
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?j ) { ( resource:Q242468 ) ( resource:Q131512 ) } . ?j property:P417 ?a }
farmer tailor librarian
action union
action filter_type
action find
entity farmer
relation patron saint
type common name
action filter_type
action find
entity tailor
relation patron saint
type common name
action filter_type
action find
entity librarian
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?j ) { ( resource:tailor ) ( resource:farmer ) } . ?j property:patron_saint ?a }
[]
common name
Q166876 Q44248 Q44265
SYSTEM
Isidore of Seville, Jerome, Benedict of Nursia
Q119289 Q166876 Q151967 Q44265 Q43982 Q179718 Q43982 Q179718 Q44248 Q17590
(Q131512,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,P417,c(Q502895))
action union
action filter_type
action find
entity Q131512
relation P417
type Q502895
action filter_type
action find
entity Q242468
relation P417
type Q502895
action filter_type
action find
entity Q182436
relation P417
type Q502895
The names of the patron saint of farmer , tailor and librarian are [ANSWERS]
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?j ) { ( resource:Q242468 ) ( resource:Q131512 ) } . ?j property:P417 ?a }
Leonard of Port Maurice Isidore of Seville Saint Blaise Benedict of Nursia Bartholomew the Apostle Catherine of Alexandria Bartholomew the Apostle Catherine of Alexandria Jerome Lawrence of Rome
The names of the patron saint of farmer , tailor and librarian are Isidore of Seville, Jerome and Benedict of Nursia
Isidore of Seville Jerome Benedict of Nursia
action union
action filter_type
action find
entity farmer
relation patron saint
type common name
action filter_type
action find
entity tailor
relation patron saint
type common name
action filter_type
action find
entity librarian
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?j ) { ( resource:tailor ) ( resource:farmer ) } . ?j property:patron_saint ?a }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q166876 Q44248 Q44265
P417
Q12737077
USER
Which occupations have adopted those people as patron saint ?
(c(Q12737077),P417,Q166876) (c(Q12737077),P417,Q44248) (c(Q12737077),P417,Q44265)
action filter_type
action find_reverse
entity prev_answer
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q166876'] [{'concept': 'Q12737077'}, 'P417', 'Q44248'] [{'concept': 'Q12737077'}, 'P417', 'Q44265']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . VALUES ( ?q ) { ( resource:Q119289 ) ( resource:Q166876 ) ( resource:Q151967 ) } . ?e property:P417 ?q }
Isidore of Seville Jerome Benedict of Nursia
action filter_type
action find_reverse
entity prev_answer
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'occupation'}, 'patron saint', 'Jerome'] [{'concept': 'occupation'}, 'patron saint', 'Benedict of Nursia']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . VALUES ( ?q ) { ( resource:Leonard_of_Port_Maurice ) ( resource:Isidore_of_Seville ) ( resource:Saint_Blaise ) } . ?e property:patron_saint ?q }
[]
occupation
Q131512 Q131512 Q182436
SYSTEM
farmer for 1st, 2nd, librarian for 3rd
Q131512 Q82594 Q182436 Q3621491 Q131512 Q42973
(c(Q12737077),P417,Q166876) (c(Q12737077),P417,Q44248) (c(Q12737077),P417,Q44265)
action filter_type
action find_reverse
entity prev_answer
relation P417
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', 'Q166876'] [{'concept': 'Q12737077'}, 'P417', 'Q44248'] [{'concept': 'Q12737077'}, 'P417', 'Q44265']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . VALUES ( ?q ) { ( resource:Q119289 ) ( resource:Q166876 ) ( resource:Q151967 ) } . ?e property:P417 ?q }
farmer computer scientist librarian archaeologist farmer architect
Farmer, farmer and librarian have adopted those people as patron saint
farmer farmer librarian
action filter_type
action find_reverse
entity prev_answer
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'occupation'}, 'patron saint', 'Jerome'] [{'concept': 'occupation'}, 'patron saint', 'Benedict of Nursia']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . VALUES ( ?q ) { ( resource:Leonard_of_Port_Maurice ) ( resource:Isidore_of_Seville ) ( resource:Saint_Blaise ) } . ?e property:patron_saint ?q }
[]