Simple Question (Direct)
Simple Question
Q18388649
P106
Q12737077
USER
What are the professions of Leslie Pintchik ?
(Q18388649,P106,c(Q12737077))
action filter_type
action find
entity Q18388649
relation P106
type Q12737077
['Q18388649', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q18388649 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Leslie Pintchik
action filter_type
action find
entity Leslie Pintchik
relation occupation
type occupation
['Leslie Pintchik', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Leslie_Pintchik property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q15981151 Q36834 Q486748
SYSTEM
jazz musician, composer, pianist
Q15981151 Q36834 Q486748
(Q18388649,P106,c(Q12737077))
action filter_type
action find
entity Q18388649
relation P106
type Q12737077
The professions of Leslie Pintchik are [ANSWERS]
['Q18388649', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q18388649 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
jazz musician composer pianist
The professions of Leslie Pintchik are jazz musician, composer and pianist
jazz musician composer pianist
action filter_type
action find
entity Leslie Pintchik
relation occupation
type occupation
['Leslie Pintchik', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Leslie_Pintchik property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18388649
P27
Q15617994
USER
Which administrative territory is Leslie Pintchik a civilian of ?
(Q18388649,P27,c(Q15617994))
action filter_type
action find
entity Q18388649
relation P27
type Q15617994
['Q18388649', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q18388649 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Leslie Pintchik
action filter_type
action find
entity Leslie Pintchik
relation country of citizenship
type designation for an administrative territorial entity
['Leslie Pintchik', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Leslie_Pintchik property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q18388649,P27,c(Q15617994))
action filter_type
action find
entity Q18388649
relation P27
type Q15617994
The [ANSWER] is Leslie Pintchik a civilian of
['Q18388649', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q18388649 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
The United States of America is Leslie Pintchik a civilian of
United States of America
action filter_type
action find
entity Leslie Pintchik
relation country of citizenship
type designation for an administrative territorial entity
['Leslie Pintchik', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Leslie_Pintchik property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7966115 Q18388649
P69
Q163740
USER
Which nonprofit organizations were Leslie Pintchik and Walter Sear educated at ?
AND((Q18388649,P69,c(Q163740)), (Q7966115,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q18388649
relation P69
action find
entity Q7966115
relation P69
type Q163740
{'AND': [['Q18388649', 'P69', {'concept': 'Q163740'}], ['Q7966115', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?j WHERE { resource:Q18388649 property:P69 ?j . resource:Q7966115 property:P69 ?j . ?j rdf:type ontology:Q163740 }
Walter Sear Leslie Pintchik
action filter_type
action intersection
action find
entity Leslie Pintchik
relation educated at
action find
entity Walter Sear
relation educated at
type nonprofit organization
{'AND': [['Leslie Pintchik', 'educated at', {'concept': 'nonprofit organization'}], ['Walter Sear', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?j WHERE { resource:Leslie_Pintchik property:educated_at ?j . resource:Walter_Sear property:educated_at ?j . ?j rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088
SYSTEM
Columbia University
Q49088
AND((Q18388649,P69,c(Q163740)), (Q7966115,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q18388649
relation P69
action find
entity Q7966115
relation P69
type Q163740
Leslie Pintchik and Walter Sear were educated at [ANSWER]
{'AND': [['Q18388649', 'P69', {'concept': 'Q163740'}], ['Q7966115', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?j WHERE { resource:Q18388649 property:P69 ?j . resource:Q7966115 property:P69 ?j . ?j rdf:type ontology:Q163740 }
Columbia University
Leslie Pintchik and Walter Sear were educated at Columbia University
Columbia University
action filter_type
action intersection
action find
entity Leslie Pintchik
relation educated at
action find
entity Walter Sear
relation educated at
type nonprofit organization
{'AND': [['Leslie Pintchik', 'educated at', {'concept': 'nonprofit organization'}], ['Walter Sear', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?j WHERE { resource:Leslie_Pintchik property:educated_at ?j . resource:Walter_Sear property:educated_at ?j . ?j rdf:type ontology:nonprofit_organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2075107 Q7966115
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Walter Sear or are Turaida Castle located in ?
OR((Q7966115,P27,c(Q15617994)), (Q2075107,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7966115
relation P27
action find
entity Q2075107
relation P17
type Q15617994
{'OR': [['Q7966115', 'P27', {'concept': 'Q15617994'}], ['Q2075107', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7966115 property:P27 ?r } UNION { resource:Q2075107 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Turaida Castle Walter Sear
action filter_type
action union
action find
entity Walter Sear
relation country of citizenship
action find
entity Turaida Castle
relation country
type designation for an administrative territorial entity
{'OR': [['Walter Sear', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Turaida Castle', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Walter_Sear property:country_of_citizenship ?r } UNION { resource:Turaida_Castle property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211 Q30
SYSTEM
Latvia, United States of America
Q211 Q30
OR((Q7966115,P27,c(Q15617994)), (Q2075107,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7966115
relation P27
action find
entity Q2075107
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Walter Sear or are Turaida Castle located in
{'OR': [['Q7966115', 'P27', {'concept': 'Q15617994'}], ['Q2075107', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7966115 property:P27 ?r } UNION { resource:Q2075107 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Latvia United States of America
Latvia and United States of America are the countries of citizenship of Walter Sear or are Turaida Castle located in
Latvia United States of America
action filter_type
action union
action find
entity Walter Sear
relation country of citizenship
action find
entity Turaida Castle
relation country
type designation for an administrative territorial entity
{'OR': [['Walter Sear', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Turaida Castle', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Walter_Sear property:country_of_citizenship ?r } UNION { resource:Turaida_Castle property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16987342
P27
Q502895
USER
Are William Richard Mead a native of those administrative territories ?
(Q16987342,P27,Q211) (Q16987342,P27,Q30)
action is_in
entity prev_answer
action find
entity Q16987342
relation P27
['Q16987342', 'P27', 'Q211'] ['Q16987342', 'P27', 'Q30']
ASK WHERE { VALUES ( ?m ) { ( resource:Q211 ) ( resource:Q30 ) } . resource:Q16987342 property:P27 ?m }
William Richard Mead
action is_in
entity prev_answer
action find
entity William Richard Mead
relation country of citizenship
['William Richard Mead', 'country of citizenship', 'Latvia'] ['William Richard Mead', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?m ) { ( resource:Latvia ) ( resource:United_States_of_America ) } . resource:William_Richard_Mead property:country_of_citizenship ?m }
[]
common name
SYSTEM
NO
(Q16987342,P27,Q211) (Q16987342,P27,Q30)
action is_in
entity prev_answer
action find
entity Q16987342
relation P27
[ANSWER]
['Q16987342', 'P27', 'Q211'] ['Q16987342', 'P27', 'Q30']
ASK WHERE { VALUES ( ?m ) { ( resource:Q211 ) ( resource:Q30 ) } . resource:Q16987342 property:P27 ?m }
No
action is_in
entity prev_answer
action find
entity William Richard Mead
relation country of citizenship
['William Richard Mead', 'country of citizenship', 'Latvia'] ['William Richard Mead', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?m ) { ( resource:Latvia ) ( resource:United_States_of_America ) } . resource:William_Richard_Mead property:country_of_citizenship ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P38
Q8142
USER
What is the currency of United States of America ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q8142 . resource:Q30 property:P38 ?r }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:currency . resource:United_States_of_America property:currency ?r }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
The currency of United States of America is the [ANSWER]
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q8142 . resource:Q30 property:P38 ?r }
United States dollar
The currency of United States of America is the United States dollar
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:currency . resource:United_States_of_America property:currency ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16641
Q8142
USER
And how about American Samoa?
(Q16641,P38,c(Q8142))
action filter_type
action find
entity Q16641
relation P38
type Q8142
['Q16641', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?w WHERE { resource:Q16641 property:P38 ?w . ?w rdf:type ontology:Q8142 }
American Samoa
action filter_type
action find
entity American Samoa
relation currency
type currency
['American Samoa', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?w WHERE { resource:American_Samoa property:currency ?w . ?w rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q16641,P38,c(Q8142))
action filter_type
action find
entity Q16641
relation P38
type Q8142
[ANSWER]
['Q16641', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?w WHERE { resource:Q16641 property:P38 ?w . ?w rdf:type ontology:Q8142 }
United States dollar
United States dollar
action filter_type
action find
entity American Samoa
relation currency
type currency
['American Samoa', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?w WHERE { resource:American_Samoa property:currency ?w . ?w rdf:type ontology:currency }
[]