Simple Question (Direct)
Simple Question
Q259703
P19
Q56061
USER
Which administrative territory was Amy Yasbeck born in ?
(Q259703,P19,c(Q56061))
action filter_type
action find
entity Q259703
relation P19
type Q56061
['Q259703', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q259703 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Amy Yasbeck
action filter_type
action find
entity Amy Yasbeck
relation place of birth
type administrative territorial entity
['Amy Yasbeck', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Amy_Yasbeck property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q885619
SYSTEM
Blue Ash
Q885619
(Q259703,P19,c(Q56061))
action filter_type
action find
entity Q259703
relation P19
type Q56061
Amy Yasbeck was born to [ANSWER]
['Q259703', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q259703 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Blue Ash
Amy Yasbeck was born to Blue Ash
Blue Ash
action filter_type
action find
entity Amy Yasbeck
relation place of birth
type administrative territorial entity
['Amy Yasbeck', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Amy_Yasbeck property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q885619
P190
Q56061
USER
Which administrative territory is sister town of that one ?
(Q885619,P190,c(Q56061))
action filter_type
action find
entity Q885619
relation P190
type Q56061
['Q885619', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q885619 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Blue Ash
action filter_type
action find
entity Blue Ash
relation sister city
type administrative territorial entity
['Blue Ash', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Blue_Ash property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q205929
SYSTEM
Ilmenau
Q205929
(Q885619,P190,c(Q56061))
action filter_type
action find
entity Q885619
relation P190
type Q56061
[ANSWER] is sister town of that one
['Q885619', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q885619 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Ilmenau
Ilmenau is sister town of that one
Ilmenau
action filter_type
action find
entity Blue Ash
relation sister city
type administrative territorial entity
['Blue Ash', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Blue_Ash property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q84 Q7332561
P276
Q811979
USER
How many architectural structures are located at London or Rideau-Vanier Ward ?
(c(Q811979),P276,Q84) (c(Q811979),P276,Q7332561)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P276
type Q811979
action filter_type
action find_reverse
entity Q7332561
relation P276
type Q811979
[{'concept': 'Q811979'}, 'P276', 'Q84'] [{'concept': 'Q811979'}, 'P276', 'Q7332561']
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P276 ?c . VALUES ( ?c ) { ( resource:Q7332561 ) ( resource:Q84 ) } }
London Rideau-Vanier Ward
action count
action union
action filter_type
action find_reverse
entity London
relation location
type architectural structure
action filter_type
action find_reverse
entity Rideau-Vanier Ward
relation location
type architectural structure
[{'concept': 'architectural structure'}, 'location', 'London'] [{'concept': 'architectural structure'}, 'location', 'Rideau-Vanier Ward']
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:location ?c . VALUES ( ?c ) { ( resource:Rideau-Vanier_Ward ) ( resource:London ) } }
[]
architectural structure
SYSTEM
2
Q6531801 Q198536
(c(Q811979),P276,Q84) (c(Q811979),P276,Q7332561)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P276
type Q811979
action filter_type
action find_reverse
entity Q7332561
relation P276
type Q811979
[ANSWER]
[{'concept': 'Q811979'}, 'P276', 'Q84'] [{'concept': 'Q811979'}, 'P276', 'Q7332561']
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P276 ?c . VALUES ( ?c ) { ( resource:Q7332561 ) ( resource:Q84 ) } }
Lester B. Pearson Building SIS Building
2
action count
action union
action filter_type
action find_reverse
entity London
relation location
type architectural structure
action filter_type
action find_reverse
entity Rideau-Vanier Ward
relation location
type architectural structure
[{'concept': 'architectural structure'}, 'location', 'London'] [{'concept': 'architectural structure'}, 'location', 'Rideau-Vanier Ward']
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:location ?c . VALUES ( ?c ) { ( resource:Rideau-Vanier_Ward ) ( resource:London ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q259703
P161
Q838948
USER
How many works of art have Amy Yasbeck as actor ?
(c(Q838948),P161,Q259703)
action count
action filter_type
action find_reverse
entity Q259703
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q259703']
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:P161 resource:Q259703 . ?v rdf:type ontology:Q838948 }
Amy Yasbeck
action count
action filter_type
action find_reverse
entity Amy Yasbeck
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Amy Yasbeck']
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:cast_member resource:Amy_Yasbeck . ?v rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
8
Q2517390 Q207954 Q1395242 Q1334948 Q1305117 Q1254469 Q219421 Q2075493
(c(Q838948),P161,Q259703)
action count
action filter_type
action find_reverse
entity Q259703
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q259703']
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:P161 resource:Q259703 . ?v rdf:type ontology:Q838948 }
House II: The Second Story Pretty Woman Home for the Holidays Robin Hood: Men in Tights Problem Child 2 Dracula: Dead and Loving It The Mask Problem Child
8
action count
action filter_type
action find_reverse
entity Amy Yasbeck
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Amy Yasbeck']
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:cast_member resource:Amy_Yasbeck . ?v rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q7282115
P161
Q838948
USER
And also tell me about Rafael Durán?
(c(Q838948),P161,Q7282115)
action count
action filter_type
action find_reverse
entity Q7282115
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q7282115']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:P161 resource:Q7282115 . ?h rdf:type ontology:Q838948 }
Rafael Durán
action count
action filter_type
action find_reverse
entity Rafael Durán
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Rafael Durán']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:cast_member resource:Rafael_Durán . ?h rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
21
Q3823922 Q5829960 Q25208368 Q6466484 Q5364461 Q19903739 Q24514550 Q5929367 Q25303455 Q4185654 Q25208527 Q19571384 Q25999757 Q22231343 Q25208903 Q20649978 Q20978001 Q24905727 Q21483964 Q24905653 Q3816788
(c(Q838948),P161,Q7282115)
action count
action filter_type
action find_reverse
entity Q7282115
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q7282115']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:P161 resource:Q7282115 . ?h rdf:type ontology:Q838948 }
The Warrior and the Slave Girl Eloisa Is Under an Almond Tree The Faith La vida en un hilo Ella, él y sus millones The Captain from Loyola A Girl from Chicago Jeromin The Football Lottery El destino se disculpa Saturday Night Currito of the Cross A Passenger Disappeared The Prodigal Woman The Complete Idiot We're All Necessary Fountain of Trevi The Great Galeoto The Hired Husband Pedrito de Andía's New Life El clavo
21
action count
action filter_type
action find_reverse
entity Rafael Durán
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Rafael Durán']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:cast_member resource:Rafael_Durán . ?h rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7282115
P27
Q15617994
USER
Which administrative territory does Rafael Durán belong to ?
(Q7282115,P27,c(Q15617994))
action filter_type
action find
entity Q7282115
relation P27
type Q15617994
['Q7282115', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q7282115 property:P27 ?d }
Rafael Durán
action filter_type
action find
entity Rafael Durán
relation country of citizenship
type designation for an administrative territorial entity
['Rafael Durán', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rafael_Durán property:country_of_citizenship ?d }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q7282115,P27,c(Q15617994))
action filter_type
action find
entity Q7282115
relation P27
type Q15617994
Rafael Durán belongs to [ANSWER]
['Q7282115', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q7282115 property:P27 ?d }
Spain
Rafael Durán belongs to Spain
Spain
action filter_type
action find
entity Rafael Durán
relation country of citizenship
type designation for an administrative territorial entity
['Rafael Durán', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rafael_Durán property:country_of_citizenship ?d }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q145
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with lesser number of administrative territories than United Kingdom ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q145
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q145 property:P530 ?d } } . FILTER ( ?c < ?x ) . { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?c ) WHERE { ?q property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?q } }
United Kingdom
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?d } } . FILTER ( ?c < ?x ) . { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?c ) WHERE { ?q property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q32
SYSTEM
Netherlands, Poland, Luxembourg
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q145
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with lesser number of administrative territories than United Kingdom
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q145 property:P530 ?d } } . FILTER ( ?c < ?x ) . { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?c ) WHERE { ?q property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?q } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and Luxembourg have diplomatic associations with lesser number of administrative territories than United Kingdom
Netherlands Poland Luxembourg
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?d } } . FILTER ( ?c < ?x ) . { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?c ) WHERE { ?q property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Do Italy have diplomatic associations with those ones ?
(Q38,P530,Q55) (Q38,P530,Q36) (Q38,P530,Q32)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q55'] ['Q38', 'P530', 'Q36'] ['Q38', 'P530', 'Q32']
ASK WHERE { VALUES ( ?k ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q38 property:P530 ?k }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Netherlands'] ['Italy', 'diplomatic relation', 'Poland'] ['Italy', 'diplomatic relation', 'Luxembourg']
ASK WHERE { VALUES ( ?k ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Italy property:diplomatic_relation ?k }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q55) (Q38,P530,Q36) (Q38,P530,Q32)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q55'] ['Q38', 'P530', 'Q36'] ['Q38', 'P530', 'Q32']
ASK WHERE { VALUES ( ?k ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q38 property:P530 ?k }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Netherlands'] ['Italy', 'diplomatic relation', 'Poland'] ['Italy', 'diplomatic relation', 'Luxembourg']
ASK WHERE { VALUES ( ?k ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Italy property:diplomatic_relation ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29 Q846
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Spain or Qatar ?
(Q29,P530,c(Q15617994)) (Q846,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q29
relation P530
type Q15617994
action filter_type
action find
entity Q846
relation P530
type Q15617994
['Q29', 'P530', {'concept': 'Q15617994'}] ['Q846', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { { resource:Q846 property:P530 ?a . ?a rdf:type ontology:Q15617994 } UNION { resource:Q29 property:P530 ?a . ?a rdf:type ontology:Q15617994 } }
Spain Qatar
action count
action union
action filter_type
action find
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
['Spain', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Qatar', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { { resource:Qatar property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Spain property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
3
Q155 Q805 Q38
(Q29,P530,c(Q15617994)) (Q846,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q29
relation P530
type Q15617994
action filter_type
action find
entity Q846
relation P530
type Q15617994
[ANSWER]
['Q29', 'P530', {'concept': 'Q15617994'}] ['Q846', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { { resource:Q846 property:P530 ?a . ?a rdf:type ontology:Q15617994 } UNION { resource:Q29 property:P530 ?a . ?a rdf:type ontology:Q15617994 } }
Brazil Yemen Italy
3
action count
action union
action filter_type
action find
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
['Spain', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Qatar', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { { resource:Qatar property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Spain property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P921
Q223393
USER
Which literary genres were mainly based on that administrative territory ?
action filter_type
action find_reverse
entity Q29
relation P921
type Q223393
SELECT DISTINCT ?b WHERE { ?b property:P921 resource:Q29 . ?b rdf:type ontology:Q223393 }
Spain
action filter_type
action find_reverse
entity Spain
relation main subject
type literary genre
SELECT DISTINCT ?b WHERE { ?b property:main_subject resource:Spain . ?b rdf:type ontology:literary_genre }
[]
literary genre
Q20982891 Q11681095
SYSTEM
Hades, Diccionario Biográfico del Socialismo Español
Q20982891 Q11681095
action filter_type
action find_reverse
entity Q29
relation P921
type Q223393
[ANSWERS] were mainly based on that administrative territory
SELECT DISTINCT ?b WHERE { ?b property:P921 resource:Q29 . ?b rdf:type ontology:Q223393 }
Hades Diccionario Biográfico del Socialismo Español
Hades and Diccionario Biográfico del Socialismo Español were mainly based on that administrative territory
Hades Diccionario Biográfico del Socialismo Español
action filter_type
action find_reverse
entity Spain
relation main subject
type literary genre
SELECT DISTINCT ?b WHERE { ?b property:main_subject resource:Spain . ?b rdf:type ontology:literary_genre }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20982891
P364
Q34770
USER
Which language was used originally for the creation of that literary genre ?
(Q20982891,P364,c(Q34770))
action filter_type
action find
entity Q20982891
relation P364
type Q34770
['Q20982891', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q20982891 property:P364 ?t }
Hades
action filter_type
action find
entity Hades
relation original language of work
type language
['Hades', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Hades property:original_language_of_work ?t }
[]
language
Clarification for simple ques.
Q20982891
SYSTEM
Did you mean Hades ?
Q20982891 Q11681095
(Q20982891,P364,c(Q34770)) (Q11681095,P364,c(Q34770))
[ANSWER]
['Q20982891', 'P364', {'concept': 'Q34770'}] ['Q11681095', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q20982891 property:P364 ?t }
Hades Diccionario Biográfico del Socialismo Español
Did you mean Hades ?
Hades
['Hades', 'original language of work', {'concept': 'language'}] ['Diccionario Biográfico del Socialismo Español', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Hades property:original_language_of_work ?t }
[]
Simple Question (Coreferenced)
USER
Yes
(Q20982891,P364,c(Q34770))
['Q20982891', 'P364', {'concept': 'Q34770'}]
['Hades', 'original language of work', {'concept': 'language'}]
[]
Q1321
SYSTEM
Spanish
Q1321
(Q20982891,P364,c(Q34770))
action filter_type
action find
entity Q20982891
relation P364
type Q34770
In [ANSWER] was used originally for the creation of that literary genre
['Q20982891', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q20982891 property:P364 ?t }
Spanish
In Spanish was used originally for the creation of that literary genre
Spanish
action filter_type
action find
entity Hades
relation original language of work
type language
['Hades', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Hades property:original_language_of_work ?t }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3568538 Q259703
P69 P108
Q163740
USER
Which nonprofit organizations were Amy Yasbeck educated at or are the employers of William Dandridge Peck ?
OR((Q259703,P69,c(Q163740)), (Q3568538,P108,c(Q163740)))
action filter_type
action union
action find
entity Q259703
relation P69
action find
entity Q3568538
relation P108
type Q163740
{'OR': [['Q259703', 'P69', {'concept': 'Q163740'}], ['Q3568538', 'P108', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q259703 property:P69 ?s } UNION { resource:Q3568538 property:P108 ?s } } . ?s rdf:type ontology:Q163740 }
William Dandridge Peck Amy Yasbeck
action filter_type
action union
action find
entity Amy Yasbeck
relation educated at
action find
entity William Dandridge Peck
relation employer
type nonprofit organization
{'OR': [['Amy Yasbeck', 'educated at', {'concept': 'nonprofit organization'}], ['William Dandridge Peck', 'employer', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Amy_Yasbeck property:educated_at ?s } UNION { resource:William_Dandridge_Peck property:employer ?s } } . ?s rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1320232 Q13371
SYSTEM
University of Detroit Mercy, Harvard University
Q1320232 Q13371
OR((Q259703,P69,c(Q163740)), (Q3568538,P108,c(Q163740)))
action filter_type
action union
action find
entity Q259703
relation P69
action find
entity Q3568538
relation P108
type Q163740
Amy Yasbeck were educated at the [ANSWERS] or are the employers of William Dandridge Peck
{'OR': [['Q259703', 'P69', {'concept': 'Q163740'}], ['Q3568538', 'P108', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q259703 property:P69 ?s } UNION { resource:Q3568538 property:P108 ?s } } . ?s rdf:type ontology:Q163740 }
University of Detroit Mercy Harvard University
Amy Yasbeck were educated at the University of Detroit Mercy and Harvard University or are the employers of William Dandridge Peck
University of Detroit Mercy Harvard University
action filter_type
action union
action find
entity Amy Yasbeck
relation educated at
action find
entity William Dandridge Peck
relation employer
type nonprofit organization
{'OR': [['Amy Yasbeck', 'educated at', {'concept': 'nonprofit organization'}], ['William Dandridge Peck', 'employer', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Amy_Yasbeck property:educated_at ?s } UNION { resource:William_Dandridge_Peck property:employer ?s } } . ?s rdf:type ontology:nonprofit_organization }
[]