Simple Question (Direct)
Simple Question
Q10529265
P21
Q290
USER
Which sex does Kal Naismith possess ?
(Q10529265,P21,c(Q290))
action filter_type
action find
entity Q10529265
relation P21
type Q290
['Q10529265', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q10529265 property:P21 ?v }
Kal Naismith
action filter_type
action find
entity Kal Naismith
relation gender
type sex
['Kal Naismith', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Kal_Naismith property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10529265,P21,c(Q290))
action filter_type
action find
entity Q10529265
relation P21
type Q290
Kal Naismith possesses a [ANSWER]
['Q10529265', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q10529265 property:P21 ?v }
male
Kal Naismith possesses a male
male
action filter_type
action find
entity Kal Naismith
relation gender
type sex
['Kal Naismith', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Kal_Naismith property:gender ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10529265
P19
Q56061
USER
Which administrative territory is the birthplace of Kal Naismith ?
(Q10529265,P19,c(Q56061))
action filter_type
action find
entity Q10529265
relation P19
type Q56061
['Q10529265', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q10529265 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Kal Naismith
action filter_type
action find
entity Kal Naismith
relation place of birth
type administrative territorial entity
['Kal Naismith', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Kal_Naismith property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4093
SYSTEM
Glasgow
Q4093
(Q10529265,P19,c(Q56061))
action filter_type
action find
entity Q10529265
relation P19
type Q56061
[ANSWER] is the birthplace of Kal Naismith
['Q10529265', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q10529265 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Glasgow
Glasgow is the birthplace of Kal Naismith
Glasgow
action filter_type
action find
entity Kal Naismith
relation place of birth
type administrative territorial entity
['Kal Naismith', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Kal_Naismith property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4093
P190
Q515
USER
Which city is twin town of that administrative territory ?
(c(Q515),P190,Q4093)
action filter_type
action find
entity Q4093
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q4093']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q515 . resource:Q4093 property:P190 ?z }
Glasgow
action filter_type
action find
entity Glasgow
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Glasgow']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:city . resource:Glasgow property:sister_city ?z }
[]
city
Q23482
SYSTEM
Marseille
Q23482
(c(Q515),P190,Q4093)
action filter_type
action find
entity Q4093
relation P190
type Q515
[ANSWER] is twin town of that administrative territory
[{'concept': 'Q515'}, 'P190', 'Q4093']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q515 . resource:Q4093 property:P190 ?z }
Marseille
Marseille is twin town of that administrative territory
Marseille
action filter_type
action find
entity Glasgow
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Glasgow']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:city . resource:Glasgow property:sister_city ?z }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q515 Q13220204 Q1048835
USER
How many cities are the sister cities of around 2 administrative country subdivisions and political territories ?
(c(Q13220204)|c(Q1048835),P190,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q515
type Q1048835
value 2
[[{'concept': 'Q13220204'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?j ) WHERE { { ?g property:P190 ?e . ?e rdf:type ontology:Q515 . ?g rdf:type ontology:Q13220204 } UNION { ?g property:P190 ?e . ?g rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q515 } } GROUP BY ?e } . FILTER ( ?j = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation sister city
type city
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation sister city
type city
type political territorial entity
value 2
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?j ) WHERE { { ?g property:sister_city ?e . ?e rdf:type ontology:city . ?g rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?g property:sister_city ?e . ?g rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:city } } GROUP BY ?e } . FILTER ( ?j = 2 ) }
[]
city second-level administrative country subdivision political territorial entity
SYSTEM
19
Q7253 Q60037 Q2973 Q19689 Q3104 Q1899 Q17042 Q1461 Q587746 Q2844 Q842976 Q14440 Q198266 Q42007 Q3046 Q1863 Q1000056 Q3751 Q613813
(c(Q13220204)|c(Q1048835),P190,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q515
type Q1048835
value 2
[ANSWER]
[[{'concept': 'Q13220204'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?j ) WHERE { { ?g property:P190 ?e . ?e rdf:type ontology:Q515 . ?g rdf:type ontology:Q13220204 } UNION { ?g property:P190 ?e . ?g rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q515 } } GROUP BY ?e } . FILTER ( ?j = 2 ) }
Padang Zalaegerszeg Darmstadt Tirana Koblenz Kyiv Oakland Manila Siret Brasília Mátészalka Iquique Zhuzhou Szombathely Pforzheim Andorra la Vella Sušice Praia Kőszeg
19
action count
action approx
action union
action find_reverse_tuple_counts
relation sister city
type city
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation sister city
type city
type political territorial entity
value 2
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?j ) WHERE { { ?g property:sister_city ?e . ?e rdf:type ontology:city . ?g rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?g property:sister_city ?e . ?g rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:city } } GROUP BY ?e } . FILTER ( ?j = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23482
P937
Q502895
USER
Who works at Marseille ?
(c(Q502895),P937,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q23482']
SELECT DISTINCT ?j WHERE { ?j property:P937 resource:Q23482 . ?j rdf:type ontology:Q502895 }
Marseille
action filter_type
action find_reverse
entity Marseille
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Marseille']
SELECT DISTINCT ?j WHERE { ?j property:work_location resource:Marseille . ?j rdf:type ontology:common_name }
[]
common name
Q329508 Q1684760 Q201161
SYSTEM
Nicolas Maurice Arthus, Jean-Claude Izzo, Varian Fry
Q652235 Q19296058 Q1706361 Q201161 Q1684760 Q329508 Q1635718 Q1714144
(c(Q502895),P937,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P937
type Q502895
[ANSWERS] work at Marseille
[{'concept': 'Q502895'}, 'P937', 'Q23482']
SELECT DISTINCT ?j WHERE { ?j property:P937 resource:Q23482 . ?j rdf:type ontology:Q502895 }
Gilles Del Pappas Max G. Kaminski Joseph-Marie Timon-David Varian Fry Jean-Claude Izzo Nicolas Maurice Arthus Hugo Simon Reinhard David Flender
Nicolas Maurice Arthus, Jean-Claude Izzo and Varian Fry work at Marseille
Nicolas Maurice Arthus Jean-Claude Izzo Varian Fry
action filter_type
action find_reverse
entity Marseille
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Marseille']
SELECT DISTINCT ?j WHERE { ?j property:work_location resource:Marseille . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q329508 Q1684760 Q201161
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Nicolas Maurice Arthus, Jean-Claude Izzo and Varian Fry ?
(Q329508,P27,c(Q15617994)) (Q1684760,P27,c(Q15617994)) (Q201161,P27,c(Q15617994))
action union
action filter_type
action find
entity Q329508
relation P27
type Q15617994
action filter_type
action find
entity Q1684760
relation P27
type Q15617994
action filter_type
action find
entity Q201161
relation P27
type Q15617994
['Q329508', 'P27', {'concept': 'Q15617994'}] ['Q1684760', 'P27', {'concept': 'Q15617994'}] ['Q201161', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { resource:Q329508 property:P27 ?j . ?j rdf:type ontology:Q15617994 } UNION { resource:Q1684760 property:P27 ?j . ?j rdf:type ontology:Q15617994 } }
Nicolas Maurice Arthus Jean-Claude Izzo Varian Fry
action union
action filter_type
action find
entity Nicolas Maurice Arthus
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Jean-Claude Izzo
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Varian Fry
relation country of citizenship
type designation for an administrative territorial entity
['Nicolas Maurice Arthus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jean-Claude Izzo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Varian Fry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { resource:Nicolas_Maurice_Arthus property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Jean-Claude_Izzo property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q142 Q142 Q30
SYSTEM
France for 1st, 2nd, United States of America for 3rd
Q142 Q142 Q30
(Q329508,P27,c(Q15617994)) (Q1684760,P27,c(Q15617994)) (Q201161,P27,c(Q15617994))
action union
action filter_type
action find
entity Q329508
relation P27
type Q15617994
action filter_type
action find
entity Q1684760
relation P27
type Q15617994
action filter_type
action find
entity Q201161
relation P27
type Q15617994
[ANSWERS]
['Q329508', 'P27', {'concept': 'Q15617994'}] ['Q1684760', 'P27', {'concept': 'Q15617994'}] ['Q201161', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { resource:Q329508 property:P27 ?j . ?j rdf:type ontology:Q15617994 } UNION { resource:Q1684760 property:P27 ?j . ?j rdf:type ontology:Q15617994 } }
France France United States of America
France, France and United States of America are the countries of citizenship of Nicolas Maurice Arthus, Jean-Claude Izzo and Varian Fry
France France United States of America
action union
action filter_type
action find
entity Nicolas Maurice Arthus
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Jean-Claude Izzo
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Varian Fry
relation country of citizenship
type designation for an administrative territorial entity
['Nicolas Maurice Arthus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jean-Claude Izzo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Varian Fry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { resource:Nicolas_Maurice_Arthus property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Jean-Claude_Izzo property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1684760
P108
Q732577
USER
Which publication is the employer of Jean-Claude Izzo ?
(Q1684760,P108,c(Q732577))
action filter_type
action find
entity Q1684760
relation P108
type Q732577
['Q1684760', 'P108', {'concept': 'Q732577'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q732577 . resource:Q1684760 property:P108 ?x }
Jean-Claude Izzo
action filter_type
action find
entity Jean-Claude Izzo
relation employer
type publication
['Jean-Claude Izzo', 'employer', {'concept': 'publication'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:publication . resource:Jean-Claude_Izzo property:employer ?x }
[]
publication
Q3210587
SYSTEM
La Marseillaise
Q3210587
(Q1684760,P108,c(Q732577))
action filter_type
action find
entity Q1684760
relation P108
type Q732577
[ANSWER] is the employer of Jean-Claude Izzo
['Q1684760', 'P108', {'concept': 'Q732577'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q732577 . resource:Q1684760 property:P108 ?x }
La Marseillaise
La Marseillaise is the employer of Jean-Claude Izzo
La Marseillaise
action filter_type
action find
entity Jean-Claude Izzo
relation employer
type publication
['Jean-Claude Izzo', 'employer', {'concept': 'publication'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:publication . resource:Jean-Claude_Izzo property:employer ?x }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q884
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with approximately the same number of administrative territories as South Korea ?
(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 Q884
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?b ) WHERE { ?w rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 . ?w property:P530 ?r } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Q884 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?t ) }
South Korea
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 South Korea
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 ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?b ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?r } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:South_Korea property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
151
Q702 Q804 Q800 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 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 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 Q884
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?b ) WHERE { ?w rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 . ?w property:P530 ?r } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Q884 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?t ) }
Federated States of Micronesia Panama Costa Rica 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 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 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
151
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 South Korea
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 ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?b ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?r } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:South_Korea property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q115
P530
Q15617994 Q15617994
USER
And how about Ethiopia?
(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 Q115
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?g ) WHERE { ?c property:P530 ?m . ?c rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q115 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?h ) }
Ethiopia
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 Ethiopia
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 ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?g ) WHERE { ?c property:diplomatic_relation ?m . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Ethiopia property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?h ) }
[]
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 Q115
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?g ) WHERE { ?c property:P530 ?m . ?c rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q115 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?h ) }
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 Ethiopia
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 ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?g ) WHERE { ?c property:diplomatic_relation ?m . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Ethiopia property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1684760
P50
Q2342494
USER
Which collectables are written by Jean-Claude Izzo ?
(c(Q2342494),P50,Q1684760)
action filter_type
action find_reverse
entity Q1684760
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q1684760']
SELECT DISTINCT ?f WHERE { ?f property:P50 resource:Q1684760 . ?f rdf:type ontology:Q2342494 }
Jean-Claude Izzo
action filter_type
action find_reverse
entity Jean-Claude Izzo
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Jean-Claude Izzo']
SELECT DISTINCT ?f WHERE { ?f property:author resource:Jean-Claude_Izzo . ?f rdf:type ontology:collectable }
[]
collectable
Q3532679 Q3675434 Q3964274
SYSTEM
Total chaos, Chourmo, Solea
Q3532679 Q3675434 Q3964274
(c(Q2342494),P50,Q1684760)
action filter_type
action find_reverse
entity Q1684760
relation P50
type Q2342494
[ANSWERS] are written by Jean-Claude Izzo
[{'concept': 'Q2342494'}, 'P50', 'Q1684760']
SELECT DISTINCT ?f WHERE { ?f property:P50 resource:Q1684760 . ?f rdf:type ontology:Q2342494 }
Total chaos Chourmo Solea
Total chaos, Chourmo and Solea are written by Jean-Claude Izzo
Total chaos Chourmo Solea
action filter_type
action find_reverse
entity Jean-Claude Izzo
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Jean-Claude Izzo']
SELECT DISTINCT ?f WHERE { ?f property:author resource:Jean-Claude_Izzo . ?f rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3532679 Q3675434 Q3964274
P495
Q15617994
USER
What are the origins of those collectables ?
(Q3532679,P495,c(Q15617994)) (Q3675434,P495,c(Q15617994)) (Q3964274,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
['Q3532679', 'P495', {'concept': 'Q15617994'}] ['Q3675434', 'P495', {'concept': 'Q15617994'}] ['Q3964274', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . ?h property:P495 ?w . VALUES ( ?h ) { ( resource:Q3532679 ) ( resource:Q3675434 ) ( resource:Q3964274 ) } }
Total chaos Chourmo Solea
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Total chaos', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Chourmo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Solea', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:country_of_origin ?w . VALUES ( ?h ) { ( resource:Total_chaos ) ( resource:Chourmo ) ( resource:Solea ) } }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q3532679,P495,c(Q15617994)) (Q3675434,P495,c(Q15617994)) (Q3964274,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
The origins of those collectables are in [ANSWER], [ANSWER] and [ANSWER]
['Q3532679', 'P495', {'concept': 'Q15617994'}] ['Q3675434', 'P495', {'concept': 'Q15617994'}] ['Q3964274', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . ?h property:P495 ?w . VALUES ( ?h ) { ( resource:Q3532679 ) ( resource:Q3675434 ) ( resource:Q3964274 ) } }
France France France
The origins of those collectables are in France, France and France
France France France
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Total chaos', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Chourmo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Solea', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:country_of_origin ?w . VALUES ( ?h ) { ( resource:Total_chaos ) ( resource:Chourmo ) ( resource:Solea ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23482
P740
Q2088357
USER
What were formed at Marseille ?
(c(Q2088357),P740,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q23482']
SELECT DISTINCT ?m WHERE { ?m property:P740 resource:Q23482 . ?m rdf:type ontology:Q2088357 }
Marseille
action filter_type
action find_reverse
entity Marseille
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Marseille']
SELECT DISTINCT ?m WHERE { ?m property:location_of_formation resource:Marseille . ?m rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q1653033 Q3462854 Q1157349
SYSTEM
IAM, Aline, Dagoba
Q1157349 Q428284 Q1653033 Q534943 Q15053237 Q2944107 Q4548310 Q3462854
(c(Q2088357),P740,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P740
type Q2088357
[ANSWERS] were formed at Marseille
[{'concept': 'Q2088357'}, 'P740', 'Q23482']
SELECT DISTINCT ?m WHERE { ?m property:P740 resource:Q23482 . ?m rdf:type ontology:Q2088357 }
Dagoba Eths IAM Galleon Eradikal Insane Celluloide 123 Marseille Aline
IAM, Aline and Dagoba were formed at Marseille
IAM Aline Dagoba
action filter_type
action find_reverse
entity Marseille
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Marseille']
SELECT DISTINCT ?m WHERE { ?m property:location_of_formation resource:Marseille . ?m rdf:type ontology:musical_ensemble }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1157349
P138
Q2775969
USER
Which fictional planet is that musical ensemble named after ?
(Q1157349,P138,c(Q2775969))
action filter_type
action find
entity Q1157349
relation P138
type Q2775969
['Q1157349', 'P138', {'concept': 'Q2775969'}]
SELECT DISTINCT ?m WHERE { resource:Q1157349 property:P138 ?m . ?m rdf:type ontology:Q2775969 }
Dagoba
action filter_type
action find
entity Dagoba
relation named after
type fictional planet
['Dagoba', 'named after', {'concept': 'fictional planet'}]
SELECT DISTINCT ?m WHERE { resource:Dagoba property:named_after ?m . ?m rdf:type ontology:fictional_planet }
[]
fictional planet
Clarification for simple ques.
Q1653033
SYSTEM
Did you mean IAM ?
Q1653033 Q3462854 Q1157349
(Q1653033,P138,c(Q2775969)) (Q3462854,P138,c(Q2775969)) (Q1157349,P138,c(Q2775969))
[ANSWER]
['Q1653033', 'P138', {'concept': 'Q2775969'}] ['Q3462854', 'P138', {'concept': 'Q2775969'}] ['Q1157349', 'P138', {'concept': 'Q2775969'}]
SELECT DISTINCT ?m WHERE { resource:Q1157349 property:P138 ?m . ?m rdf:type ontology:Q2775969 }
IAM Aline Dagoba
Did you mean IAM ?
IAM
['IAM', 'named after', {'concept': 'fictional planet'}] ['Aline', 'named after', {'concept': 'fictional planet'}] ['Dagoba', 'named after', {'concept': 'fictional planet'}]
SELECT DISTINCT ?m WHERE { resource:Dagoba property:named_after ?m . ?m rdf:type ontology:fictional_planet }
[]
Simple Question (Coreferenced)
USER
No, I meant Dagoba. Could you tell me the answer for that?
(Q1157349,P138,c(Q2775969))
Q1157349
['Q1157349', 'P138', {'concept': 'Q2775969'}]
['Dagoba', 'named after', {'concept': 'fictional planet'}]
[]
Q848609
SYSTEM
Dagobah
Q848609
(Q1157349,P138,c(Q2775969))
action filter_type
action find
entity Q1157349
relation P138
type Q2775969
After that musical ensemble named is the [ANSWER]
['Q1157349', 'P138', {'concept': 'Q2775969'}]
SELECT DISTINCT ?m WHERE { resource:Q1157349 property:P138 ?m . ?m rdf:type ontology:Q2775969 }
Dagobah
After that musical ensemble named is the Dagobah
Dagobah
action filter_type
action find
entity Dagoba
relation named after
type fictional planet
['Dagoba', 'named after', {'concept': 'fictional planet'}]
SELECT DISTINCT ?m WHERE { resource:Dagoba property:named_after ?m . ?m rdf:type ontology:fictional_planet }
[]