Simple Question (Direct)
Simple Question
Q6174934
P1412
Q34770
USER
Which language can Óscar Rueda read ?
(Q6174934,P1412,c(Q34770))
action filter_type
action find
entity Q6174934
relation P1412
type Q34770
['Q6174934', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q6174934 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Óscar Rueda
action filter_type
action find
entity Óscar Rueda
relation languages spoken, written or signed
type language
['Óscar Rueda', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Óscar_Rueda property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6174934,P1412,c(Q34770))
action filter_type
action find
entity Q6174934
relation P1412
type Q34770
Óscar Rueda can read in [ANSWER]
['Q6174934', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q6174934 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Spanish
Óscar Rueda can read in Spanish
Spanish
action filter_type
action find
entity Óscar Rueda
relation languages spoken, written or signed
type language
['Óscar Rueda', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Óscar_Rueda property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6174934
P21
Q290
USER
Which sex does that person belong to ?
(Q1321,P21,c(Q290))
action filter_type
action find
entity Q6174934
relation P21
type Q290
['Q1321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q6174934 property:P21 ?a . ?a rdf:type ontology:Q290 }
Óscar Rueda
action filter_type
action find
entity Óscar Rueda
relation gender
type sex
['Spanish', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Óscar_Rueda property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1321,P21,c(Q290))
action filter_type
action find
entity Q6174934
relation P21
type Q290
That person belongs to [ANSWER]
['Q1321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q6174934 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Óscar Rueda
relation gender
type sex
['Spanish', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Óscar_Rueda property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6174934
P106
Q12737077
USER
Which occupation is the profession of Óscar Rueda ?
(Q6174934,P106,c(Q12737077))
action filter_type
action find
entity Q6174934
relation P106
type Q12737077
['Q6174934', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q6174934 property:P106 ?b }
Óscar Rueda
action filter_type
action find
entity Óscar Rueda
relation occupation
type occupation
['Óscar Rueda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Óscar_Rueda property:occupation ?b }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6174934,P106,c(Q12737077))
action filter_type
action find
entity Q6174934
relation P106
type Q12737077
[ANSWER] is the profession of Óscar Rueda
['Q6174934', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q6174934 property:P106 ?b }
association football player
Association football player is the profession of Óscar Rueda
association football player
action filter_type
action find
entity Óscar Rueda
relation occupation
type occupation
['Óscar Rueda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Óscar_Rueda property:occupation ?b }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q937857 Q8069
P425
Q349
USER
Does Luxembourg Grand Prix have that one as the associated field of occupation ?
(Q937857,P425,Q8069)
action is_in
entity Q8069
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q8069']
ASK WHERE { resource:Q937857 property:P425 resource:Q8069 }
association football player Luxembourg Grand Prix
action is_in
entity Luxembourg Grand Prix
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'Luxembourg Grand Prix']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Luxembourg_Grand_Prix }
[]
sport
SYSTEM
NO
(Q937857,P425,Q8069)
action is_in
entity Q8069
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q8069']
ASK WHERE { resource:Q937857 property:P425 resource:Q8069 }
No
action is_in
entity Luxembourg Grand Prix
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'Luxembourg Grand Prix']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Luxembourg_Grand_Prix }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P361
Q847017
USER
What is that occupation a part of ?
action filter_type
action find
entity Q937857
relation P361
type Q847017
SELECT DISTINCT ?a WHERE { resource:Q937857 property:P361 ?a . ?a rdf:type ontology:Q847017 }
association football player
action filter_type
action find
entity association football player
relation part of
type sports club
SELECT DISTINCT ?a WHERE { resource:association_football_player property:part_of ?a . ?a rdf:type ontology:sports_club }
[]
sports club
Q476028
SYSTEM
association football club
Q476028
action filter_type
action find
entity Q937857
relation P361
type Q847017
That occupation a part of is a [ANSWER]
SELECT DISTINCT ?a WHERE { resource:Q937857 property:P361 ?a . ?a rdf:type ontology:Q847017 }
association football club
That occupation a part of is a association football club
association football club
action filter_type
action find
entity association football player
relation part of
type sports club
SELECT DISTINCT ?a WHERE { resource:association_football_player property:part_of ?a . ?a rdf:type ontology:sports_club }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7411881 Q476028
P641
Q349
USER
Which sports did association football club and Samuel José da Silva Vieira participate in ?
AND((Q476028,P641,c(Q349)), (Q7411881,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q476028
relation P641
action find
entity Q7411881
relation P641
type Q349
{'AND': [['Q476028', 'P641', {'concept': 'Q349'}], ['Q7411881', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?q WHERE { resource:Q476028 property:P641 ?q . resource:Q7411881 property:P641 ?q . ?q rdf:type ontology:Q349 }
Samuel José da Silva Vieira association football club
action filter_type
action intersection
action find
entity association football club
relation sport
action find
entity Samuel José da Silva Vieira
relation sport
type sport
{'AND': [['association football club', 'sport', {'concept': 'sport'}], ['Samuel José da Silva Vieira', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?q WHERE { resource:association_football_club property:sport ?q . resource:Samuel_José_da_Silva_Vieira property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q476028,P641,c(Q349)), (Q7411881,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q476028
relation P641
action find
entity Q7411881
relation P641
type Q349
[ANSWER] club and Samuel José da Silva Vieira participated in [ANSWER]
{'AND': [['Q476028', 'P641', {'concept': 'Q349'}], ['Q7411881', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?q WHERE { resource:Q476028 property:P641 ?q . resource:Q7411881 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
Association football club and Samuel José da Silva Vieira participated in association football
association football
action filter_type
action intersection
action find
entity association football club
relation sport
action find
entity Samuel José da Silva Vieira
relation sport
type sport
{'AND': [['association football club', 'sport', {'concept': 'sport'}], ['Samuel José da Silva Vieira', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?q WHERE { resource:association_football_club property:sport ?q . resource:Samuel_José_da_Silva_Vieira property:sport ?q . ?q rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q273052
P641
Q502895
USER
Does Patricia Neske play that sport ?
(Q273052,P641,Q2736)
action is_in
entity Q273052
action find
entity Q2736
relation P641
['Q273052', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q273052 }
association football Patricia Neske
action is_in
entity Patricia Neske
action find
entity association football
relation sport
['Patricia Neske', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Patricia_Neske }
[]
common name
SYSTEM
NO
(Q273052,P641,Q2736)
action is_in
entity Q273052
action find
entity Q2736
relation P641
[ANSWER]
['Q273052', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q273052 }
No
action is_in
entity Patricia Neske
action find
entity association football
relation sport
['Patricia Neske', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Patricia_Neske }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4964182
P101
Q502895
USER
Which person has specialisation in philosopher ?
(c(Q502895),P101,Q4964182)
action filter_type
action find_reverse
entity Q4964182
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q4964182']
SELECT DISTINCT ?x WHERE { ?x property:P101 resource:Q4964182 . ?x rdf:type ontology:Q502895 }
philosopher
action filter_type
action find_reverse
entity philosopher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'philosopher']
SELECT DISTINCT ?x WHERE { ?x property:field_of_work resource:philosopher . ?x rdf:type ontology:common_name }
[]
common name
Q439081
SYSTEM
Francesco Algarotti
Q439081
(c(Q502895),P101,Q4964182)
action filter_type
action find_reverse
entity Q4964182
relation P101
type Q502895
[ANSWER] has specialisation in philosopher
[{'concept': 'Q502895'}, 'P101', 'Q4964182']
SELECT DISTINCT ?x WHERE { ?x property:P101 resource:Q4964182 . ?x rdf:type ontology:Q502895 }
Francesco Algarotti
Francesco Algarotti has specialisation in philosopher
Francesco Algarotti
action filter_type
action find_reverse
entity philosopher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'philosopher']
SELECT DISTINCT ?x WHERE { ?x property:field_of_work resource:philosopher . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4964182
P39
Q502895
USER
Which people were appointed for the position of philosopher ?
(c(Q502895),P39,Q4964182)
action filter_type
action find_reverse
entity Q4964182
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q4964182']
SELECT DISTINCT ?l WHERE { ?l property:P39 resource:Q4964182 . ?l rdf:type ontology:Q502895 }
philosopher
action filter_type
action find_reverse
entity philosopher
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'philosopher']
SELECT DISTINCT ?l WHERE { ?l property:position_held resource:philosopher . ?l rdf:type ontology:common_name }
[]
common name
Q15406938 Q3752708
SYSTEM
Anne Staquet, Fredegiso di Tours
Q15406938 Q3752708
(c(Q502895),P39,Q4964182)
action filter_type
action find_reverse
entity Q4964182
relation P39
type Q502895
[ANSWERS] were appointed for the position of philosopher
[{'concept': 'Q502895'}, 'P39', 'Q4964182']
SELECT DISTINCT ?l WHERE { ?l property:P39 resource:Q4964182 . ?l rdf:type ontology:Q502895 }
Anne Staquet Fredegiso di Tours
Anne Staquet and Fredegiso di Tours were appointed for the position of philosopher
Anne Staquet Fredegiso di Tours
action filter_type
action find_reverse
entity philosopher
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'philosopher']
SELECT DISTINCT ?l WHERE { ?l property:position_held resource:philosopher . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q15406938 Q3752708
P21
Q290
USER
Which sexes do those people belong to ?
(Q15406938,P21,c(Q290)) (Q3752708,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q15406938', 'P21', {'concept': 'Q290'}] ['Q3752708', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?b property:P21 ?p . ?p rdf:type ontology:Q290 . VALUES ( ?b ) { ( resource:Q15406938 ) ( resource:Q3752708 ) } }
Anne Staquet Fredegiso di Tours
action filter_type
action find
entity prev_answer
relation gender
type sex
['Anne Staquet', 'gender', {'concept': 'sex'}] ['Fredegiso di Tours', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?b property:gender ?p . ?p rdf:type ontology:sex . VALUES ( ?b ) { ( resource:Anne_Staquet ) ( resource:Fredegiso_di_Tours ) } }
[]
sex
Q6581072 Q6581097
SYSTEM
female, male
Q6581072 Q6581097
(Q15406938,P21,c(Q290)) (Q3752708,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWERS]
['Q15406938', 'P21', {'concept': 'Q290'}] ['Q3752708', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?b property:P21 ?p . ?p rdf:type ontology:Q290 . VALUES ( ?b ) { ( resource:Q15406938 ) ( resource:Q3752708 ) } }
female male
Those people belong to female and male
female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Anne Staquet', 'gender', {'concept': 'sex'}] ['Fredegiso di Tours', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?b property:gender ?p . ?p rdf:type ontology:sex . VALUES ( ?b ) { ( resource:Anne_Staquet ) ( resource:Fredegiso_di_Tours ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4964182
P180
Q838948
USER
Which work of art depicts philosopher ?
(c(Q838948),P180,Q4964182)
action filter_type
action find_reverse
entity Q4964182
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q4964182']
SELECT DISTINCT ?u WHERE { ?u property:P180 resource:Q4964182 . ?u rdf:type ontology:Q838948 }
philosopher
action filter_type
action find_reverse
entity philosopher
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'philosopher']
SELECT DISTINCT ?u WHERE { ?u property:depicts resource:philosopher . ?u rdf:type ontology:work_of_art }
[]
work of art
Q19204877
SYSTEM
D'Alembert
Q19204877
(c(Q838948),P180,Q4964182)
action filter_type
action find_reverse
entity Q4964182
relation P180
type Q838948
[ANSWER] depicts philosopher
[{'concept': 'Q838948'}, 'P180', 'Q4964182']
SELECT DISTINCT ?u WHERE { ?u property:P180 resource:Q4964182 . ?u rdf:type ontology:Q838948 }
D'Alembert
D'Alembert depicts philosopher
D'Alembert
action filter_type
action find_reverse
entity philosopher
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'philosopher']
SELECT DISTINCT ?u WHERE { ?u property:depicts resource:philosopher . ?u rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19204877
P186
Q8063
USER
Which rock is used to construct that work of art ?
(Q19204877,P186,c(Q8063))
action filter_type
action find
entity Q19204877
relation P186
type Q8063
['Q19204877', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?r WHERE { resource:Q19204877 property:P186 ?r . ?r rdf:type ontology:Q8063 }
D'Alembert
action filter_type
action find
entity D'Alembert
relation material used
type rock
["D'Alembert", 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?r WHERE { resource:D'Alembert property:material_used ?r . ?r rdf:type ontology:rock }
[]
rock
Q40861
SYSTEM
marble
Q40861
(Q19204877,P186,c(Q8063))
action filter_type
action find
entity Q19204877
relation P186
type Q8063
[ANSWER] is used to construct that work of art
['Q19204877', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?r WHERE { resource:Q19204877 property:P186 ?r . ?r rdf:type ontology:Q8063 }
marble
Marble is used to construct that work of art
marble
action filter_type
action find
entity D'Alembert
relation material used
type rock
["D'Alembert", 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?r WHERE { resource:D'Alembert property:material_used ?r . ?r rdf:type ontology:rock }
[]