Simple Question (Direct)
Simple Question
Q736674
P355
Q43229
USER
Which organization is University of Colorado Boulder the parent company of ?
(Q736674,P355,c(Q43229))
action filter_type
action find
entity Q736674
relation P355
type Q43229
['Q736674', 'P355', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { resource:Q736674 property:P355 ?s . ?s rdf:type ontology:Q43229 }
University of Colorado Boulder
action filter_type
action find
entity University of Colorado Boulder
relation subsidiary
type organization
['University of Colorado Boulder', 'subsidiary', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { resource:University_of_Colorado_Boulder property:subsidiary ?s . ?s rdf:type ontology:organization }
[]
organization
Q16835250
SYSTEM
Energy and Environmental Security Initiative
Q16835250
(Q736674,P355,c(Q43229))
action filter_type
action find
entity Q736674
relation P355
type Q43229
The [ANSWER] is University of Colorado Boulder the parent company of
['Q736674', 'P355', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { resource:Q736674 property:P355 ?s . ?s rdf:type ontology:Q43229 }
Energy and Environmental Security Initiative
The Energy and Environmental Security Initiative is University of Colorado Boulder the parent company of
Energy and Environmental Security Initiative
action filter_type
action find
entity University of Colorado Boulder
relation subsidiary
type organization
['University of Colorado Boulder', 'subsidiary', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { resource:University_of_Colorado_Boulder property:subsidiary ?s . ?s rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q736674
P69
Q502895
USER
Which people were educated at University of Colorado Boulder ?
(c(Q502895),P69,Q736674)
action filter_type
action find_reverse
entity Q736674
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q736674']
SELECT DISTINCT ?n WHERE { ?n property:P69 resource:Q736674 . ?n rdf:type ontology:Q502895 }
University of Colorado Boulder
action filter_type
action find_reverse
entity University of Colorado Boulder
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'University of Colorado Boulder']
SELECT DISTINCT ?n WHERE { ?n property:educated_at resource:University_of_Colorado_Boulder . ?n rdf:type ontology:common_name }
[]
common name
Q43179 Q316788 Q44414
SYSTEM
Ellen Johnson Sirleaf, Jack Williamson, Trey Parker
Q20685727 Q16091707 Q3788188 Q732906 Q4942302 Q103651 Q6369492 Q298531 Q3498945 Q3041772 Q4435817 Q19666870 Q6388428 Q6437230 Q4662437 Q1507824 Q290633 Q4708269 Q12471803 Q1399160 Q331507 Q5185894 Q1699795 Q6881359 Q958904 Q3847978 Q5028010 Q5295121 Q7612483 Q43179 Q1475276 Q5107552 Q350542 Q931345 Q5998260 Q44410 Q1399730 Q44414 Q7796250 Q233593 Q15430018 Q269884 Q16195754 Q518110 Q6283356 Q631766 Q102266 Q887793 Q7472 Q4961412 Q5091914 Q24768593 Q2678822 Q123811 Q2078286 Q15429714 Q27229776 Q809039 Q22101353 Q5607699 Q4494377 Q8008193 Q5640822 Q547218 Q7648264 Q21175230 Q6375399 Q6172135 Q222118 Q1239869 Q6551458 Q1364122 Q17318953 Q4221522 Q6766459 Q8019085 Q350666 Q3731797 Q316788 Q313388 Q6707621 Q4894344 Q236151 Q254576 Q1188869 Q26972956 Q6176305 Q6842191 Q5110908
(c(Q502895),P69,Q736674)
action filter_type
action find_reverse
entity Q736674
relation P69
type Q502895
[ANSWERS] were educated at University of Colorado Boulder
[{'concept': 'Q502895'}, 'P69', 'Q736674']
SELECT DISTINCT ?n WHERE { ?n property:P69 resource:Q736674 . ?n rdf:type ontology:Q502895 }
Scott Takeda Stan Adelstein Ryan Sutter Loren Acton Bonnie Burton Glenn Miller Karen Ashcraft Chauncey Billups Steve Hanke Kenneth Carpenter Nikki Marshall Sarah Kauss Ken Rutherford Kris Lane Aaron Simpson George MacKinnon Jean Stafford Alanna Rizzo Amelia Naim Indrajaya William Luther Pierce Ed Perlmutter Crisanta Duran John Dendahl Mitchell R. Morrissey Byron White Marilyn Van Derbur Campbell Cavasso Donald Schmuck Steve Ells Ellen Johnson Sirleaf James M. Cole Chris Myers Mark Leno Hank Brown Marilyn Sitzman Matt Stone Jay Conrad Levinson Trey Parker Thorleif Enger Sheryl Lee Jason Box Jennifer Simpson Eric Pratt Gordon L. Allott Joseph Garcia Eric Stough Sidney Altman Bob Beauprez Joanna S. Fowler Brent Handler Cheri Gerou Michael J. Frank Eugene O'Brien Elisabeth Kübler-Ross Peter H. Seeberger Bonnie S. Dunbar Carmen Diana Deere Barry Goldwater, Jr. Matias Alvarez Gretchen Hofmann David L. Haberman William E. Bentley Hal Koerner Mike Coffman Susan Paddack Saleh Al Abdooli Kate Brown Jeanne Labuda James Paul Johnson Donald G. Brotzman Linda Chavez Paul Cameron Gayle Smith Caitlín R. Kiernan Mark A. Heckler William T. Kane Dalton Trumbo Erinn Hayes Jack Williamson Jonah Hill Lydia Cornell Bernie Buescher Carey Lowell Judy Collins Bob Widlar Brian Linderoth Jeffrey T. Bury Midge Costanza Christine Arguello
Ellen Johnson Sirleaf, Jack Williamson and Trey Parker were educated at University of Colorado Boulder
Ellen Johnson Sirleaf Jack Williamson Trey Parker
action filter_type
action find_reverse
entity University of Colorado Boulder
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'University of Colorado Boulder']
SELECT DISTINCT ?n WHERE { ?n property:educated_at resource:University_of_Colorado_Boulder . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q736674
P749
Q43229
USER
Which organization is owned by University of Colorado Boulder ?
(c(Q43229),P749,Q736674)
action filter_type
action find_reverse
entity Q736674
relation P749
type Q43229
[{'concept': 'Q43229'}, 'P749', 'Q736674']
SELECT DISTINCT ?z WHERE { ?z property:P749 resource:Q736674 . ?z rdf:type ontology:Q43229 }
University of Colorado Boulder
action filter_type
action find_reverse
entity University of Colorado Boulder
relation parent organization
type organization
[{'concept': 'organization'}, 'parent organization', 'University of Colorado Boulder']
SELECT DISTINCT ?z WHERE { ?z property:parent_organization resource:University_of_Colorado_Boulder . ?z rdf:type ontology:organization }
[]
organization
Q16835250
SYSTEM
Energy and Environmental Security Initiative
Q16835250
(c(Q43229),P749,Q736674)
action filter_type
action find_reverse
entity Q736674
relation P749
type Q43229
The [ANSWER] is owned by University of Colorado Boulder
[{'concept': 'Q43229'}, 'P749', 'Q736674']
SELECT DISTINCT ?z WHERE { ?z property:P749 resource:Q736674 . ?z rdf:type ontology:Q43229 }
Energy and Environmental Security Initiative
The Energy and Environmental Security Initiative is owned by University of Colorado Boulder
Energy and Environmental Security Initiative
action filter_type
action find_reverse
entity University of Colorado Boulder
relation parent organization
type organization
[{'concept': 'organization'}, 'parent organization', 'University of Colorado Boulder']
SELECT DISTINCT ?z WHERE { ?z property:parent_organization resource:University_of_Colorado_Boulder . ?z rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q736674
P17
Q15617994
USER
Which administrative territory does University of Colorado Boulder belong to ?
(Q736674,P17,c(Q15617994))
action filter_type
action find
entity Q736674
relation P17
type Q15617994
['Q736674', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q736674 property:P17 ?i }
University of Colorado Boulder
action filter_type
action find
entity University of Colorado Boulder
relation country
type designation for an administrative territorial entity
['University of Colorado Boulder', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:University_of_Colorado_Boulder property:country ?i }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q736674,P17,c(Q15617994))
action filter_type
action find
entity Q736674
relation P17
type Q15617994
University of Colorado Boulder belongs to the [ANSWER]
['Q736674', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q736674 property:P17 ?i }
United States of America
University of Colorado Boulder belongs to the United States of America
United States of America
action filter_type
action find
entity University of Colorado Boulder
relation country
type designation for an administrative territorial entity
['University of Colorado Boulder', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:University_of_Colorado_Boulder property:country ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19394549
Q15617994
USER
And what about Onnastraat?
(Q19394549,P17,c(Q15617994))
action filter_type
action find
entity Q19394549
relation P17
type Q15617994
['Q19394549', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q19394549 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Onnastraat
action filter_type
action find
entity Onnastraat
relation country
type designation for an administrative territorial entity
['Onnastraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Onnastraat property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19394549,P17,c(Q15617994))
action filter_type
action find
entity Q19394549
relation P17
type Q15617994
[ANSWER]
['Q19394549', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q19394549 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Onnastraat
relation country
type designation for an administrative territorial entity
['Onnastraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Onnastraat property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3675507 Q316788
P27
Q15617994
USER
Which administrative territories are the native countriesof Jack Williamson or Karapetê Xaço ?
OR((Q316788,P27,c(Q15617994)), (Q3675507,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q316788
relation P27
action find
entity Q3675507
relation P27
type Q15617994
{'OR': [['Q316788', 'P27', {'concept': 'Q15617994'}], ['Q3675507', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { ?d property:P27 ?u . VALUES ( ?d ) { ( resource:Q3675507 ) ( resource:Q316788 ) } } . ?u rdf:type ontology:Q15617994 }
Karapetê Xaço Jack Williamson
action filter_type
action union
action find
entity Jack Williamson
relation country of citizenship
action find
entity Karapetê Xaço
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jack Williamson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Karapetê Xaço', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { ?d property:country_of_citizenship ?u . VALUES ( ?d ) { ( resource:Karapetê_Xaço ) ( resource:Jack_Williamson ) } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q399
SYSTEM
United States of America, Armenia
Q30 Q399
OR((Q316788,P27,c(Q15617994)), (Q3675507,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q316788
relation P27
action find
entity Q3675507
relation P27
type Q15617994
[ANSWERS] are the native countriesof Jack Williamson or Karapetê Xaço
{'OR': [['Q316788', 'P27', {'concept': 'Q15617994'}], ['Q3675507', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { ?d property:P27 ?u . VALUES ( ?d ) { ( resource:Q3675507 ) ( resource:Q316788 ) } } . ?u rdf:type ontology:Q15617994 }
United States of America Armenia
United States of America and Armenia are the native countriesof Jack Williamson or Karapetê Xaço
United States of America Armenia
action filter_type
action union
action find
entity Jack Williamson
relation country of citizenship
action find
entity Karapetê Xaço
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jack Williamson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Karapetê Xaço', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { ?d property:country_of_citizenship ?u . VALUES ( ?d ) { ( resource:Karapetê_Xaço ) ( resource:Jack_Williamson ) } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q140388
P414
Q43229 Q43229 Q1269299
USER
How many organizations are lesser number of organizations and business organizations traded at than Zagreb Stock Exchange ?
(c(Q43229)|c(Q1269299),P414,c(Q43229))
action count
action less
action union
action find_reverse_tuple_counts
relation P414
type Q43229
type Q43229
action find_reverse_tuple_counts
relation P414
type Q43229
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q140388
relation P414
type Q43229
type Q1269299
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P414', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?v WHERE { { ?z property:P414 ?v . ?v rdf:type ontology:Q43229 . ?z rdf:type ontology:Q43229 } UNION { ?z property:P414 ?v . ?z rdf:type ontology:Q1269299 . ?v rdf:type ontology:Q43229 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P414 resource:Q140388 . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:Q43229 ) ( ontology:Q1269299 ) } } } } . FILTER ( ?i < ?p ) }
Zagreb Stock Exchange
action count
action less
action union
action find_reverse_tuple_counts
relation stock exchange
type organization
type organization
action find_reverse_tuple_counts
relation stock exchange
type organization
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Zagreb Stock Exchange
relation stock exchange
type organization
type type of business entity
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'stock exchange', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?v WHERE { { ?z property:stock_exchange ?v . ?v rdf:type ontology:organization . ?z rdf:type ontology:organization } UNION { ?z property:stock_exchange ?v . ?z rdf:type ontology:type_of_business_entity . ?v rdf:type ontology:organization } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:stock_exchange resource:Zagreb_Stock_Exchange . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:organization ) ( ontology:type_of_business_entity ) } } } } . FILTER ( ?i < ?p ) }
[]
organization organization type of business entity
SYSTEM
12
Q1391676 Q1661737 Q2888321 Q1973019 Q891559 Q698535 Q609159 Q1320224 Q8250595 Q13683 Q627019 Q3642744
(c(Q43229)|c(Q1269299),P414,c(Q43229))
action count
action less
action union
action find_reverse_tuple_counts
relation P414
type Q43229
type Q43229
action find_reverse_tuple_counts
relation P414
type Q43229
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q140388
relation P414
type Q43229
type Q1269299
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P414', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?v WHERE { { ?z property:P414 ?v . ?v rdf:type ontology:Q43229 . ?z rdf:type ontology:Q43229 } UNION { ?z property:P414 ?v . ?z rdf:type ontology:Q1269299 . ?v rdf:type ontology:Q43229 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P414 resource:Q140388 . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:Q43229 ) ( ontology:Q1269299 ) } } } } . FILTER ( ?i < ?p ) }
OTC Bulletin Board Indonesia Stock Exchange Cyprus Stock Exchange Dubai Financial Market Mexican Stock Exchange Wiener Börse Bolsas y Mercados Españoles Osaka Exchange Bolsa de Valores y Productos de Asunción NYSE Euronext New Zealand Exchange Stock Exchange in Milano
12
action count
action less
action union
action find_reverse_tuple_counts
relation stock exchange
type organization
type organization
action find_reverse_tuple_counts
relation stock exchange
type organization
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Zagreb Stock Exchange
relation stock exchange
type organization
type type of business entity
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'stock exchange', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?v WHERE { { ?z property:stock_exchange ?v . ?v rdf:type ontology:organization . ?z rdf:type ontology:organization } UNION { ?z property:stock_exchange ?v . ?z rdf:type ontology:type_of_business_entity . ?v rdf:type ontology:organization } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:stock_exchange resource:Zagreb_Stock_Exchange . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:organization ) ( ontology:type_of_business_entity ) } } } } . FILTER ( ?i < ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q399
P172
Q502895
USER
Which people have Armenia as his/her ethnicity ?
(c(Q502895),P172,Q399)
action filter_type
action find_reverse
entity Q399
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q399']
SELECT DISTINCT ?w WHERE { ?w property:P172 resource:Q399 . ?w rdf:type ontology:Q502895 }
Armenia
action filter_type
action find_reverse
entity Armenia
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Armenia']
SELECT DISTINCT ?w WHERE { ?w property:ethnic_group resource:Armenia . ?w rdf:type ontology:common_name }
[]
common name
Q1729223 Q139636 Q785327
SYSTEM
Karen Grigorian, Zaven Biberyan, Edgar Chahine
Q1729223 Q139636 Q785327
(c(Q502895),P172,Q399)
action filter_type
action find_reverse
entity Q399
relation P172
type Q502895
[ANSWERS] have Armenia as his/her ethnicity
[{'concept': 'Q502895'}, 'P172', 'Q399']
SELECT DISTINCT ?w WHERE { ?w property:P172 resource:Q399 . ?w rdf:type ontology:Q502895 }
Karen Grigorian Zaven Biberyan Edgar Chahine
Karen Grigorian, Zaven Biberyan and Edgar Chahine have Armenia as his/her ethnicity
Karen Grigorian Zaven Biberyan Edgar Chahine
action filter_type
action find_reverse
entity Armenia
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Armenia']
SELECT DISTINCT ?w WHERE { ?w property:ethnic_group resource:Armenia . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1729223
P1196
Q1914636
USER
What situation did that person die in ?
(Q1729223,P1196,c(Q1914636))
action filter_type
action find
entity Q1729223
relation P1196
type Q1914636
['Q1729223', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?n WHERE { resource:Q1729223 property:P1196 ?n . ?n rdf:type ontology:Q1914636 }
Karen Grigorian
action filter_type
action find
entity Karen Grigorian
relation manner of death
type activity
['Karen Grigorian', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?n WHERE { resource:Karen_Grigorian property:manner_of_death ?n . ?n rdf:type ontology:activity }
[]
activity
Clarification for simple ques.
Q1729223
SYSTEM
Did you mean Karen Grigorian ?
Q1729223 Q139636 Q785327
(Q1729223,P1196,c(Q1914636)) (Q139636,P1196,c(Q1914636)) (Q785327,P1196,c(Q1914636))
[ANSWER]
['Q1729223', 'P1196', {'concept': 'Q1914636'}] ['Q139636', 'P1196', {'concept': 'Q1914636'}] ['Q785327', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?n WHERE { resource:Q1729223 property:P1196 ?n . ?n rdf:type ontology:Q1914636 }
Karen Grigorian Zaven Biberyan Edgar Chahine
Did you mean Karen Grigorian ?
Karen Grigorian
['Karen Grigorian', 'manner of death', {'concept': 'activity'}] ['Zaven Biberyan', 'manner of death', {'concept': 'activity'}] ['Edgar Chahine', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?n WHERE { resource:Karen_Grigorian property:manner_of_death ?n . ?n rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1729223,P1196,c(Q1914636))
['Q1729223', 'P1196', {'concept': 'Q1914636'}]
['Karen Grigorian', 'manner of death', {'concept': 'activity'}]
[]
Q10737
SYSTEM
suicide
Q10737
(Q1729223,P1196,c(Q1914636))
action filter_type
action find
entity Q1729223
relation P1196
type Q1914636
That person died in [ANSWER]
['Q1729223', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?n WHERE { resource:Q1729223 property:P1196 ?n . ?n rdf:type ontology:Q1914636 }
suicide
That person died in suicide
suicide
action filter_type
action find
entity Karen Grigorian
relation manner of death
type activity
['Karen Grigorian', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?n WHERE { resource:Karen_Grigorian property:manner_of_death ?n . ?n rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q399
P1532
Q6979593
USER
Whose national association football team is Armenia ?
(c(Q6979593),P1532,Q399)
action filter_type
action find_reverse
entity Q399
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q399']
SELECT DISTINCT ?i WHERE { ?i property:P1532 resource:Q399 . ?i rdf:type ontology:Q6979593 }
Armenia
action filter_type
action find_reverse
entity Armenia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Armenia']
SELECT DISTINCT ?i WHERE { ?i property:country_for_sport resource:Armenia . ?i rdf:type ontology:national_association_football_team }
[]
national association football team
Q268070
SYSTEM
Armenia women's national football team
Q268070
(c(Q6979593),P1532,Q399)
action filter_type
action find_reverse
entity Q399
relation P1532
type Q6979593
[ANSWER] is Armenia
[{'concept': 'Q6979593'}, 'P1532', 'Q399']
SELECT DISTINCT ?i WHERE { ?i property:P1532 resource:Q399 . ?i rdf:type ontology:Q6979593 }
Armenia women's national football team
Armenia women's national football team is Armenia
Armenia women's national football team
action filter_type
action find_reverse
entity Armenia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Armenia']
SELECT DISTINCT ?i WHERE { ?i property:country_for_sport resource:Armenia . ?i rdf:type ontology:national_association_football_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1729223
P641
Q31629
USER
Which type of sport did Karen Grigorian participate in ?
(Q1729223,P641,c(Q31629))
action filter_type
action find
entity Q1729223
relation P641
type Q31629
['Q1729223', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q31629 . resource:Q1729223 property:P641 ?a }
Karen Grigorian
action filter_type
action find
entity Karen Grigorian
relation sport
type type of sport
['Karen Grigorian', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:type_of_sport . resource:Karen_Grigorian property:sport ?a }
[]
type of sport
Q718
SYSTEM
chess
Q718
(Q1729223,P641,c(Q31629))
action filter_type
action find
entity Q1729223
relation P641
type Q31629
Karen Grigorian participated in [ANSWER]
['Q1729223', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q31629 . resource:Q1729223 property:P641 ?a }
chess
Karen Grigorian participated in chess
chess
action filter_type
action find
entity Karen Grigorian
relation sport
type type of sport
['Karen Grigorian', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:type_of_sport . resource:Karen_Grigorian property:sport ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1729223
P19
Q56061 Q515
USER
How many administrative territories or cities are the birthplace of Karen Grigorian ?
(Q1729223,P19,c(Q56061)) (Q1729223,P19,c(Q515))
action count
action union
action filter_type
action find
entity Q1729223
relation P19
type Q56061
action filter_type
action find
entity Q1729223
relation P19
type Q515
['Q1729223', 'P19', {'concept': 'Q56061'}] ['Q1729223', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { VALUES ( ?i ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?q rdf:type ?i }
Karen Grigorian
action count
action union
action filter_type
action find
entity Karen Grigorian
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Karen Grigorian
relation place of birth
type city
['Karen Grigorian', 'place of birth', {'concept': 'administrative territorial entity'}] ['Karen Grigorian', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { VALUES ( ?i ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?q rdf:type ?i }
[]
administrative territorial entity city
SYSTEM
2
Q649 Q1953
(Q1729223,P19,c(Q56061)) (Q1729223,P19,c(Q515))
action count
action union
action filter_type
action find
entity Q1729223
relation P19
type Q56061
action filter_type
action find
entity Q1729223
relation P19
type Q515
[ANSWER]
['Q1729223', 'P19', {'concept': 'Q56061'}] ['Q1729223', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { VALUES ( ?i ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?q rdf:type ?i }
Moscow Yerevan
2
action count
action union
action filter_type
action find
entity Karen Grigorian
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Karen Grigorian
relation place of birth
type city
['Karen Grigorian', 'place of birth', {'concept': 'administrative territorial entity'}] ['Karen Grigorian', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { VALUES ( ?i ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?q rdf:type ?i }
[]