Simple Question (Direct)
Simple Question
Q6287555
P106
Q12737077
USER
What does Joseph V. Graff do for a living ?
(Q6287555,P106,c(Q12737077))
action filter_type
action find
entity Q6287555
relation P106
type Q12737077
['Q6287555', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q6287555 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Joseph V. Graff
action filter_type
action find
entity Joseph V. Graff
relation occupation
type occupation
['Joseph V. Graff', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Joseph_V._Graff property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6287555,P106,c(Q12737077))
action filter_type
action find
entity Q6287555
relation P106
type Q12737077
Joseph V . does a [ANSWER]
['Q6287555', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q6287555 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
politician
Joseph V . does a politician
politician
action filter_type
action find
entity Joseph V. Graff
relation occupation
type occupation
['Joseph V. Graff', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Joseph_V._Graff property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6287555
P21
Q290
USER
Which sex does Joseph V. Graff belong to ?
(Q6287555,P21,c(Q290))
action filter_type
action find
entity Q6287555
relation P21
type Q290
['Q6287555', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q6287555 property:P21 ?q . ?q rdf:type ontology:Q290 }
Joseph V. Graff
action filter_type
action find
entity Joseph V. Graff
relation gender
type sex
['Joseph V. Graff', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Joseph_V._Graff property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6287555,P21,c(Q290))
action filter_type
action find
entity Q6287555
relation P21
type Q290
To [ANSWER] does Joseph V. Graff belong to
['Q6287555', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q6287555 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
To male does Joseph V. Graff belong to
male
action filter_type
action find
entity Joseph V. Graff
relation gender
type sex
['Joseph V. Graff', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Joseph_V._Graff property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6287555
P20
Q56061
USER
Where did that person expire ?
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q6287555
relation P20
type Q56061
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q6287555 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Joseph V. Graff
action filter_type
action find
entity Joseph V. Graff
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Joseph_V._Graff property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q233129
SYSTEM
Peoria
Q233129
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q6287555
relation P20
type Q56061
That person expired at [ANSWER]
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q6287555 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Peoria
That person expired at Peoria
Peoria
action filter_type
action find
entity Joseph V. Graff
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Joseph_V._Graff property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q233129 Q12654984 Q12168936
P190
Q56061
USER
Is Peoria twin city of Gatautėliai and Țuțcanii din Vale ?
(Q233129,P190,Q12654984) (Q233129,P190,Q12168936)
action is_in
entity Q233129
action intersection
action find_reverse
entity Q12654984
relation P190
action find_reverse
entity Q12168936
relation P190
['Q233129', 'P190', 'Q12654984'] ['Q233129', 'P190', 'Q12168936']
ASK WHERE { resource:Q233129 property:P190 resource:Q12654984 . resource:Q233129 property:P190 resource:Q12168936 }
Peoria Gatautėliai Țuțcanii din Vale
action is_in
entity Peoria
action intersection
action find_reverse
entity Gatautėliai
relation sister city
action find_reverse
entity Țuțcanii din Vale
relation sister city
['Peoria', 'sister city', 'Gatautėliai'] ['Peoria', 'sister city', 'Țuțcanii din Vale']
ASK WHERE { resource:Peoria property:sister_city resource:Gatautėliai . resource:Peoria property:sister_city resource:Țuțcanii_din_Vale }
[]
administrative territorial entity
SYSTEM
NO
(Q233129,P190,Q12654984) (Q233129,P190,Q12168936)
action is_in
entity Q233129
action intersection
action find_reverse
entity Q12654984
relation P190
action find_reverse
entity Q12168936
relation P190
[ANSWER]
['Q233129', 'P190', 'Q12654984'] ['Q233129', 'P190', 'Q12168936']
ASK WHERE { resource:Q233129 property:P190 resource:Q12654984 . resource:Q233129 property:P190 resource:Q12168936 }
No
action is_in
entity Peoria
action intersection
action find_reverse
entity Gatautėliai
relation sister city
action find_reverse
entity Țuțcanii din Vale
relation sister city
['Peoria', 'sister city', 'Gatautėliai'] ['Peoria', 'sister city', 'Țuțcanii din Vale']
ASK WHERE { resource:Peoria property:sister_city resource:Gatautėliai . resource:Peoria property:sister_city resource:Țuțcanii_din_Vale }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q191067 Q2342494
USER
Which occupations were the main subjects of exactly 3 articles or collectables 's work ?
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 3
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?u ) WHERE { { ?e rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q191067 . ?c property:P921 ?e } UNION { ?c property:P921 ?e . ?c rdf:type ontology:Q2342494 . ?e rdf:type ontology:Q12737077 } } GROUP BY ?e } . FILTER ( ?u = 3 ) }
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 3
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?u ) WHERE { { ?e rdf:type ontology:occupation . ?c rdf:type ontology:article . ?c property:main_subject ?e } UNION { ?c property:main_subject ?e . ?c rdf:type ontology:collectable . ?e rdf:type ontology:occupation } } GROUP BY ?e } . FILTER ( ?u = 3 ) }
[]
occupation article collectable
Q39631 Q937857
SYSTEM
physician, association football player
Q39631 Q937857
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 3
[ANSWERS] were the main subjects of exactly 3 articles or collectables 's work
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?u ) WHERE { { ?e rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q191067 . ?c property:P921 ?e } UNION { ?c property:P921 ?e . ?c rdf:type ontology:Q2342494 . ?e rdf:type ontology:Q12737077 } } GROUP BY ?e } . FILTER ( ?u = 3 ) }
physician association football player
Physician and association football player were the main subjects of exactly 3 articles or collectables 's work
physician association football player
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 3
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?u ) WHERE { { ?e rdf:type ontology:occupation . ?c rdf:type ontology:article . ?c property:main_subject ?e } UNION { ?c property:main_subject ?e . ?c rdf:type ontology:collectable . ?e rdf:type ontology:occupation } } GROUP BY ?e } . FILTER ( ?u = 3 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q468819
P106
Q502895
USER
Do Charles Bilot have those occupations as his/her means of employment ?
(Q468819,P106,Q39631) (Q468819,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q468819
relation P106
['Q468819', 'P106', 'Q39631'] ['Q468819', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?h ) { ( resource:Q39631 ) ( resource:Q937857 ) } . resource:Q468819 property:P106 ?h }
Charles Bilot
action is_in
entity prev_answer
action find
entity Charles Bilot
relation occupation
['Charles Bilot', 'occupation', 'physician'] ['Charles Bilot', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?h ) { ( resource:physician ) ( resource:association_football_player ) } . resource:Charles_Bilot property:occupation ?h }
[]
common name
SYSTEM
YES
(Q468819,P106,Q39631) (Q468819,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q468819
relation P106
[ANSWER]
['Q468819', 'P106', 'Q39631'] ['Q468819', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?h ) { ( resource:Q39631 ) ( resource:Q937857 ) } . resource:Q468819 property:P106 ?h }
Yes
action is_in
entity prev_answer
action find
entity Charles Bilot
relation occupation
['Charles Bilot', 'occupation', 'physician'] ['Charles Bilot', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?h ) { ( resource:physician ) ( resource:association_football_player ) } . resource:Charles_Bilot property:occupation ?h }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15958185
P921
Q12737077 Q732577 Q838948
USER
Which occupations were discussed in approximately the same number of publications and works of art as racecar driver ?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q15958185
relation P921
type Q732577
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) ?v WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } . ?k property:P921 resource:Q15958185 } } . FILTER ( ?m = ?o ) }
racecar driver
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity racecar driver
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) ?v WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:publication ) ( ontology:work_of_art ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:publication ) ( ontology:work_of_art ) } } . ?k property:main_subject resource:racecar_driver } } . FILTER ( ?m = ?o ) }
[]
occupation publication work of art
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 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(Q732577)|c(Q838948),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q15958185
relation P921
type Q732577
type Q838948
[ANSWERS] were discussed in approximately the same number of publications and works of art as racecar driver
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) ?v WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } . ?k property:P921 resource:Q15958185 } } . FILTER ( ?m = ?o ) }
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 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 discussed in approximately the same number of publications and works of art as racecar driver
Fletcher Christian farmer librarian
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity racecar driver
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) ?v WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:publication ) ( ontology:work_of_art ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:publication ) ( ontology:work_of_art ) } } . ?k property:main_subject resource:racecar_driver } } . FILTER ( ?m = ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4643847 Q937857
P425 P921
Q349
USER
Which sports are associated with the field of occupation association football player or were 7 Girls mainly about ?
OR((Q937857,P425,c(Q349)), (Q4643847,P921,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q4643847
relation P921
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q4643847', 'P921', {'concept': 'Q349'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q4643847 property:P921 ?d } UNION { resource:Q937857 property:P425 ?d } } . ?d rdf:type ontology:Q349 }
7 Girls association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity 7 Girls
relation main subject
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['7 Girls', 'main subject', {'concept': 'sport'}]]}
SELECT DISTINCT ?d WHERE { { { resource:7_Girls property:main_subject ?d } UNION { resource:association_football_player property:field_of_this_occupation ?d } } . ?d rdf:type ontology:sport }
[]
sport
Q159992 Q2736
SYSTEM
surfing, association football
Q159992 Q2736
OR((Q937857,P425,c(Q349)), (Q4643847,P921,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q4643847
relation P921
type Q349
And [ANSWERS] are associated with the field of occupation association football player or were 7 Girls mainly about
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q4643847', 'P921', {'concept': 'Q349'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q4643847 property:P921 ?d } UNION { resource:Q937857 property:P425 ?d } } . ?d rdf:type ontology:Q349 }
surfing association football
And surfing and association football are associated with the field of occupation association football player or were 7 Girls mainly about
surfing association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity 7 Girls
relation main subject
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['7 Girls', 'main subject', {'concept': 'sport'}]]}
SELECT DISTINCT ?d WHERE { { { resource:7_Girls property:main_subject ?d } UNION { resource:association_football_player property:field_of_this_occupation ?d } } . ?d rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q316070
P20
Q56061
USER
How many administrative territories did Fletcher Christian expire ?
(Q316070,P20,c(Q56061))
action count
action filter_type
action find
entity Q316070
relation P20
type Q56061
['Q316070', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q316070 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Fletcher Christian
action count
action filter_type
action find
entity Fletcher Christian
relation place of death
type administrative territorial entity
['Fletcher Christian', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Fletcher_Christian property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q48273
(Q316070,P20,c(Q56061))
action count
action filter_type
action find
entity Q316070
relation P20
type Q56061
[ANSWER]
['Q316070', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q316070 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Adamstown
1
action count
action filter_type
action find
entity Fletcher Christian
relation place of death
type administrative territorial entity
['Fletcher Christian', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Fletcher_Christian property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]