Simple Question (Direct)
Simple Question
Q748584
P463
Q43229
USER
Which organization had Bill Mumy as its member ?
(Q748584,P463,c(Q43229))
action filter_type
action find
entity Q748584
relation P463
type Q43229
['Q748584', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { resource:Q748584 property:P463 ?a . ?a rdf:type ontology:Q43229 }
Bill Mumy
action filter_type
action find
entity Bill Mumy
relation member of
type organization
['Bill Mumy', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { resource:Bill_Mumy property:member_of ?a . ?a rdf:type ontology:organization }
[]
organization
Q3635066
SYSTEM
Barnes & Barnes
Q3635066
(Q748584,P463,c(Q43229))
action filter_type
action find
entity Q748584
relation P463
type Q43229
[ANSWER] had Bill Mumy as its member
['Q748584', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { resource:Q748584 property:P463 ?a . ?a rdf:type ontology:Q43229 }
Barnes & Barnes
Barnes & Barnes had Bill Mumy as its member
Barnes & Barnes
action filter_type
action find
entity Bill Mumy
relation member of
type organization
['Bill Mumy', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { resource:Bill_Mumy property:member_of ?a . ?a rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3635066
P495
Q15617994
USER
Where did that organization originate ?
(Q3635066,P495,c(Q15617994))
action filter_type
action find
entity Q3635066
relation P495
type Q15617994
['Q3635066', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3635066 property:P495 ?n . ?n rdf:type ontology:Q15617994 }
Barnes & Barnes
action filter_type
action find
entity Barnes & Barnes
relation country of origin
type designation for an administrative territorial entity
['Barnes & Barnes', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Barnes_&_Barnes property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3635066,P495,c(Q15617994))
action filter_type
action find
entity Q3635066
relation P495
type Q15617994
That organization originated from [ANSWER]
['Q3635066', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3635066 property:P495 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
That organization originated from United States of America
United States of America
action filter_type
action find
entity Barnes & Barnes
relation country of origin
type designation for an administrative territorial entity
['Barnes & Barnes', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Barnes_&_Barnes property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5019102 Q3635066
P495
Q15617994
USER
Or Caldillo de congrio?
OR((Q3635066,P495,c(Q15617994)), (Q5019102,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q3635066
relation P495
action find
entity Q5019102
relation P495
type Q15617994
{'OR': [['Q3635066', 'P495', {'concept': 'Q15617994'}], ['Q5019102', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?u ) { ( resource:Q3635066 ) ( resource:Q5019102 ) } . ?u property:P495 ?e } . ?e rdf:type ontology:Q15617994 }
Caldillo de congrio Barnes & Barnes
action filter_type
action union
action find
entity Barnes & Barnes
relation country of origin
action find
entity Caldillo de congrio
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Barnes & Barnes', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Caldillo de congrio', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?u ) { ( resource:Barnes_&_Barnes ) ( resource:Caldillo_de_congrio ) } . ?u property:country_of_origin ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298 Q30
SYSTEM
Chile, United States of America
Q298 Q30
OR((Q3635066,P495,c(Q15617994)), (Q5019102,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q3635066
relation P495
action find
entity Q5019102
relation P495
type Q15617994
[ANSWERS]
{'OR': [['Q3635066', 'P495', {'concept': 'Q15617994'}], ['Q5019102', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?u ) { ( resource:Q3635066 ) ( resource:Q5019102 ) } . ?u property:P495 ?e } . ?e rdf:type ontology:Q15617994 }
Chile United States of America
Chile United States of America
action filter_type
action union
action find
entity Barnes & Barnes
relation country of origin
action find
entity Caldillo de congrio
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Barnes & Barnes', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Caldillo de congrio', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?u ) { ( resource:Barnes_&_Barnes ) ( resource:Caldillo_de_congrio ) } . ?u property:country_of_origin ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q298
P6
Q502895
USER
Which person is the head of government of that administrative territory ?
(Q298,P6,c(Q502895))
action filter_type
action find
entity Q298
relation P6
type Q502895
['Q298', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q298 property:P6 ?m }
Chile
action filter_type
action find
entity Chile
relation head of government
type common name
['Chile', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Chile property:head_of_government ?m }
[]
common name
Clarification for simple ques.
Q298
SYSTEM
Did you mean Chile ?
Q298 Q30
(Q298,P6,c(Q502895)) (Q30,P6,c(Q502895))
[ANSWER]
['Q298', 'P6', {'concept': 'Q502895'}] ['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q298 property:P6 ?m }
Chile United States of America
Did you mean Chile ?
Chile
['Chile', 'head of government', {'concept': 'common name'}] ['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Chile property:head_of_government ?m }
[]
Simple Question (Coreferenced)
USER
Yes
(Q298,P6,c(Q502895))
['Q298', 'P6', {'concept': 'Q502895'}]
['Chile', 'head of government', {'concept': 'common name'}]
[]
Q320
SYSTEM
Michelle Bachelet
Q320
(Q298,P6,c(Q502895))
action filter_type
action find
entity Q298
relation P6
type Q502895
[ANSWER] is the head of government of that administrative territory
['Q298', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q298 property:P6 ?m }
Michelle Bachelet
Michelle Bachelet is the head of government of that administrative territory
Michelle Bachelet
action filter_type
action find
entity Chile
relation head of government
type common name
['Chile', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Chile property:head_of_government ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q320
P166
Q618779
USER
Which awards were that person awarded with ?
(Q320,P166,c(Q618779))
action filter_type
action find
entity Q320
relation P166
type Q618779
['Q320', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { resource:Q320 property:P166 ?a . ?a rdf:type ontology:Q618779 }
Michelle Bachelet
action filter_type
action find
entity Michelle Bachelet
relation award received
type award
['Michelle Bachelet', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { resource:Michelle_Bachelet property:award_received ?a . ?a rdf:type ontology:award }
[]
award
Q1141149 Q11415564 Q768999
SYSTEM
Order of Australia, honorary doctorate, Order of Vytautas the Great
Q1141149 Q11415564 Q768999
(Q320,P166,c(Q618779))
action filter_type
action find
entity Q320
relation P166
type Q618779
That person were awarded the [ANSWERS]
['Q320', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { resource:Q320 property:P166 ?a . ?a rdf:type ontology:Q618779 }
Order of Australia honorary doctorate Order of Vytautas the Great
That person were awarded the Order of Australia, honorary doctorate and Order of Vytautas the Great
Order of Australia honorary doctorate Order of Vytautas the Great
action filter_type
action find
entity Michelle Bachelet
relation award received
type award
['Michelle Bachelet', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { resource:Michelle_Bachelet property:award_received ?a . ?a rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5142774 Q5019102
P495 P17
Q15617994
USER
Which administrative territories are the origin of Caldillo de congrio and are Colegio Almenar present in ?
AND((Q5019102,P495,c(Q15617994)), (Q5142774,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q5019102
relation P495
action find
entity Q5142774
relation P17
type Q15617994
{'AND': [['Q5019102', 'P495', {'concept': 'Q15617994'}], ['Q5142774', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q5019102 property:P495 ?q . resource:Q5142774 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Colegio Almenar Caldillo de congrio
action filter_type
action intersection
action find
entity Caldillo de congrio
relation country of origin
action find
entity Colegio Almenar
relation country
type designation for an administrative territorial entity
{'AND': [['Caldillo de congrio', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Colegio Almenar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Caldillo_de_congrio property:country_of_origin ?q . resource:Colegio_Almenar property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298
SYSTEM
Chile
Q298
AND((Q5019102,P495,c(Q15617994)), (Q5142774,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q5019102
relation P495
action find
entity Q5142774
relation P17
type Q15617994
Which administrative territories is the origin of Caldillo de congrio and is Colegio Almenar present in
{'AND': [['Q5019102', 'P495', {'concept': 'Q15617994'}], ['Q5142774', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q5019102 property:P495 ?q . resource:Q5142774 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Chile
Which administrative territories is the origin of Caldillo de congrio and is Colegio Almenar present in
Chile
action filter_type
action intersection
action find
entity Caldillo de congrio
relation country of origin
action find
entity Colegio Almenar
relation country
type designation for an administrative territorial entity
{'AND': [['Caldillo de congrio', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Colegio Almenar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Caldillo_de_congrio property:country_of_origin ?q . resource:Colegio_Almenar property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P530
Q1048835
USER
How many political territories have diplomatic relations with that administrative territory ?
(Q298,P530,c(Q1048835))
action count
action filter_type
action find
entity Q298
relation P530
type Q1048835
['Q298', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Q298 property:P530 ?l . ?l rdf:type ontology:Q1048835 }
action count
action filter_type
action find
entity Chile
relation diplomatic relation
type political territorial entity
['Chile', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Chile property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(Q298,P530,c(Q1048835))
action count
action filter_type
action find
entity Q298
relation P530
type Q1048835
[ANSWER]
['Q298', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Q298 property:P530 ?l . ?l rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action filter_type
action find
entity Chile
relation diplomatic relation
type political territorial entity
['Chile', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Chile property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity }
[]