Simple Question (Direct)
Simple Question
Q7819548
P106
Q12737077
USER
What does Tommy Hynds do for a living ?
(Q7819548,P106,c(Q12737077))
action filter_type
action find
entity Q7819548
relation P106
type Q12737077
['Q7819548', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q7819548 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Tommy Hynds
action filter_type
action find
entity Tommy Hynds
relation occupation
type occupation
['Tommy Hynds', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Tommy_Hynds property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7819548,P106,c(Q12737077))
action filter_type
action find
entity Q7819548
relation P106
type Q12737077
[ANSWER] Tommy Hynds does for a living
['Q7819548', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q7819548 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
association football player
Association football player Tommy Hynds does for a living
association football player
action filter_type
action find
entity Tommy Hynds
relation occupation
type occupation
['Tommy Hynds', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Tommy_Hynds property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7819548
P641
Q349
USER
What did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q7819548
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q7819548 property:P641 ?k . ?k rdf:type ontology:Q349 }
Tommy Hynds
action filter_type
action find
entity Tommy Hynds
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Tommy_Hynds property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q7819548
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q7819548 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Tommy Hynds
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Tommy_Hynds property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7819548
P21
Q290
USER
Which sex does that person have ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q7819548
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q7819548 property:P21 ?b . ?b rdf:type ontology:Q290 }
Tommy Hynds
action filter_type
action find
entity Tommy Hynds
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Tommy_Hynds property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q7819548
relation P21
type Q290
That person has a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q7819548 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Tommy Hynds
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Tommy_Hynds property:gender ?b . ?b rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q21392280 Q7819548
P21
Q290
USER
Or Mohammad Mahdi Rabieh?
OR((Q7819548,P21,c(Q290)), (Q21392280,P21,c(Q290)))
action filter_type
action union
action find
entity Q7819548
relation P21
action find
entity Q21392280
relation P21
type Q290
{'OR': [['Q7819548', 'P21', {'concept': 'Q290'}], ['Q21392280', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . { { resource:Q21392280 property:P21 ?p } UNION { resource:Q7819548 property:P21 ?p } } }
Mohammad Mahdi Rabieh Tommy Hynds
action filter_type
action union
action find
entity Tommy Hynds
relation gender
action find
entity Mohammad Mahdi Rabieh
relation gender
type sex
{'OR': [['Tommy Hynds', 'gender', {'concept': 'sex'}], ['Mohammad Mahdi Rabieh', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . { { resource:Mohammad_Mahdi_Rabieh property:gender ?p } UNION { resource:Tommy_Hynds property:gender ?p } } }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q7819548,P21,c(Q290)), (Q21392280,P21,c(Q290)))
action filter_type
action union
action find
entity Q7819548
relation P21
action find
entity Q21392280
relation P21
type Q290
[ANSWER]
{'OR': [['Q7819548', 'P21', {'concept': 'Q290'}], ['Q21392280', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . { { resource:Q21392280 property:P21 ?p } UNION { resource:Q7819548 property:P21 ?p } } }
male
male
action filter_type
action union
action find
entity Tommy Hynds
relation gender
action find
entity Mohammad Mahdi Rabieh
relation gender
type sex
{'OR': [['Tommy Hynds', 'gender', {'concept': 'sex'}], ['Mohammad Mahdi Rabieh', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . { { resource:Mohammad_Mahdi_Rabieh property:gender ?p } UNION { resource:Tommy_Hynds property:gender ?p } } }
[]