Simple Question (Direct)
Simple Question
Q10507420
P106
Q12737077
USER
Which occupation has Harry Thorpe as his/her 's career ?
(Q10507420,P106,c(Q12737077))
action filter_type
action find
entity Q10507420
relation P106
type Q12737077
['Q10507420', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q10507420 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Harry Thorpe
action filter_type
action find
entity Harry Thorpe
relation occupation
type occupation
['Harry Thorpe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Harry_Thorpe property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q10507420,P106,c(Q12737077))
action filter_type
action find
entity Q10507420
relation P106
type Q12737077
Player [ANSWER] has Harry Thorpe as his/her 's career
['Q10507420', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q10507420 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
association football player
Player association football player has Harry Thorpe as his/her 's career
association football player
action filter_type
action find
entity Harry Thorpe
relation occupation
type occupation
['Harry Thorpe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Harry_Thorpe property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10507420
P21
Q290
USER
Which sex does Harry Thorpe belong to ?
(Q10507420,P21,c(Q290))
action filter_type
action find
entity Q10507420
relation P21
type Q290
['Q10507420', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q10507420 property:P21 ?t . ?t rdf:type ontology:Q290 }
Harry Thorpe
action filter_type
action find
entity Harry Thorpe
relation gender
type sex
['Harry Thorpe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Harry_Thorpe property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10507420,P21,c(Q290))
action filter_type
action find
entity Q10507420
relation P21
type Q290
Harry Thorpe belongs to [ANSWER]
['Q10507420', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q10507420 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Harry Thorpe belongs to male
male
action filter_type
action find
entity Harry Thorpe
relation gender
type sex
['Harry Thorpe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Harry_Thorpe property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10507420
P641
Q349
USER
Which sport did that person participate in ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q10507420
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q10507420 property:P641 ?x . ?x rdf:type ontology:Q349 }
Harry Thorpe
action filter_type
action find
entity Harry Thorpe
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Harry_Thorpe property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q10507420
relation P641
type Q349
That person participated in [ANSWER]
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q10507420 property:P641 ?x . ?x rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Harry Thorpe
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Harry_Thorpe property:sport ?x . ?x rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5280881 Q10507420
P641
Q349
USER
Or Dirk Ulaszewski?
OR((Q10507420,P641,c(Q349)), (Q5280881,P641,c(Q349)))
action filter_type
action union
action find
entity Q10507420
relation P641
action find
entity Q5280881
relation P641
type Q349
{'OR': [['Q10507420', 'P641', {'concept': 'Q349'}], ['Q5280881', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . { VALUES ( ?i ) { ( resource:Q10507420 ) ( resource:Q5280881 ) } . ?i property:P641 ?p } }
Dirk Ulaszewski Harry Thorpe
action filter_type
action union
action find
entity Harry Thorpe
relation sport
action find
entity Dirk Ulaszewski
relation sport
type sport
{'OR': [['Harry Thorpe', 'sport', {'concept': 'sport'}], ['Dirk Ulaszewski', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . { VALUES ( ?i ) { ( resource:Harry_Thorpe ) ( resource:Dirk_Ulaszewski ) } . ?i property:sport ?p } }
[]
sport
Q213934 Q2736
SYSTEM
canoeing and kayaking, association football
Q213934 Q2736
OR((Q10507420,P641,c(Q349)), (Q5280881,P641,c(Q349)))
action filter_type
action union
action find
entity Q10507420
relation P641
action find
entity Q5280881
relation P641
type Q349
[ANSWERS]
{'OR': [['Q10507420', 'P641', {'concept': 'Q349'}], ['Q5280881', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . { VALUES ( ?i ) { ( resource:Q10507420 ) ( resource:Q5280881 ) } . ?i property:P641 ?p } }
canoeing and kayaking association football
canoeing and kayaking association football
action filter_type
action union
action find
entity Harry Thorpe
relation sport
action find
entity Dirk Ulaszewski
relation sport
type sport
{'OR': [['Harry Thorpe', 'sport', {'concept': 'sport'}], ['Dirk Ulaszewski', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . { VALUES ( ?i ) { ( resource:Harry_Thorpe ) ( resource:Dirk_Ulaszewski ) } . ?i property:sport ?p } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q213934 Q2736
P425
Q12737077
USER
Which occupations do canoeing and kayaking and association football belong to ?
(c(Q12737077),P425,Q213934) (c(Q12737077),P425,Q2736)
action union
action filter_type
action find_reverse
entity Q213934
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q2736
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q213934'] [{'concept': 'Q12737077'}, 'P425', 'Q2736']
SELECT DISTINCT ?i WHERE { { ?i property:P425 resource:Q213934 . ?i rdf:type ontology:Q12737077 } UNION { ?i property:P425 resource:Q2736 . ?i rdf:type ontology:Q12737077 } }
canoeing and kayaking association football
action union
action filter_type
action find_reverse
entity canoeing and kayaking
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity association football
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'canoeing and kayaking'] [{'concept': 'occupation'}, 'field of this occupation', 'association football']
SELECT DISTINCT ?i WHERE { { ?i property:field_of_this_occupation resource:canoeing_and_kayaking . ?i rdf:type ontology:occupation } UNION { ?i property:field_of_this_occupation resource:association_football . ?i rdf:type ontology:occupation } }
[]
occupation
Q937857 Q628099 Q13382566
SYSTEM
association football player, association football manager, canoer
Q13382566 Q937857 Q628099 Q18052877
(c(Q12737077),P425,Q213934) (c(Q12737077),P425,Q2736)
action union
action filter_type
action find_reverse
entity Q213934
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q2736
relation P425
type Q12737077
Canoeing and kayaking and association football belong to the [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q213934'] [{'concept': 'Q12737077'}, 'P425', 'Q2736']
SELECT DISTINCT ?i WHERE { { ?i property:P425 resource:Q213934 . ?i rdf:type ontology:Q12737077 } UNION { ?i property:P425 resource:Q2736 . ?i rdf:type ontology:Q12737077 } }
canoer association football player association football manager assistant coach
Canoeing and kayaking and association football belong to the association football player, association football manager and canoer
association football player association football manager canoer
action union
action filter_type
action find_reverse
entity canoeing and kayaking
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity association football
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'canoeing and kayaking'] [{'concept': 'occupation'}, 'field of this occupation', 'association football']
SELECT DISTINCT ?i WHERE { { ?i property:field_of_this_occupation resource:canoeing_and_kayaking . ?i rdf:type ontology:occupation } UNION { ?i property:field_of_this_occupation resource:association_football . ?i rdf:type ontology:occupation } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q937857 Q628099 Q13382566
P425
Q349
USER
Who are associated with the field of occupation those ones ?
(Q937857,P425,c(Q349)) (Q628099,P425,c(Q349)) (Q13382566,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}] ['Q628099', 'P425', {'concept': 'Q349'}] ['Q13382566', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?p property:P425 ?v . ?v rdf:type ontology:Q349 . VALUES ( ?p ) { ( resource:Q13382566 ) ( resource:Q937857 ) ( resource:Q628099 ) } }
association football player association football manager canoer
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}] ['association football manager', 'field of this occupation', {'concept': 'sport'}] ['canoer', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?p property:field_of_this_occupation ?v . ?v rdf:type ontology:sport . VALUES ( ?p ) { ( resource:canoer ) ( resource:association_football_player ) ( resource:association_football_manager ) } }
[]
sport
Q2736 Q2736 Q213934
SYSTEM
canoeing and kayaking for 3rd, association football for 1st, 2nd
Q2736 Q2736 Q213934
(Q937857,P425,c(Q349)) (Q628099,P425,c(Q349)) (Q13382566,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
[ANSWERS]
['Q937857', 'P425', {'concept': 'Q349'}] ['Q628099', 'P425', {'concept': 'Q349'}] ['Q13382566', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?p property:P425 ?v . ?v rdf:type ontology:Q349 . VALUES ( ?p ) { ( resource:Q13382566 ) ( resource:Q937857 ) ( resource:Q628099 ) } }
association football association football canoeing and kayaking
Association football, association football and canoeing and kayaking are associated with the field of occupation those ones
association football association football canoeing and kayaking
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}] ['association football manager', 'field of this occupation', {'concept': 'sport'}] ['canoer', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?p property:field_of_this_occupation ?v . ?v rdf:type ontology:sport . VALUES ( ?p ) { ( resource:canoer ) ( resource:association_football_player ) ( resource:association_football_manager ) } }
[]