Simple Question (Direct)
Simple Question
Q11378831
P9
Q502895
USER
Who are the sisters of Iyo-shinnō ?
(Q11378831,P9,c(Q502895))
action filter_type
action find
entity Q11378831
relation P9
type Q502895
['Q11378831', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q11378831 property:P9 ?e . ?e rdf:type ontology:Q502895 }
Iyo-shinnō
action filter_type
action find
entity Iyo-shinnō
relation sister
type common name
['Iyo-shinnō', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Iyo-shinnō property:sister ?e . ?e rdf:type ontology:common_name }
[]
common name
Q11380927 Q11669919 Q11092514
SYSTEM
Ito-naishinnō, Koshi-naishinnō, Asahara-naishinnō
Q11671787 Q11669919 Q11450406 Q11380927 Q15839374 Q11480761 Q11092514 Q11434304
(Q11378831,P9,c(Q502895))
action filter_type
action find
entity Q11378831
relation P9
type Q502895
The sisters of Iyo-shinnō are the [ANSWERS]
['Q11378831', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q11378831 property:P9 ?e . ?e rdf:type ontology:Q502895 }
Kōzu-naishinnō Koshi-naishinnō Ate-naishinnō Ito-naishinnō Sugawara-naishinnō Fuse-naishinnō Asahara-naishinnō Ōyake-naishinnō
The sisters of Iyo-shinnō are the Ito-naishinnō, Koshi-naishinnō and Asahara-naishinnō
Ito-naishinnō Koshi-naishinnō Asahara-naishinnō
action filter_type
action find
entity Iyo-shinnō
relation sister
type common name
['Iyo-shinnō', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Iyo-shinnō property:sister ?e . ?e rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11092514
P7
Q502895
USER
Who have that one as their sibling ?
(Q11092514,P7,c(Q502895))
action filter_type
action find
entity Q11092514
relation P7
type Q502895
['Q11092514', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q11092514 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Asahara-naishinnō
action filter_type
action find
entity Asahara-naishinnō
relation brother
type common name
['Asahara-naishinnō', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Asahara-naishinnō property:brother ?d . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q11092514
SYSTEM
Did you mean Asahara-naishinnō ?
Q11380927 Q11669919 Q11092514
(Q11380927,P7,c(Q502895)) (Q11669919,P7,c(Q502895)) (Q11092514,P7,c(Q502895))
[ANSWER]
['Q11380927', 'P7', {'concept': 'Q502895'}] ['Q11669919', 'P7', {'concept': 'Q502895'}] ['Q11092514', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q11092514 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Ito-naishinnō Koshi-naishinnō Asahara-naishinnō
Did you mean Asahara-naishinnō ?
Asahara-naishinnō
['Ito-naishinnō', 'brother', {'concept': 'common name'}] ['Koshi-naishinnō', 'brother', {'concept': 'common name'}] ['Asahara-naishinnō', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Asahara-naishinnō property:brother ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q11092514,P7,c(Q502895))
['Q11092514', 'P7', {'concept': 'Q502895'}]
['Asahara-naishinnō', 'brother', {'concept': 'common name'}]
[]
Q316654 Q353558 Q374136
SYSTEM
Emperor Saga, Emperor Heizei, Emperor Junna
Q11378831 Q13292468 Q11378621 Q18193371 Q353558 Q11353795 Q11634959 Q13292202 Q374136 Q316654 Q11620866 Q11614402 Q11620877
(Q11092514,P7,c(Q502895))
action filter_type
action find
entity Q11092514
relation P7
type Q502895
[ANSWERS] have that one as their sibling
['Q11092514', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q11092514 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Iyo-shinnō Asuka-shinnō Nakano-shinnō Sakamoto-shinnō Emperor Heizei Manta-shinnō Kaya-shinnō Sami-shinnō Emperor Junna Emperor Saga Fujii-shinnō Yoshimine no Yasuyo Kazurahara-shinnō
Emperor Saga, Emperor Heizei and Emperor Junna have that one as their sibling
Emperor Saga Emperor Heizei Emperor Junna
action filter_type
action find
entity Asahara-naishinnō
relation brother
type common name
['Asahara-naishinnō', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Asahara-naishinnō property:brother ?d . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q316654 Q11530653
P7
Q502895
USER
How many people are siblings of Emperor Saga or Matsudaira Yorihide ?
(c(Q502895),P7,Q316654) (c(Q502895),P7,Q11530653)
action count
action union
action filter_type
action find_reverse
entity Q316654
relation P7
type Q502895
action filter_type
action find_reverse
entity Q11530653
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q316654'] [{'concept': 'Q502895'}, 'P7', 'Q11530653']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { ?e property:P7 resource:Q316654 . ?e rdf:type ontology:Q502895 } UNION { ?e property:P7 resource:Q11530653 . ?e rdf:type ontology:Q502895 } }
Emperor Saga Matsudaira Yorihide
action count
action union
action filter_type
action find_reverse
entity Emperor Saga
relation brother
type common name
action filter_type
action find_reverse
entity Matsudaira Yorihide
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Emperor Saga'] [{'concept': 'common name'}, 'brother', 'Matsudaira Yorihide']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { ?e property:brother resource:Emperor_Saga . ?e rdf:type ontology:common_name } UNION { ?e property:brother resource:Matsudaira_Yorihide . ?e rdf:type ontology:common_name } }
[]
common name
SYSTEM
21
Q11378831 Q11378621 Q11434304 Q353558 Q11353795 Q15839374 Q13292202 Q11480761 Q11092514 Q11614402 Q11671787 Q11634959 Q13292468 Q18193371 Q11450406 Q374136 Q11380927 Q6993473 Q11620866 Q11620877 Q11669919
(c(Q502895),P7,Q316654) (c(Q502895),P7,Q11530653)
action count
action union
action filter_type
action find_reverse
entity Q316654
relation P7
type Q502895
action filter_type
action find_reverse
entity Q11530653
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q316654'] [{'concept': 'Q502895'}, 'P7', 'Q11530653']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { ?e property:P7 resource:Q316654 . ?e rdf:type ontology:Q502895 } UNION { ?e property:P7 resource:Q11530653 . ?e rdf:type ontology:Q502895 } }
Iyo-shinnō Nakano-shinnō Ōyake-naishinnō Emperor Heizei Manta-shinnō Sugawara-naishinnō Sami-shinnō Fuse-naishinnō Asahara-naishinnō Yoshimine no Yasuyo Kōzu-naishinnō Kaya-shinnō Asuka-shinnō Sakamoto-shinnō Ate-naishinnō Emperor Junna Ito-naishinnō Tokugawa Mochitsugu Fujii-shinnō Kazurahara-shinnō Koshi-naishinnō
21
action count
action union
action filter_type
action find_reverse
entity Emperor Saga
relation brother
type common name
action filter_type
action find_reverse
entity Matsudaira Yorihide
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Emperor Saga'] [{'concept': 'common name'}, 'brother', 'Matsudaira Yorihide']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { ?e property:brother resource:Emperor_Saga . ?e rdf:type ontology:common_name } UNION { ?e property:brother resource:Matsudaira_Yorihide . ?e rdf:type ontology:common_name } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 5575 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5575
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?k <= 5575 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5575
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?k <= 5575 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5575
[ANSWERS] can atmost 5575 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?k <= 5575 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can atmost 5575 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5575
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?k <= 5575 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11641526
P17
Q15617994
USER
Which administrative territory is Roadside station Nasu-yoichinosato located in ?
(Q11641526,P17,c(Q15617994))
action filter_type
action find
entity Q11641526
relation P17
type Q15617994
['Q11641526', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q11641526 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Roadside station Nasu-yoichinosato
action filter_type
action find
entity Roadside station Nasu-yoichinosato
relation country
type designation for an administrative territorial entity
['Roadside station Nasu-yoichinosato', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Roadside_station_Nasu-yoichinosato property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11641526,P17,c(Q15617994))
action filter_type
action find
entity Q11641526
relation P17
type Q15617994
Which administrative territory is Roadside station Nasu-yoichinosato located in
['Q11641526', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q11641526 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Japan
Which administrative territory is Roadside station Nasu-yoichinosato located in
Japan
action filter_type
action find
entity Roadside station Nasu-yoichinosato
relation country
type designation for an administrative territorial entity
['Roadside station Nasu-yoichinosato', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Roadside_station_Nasu-yoichinosato property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1032
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with approximately the same number of administrative territories as Niger ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1032
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q1032 property:P530 ?c } } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?q ) WHERE { ?o property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } }
Niger
action count
action approx
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 Niger
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 ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Niger property:diplomatic_relation ?c } } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?q ) WHERE { ?o property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
147
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 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 Q225 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 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1032
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q1032 property:P530 ?c } } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?q ) WHERE { ?o property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia 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 Bosnia and Herzegovina 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 Cape Verde Togo Tonga Spain New Caledonia Thailand
147
action count
action approx
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 Niger
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 ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Niger property:diplomatic_relation ?c } } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?q ) WHERE { ?o property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q145
P530
Q15617994 Q15617994
USER
And what about United Kingdom?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
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 ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?n property:P530 ?l . ?n rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q145 property:P530 ?q } } . FILTER ( ?v = ?y ) }
United Kingdom
action count
action approx
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 ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?n property:diplomatic_relation ?l . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?q } } . FILTER ( ?v = ?y ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
154
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 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 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 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 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q145
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?n property:P530 ?l . ?n rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q145 property:P530 ?q } } . FILTER ( ?v = ?y ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia 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 United States of America Tanzania Poland Sweden Philippines Central African Republic 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 Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya 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 Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
154
action count
action approx
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 ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?n property:diplomatic_relation ?l . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?q } } . FILTER ( ?v = ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q316654
P25
Q502895
USER
Who was the mom of Emperor Saga ?
(Q316654,P25,c(Q502895))
action filter_type
action find
entity Q316654
relation P25
type Q502895
['Q316654', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q316654 property:P25 ?q . ?q rdf:type ontology:Q502895 }
Emperor Saga
action filter_type
action find
entity Emperor Saga
relation mother
type common name
['Emperor Saga', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Emperor_Saga property:mother ?q . ?q rdf:type ontology:common_name }
[]
common name
Q2110461
SYSTEM
Fujiwara no Otomuro
Q2110461
(Q316654,P25,c(Q502895))
action filter_type
action find
entity Q316654
relation P25
type Q502895
The mom of Emperor Saga was Emperor [ANSWER]
['Q316654', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q316654 property:P25 ?q . ?q rdf:type ontology:Q502895 }
Fujiwara no Otomuro
The mom of Emperor Saga was Emperor Fujiwara no Otomuro
Fujiwara no Otomuro
action filter_type
action find
entity Emperor Saga
relation mother
type common name
['Emperor Saga', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Emperor_Saga property:mother ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2110461
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q2110461)
action filter_type
action find
entity Q2110461
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2110461']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q2110461 property:P26 ?v }
Fujiwara no Otomuro
action filter_type
action find
entity Fujiwara no Otomuro
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Fujiwara no Otomuro']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Fujiwara_no_Otomuro property:spouse ?v }
[]
common name
Q314846
SYSTEM
Emperor Kammu
Q314846
(c(Q502895),P26,Q2110461)
action filter_type
action find
entity Q2110461
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q2110461']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q2110461 property:P26 ?v }
Emperor Kammu
Emperor Kammu has that one as spouse
Emperor Kammu
action filter_type
action find
entity Fujiwara no Otomuro
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Fujiwara no Otomuro']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Fujiwara_no_Otomuro property:spouse ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P22
Q502895
USER
How many people have that person as father ?
(c(Q502895),P22,Q314846)
action count
action filter_type
action find_reverse
entity Q314846
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q314846']
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P22 resource:Q314846 . ?h rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Emperor Kammu
relation father
type common name
[{'concept': 'common name'}, 'father', 'Emperor Kammu']
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:father resource:Emperor_Kammu . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
21
Q11380927 Q316654 Q11450406 Q11480761 Q18193371 Q11378621 Q11353795 Q13292202 Q11434304 Q11634959 Q11614402 Q374136 Q11092514 Q13292468 Q11671787 Q15839374 Q11378831 Q353558 Q11669919 Q11620877 Q11620866
(c(Q502895),P22,Q314846)
action count
action filter_type
action find_reverse
entity Q314846
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q314846']
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P22 resource:Q314846 . ?h rdf:type ontology:Q502895 }
Ito-naishinnō Emperor Saga Ate-naishinnō Fuse-naishinnō Sakamoto-shinnō Nakano-shinnō Manta-shinnō Sami-shinnō Ōyake-naishinnō Kaya-shinnō Yoshimine no Yasuyo Emperor Junna Asahara-naishinnō Asuka-shinnō Kōzu-naishinnō Sugawara-naishinnō Iyo-shinnō Emperor Heizei Koshi-naishinnō Kazurahara-shinnō Fujii-shinnō
21
action count
action filter_type
action find_reverse
entity Emperor Kammu
relation father
type common name
[{'concept': 'common name'}, 'father', 'Emperor Kammu']
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:father resource:Emperor_Kammu . ?h rdf:type ontology:common_name }
[]