Simple Question (Direct)
Simple Question
Q6777519
P40
Q502895
USER
Who is a child of Marty Pasetta ?
(Q6777519,P40,c(Q502895))
action filter_type
action find
entity Q6777519
relation P40
type Q502895
['Q6777519', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q6777519 property:P40 ?e . ?e rdf:type ontology:Q502895 }
Marty Pasetta
action filter_type
action find
entity Marty Pasetta
relation child
type common name
['Marty Pasetta', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Marty_Pasetta property:child ?e . ?e rdf:type ontology:common_name }
[]
common name
Q21476381
SYSTEM
Martin Pasetta
Q21476381
(Q6777519,P40,c(Q502895))
action filter_type
action find
entity Q6777519
relation P40
type Q502895
A child of Marty Pasetta is of [ANSWER]
['Q6777519', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q6777519 property:P40 ?e . ?e rdf:type ontology:Q502895 }
Martin Pasetta
A child of Marty Pasetta is of Martin Pasetta
Martin Pasetta
action filter_type
action find
entity Marty Pasetta
relation child
type common name
['Marty Pasetta', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Marty_Pasetta property:child ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6777519
P106
Q12737077
USER
What are the professions of Marty Pasetta ?
(Q6777519,P106,c(Q12737077))
action filter_type
action find
entity Q6777519
relation P106
type Q12737077
['Q6777519', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q6777519 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Marty Pasetta
action filter_type
action find
entity Marty Pasetta
relation occupation
type occupation
['Marty Pasetta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Marty_Pasetta property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q578109 Q2059704
SYSTEM
television producer, television director
Q578109 Q2059704
(Q6777519,P106,c(Q12737077))
action filter_type
action find
entity Q6777519
relation P106
type Q12737077
The professions of Marty Pasetta are the [ANSWERS]
['Q6777519', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q6777519 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
television producer television director
The professions of Marty Pasetta are the television producer and television director
television producer television director
action filter_type
action find
entity Marty Pasetta
relation occupation
type occupation
['Marty Pasetta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Marty_Pasetta property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11699582
Q12737077
USER
And also tell me about Generoso Andria?
(Q11699582,P106,c(Q12737077))
action filter_type
action find
entity Q11699582
relation P106
type Q12737077
['Q11699582', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q11699582 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Generoso Andria
action filter_type
action find
entity Generoso Andria
relation occupation
type occupation
['Generoso Andria', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Generoso_Andria property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q11699582,P106,c(Q12737077))
action filter_type
action find
entity Q11699582
relation P106
type Q12737077
[ANSWER]
['Q11699582', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q11699582 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Generoso Andria
relation occupation
type occupation
['Generoso Andria', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Generoso_Andria property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11699582
P937
Q515
USER
What is the work location of that person ?
(Q82955,P937,c(Q515))
action filter_type
action find
entity Q11699582
relation P937
type Q515
['Q82955', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q11699582 property:P937 ?u . ?u rdf:type ontology:Q515 }
Generoso Andria
action filter_type
action find
entity Generoso Andria
relation work location
type city
['politician', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Generoso_Andria property:work_location ?u . ?u rdf:type ontology:city }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
(Q82955,P937,c(Q515))
action filter_type
action find
entity Q11699582
relation P937
type Q515
The work location of that person is in [ANSWER]
['Q82955', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q11699582 property:P937 ?u . ?u rdf:type ontology:Q515 }
Strasbourg
The work location of that person is in Strasbourg
Strasbourg
action filter_type
action find
entity Generoso Andria
relation work location
type city
['politician', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Generoso_Andria property:work_location ?u . ?u rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q578109
P361
Q16334295
USER
What is television producer a component of ?
(Q578109,P361,c(Q16334295))
action filter_type
action find
entity Q578109
relation P361
type Q16334295
['Q578109', 'P361', {'concept': 'Q16334295'}]
SELECT DISTINCT ?t WHERE { resource:Q578109 property:P361 ?t . ?t rdf:type ontology:Q16334295 }
television producer
action filter_type
action find
entity television producer
relation part of
type group of humans
['television producer', 'part of', {'concept': 'group of humans'}]
SELECT DISTINCT ?t WHERE { resource:television_producer property:part_of ?t . ?t rdf:type ontology:group_of_humans }
[]
group of humans
Q7696997
SYSTEM
television crew
Q7696997
(Q578109,P361,c(Q16334295))
action filter_type
action find
entity Q578109
relation P361
type Q16334295
Of the [ANSWER] is television producer
['Q578109', 'P361', {'concept': 'Q16334295'}]
SELECT DISTINCT ?t WHERE { resource:Q578109 property:P361 ?t . ?t rdf:type ontology:Q16334295 }
television crew
Of the television crew is television producer
television crew
action filter_type
action find
entity television producer
relation part of
type group of humans
['television producer', 'part of', {'concept': 'group of humans'}]
SELECT DISTINCT ?t WHERE { resource:television_producer property:part_of ?t . ?t rdf:type ontology:group_of_humans }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7696997 Q26696329
P361
Q12737077
USER
Is mayor of Griegos a component of that group of humans ?
(Q26696329,P361,Q7696997)
action is_in
entity Q26696329
action find
entity Q7696997
relation P361
['Q26696329', 'P361', 'Q7696997']
ASK WHERE { resource:Q7696997 property:P361 resource:Q26696329 }
television crew mayor of Griegos
action is_in
entity mayor of Griegos
action find
entity television crew
relation part of
['mayor of Griegos', 'part of', 'television crew']
ASK WHERE { resource:television_crew property:part_of resource:mayor_of_Griegos }
[]
occupation
SYSTEM
NO
(Q26696329,P361,Q7696997)
action is_in
entity Q26696329
action find
entity Q7696997
relation P361
[ANSWER]
['Q26696329', 'P361', 'Q7696997']
ASK WHERE { resource:Q7696997 property:P361 resource:Q26696329 }
No
action is_in
entity mayor of Griegos
action find
entity television crew
relation part of
['mayor of Griegos', 'part of', 'television crew']
ASK WHERE { resource:television_crew property:part_of resource:mayor_of_Griegos }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26691920 Q26696329
P1313
Q1048835
USER
Which political territories have mayor of Griegos or mayor of La Adrada as office of head of government ?
OR((c(Q1048835),P1313,Q26696329), (c(Q1048835),P1313,Q26691920))
action filter_type
action union
action find_reverse
entity Q26696329
relation P1313
action find_reverse
entity Q26691920
relation P1313
type Q1048835
{'OR': [[{'concept': 'Q1048835'}, 'P1313', 'Q26696329'], [{'concept': 'Q1048835'}, 'P1313', 'Q26691920']]}
SELECT DISTINCT ?l WHERE { { ?l property:P1313 ?a . VALUES ( ?a ) { ( resource:Q26696329 ) ( resource:Q26691920 ) } } . ?l rdf:type ontology:Q1048835 }
mayor of La Adrada mayor of Griegos
action filter_type
action union
action find_reverse
entity mayor of Griegos
relation office held by head of government
action find_reverse
entity mayor of La Adrada
relation office held by head of government
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Griegos'], [{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of La Adrada']]}
SELECT DISTINCT ?l WHERE { { ?l property:office_held_by_head_of_government ?a . VALUES ( ?a ) { ( resource:mayor_of_Griegos ) ( resource:mayor_of_La_Adrada ) } } . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1606366 Q1768867
SYSTEM
La Adrada, Griegos
Q1606366 Q1768867
OR((c(Q1048835),P1313,Q26696329), (c(Q1048835),P1313,Q26691920))
action filter_type
action union
action find_reverse
entity Q26696329
relation P1313
action find_reverse
entity Q26691920
relation P1313
type Q1048835
[ANSWERS] have mayor of Griegos or mayor of La Adrada as office of head of government
{'OR': [[{'concept': 'Q1048835'}, 'P1313', 'Q26696329'], [{'concept': 'Q1048835'}, 'P1313', 'Q26691920']]}
SELECT DISTINCT ?l WHERE { { ?l property:P1313 ?a . VALUES ( ?a ) { ( resource:Q26696329 ) ( resource:Q26691920 ) } } . ?l rdf:type ontology:Q1048835 }
La Adrada Griegos
La Adrada and Griegos have mayor of Griegos or mayor of La Adrada as office of head of government
La Adrada Griegos
action filter_type
action union
action find_reverse
entity mayor of Griegos
relation office held by head of government
action find_reverse
entity mayor of La Adrada
relation office held by head of government
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Griegos'], [{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of La Adrada']]}
SELECT DISTINCT ?l WHERE { { ?l property:office_held_by_head_of_government ?a . VALUES ( ?a ) { ( resource:mayor_of_Griegos ) ( resource:mayor_of_La_Adrada ) } } . ?l rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q11303721 Q82955
P106
Q502895
USER
Which people have politician and golfer as his/her means of employment ?
AND((c(Q502895),P106,Q82955), (c(Q502895),P106,Q11303721))
action filter_type
action intersection
action find_reverse
entity Q82955
relation P106
action find_reverse
entity Q11303721
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q82955'], [{'concept': 'Q502895'}, 'P106', 'Q11303721']]}
SELECT DISTINCT ?w WHERE { ?w property:P106 resource:Q82955 . ?w property:P106 resource:Q11303721 . ?w rdf:type ontology:Q502895 }
golfer politician
action filter_type
action intersection
action find_reverse
entity politician
relation occupation
action find_reverse
entity golfer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'politician'], [{'concept': 'common name'}, 'occupation', 'golfer']]}
SELECT DISTINCT ?w WHERE { ?w property:occupation resource:politician . ?w property:occupation resource:golfer . ?w rdf:type ontology:common_name }
[]
common name
Q5294154 Q7172857 Q338273 Q4777498 Q4764262 Q1834580 Q4757031 Q1712148 Q13780726 Q6409462
SYSTEM
Some of them are Donald Carrick, Peter Block, David Burnside, Walrave Boissevain, Angus Valdemar Hambro, Bob Cameron, Andrew Fulton, Jack Westland, Léon Velge, Kim Swan
Q7172857 Q4777498 Q1834580 Q1712148 Q13780726 Q5498045 Q4757031 Q5294154 Q6409462 Q2461537 Q338273 Q4764262
AND((c(Q502895),P106,Q82955), (c(Q502895),P106,Q11303721))
action filter_type
action intersection
action find_reverse
entity Q82955
relation P106
action find_reverse
entity Q11303721
relation P106
type Q502895
[ANSWERS] have politician and golfer as his/her means of employment
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q82955'], [{'concept': 'Q502895'}, 'P106', 'Q11303721']]}
SELECT DISTINCT ?w WHERE { ?w property:P106 resource:Q82955 . ?w property:P106 resource:Q11303721 . ?w rdf:type ontology:Q502895 }
Peter Block Walrave Boissevain Bob Cameron Jack Westland Léon Velge Frederick Hoblitzell Andrew Fulton Donald Carrick Kim Swan Cyril Tolley David Burnside Angus Valdemar Hambro
Donald Carrick, Peter Block, David Burnside, Walrave Boissevain, Angus Valdemar Hambro, Bob Cameron, Andrew Fulton, Jack Westland, Léon Velge and Kim Swan have politician and golfer as his/her means of employment
Donald Carrick Peter Block David Burnside Walrave Boissevain Angus Valdemar Hambro Bob Cameron Andrew Fulton Jack Westland Léon Velge Kim Swan
action filter_type
action intersection
action find_reverse
entity politician
relation occupation
action find_reverse
entity golfer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'politician'], [{'concept': 'common name'}, 'occupation', 'golfer']]}
SELECT DISTINCT ?w WHERE { ?w property:occupation resource:politician . ?w property:occupation resource:golfer . ?w rdf:type ontology:common_name }
[]