Simple Question (Direct)
Simple Question
Q11929209
P102
Q7278
USER
Which political party is José de Prat Buceli a member of ?
(Q11929209,P102,c(Q7278))
action filter_type
action find
entity Q11929209
relation P102
type Q7278
['Q11929209', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?z WHERE { resource:Q11929209 property:P102 ?z . ?z rdf:type ontology:Q7278 }
José de Prat Buceli
action filter_type
action find
entity José de Prat Buceli
relation member of political party
type political party
['José de Prat Buceli', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?z WHERE { resource:José_de_Prat_Buceli property:member_of_political_party ?z . ?z rdf:type ontology:political_party }
[]
political party
Q3047700
SYSTEM
Liberal-Conservative Party
Q3047700
(Q11929209,P102,c(Q7278))
action filter_type
action find
entity Q11929209
relation P102
type Q7278
The [ANSWER] is José de Prat Buceli a member of
['Q11929209', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?z WHERE { resource:Q11929209 property:P102 ?z . ?z rdf:type ontology:Q7278 }
Liberal-Conservative Party
The Liberal-Conservative Party is José de Prat Buceli a member of
Liberal-Conservative Party
action filter_type
action find
entity José de Prat Buceli
relation member of political party
type political party
['José de Prat Buceli', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?z WHERE { resource:José_de_Prat_Buceli property:member_of_political_party ?z . ?z rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11929209
P21
Q290
USER
Which sex does José de Prat Buceli belong to ?
(Q11929209,P21,c(Q290))
action filter_type
action find
entity Q11929209
relation P21
type Q290
['Q11929209', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q11929209 property:P21 ?m . ?m rdf:type ontology:Q290 }
José de Prat Buceli
action filter_type
action find
entity José de Prat Buceli
relation gender
type sex
['José de Prat Buceli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:José_de_Prat_Buceli property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11929209,P21,c(Q290))
action filter_type
action find
entity Q11929209
relation P21
type Q290
José de Prat Buceli belongs to [ANSWER]
['Q11929209', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q11929209 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
José de Prat Buceli belongs to male
male
action filter_type
action find
entity José de Prat Buceli
relation gender
type sex
['José de Prat Buceli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:José_de_Prat_Buceli property:gender ?m . ?m rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q9389629 Q11929209
P21
Q290
USER
And also Zdzisław Bromek
AND((Q11929209,P21,c(Q290)), (Q9389629,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q11929209
relation P21
action find
entity Q9389629
relation P21
type Q290
{'AND': [['Q11929209', 'P21', {'concept': 'Q290'}], ['Q9389629', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?f WHERE { resource:Q11929209 property:P21 ?f . resource:Q9389629 property:P21 ?f . ?f rdf:type ontology:Q290 }
Zdzisław Bromek José de Prat Buceli
action filter_type
action intersection
action find
entity José de Prat Buceli
relation gender
action find
entity Zdzisław Bromek
relation gender
type sex
{'AND': [['José de Prat Buceli', 'gender', {'concept': 'sex'}], ['Zdzisław Bromek', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?f WHERE { resource:José_de_Prat_Buceli property:gender ?f . resource:Zdzisław_Bromek property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q11929209,P21,c(Q290)), (Q9389629,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q11929209
relation P21
action find
entity Q9389629
relation P21
type Q290
[ANSWER]
{'AND': [['Q11929209', 'P21', {'concept': 'Q290'}], ['Q9389629', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?f WHERE { resource:Q11929209 property:P21 ?f . resource:Q9389629 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity José de Prat Buceli
relation gender
action find
entity Zdzisław Bromek
relation gender
type sex
{'AND': [['José de Prat Buceli', 'gender', {'concept': 'sex'}], ['Zdzisław Bromek', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?f WHERE { resource:José_de_Prat_Buceli property:gender ?f . resource:Zdzisław_Bromek property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9389629
P106
Q151885
USER
What is the job of Zdzisław Bromek ?
(Q6581097,P106,c(Q151885))
action filter_type
action find
entity Q9389629
relation P106
type Q151885
['Q6581097', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q151885 . resource:Q9389629 property:P106 ?l }
Zdzisław Bromek
action filter_type
action find
entity Zdzisław Bromek
relation occupation
type concept
['male', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:concept . resource:Zdzisław_Bromek property:occupation ?l }
[]
concept
Q13382576
SYSTEM
rower
Q13382576
(Q6581097,P106,c(Q151885))
action filter_type
action find
entity Q9389629
relation P106
type Q151885
The job of Zdzisław Bromek is a [ANSWER]
['Q6581097', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q151885 . resource:Q9389629 property:P106 ?l }
rower
The job of Zdzisław Bromek is a rower
rower
action filter_type
action find
entity Zdzisław Bromek
relation occupation
type concept
['male', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:concept . resource:Zdzisław_Bromek property:occupation ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q13382576 Q3341160
P106
Q502895
USER
Does Nicoleta Albu have the profession as that concept ?
(Q3341160,P106,Q13382576)
action is_in
entity Q13382576
action find
entity Q3341160
relation P106
['Q3341160', 'P106', 'Q13382576']
ASK WHERE { resource:Q3341160 property:P106 resource:Q13382576 }
rower Nicoleta Albu
action is_in
entity rower
action find
entity Nicoleta Albu
relation occupation
['Nicoleta Albu', 'occupation', 'rower']
ASK WHERE { resource:Nicoleta_Albu property:occupation resource:rower }
[]
common name
SYSTEM
YES
(Q3341160,P106,Q13382576)
action is_in
entity Q13382576
action find
entity Q3341160
relation P106
[ANSWER]
['Q3341160', 'P106', 'Q13382576']
ASK WHERE { resource:Q3341160 property:P106 resource:Q13382576 }
Yes
action is_in
entity rower
action find
entity Nicoleta Albu
relation occupation
['Nicoleta Albu', 'occupation', 'rower']
ASK WHERE { resource:Nicoleta_Albu property:occupation resource:rower }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4872455 Q9389629
P276 P19
Q486972
USER
Which human settlements were Zdzisław Bromek born at or are Battle of Studzianki located ?
OR((Q9389629,P19,c(Q486972)), (Q4872455,P276,c(Q486972)))
action filter_type
action union
action find
entity Q9389629
relation P19
action find
entity Q4872455
relation P276
type Q486972
{'OR': [['Q9389629', 'P19', {'concept': 'Q486972'}], ['Q4872455', 'P276', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q9389629 property:P19 ?l } UNION { resource:Q4872455 property:P276 ?l } } . ?l rdf:type ontology:Q486972 }
Battle of Studzianki Zdzisław Bromek
action filter_type
action union
action find
entity Zdzisław Bromek
relation place of birth
action find
entity Battle of Studzianki
relation location
type human settlement
{'OR': [['Zdzisław Bromek', 'place of birth', {'concept': 'human settlement'}], ['Battle of Studzianki', 'location', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Zdzisław_Bromek property:place_of_birth ?l } UNION { resource:Battle_of_Studzianki property:location ?l } } . ?l rdf:type ontology:human_settlement }
[]
human settlement
Q31487 Q3501103
SYSTEM
Kraków, Studzianki Pancerne
Q31487 Q3501103
OR((Q9389629,P19,c(Q486972)), (Q4872455,P276,c(Q486972)))
action filter_type
action union
action find
entity Q9389629
relation P19
action find
entity Q4872455
relation P276
type Q486972
[ANSWERS] were Zdzisław Bromek born at or are Battle of Studzianki located
{'OR': [['Q9389629', 'P19', {'concept': 'Q486972'}], ['Q4872455', 'P276', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q9389629 property:P19 ?l } UNION { resource:Q4872455 property:P276 ?l } } . ?l rdf:type ontology:Q486972 }
Kraków Studzianki Pancerne
Kraków and Studzianki Pancerne were Zdzisław Bromek born at or are Battle of Studzianki located
Kraków Studzianki Pancerne
action filter_type
action union
action find
entity Zdzisław Bromek
relation place of birth
action find
entity Battle of Studzianki
relation location
type human settlement
{'OR': [['Zdzisław Bromek', 'place of birth', {'concept': 'human settlement'}], ['Battle of Studzianki', 'location', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Zdzisław_Bromek property:place_of_birth ?l } UNION { resource:Battle_of_Studzianki property:location ?l } } . ?l rdf:type ontology:human_settlement }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that human settlement present in ?
(Q3501103,P17,c(Q15617994))
['Q3501103', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3501103 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Studzianki Pancerne', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Studzianki_Pancerne property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q3501103
SYSTEM
Did you mean Studzianki Pancerne ?
(Q31487,P17,c(Q15617994)) (Q3501103,P17,c(Q15617994))
[ANSWER]
['Q31487', 'P17', {'concept': 'Q15617994'}] ['Q3501103', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3501103 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Studzianki Pancerne ?
Studzianki Pancerne
['Kraków', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Studzianki Pancerne', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Studzianki_Pancerne property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q3501103,P17,c(Q15617994))
['Q3501103', 'P17', {'concept': 'Q15617994'}]
['Studzianki Pancerne', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q36
(Q3501103,P17,c(Q15617994))
[ANSWER]
['Q3501103', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3501103 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Poland
1
['Studzianki Pancerne', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Studzianki_Pancerne property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31487
P127
Q483110
USER
Which stadia belongs to Kraków ?
(c(Q483110),P127,Q31487)
action filter_type
action find_reverse
entity Q31487
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q31487']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q31487 . ?x rdf:type ontology:Q483110 }
Kraków
action filter_type
action find_reverse
entity Kraków
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Kraków']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Kraków . ?x rdf:type ontology:stadium }
[]
stadium
Q738643 Q727590
SYSTEM
Marshal Józef Piłsudski Stadium, Stadion Miejski in Kraków
Q738643 Q727590
(c(Q483110),P127,Q31487)
action filter_type
action find_reverse
entity Q31487
relation P127
type Q483110
[ANSWERS] belong to Kraków
[{'concept': 'Q483110'}, 'P127', 'Q31487']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q31487 . ?x rdf:type ontology:Q483110 }
Marshal Józef Piłsudski Stadium Stadion Miejski in Kraków
Marshal Józef Piłsudski Stadium and Stadion Miejski in Kraków belong to Kraków
Marshal Józef Piłsudski Stadium Stadion Miejski in Kraków
action filter_type
action find_reverse
entity Kraków
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Kraków']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Kraków . ?x rdf:type ontology:stadium }
[]
Clarification
Simple Question|Single Entity|Indirect
Q727590
P138
Q502895
USER
Which person is that stadium named after ?
(Q727590,P138,c(Q502895))
action filter_type
action find
entity Q727590
relation P138
type Q502895
['Q727590', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q727590 property:P138 ?y . ?y rdf:type ontology:Q502895 }
Stadion Miejski in Kraków
action filter_type
action find
entity Stadion Miejski in Kraków
relation named after
type common name
['Stadion Miejski in Kraków', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Stadion_Miejski_in_Kraków property:named_after ?y . ?y rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q738643
SYSTEM
Did you mean Marshal Józef Piłsudski Stadium ?
Q738643 Q727590
(Q738643,P138,c(Q502895)) (Q727590,P138,c(Q502895))
[ANSWER]
['Q738643', 'P138', {'concept': 'Q502895'}] ['Q727590', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q727590 property:P138 ?y . ?y rdf:type ontology:Q502895 }
Marshal Józef Piłsudski Stadium Stadion Miejski in Kraków
Did you mean Marshal Józef Piłsudski Stadium ?
Marshal Józef Piłsudski Stadium
['Marshal Józef Piłsudski Stadium', 'named after', {'concept': 'common name'}] ['Stadion Miejski in Kraków', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Stadion_Miejski_in_Kraków property:named_after ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Stadion Miejski in Kraków. Could you tell me the answer for that?
(Q727590,P138,c(Q502895))
Q727590
['Q727590', 'P138', {'concept': 'Q502895'}]
['Stadion Miejski in Kraków', 'named after', {'concept': 'common name'}]
[]
Q979547
SYSTEM
Henryk Reyman
Q979547
(Q727590,P138,c(Q502895))
action filter_type
action find
entity Q727590
relation P138
type Q502895
That stadium is named for [ANSWER]
['Q727590', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q727590 property:P138 ?y . ?y rdf:type ontology:Q502895 }
Henryk Reyman
That stadium is named for Henryk Reyman
Henryk Reyman
action filter_type
action find
entity Stadion Miejski in Kraków
relation named after
type common name
['Stadion Miejski in Kraków', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Stadion_Miejski_in_Kraków property:named_after ?y . ?y rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q979547 Q18124770 Q166196
P54
Q1194951
USER
Is Henryk Reyman a member of Brazil at the 2014 FEI World Equestrian Games and Poland national football team ?
(Q979547,P54,Q18124770) (Q979547,P54,Q166196)
action is_in
entity Q979547
action intersection
action find_reverse
entity Q18124770
relation P54
action find_reverse
entity Q166196
relation P54
['Q979547', 'P54', 'Q18124770'] ['Q979547', 'P54', 'Q166196']
ASK WHERE { resource:Q979547 property:P54 resource:Q18124770 . resource:Q979547 property:P54 resource:Q166196 }
Henryk Reyman Brazil at the 2014 FEI World Equestrian Games Poland national football team
action is_in
entity Henryk Reyman
action intersection
action find_reverse
entity Brazil at the 2014 FEI World Equestrian Games
relation member of sports team
action find_reverse
entity Poland national football team
relation member of sports team
['Henryk Reyman', 'member of sports team', 'Brazil at the 2014 FEI World Equestrian Games'] ['Henryk Reyman', 'member of sports team', 'Poland national football team']
ASK WHERE { resource:Henryk_Reyman property:member_of_sports_team resource:Brazil_at_the_2014_FEI_World_Equestrian_Games . resource:Henryk_Reyman property:member_of_sports_team resource:Poland_national_football_team }
[]
national sports team
SYSTEM
NO and YES respectively
(Q979547,P54,Q18124770) (Q979547,P54,Q166196)
action is_in
entity Q979547
action intersection
action find_reverse
entity Q18124770
relation P54
action find_reverse
entity Q166196
relation P54
[ANSWER]
['Q979547', 'P54', 'Q18124770'] ['Q979547', 'P54', 'Q166196']
ASK WHERE { resource:Q979547 property:P54 resource:Q18124770 . resource:Q979547 property:P54 resource:Q166196 }
NO and YES respectively
action is_in
entity Henryk Reyman
action intersection
action find_reverse
entity Brazil at the 2014 FEI World Equestrian Games
relation member of sports team
action find_reverse
entity Poland national football team
relation member of sports team
['Henryk Reyman', 'member of sports team', 'Brazil at the 2014 FEI World Equestrian Games'] ['Henryk Reyman', 'member of sports team', 'Poland national football team']
ASK WHERE { resource:Henryk_Reyman property:member_of_sports_team resource:Brazil_at_the_2014_FEI_World_Equestrian_Games . resource:Henryk_Reyman property:member_of_sports_team resource:Poland_national_football_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q979547
P138
Q483110
USER
Which stadium comes from that person ?
action filter_type
action find_reverse
entity Q979547
relation P138
type Q483110
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q979547 . ?l rdf:type ontology:Q483110 }
Henryk Reyman
action filter_type
action find_reverse
entity Henryk Reyman
relation named after
type stadium
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Henryk_Reyman . ?l rdf:type ontology:stadium }
[]
stadium
Q727590
SYSTEM
Stadion Miejski in Kraków
Q727590
action filter_type
action find_reverse
entity Q979547
relation P138
type Q483110
[ANSWER] comes from that person
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q979547 . ?l rdf:type ontology:Q483110 }
Stadion Miejski in Kraków
Stadion Miejski in Kraków comes from that person
Stadion Miejski in Kraków
action filter_type
action find_reverse
entity Henryk Reyman
relation named after
type stadium
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Henryk_Reyman . ?l rdf:type ontology:stadium }
[]