Simple Question (Direct)
Simple Question
Q16236800
P106
Q12737077
USER
Which occupation has Jasper Johns as his/her 's career ?
(Q16236800,P106,c(Q12737077))
action filter_type
action find
entity Q16236800
relation P106
type Q12737077
['Q16236800', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q16236800 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Jasper Johns
action filter_type
action find
entity Jasper Johns
relation occupation
type occupation
['Jasper Johns', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Jasper_Johns property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16236800,P106,c(Q12737077))
action filter_type
action find
entity Q16236800
relation P106
type Q12737077
Player [ANSWER] has Jasper Johns as his/her 's career
['Q16236800', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q16236800 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
Player association football player has Jasper Johns as his/her 's career
association football player
action filter_type
action find
entity Jasper Johns
relation occupation
type occupation
['Jasper Johns', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Jasper_Johns property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16236800
P641
Q349
USER
Which sport did Jasper Johns participate in ?
(Q16236800,P641,c(Q349))
action filter_type
action find
entity Q16236800
relation P641
type Q349
['Q16236800', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q16236800 property:P641 ?a . ?a rdf:type ontology:Q349 }
Jasper Johns
action filter_type
action find
entity Jasper Johns
relation sport
type sport
['Jasper Johns', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Jasper_Johns property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16236800,P641,c(Q349))
action filter_type
action find
entity Q16236800
relation P641
type Q349
Jasper Johns participated in [ANSWER]
['Q16236800', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q16236800 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
Jasper Johns participated in association football
association football
action filter_type
action find
entity Jasper Johns
relation sport
type sport
['Jasper Johns', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Jasper_Johns property:sport ?a . ?a rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q5524163
P641
Q502895
USER
Does Garry Kimble play that sport ?
(Q5524163,P641,Q2736)
action is_in
entity Q2736
action find
entity Q5524163
relation P641
['Q5524163', 'P641', 'Q2736']
ASK WHERE { resource:Q5524163 property:P641 resource:Q2736 }
association football Garry Kimble
action is_in
entity association football
action find
entity Garry Kimble
relation sport
['Garry Kimble', 'sport', 'association football']
ASK WHERE { resource:Garry_Kimble property:sport resource:association_football }
[]
common name
SYSTEM
YES
(Q5524163,P641,Q2736)
action is_in
entity Q2736
action find
entity Q5524163
relation P641
[ANSWER]
['Q5524163', 'P641', 'Q2736']
ASK WHERE { resource:Q5524163 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity Garry Kimble
relation sport
['Garry Kimble', 'sport', 'association football']
ASK WHERE { resource:Garry_Kimble property:sport resource:association_football }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
What is the country of origin of that sport ?
action filter_type
action find
entity Q2736
relation P495
type Q1496967
SELECT DISTINCT ?e WHERE { resource:Q2736 property:P495 ?e . ?e rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
SELECT DISTINCT ?e WHERE { resource:association_football property:country_of_origin ?e . ?e rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The country of origin of that sport is in [ANSWER]
SELECT DISTINCT ?e WHERE { resource:Q2736 property:P495 ?e . ?e rdf:type ontology:Q1496967 }
England
The country of origin of that sport is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
SELECT DISTINCT ?e WHERE { resource:association_football property:country_of_origin ?e . ?e rdf:type ontology:territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4945046 Q21
P36 P20
Q56061
USER
Which administrative territories are the capitals of England or did the expiration of Borges de Medeiros occur ?
OR((Q21,P36,c(Q56061)), (Q4945046,P20,c(Q56061)))
action filter_type
action union
action find
entity Q21
relation P36
action find
entity Q4945046
relation P20
type Q56061
{'OR': [['Q21', 'P36', {'concept': 'Q56061'}], ['Q4945046', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q21 property:P36 ?r } UNION { resource:Q4945046 property:P20 ?r } } . ?r rdf:type ontology:Q56061 }
Borges de Medeiros England
action filter_type
action union
action find
entity England
relation capital
action find
entity Borges de Medeiros
relation place of death
type administrative territorial entity
{'OR': [['England', 'capital', {'concept': 'administrative territorial entity'}], ['Borges de Medeiros', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:England property:capital ?r } UNION { resource:Borges_de_Medeiros property:place_of_death ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q40269 Q84
SYSTEM
Porto Alegre, London
Q40269 Q84
OR((Q21,P36,c(Q56061)), (Q4945046,P20,c(Q56061)))
action filter_type
action union
action find
entity Q21
relation P36
action find
entity Q4945046
relation P20
type Q56061
[ANSWERS] are the capitals of England or did the expiration of Borges de Medeiros occur
{'OR': [['Q21', 'P36', {'concept': 'Q56061'}], ['Q4945046', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q21 property:P36 ?r } UNION { resource:Q4945046 property:P20 ?r } } . ?r rdf:type ontology:Q56061 }
Porto Alegre London
Porto Alegre and London are the capitals of England or did the expiration of Borges de Medeiros occur
Porto Alegre London
action filter_type
action union
action find
entity England
relation capital
action find
entity Borges de Medeiros
relation place of death
type administrative territorial entity
{'OR': [['England', 'capital', {'concept': 'administrative territorial entity'}], ['Borges de Medeiros', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:England property:capital ?r } UNION { resource:Borges_de_Medeiros property:place_of_death ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q937857 Q783770
P921
Q2342494
USER
How many collectables have association football player or agriculture in the United States as their principal topic ?
(c(Q2342494),P921,Q937857) (c(Q2342494),P921,Q783770)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q783770
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q937857'] [{'concept': 'Q2342494'}, 'P921', 'Q783770']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:P921 resource:Q783770 . ?y rdf:type ontology:Q2342494 } UNION { ?y property:P921 resource:Q937857 . ?y rdf:type ontology:Q2342494 } }
association football player agriculture in the United States
action count
action union
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
action filter_type
action find_reverse
entity agriculture in the United States
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player'] [{'concept': 'collectable'}, 'main subject', 'agriculture in the United States']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:main_subject resource:agriculture_in_the_United_States . ?y rdf:type ontology:collectable } UNION { ?y property:main_subject resource:association_football_player . ?y rdf:type ontology:collectable } }
[]
collectable
SYSTEM
3
Q23730991 Q24787529 Q19845002
(c(Q2342494),P921,Q937857) (c(Q2342494),P921,Q783770)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q783770
relation P921
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q937857'] [{'concept': 'Q2342494'}, 'P921', 'Q783770']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:P921 resource:Q783770 . ?y rdf:type ontology:Q2342494 } UNION { ?y property:P921 resource:Q937857 . ?y rdf:type ontology:Q2342494 } }
Timeless Bees: Brentford F.C. who's who 1920-2006 The PFA footballers' who's who 2008-09 Citizens and minstermen : a who's who of York City FC, 1922-1997
3
action count
action union
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
action filter_type
action find_reverse
entity agriculture in the United States
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player'] [{'concept': 'collectable'}, 'main subject', 'agriculture in the United States']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:main_subject resource:agriculture_in_the_United_States . ?y rdf:type ontology:collectable } UNION { ?y property:main_subject resource:association_football_player . ?y rdf:type ontology:collectable } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q337567 Q355304 Q56061
USER
Which administrative territories are located nearby max number of still waterss and watercourses ?
(c(Q56061),P206,c(Q337567)|c(Q355304))
action argmax
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q355304
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?f ) WHERE { VALUES ( ?b ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?j rdf:type ?b } GROUP BY ?y } } . { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?k ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?m rdf:type ?k } GROUP BY ?d } . FILTER ( ?x = ?c ) }
action argmax
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?f ) WHERE { VALUES ( ?b ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?j rdf:type ?b } GROUP BY ?y } } . { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?k ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?m rdf:type ?k } GROUP BY ?d } . FILTER ( ?x = ?c ) }
[]
still waters watercourse administrative territorial entity
Q1709
SYSTEM
Schwerin
Q1709
(c(Q56061),P206,c(Q337567)|c(Q355304))
action argmax
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q355304
[ANSWER] is located nearby max number of still waterss and watercourses
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?f ) WHERE { VALUES ( ?b ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?j rdf:type ?b } GROUP BY ?y } } . { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?k ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?m rdf:type ?k } GROUP BY ?d } . FILTER ( ?x = ?c ) }
Schwerin
Schwerin is located nearby max number of still waterss and watercourses
Schwerin
action argmax
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?f ) WHERE { VALUES ( ?b ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?j rdf:type ?b } GROUP BY ?y } } . { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?k ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?m rdf:type ?k } GROUP BY ?d } . FILTER ( ?x = ?c ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1709 Q1695751
P19
Q502895
USER
Was Johann Paschen born at that administrative territory ?
(Q1695751,P19,Q1709)
action is_in
entity Q1709
action find
entity Q1695751
relation P19
['Q1695751', 'P19', 'Q1709']
ASK WHERE { resource:Q1695751 property:P19 resource:Q1709 }
Schwerin Johann Paschen
action is_in
entity Schwerin
action find
entity Johann Paschen
relation place of birth
['Johann Paschen', 'place of birth', 'Schwerin']
ASK WHERE { resource:Johann_Paschen property:place_of_birth resource:Schwerin }
[]
common name
SYSTEM
YES
(Q1695751,P19,Q1709)
action is_in
entity Q1709
action find
entity Q1695751
relation P19
[ANSWER]
['Q1695751', 'P19', 'Q1709']
ASK WHERE { resource:Q1695751 property:P19 resource:Q1709 }
Yes
action is_in
entity Schwerin
action find
entity Johann Paschen
relation place of birth
['Johann Paschen', 'place of birth', 'Schwerin']
ASK WHERE { resource:Johann_Paschen property:place_of_birth resource:Schwerin }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16236800 Q145
P27
Q15617994
USER
Is United Kingdom the native country of Jasper Johns ?
(Q16236800,P27,Q145)
action is_in
entity Q145
action find
entity Q16236800
relation P27
['Q16236800', 'P27', 'Q145']
ASK WHERE { resource:Q16236800 property:P27 resource:Q145 }
Jasper Johns United Kingdom
action is_in
entity United Kingdom
action find
entity Jasper Johns
relation country of citizenship
['Jasper Johns', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Jasper_Johns property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16236800,P27,Q145)
action is_in
entity Q145
action find
entity Q16236800
relation P27
[ANSWER]
['Q16236800', 'P27', 'Q145']
ASK WHERE { resource:Q16236800 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Jasper Johns
relation country of citizenship
['Jasper Johns', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Jasper_Johns property:country_of_citizenship resource:United_Kingdom }
[]