Simple Question (Direct)
Simple Question
Q26220522
P937
Q56061
USER
Which administrative territory is the work location of Julia Boehme ?
(Q26220522,P937,c(Q56061))
action filter_type
action find
entity Q26220522
relation P937
type Q56061
['Q26220522', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q26220522 property:P937 ?u }
Julia Boehme
action filter_type
action find
entity Julia Boehme
relation work location
type administrative territorial entity
['Julia Boehme', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Julia_Boehme property:work_location ?u }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q26220522,P937,c(Q56061))
action filter_type
action find
entity Q26220522
relation P937
type Q56061
[ANSWER] is the work location of Julia Boehme
['Q26220522', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q26220522 property:P937 ?u }
Berlin
Berlin is the work location of Julia Boehme
Berlin
action filter_type
action find
entity Julia Boehme
relation work location
type administrative territorial entity
['Julia Boehme', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Julia_Boehme property:work_location ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26220522
P106
Q151885
USER
Which concept has Julia Boehme as his/her 's career ?
(Q26220522,P106,c(Q151885))
action filter_type
action find
entity Q26220522
relation P106
type Q151885
['Q26220522', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q26220522 property:P106 ?l . ?l rdf:type ontology:Q151885 }
Julia Boehme
action filter_type
action find
entity Julia Boehme
relation occupation
type concept
['Julia Boehme', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Julia_Boehme property:occupation ?l . ?l rdf:type ontology:concept }
[]
concept
Q482980
SYSTEM
author
Q482980
(Q26220522,P106,c(Q151885))
action filter_type
action find
entity Q26220522
relation P106
type Q151885
The [ANSWER] has Julia Boehme as his/her 's career
['Q26220522', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q26220522 property:P106 ?l . ?l rdf:type ontology:Q151885 }
author
The author has Julia Boehme as his/her 's career
author
action filter_type
action find
entity Julia Boehme
relation occupation
type concept
['Julia Boehme', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Julia_Boehme property:occupation ?l . ?l rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5313926
Q151885
USER
And how about Dummy Lynch?
(Q5313926,P106,c(Q151885))
action filter_type
action find
entity Q5313926
relation P106
type Q151885
['Q5313926', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q151885 . resource:Q5313926 property:P106 ?l }
Dummy Lynch
action filter_type
action find
entity Dummy Lynch
relation occupation
type concept
['Dummy Lynch', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:concept . resource:Dummy_Lynch property:occupation ?l }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q5313926,P106,c(Q151885))
action filter_type
action find
entity Q5313926
relation P106
type Q151885
[ANSWER]
['Q5313926', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q151885 . resource:Q5313926 property:P106 ?l }
baseball player
baseball player
action filter_type
action find
entity Dummy Lynch
relation occupation
type concept
['Dummy Lynch', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:concept . resource:Dummy_Lynch property:occupation ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q10871364 Q16160952
P106
Q502895
USER
Does Ulla-Leena Alppi have career as that concept ?
(Q16160952,P106,Q10871364)
action is_in
entity Q16160952
action find
entity Q10871364
relation P106
['Q16160952', 'P106', 'Q10871364']
ASK WHERE { resource:Q10871364 property:P106 resource:Q16160952 }
baseball player Ulla-Leena Alppi
action is_in
entity Ulla-Leena Alppi
action find
entity baseball player
relation occupation
['Ulla-Leena Alppi', 'occupation', 'baseball player']
ASK WHERE { resource:baseball_player property:occupation resource:Ulla-Leena_Alppi }
[]
common name
SYSTEM
NO
(Q16160952,P106,Q10871364)
action is_in
entity Q16160952
action find
entity Q10871364
relation P106
[ANSWER]
['Q16160952', 'P106', 'Q10871364']
ASK WHERE { resource:Q10871364 property:P106 resource:Q16160952 }
No
action is_in
entity Ulla-Leena Alppi
action find
entity baseball player
relation occupation
['Ulla-Leena Alppi', 'occupation', 'baseball player']
ASK WHERE { resource:baseball_player property:occupation resource:Ulla-Leena_Alppi }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3301795 Q10871364
P425 P641
Q349
USER
Which sports are associated with the field of occupation baseball player and were Maury Wills a part of ?
AND((Q10871364,P425,c(Q349)), (Q3301795,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q10871364
relation P425
action find
entity Q3301795
relation P641
type Q349
{'AND': [['Q10871364', 'P425', {'concept': 'Q349'}], ['Q3301795', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?y WHERE { resource:Q10871364 property:P425 ?y . resource:Q3301795 property:P641 ?y . ?y rdf:type ontology:Q349 }
Maury Wills baseball player
action filter_type
action intersection
action find
entity baseball player
relation field of this occupation
action find
entity Maury Wills
relation sport
type sport
{'AND': [['baseball player', 'field of this occupation', {'concept': 'sport'}], ['Maury Wills', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?y WHERE { resource:baseball_player property:field_of_this_occupation ?y . resource:Maury_Wills property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q5369
SYSTEM
baseball
Q5369
AND((Q10871364,P425,c(Q349)), (Q3301795,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q10871364
relation P425
action find
entity Q3301795
relation P641
type Q349
[ANSWER] is associated with the field of occupation [ANSWER] player and were Maury Wills a part of
{'AND': [['Q10871364', 'P425', {'concept': 'Q349'}], ['Q3301795', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?y WHERE { resource:Q10871364 property:P425 ?y . resource:Q3301795 property:P641 ?y . ?y rdf:type ontology:Q349 }
baseball
Baseball is associated with the field of occupation baseball player and were Maury Wills a part of
baseball
action filter_type
action intersection
action find
entity baseball player
relation field of this occupation
action find
entity Maury Wills
relation sport
type sport
{'AND': [['baseball player', 'field of this occupation', {'concept': 'sport'}], ['Maury Wills', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?y WHERE { resource:baseball_player property:field_of_this_occupation ?y . resource:Maury_Wills property:sport ?y . ?y rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q542632 Q10871364
P425 P641
Q349
USER
Which sports have baseball player as the associated field of occupation or were Kai Olav Ryen a part of ?
OR((Q10871364,P425,c(Q349)), (Q542632,P641,c(Q349)))
action filter_type
action union
action find
entity Q10871364
relation P425
action find
entity Q542632
relation P641
type Q349
{'OR': [['Q10871364', 'P425', {'concept': 'Q349'}], ['Q542632', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q542632 property:P641 ?i } UNION { resource:Q10871364 property:P425 ?i } } . ?i rdf:type ontology:Q349 }
Kai Olav Ryen baseball player
action filter_type
action union
action find
entity baseball player
relation field of this occupation
action find
entity Kai Olav Ryen
relation sport
type sport
{'OR': [['baseball player', 'field of this occupation', {'concept': 'sport'}], ['Kai Olav Ryen', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Kai_Olav_Ryen property:sport ?i } UNION { resource:baseball_player property:field_of_this_occupation ?i } } . ?i rdf:type ontology:sport }
[]
sport
Q5369 Q2736
SYSTEM
baseball, association football
Q5369 Q2736
OR((Q10871364,P425,c(Q349)), (Q542632,P641,c(Q349)))
action filter_type
action union
action find
entity Q10871364
relation P425
action find
entity Q542632
relation P641
type Q349
The [ANSWERS] have baseball player as the associated field of occupation or were Kai Olav Ryen a part of
{'OR': [['Q10871364', 'P425', {'concept': 'Q349'}], ['Q542632', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q542632 property:P641 ?i } UNION { resource:Q10871364 property:P425 ?i } } . ?i rdf:type ontology:Q349 }
baseball association football
The baseball and association football have baseball player as the associated field of occupation or were Kai Olav Ryen a part of
baseball association football
action filter_type
action union
action find
entity baseball player
relation field of this occupation
action find
entity Kai Olav Ryen
relation sport
type sport
{'OR': [['baseball player', 'field of this occupation', {'concept': 'sport'}], ['Kai Olav Ryen', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Kai_Olav_Ryen property:sport ?i } UNION { resource:baseball_player property:field_of_this_occupation ?i } } . ?i rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3813814
P27
Q15617994
USER
How many administrative territories are the native countriesof Ignasi Iglésias Pujadas ?
(Q3813814,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3813814
relation P27
type Q15617994
['Q3813814', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Q3813814 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Ignasi Iglésias Pujadas
action count
action filter_type
action find
entity Ignasi Iglésias Pujadas
relation country of citizenship
type designation for an administrative territorial entity
['Ignasi Iglésias Pujadas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Ignasi_Iglésias_Pujadas property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q3813814,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3813814
relation P27
type Q15617994
[ANSWER]
['Q3813814', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Q3813814 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity Ignasi Iglésias Pujadas
relation country of citizenship
type designation for an administrative territorial entity
['Ignasi Iglésias Pujadas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Ignasi_Iglésias_Pujadas property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6708102
Q15617994
USER
And how about Lyman White?
(Q6708102,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6708102
relation P27
type Q15617994
['Q6708102', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Q6708102 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Lyman White
action count
action filter_type
action find
entity Lyman White
relation country of citizenship
type designation for an administrative territorial entity
['Lyman White', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Lyman_White property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q6708102,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6708102
relation P27
type Q15617994
[ANSWER]
['Q6708102', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Q6708102 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Lyman White
relation country of citizenship
type designation for an administrative territorial entity
['Lyman White', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Lyman_White property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6708102
P69
Q3918
USER
Which university is the alma mater of that person ?
action filter_type
action find
entity Q6708102
relation P69
type Q3918
SELECT DISTINCT ?u WHERE { resource:Q6708102 property:P69 ?u . ?u rdf:type ontology:Q3918 }
Lyman White
action filter_type
action find
entity Lyman White
relation educated at
type university
SELECT DISTINCT ?u WHERE { resource:Lyman_White property:educated_at ?u . ?u rdf:type ontology:university }
[]
university
Q1521725
SYSTEM
Louisiana State University
Q1521725
action filter_type
action find
entity Q6708102
relation P69
type Q3918
[ANSWER] is the alma mater of that person
SELECT DISTINCT ?u WHERE { resource:Q6708102 property:P69 ?u . ?u rdf:type ontology:Q3918 }
Louisiana State University
Louisiana State University is the alma mater of that person
Louisiana State University
action filter_type
action find
entity Lyman White
relation educated at
type university
SELECT DISTINCT ?u WHERE { resource:Lyman_White property:educated_at ?u . ?u rdf:type ontology:university }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P127
Q811979 Q811430
USER
How many architectural structures or constructions are owned by that university ?
(c(Q811979),P127,Q1521725) (c(Q811430),P127,Q1521725) (c(Q811979),P127,Q1521725) (c(Q811430),P127,Q1521725)
action count
action union
action filter_type
action find_reverse
entity Q1521725
relation P127
type Q811979
action filter_type
action find_reverse
entity Q1521725
relation P127
type Q811430
[{'concept': 'Q811979'}, 'P127', 'Q1521725'] [{'concept': 'Q811430'}, 'P127', 'Q1521725'] [{'concept': 'Q811979'}, 'P127', 'Q1521725'] [{'concept': 'Q811430'}, 'P127', 'Q1521725']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:P127 resource:Q1521725 . ?c rdf:type ontology:Q811979 } UNION { ?c rdf:type ontology:Q811430 . ?c property:P127 resource:Q1521725 } }
action count
action union
action filter_type
action find_reverse
entity Louisiana State University
relation owned by
type architectural structure
action filter_type
action find_reverse
entity Louisiana State University
relation owned by
type construction
[{'concept': 'architectural structure'}, 'owned by', 'Louisiana State University'] [{'concept': 'construction'}, 'owned by', 'Louisiana State University'] [{'concept': 'architectural structure'}, 'owned by', 'Louisiana State University'] [{'concept': 'construction'}, 'owned by', 'Louisiana State University']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:owned_by resource:Louisiana_State_University . ?c rdf:type ontology:architectural_structure } UNION { ?c rdf:type ontology:construction . ?c property:owned_by resource:Louisiana_State_University } }
[]
architectural structure construction
SYSTEM
5
Q6815533 Q14691559 Q3738031 Q16632566 Q7801450
(c(Q811979),P127,Q1521725) (c(Q811430),P127,Q1521725) (c(Q811979),P127,Q1521725) (c(Q811430),P127,Q1521725)
action count
action union
action filter_type
action find_reverse
entity Q1521725
relation P127
type Q811979
action filter_type
action find_reverse
entity Q1521725
relation P127
type Q811430
[ANSWER]
[{'concept': 'Q811979'}, 'P127', 'Q1521725'] [{'concept': 'Q811430'}, 'P127', 'Q1521725'] [{'concept': 'Q811979'}, 'P127', 'Q1521725'] [{'concept': 'Q811430'}, 'P127', 'Q1521725']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:P127 resource:Q1521725 . ?c rdf:type ontology:Q811979 } UNION { ?c rdf:type ontology:Q811430 . ?c property:P127 resource:Q1521725 } }
Memorial Tower Alex Box Stadium/Skip Bertman Field Pete Maravich Assembly Center Tiger Park (1997) Tiger Park
5
action count
action union
action filter_type
action find_reverse
entity Louisiana State University
relation owned by
type architectural structure
action filter_type
action find_reverse
entity Louisiana State University
relation owned by
type construction
[{'concept': 'architectural structure'}, 'owned by', 'Louisiana State University'] [{'concept': 'construction'}, 'owned by', 'Louisiana State University'] [{'concept': 'architectural structure'}, 'owned by', 'Louisiana State University'] [{'concept': 'construction'}, 'owned by', 'Louisiana State University']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:owned_by resource:Louisiana_State_University . ?c rdf:type ontology:architectural_structure } UNION { ?c rdf:type ontology:construction . ?c property:owned_by resource:Louisiana_State_University } }
[]