Simple Question (Direct)
Simple Question
Q5982372
P19
Q56061
USER
Which administrative territory is the birthplace of Ian McShane ?
(Q5982372,P19,c(Q56061))
action filter_type
action find
entity Q5982372
relation P19
type Q56061
['Q5982372', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q5982372 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Ian McShane
action filter_type
action find
entity Ian McShane
relation place of birth
type administrative territorial entity
['Ian McShane', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Ian_McShane property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q680984
SYSTEM
Bellshill
Q680984
(Q5982372,P19,c(Q56061))
action filter_type
action find
entity Q5982372
relation P19
type Q56061
The [ANSWER] is the birthplace of Ian McShane
['Q5982372', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q5982372 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Bellshill
The Bellshill is the birthplace of Ian McShane
Bellshill
action filter_type
action find
entity Ian McShane
relation place of birth
type administrative territorial entity
['Ian McShane', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Ian_McShane property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5982372
P106
Q12737077
USER
What is the job of that person ?
(Q680984,P106,c(Q12737077))
action filter_type
action find
entity Q5982372
relation P106
type Q12737077
['Q680984', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q5982372 property:P106 ?f }
Ian McShane
action filter_type
action find
entity Ian McShane
relation occupation
type occupation
['Bellshill', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Ian_McShane property:occupation ?f }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q680984,P106,c(Q12737077))
action filter_type
action find
entity Q5982372
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q680984', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q5982372 property:P106 ?f }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Ian McShane
relation occupation
type occupation
['Bellshill', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Ian_McShane property:occupation ?f }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q937857 Q659707 Q2736
P425
Q349
USER
Does Tchoukball and association football belong to Q937857 ?
(Q937857,P425,Q659707) (Q937857,P425,Q2736)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q659707
relation P425
action find_reverse
entity Q2736
relation P425
['Q937857', 'P425', 'Q659707'] ['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q659707 }
association football player Tchoukball association football
action is_in
entity association football player
action intersection
action find_reverse
entity Tchoukball
relation field of this occupation
action find_reverse
entity association football
relation field of this occupation
['association football player', 'field of this occupation', 'Tchoukball'] ['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:Tchoukball }
[]
sport
SYSTEM
NO and YES respectively
(Q937857,P425,Q659707) (Q937857,P425,Q2736)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q659707
relation P425
action find_reverse
entity Q2736
relation P425
[ANSWER]
['Q937857', 'P425', 'Q659707'] ['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q659707 }
NO and YES respectively
action is_in
entity association football player
action intersection
action find_reverse
entity Tchoukball
relation field of this occupation
action find_reverse
entity association football
relation field of this occupation
['association football player', 'field of this occupation', 'Tchoukball'] ['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:Tchoukball }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2405480 Q937857
P106
Q502895
USER
Which people have the profession as association football player and voice actor ?
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q2405480))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q2405480
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q2405480']]}
SELECT DISTINCT ?r WHERE { ?r property:P106 resource:Q937857 . ?r property:P106 resource:Q2405480 . ?r rdf:type ontology:Q502895 }
voice actor association football player
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity voice actor
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'voice actor']]}
SELECT DISTINCT ?r WHERE { ?r property:occupation resource:association_football_player . ?r property:occupation resource:voice_actor . ?r rdf:type ontology:common_name }
[]
common name
Q169963 Q296822 Q58444
SYSTEM
Jason Statham, Vinnie Jones, Liam Neeson
Q169963 Q296822 Q58444
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q2405480))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q2405480
relation P106
type Q502895
[ANSWERS] have the profession as association football player and voice actor
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q2405480']]}
SELECT DISTINCT ?r WHERE { ?r property:P106 resource:Q937857 . ?r property:P106 resource:Q2405480 . ?r rdf:type ontology:Q502895 }
Jason Statham Vinnie Jones Liam Neeson
Jason Statham, Vinnie Jones and Liam Neeson have the profession as association football player and voice actor
Jason Statham Vinnie Jones Liam Neeson
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity voice actor
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'voice actor']]}
SELECT DISTINCT ?r WHERE { ?r property:occupation resource:association_football_player . ?r property:occupation resource:voice_actor . ?r rdf:type ontology:common_name }
[]