Simple Question (Direct)
Simple Question
Q3258770
P21
Q290
USER
What is the sex of Dolores Johnson Sastre ?
(Q3258770,P21,c(Q290))
action filter_type
action find
entity Q3258770
relation P21
type Q290
['Q3258770', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3258770 property:P21 ?m . ?m rdf:type ontology:Q290 }
Dolores Johnson Sastre
action filter_type
action find
entity Dolores Johnson Sastre
relation gender
type sex
['Dolores Johnson Sastre', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Dolores_Johnson_Sastre property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3258770,P21,c(Q290))
action filter_type
action find
entity Q3258770
relation P21
type Q290
The sex of Dolores Johnson Sastre is the [ANSWER]
['Q3258770', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3258770 property:P21 ?m . ?m rdf:type ontology:Q290 }
female
The sex of Dolores Johnson Sastre is the female
female
action filter_type
action find
entity Dolores Johnson Sastre
relation gender
type sex
['Dolores Johnson Sastre', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Dolores_Johnson_Sastre property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3258770
P1412
Q34770
USER
Which language is spoken by Dolores Johnson Sastre ?
(Q3258770,P1412,c(Q34770))
action filter_type
action find
entity Q3258770
relation P1412
type Q34770
['Q3258770', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q3258770 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Dolores Johnson Sastre
action filter_type
action find
entity Dolores Johnson Sastre
relation languages spoken, written or signed
type language
['Dolores Johnson Sastre', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Dolores_Johnson_Sastre property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3258770,P1412,c(Q34770))
action filter_type
action find
entity Q3258770
relation P1412
type Q34770
Is [ANSWER] is spoken by Dolores Johnson Sastre
['Q3258770', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q3258770 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Spanish
Is Spanish is spoken by Dolores Johnson Sastre
Spanish
action filter_type
action find
entity Dolores Johnson Sastre
relation languages spoken, written or signed
type language
['Dolores Johnson Sastre', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Dolores_Johnson_Sastre property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q724153
Q34770
USER
And how about Jesse Lauriston Livermore?
(Q724153,P1412,c(Q34770))
action filter_type
action find
entity Q724153
relation P1412
type Q34770
['Q724153', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q724153 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Jesse Lauriston Livermore
action filter_type
action find
entity Jesse Lauriston Livermore
relation languages spoken, written or signed
type language
['Jesse Lauriston Livermore', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Jesse_Lauriston_Livermore property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q724153,P1412,c(Q34770))
action filter_type
action find
entity Q724153
relation P1412
type Q34770
[ANSWER]
['Q724153', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q724153 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Jesse Lauriston Livermore
relation languages spoken, written or signed
type language
['Jesse Lauriston Livermore', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Jesse_Lauriston_Livermore property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1860 Q20162172
P361
Q5962346
USER
Is English a component of human languages ?
(Q1860,P361,Q20162172)
action is_in
entity Q20162172
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q20162172']
ASK WHERE { resource:Q1860 property:P361 resource:Q20162172 }
English human languages
action is_in
entity human languages
action find
entity English
relation part of
['English', 'part of', 'human languages']
ASK WHERE { resource:English property:part_of resource:human_languages }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q20162172)
action is_in
entity Q20162172
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q20162172']
ASK WHERE { resource:Q1860 property:P361 resource:Q20162172 }
No
action is_in
entity human languages
action find
entity English
relation part of
['English', 'part of', 'human languages']
ASK WHERE { resource:English property:part_of resource:human_languages }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3258770
P19
Q56061
USER
Which administrative territory was Dolores Johnson Sastre born at ?
(Q3258770,P19,c(Q56061))
action filter_type
action find
entity Q3258770
relation P19
type Q56061
['Q3258770', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3258770 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Dolores Johnson Sastre
action filter_type
action find
entity Dolores Johnson Sastre
relation place of birth
type administrative territorial entity
['Dolores Johnson Sastre', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Dolores_Johnson_Sastre property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8818
SYSTEM
Valencia
Q8818
(Q3258770,P19,c(Q56061))
action filter_type
action find
entity Q3258770
relation P19
type Q56061
Dolores Johnson Sastre was born in [ANSWER]
['Q3258770', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3258770 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Valencia
Dolores Johnson Sastre was born in Valencia
Valencia
action filter_type
action find
entity Dolores Johnson Sastre
relation place of birth
type administrative territorial entity
['Dolores Johnson Sastre', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Dolores_Johnson_Sastre property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3258770
P161
Q838948
USER
Which work of art has Dolores Johnson Sastre in its star cast ?
(c(Q838948),P161,Q3258770)
action filter_type
action find_reverse
entity Q3258770
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3258770']
SELECT DISTINCT ?b WHERE { ?b property:P161 resource:Q3258770 . ?b rdf:type ontology:Q838948 }
Dolores Johnson Sastre
action filter_type
action find_reverse
entity Dolores Johnson Sastre
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Dolores Johnson Sastre']
SELECT DISTINCT ?b WHERE { ?b property:cast_member resource:Dolores_Johnson_Sastre . ?b rdf:type ontology:work_of_art }
[]
work of art
Q16679996
SYSTEM
Thru Different Eyes
Q16679996
(c(Q838948),P161,Q3258770)
action filter_type
action find_reverse
entity Q3258770
relation P161
type Q838948
[ANSWER] has Dolores Johnson Sastre in its star cast
[{'concept': 'Q838948'}, 'P161', 'Q3258770']
SELECT DISTINCT ?b WHERE { ?b property:P161 resource:Q3258770 . ?b rdf:type ontology:Q838948 }
Thru Different Eyes
Thru Different Eyes has Dolores Johnson Sastre in its star cast
Thru Different Eyes
action filter_type
action find_reverse
entity Dolores Johnson Sastre
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Dolores Johnson Sastre']
SELECT DISTINCT ?b WHERE { ?b property:cast_member resource:Dolores_Johnson_Sastre . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3258770
P102
Q7278
USER
Which political party is that person a member of ?
(Q16679996,P102,c(Q7278))
action filter_type
action find
entity Q3258770
relation P102
type Q7278
['Q16679996', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?y WHERE { resource:Q3258770 property:P102 ?y . ?y rdf:type ontology:Q7278 }
Dolores Johnson Sastre
action filter_type
action find
entity Dolores Johnson Sastre
relation member of political party
type political party
['Thru Different Eyes', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?y WHERE { resource:Dolores_Johnson_Sastre property:member_of_political_party ?y . ?y rdf:type ontology:political_party }
[]
political party
Q9056260
SYSTEM
People's Party of the Valencian Community
Q9056260
(Q16679996,P102,c(Q7278))
action filter_type
action find
entity Q3258770
relation P102
type Q7278
[ANSWER] is that person a member of
['Q16679996', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?y WHERE { resource:Q3258770 property:P102 ?y . ?y rdf:type ontology:Q7278 }
People's Party of the Valencian Community
People's Party of the Valencian Community is that person a member of
People's Party of the Valencian Community
action filter_type
action find
entity Dolores Johnson Sastre
relation member of political party
type political party
['Thru Different Eyes', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?y WHERE { resource:Dolores_Johnson_Sastre property:member_of_political_party ?y . ?y rdf:type ontology:political_party }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q831276 Q9056260
P17
Q15617994
USER
Which administrative territories are People's Party of the Valencian Community or Örményes situated in ?
OR((Q9056260,P17,c(Q15617994)), (Q831276,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q9056260
relation P17
action find
entity Q831276
relation P17
type Q15617994
{'OR': [['Q9056260', 'P17', {'concept': 'Q15617994'}], ['Q831276', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q9056260 property:P17 ?u } UNION { resource:Q831276 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Örményes People's Party of the Valencian Community
action filter_type
action union
action find
entity People's Party of the Valencian Community
relation country
action find
entity Örményes
relation country
type designation for an administrative territorial entity
{'OR': [["People's Party of the Valencian Community", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Örményes', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:People's_Party_of_the_Valencian_Community property:country ?u } UNION { resource:Örményes property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q29
SYSTEM
Hungary, Spain
Q28 Q29
OR((Q9056260,P17,c(Q15617994)), (Q831276,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q9056260
relation P17
action find
entity Q831276
relation P17
type Q15617994
People's Party of the Valencian Community or Örményes are situated in [ANSWERS]
{'OR': [['Q9056260', 'P17', {'concept': 'Q15617994'}], ['Q831276', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q9056260 property:P17 ?u } UNION { resource:Q831276 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Hungary Spain
People's Party of the Valencian Community or Örményes are situated in Hungary and Spain
Hungary Spain
action filter_type
action union
action find
entity People's Party of the Valencian Community
relation country
action find
entity Örményes
relation country
type designation for an administrative territorial entity
{'OR': [["People's Party of the Valencian Community", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Örményes', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:People's_Party_of_the_Valencian_Community property:country ?u } UNION { resource:Örményes property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q36
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with lesser number of administrative territories than Poland ?
(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 Q36
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?f < ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q36 property:P530 ?m } } . { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?f ) WHERE { ?o property:P530 ?p . ?o rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?o } }
Poland
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 Poland
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 ?o WHERE { FILTER ( ?f < ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Poland property:diplomatic_relation ?m } } . { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?f ) WHERE { ?o property:diplomatic_relation ?p . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q20 Q33
SYSTEM
Netherlands, Norway, Finland
Q702 Q804 Q800 Q55 Q262 Q783 Q265 Q712 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q983 Q851 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q224 Q221 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q878 Q774 Q817 Q810 Q1019 Q945 Q678 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 Q36
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with lesser number of administrative territories than Poland
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?f < ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q36 property:P530 ?m } } . { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?f ) WHERE { ?o property:P530 ?p . ?o rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?o } }
Federated States of Micronesia Panama Costa Rica Netherlands Algeria Honduras Uzbekistan Fiji Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Equatorial Guinea Saudi Arabia Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Croatia Republic of Macedonia Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga New Caledonia Thailand
Netherlands, Norway and Finland have diplomatic relations with lesser number of administrative territories than Poland
Netherlands Norway Finland
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 Poland
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 ?o WHERE { FILTER ( ?f < ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Poland property:diplomatic_relation ?m } } . { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?f ) WHERE { ?o property:diplomatic_relation ?p . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q977
P530
Q15617994 Q15617994
USER
And also tell me about Djibouti?
(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 Q977
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?p < ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q977 property:P530 ?g } } . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?p ) WHERE { ?i property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } }
Djibouti
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 Djibouti
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 ?i WHERE { FILTER ( ?p < ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Djibouti property:diplomatic_relation ?g } } . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?p ) WHERE { ?i property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(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 Q977
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?p < ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q977 property:P530 ?g } } . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?p ) WHERE { ?i property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands Dominican Republic Tanzania
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 Djibouti
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 ?i WHERE { FILTER ( ?p < ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Djibouti property:diplomatic_relation ?g } } . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?p ) WHERE { ?i property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q29999 Q786 Q924
P17
Q811979
USER
Which architectural structures are located in those administrative territories ?
(c(Q811979),P17,Q29999) (c(Q811979),P17,Q786) (c(Q811979),P17,Q924)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q811979
[{'concept': 'Q811979'}, 'P17', 'Q29999'] [{'concept': 'Q811979'}, 'P17', 'Q786'] [{'concept': 'Q811979'}, 'P17', 'Q924']
SELECT DISTINCT ?q WHERE { ?q property:P17 ?g . VALUES ( ?g ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q262 ) } . ?q rdf:type ontology:Q811979 }
Kingdom of the Netherlands Dominican Republic Tanzania
action filter_type
action find_reverse
entity prev_answer
relation country
type architectural structure
[{'concept': 'architectural structure'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'architectural structure'}, 'country', 'Dominican Republic'] [{'concept': 'architectural structure'}, 'country', 'Tanzania']
SELECT DISTINCT ?q WHERE { ?q property:country ?g . VALUES ( ?g ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Algeria ) } . ?q rdf:type ontology:architectural_structure }
[]
architectural structure
Q5400137 Q5400466 Q7447147
SYSTEM
Estadio Cibao, Estadio Quisqueya, Sekenke Gold Mine
Q4774893 Q6793592 Q13219261 Q5593976 Q3545525 Q16509626 Q5062863 Q7258505 Q5400137 Q5400439 Q5400466 Q5400219 Q12235386 Q6885466 Q16990595 Q12221041 Q7447147 Q6415940 Q5579722 Q12238751 Q12238096 Q7851974 Q12228743 Q4889391 Q16969068 Q12237351 Q12229691 Q7893762 Q7966929 Q7056043 Q16977021 Q12177373 Q16968837 Q16894948 Q7011373 Q1128124 Q5530260 Q16965534 Q7447475 Q4997202 Q5003473 Q12234637 Q12232079 Q16966783
(c(Q811979),P17,Q29999) (c(Q811979),P17,Q786) (c(Q811979),P17,Q924)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q811979
[ANSWERS] are located in those administrative territories
[{'concept': 'Q811979'}, 'P17', 'Q29999'] [{'concept': 'Q811979'}, 'P17', 'Q786'] [{'concept': 'Q811979'}, 'P17', 'Q924']
SELECT DISTINCT ?q WHERE { ?q property:P17 ?g . VALUES ( ?g ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q262 ) } . ?q rdf:type ontology:Q811979 }
Antillenhuis Mauricio Báez Bridge Estadio Bragaña Garcia Gran Arena del Cibao Estadio La Barranquita Pueblo Viejo mine Centro Olímpico Juan Pablo Duarte Juan Bosch bridge Estadio Cibao Estadio Olímpico Estadio Quisqueya Estadio Francisco Micheli Kilombero Bridge Mkapa Bridge New Luika Gold Mine Kigamboni Bridge Sekenke Gold Mine Kirondatal Gold Mine Golden Pride Gold Mine Sibiti Bridge Rusumo International Bridge Tulawaka Gold Mine Songwe Bridge Benjamin William Mkapa Pension Tower Liganga mine Mbutu Bridge Kirumi Bridge Unity Bridge 2 Wami Bridge North Mara Gold Mine Mkuju River mine Kyaka Bridge Manyoni mine Mchauru New Ruvu Bridge Unity Bridge Geita Gold Mine Handeni mine Selander Bridge Bulyanhulu Gold Mine Buzwagi Gold Mine Kikwete Bridge Rusumo Bridge Nyanzaga mine
Estadio Cibao, Estadio Quisqueya and Sekenke Gold Mine are located in those administrative territories
Estadio Cibao Estadio Quisqueya Sekenke Gold Mine
action filter_type
action find_reverse
entity prev_answer
relation country
type architectural structure
[{'concept': 'architectural structure'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'architectural structure'}, 'country', 'Dominican Republic'] [{'concept': 'architectural structure'}, 'country', 'Tanzania']
SELECT DISTINCT ?q WHERE { ?q property:country ?g . VALUES ( ?g ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Algeria ) } . ?q rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5400137 Q5400466 Q7447147
P17
Q15617994
USER
Which administrative territories are those architectural structures located in ?
(Q5400137,P17,c(Q15617994)) (Q5400466,P17,c(Q15617994)) (Q7447147,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q5400137', 'P17', {'concept': 'Q15617994'}] ['Q5400466', 'P17', {'concept': 'Q15617994'}] ['Q7447147', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?n property:P17 ?m . ?m rdf:type ontology:Q15617994 . VALUES ( ?n ) { ( resource:Q4774893 ) ( resource:Q6793592 ) ( resource:Q13219261 ) } }
Estadio Cibao Estadio Quisqueya Sekenke Gold Mine
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Estadio Cibao', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Estadio Quisqueya', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sekenke Gold Mine', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?n property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?n ) { ( resource:Antillenhuis ) ( resource:Mauricio_Báez_Bridge ) ( resource:Estadio_Bragaña_Garcia ) } }
[]
designation for an administrative territorial entity
Q786 Q786 Q924
SYSTEM
Tanzania for 3rd, Dominican Republic for 1st, 2nd
Q786 Q786 Q924
(Q5400137,P17,c(Q15617994)) (Q5400466,P17,c(Q15617994)) (Q7447147,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS]
['Q5400137', 'P17', {'concept': 'Q15617994'}] ['Q5400466', 'P17', {'concept': 'Q15617994'}] ['Q7447147', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?n property:P17 ?m . ?m rdf:type ontology:Q15617994 . VALUES ( ?n ) { ( resource:Q4774893 ) ( resource:Q6793592 ) ( resource:Q13219261 ) } }
Dominican Republic Dominican Republic Tanzania
Those architectural structures are located in Dominican Republic, Dominican Republic and Tanzania
Dominican Republic Dominican Republic Tanzania
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Estadio Cibao', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Estadio Quisqueya', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sekenke Gold Mine', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?n property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?n ) { ( resource:Antillenhuis ) ( resource:Mauricio_Báez_Bridge ) ( resource:Estadio_Bragaña_Garcia ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q786
P35
Q502895
USER
Who are the heads of state of that administrative territory ?
(Q786,P35,c(Q502895)) (Q786,P35,c(Q502895)) (Q924,P35,c(Q502895))
action filter_type
action find
entity Q786
relation P35
type Q502895
['Q786', 'P35', {'concept': 'Q502895'}] ['Q786', 'P35', {'concept': 'Q502895'}] ['Q924', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q786 property:P35 ?g . ?g rdf:type ontology:Q502895 }
Dominican Republic
action filter_type
action find
entity Dominican Republic
relation head of state
type common name
['Dominican Republic', 'head of state', {'concept': 'common name'}] ['Dominican Republic', 'head of state', {'concept': 'common name'}] ['Tanzania', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Dominican_Republic property:head_of_state ?g . ?g rdf:type ontology:common_name }
[]
common name
Q147989 Q5972763 Q880065
SYSTEM
Joaquín Balaguer, Jacobo Majluta Azar, Héctor García Godoy
Q653611 Q57429 Q880065 Q5972763 Q602428 Q151944 Q147989 Q562002
(Q786,P35,c(Q502895)) (Q786,P35,c(Q502895)) (Q924,P35,c(Q502895))
action filter_type
action find
entity Q786
relation P35
type Q502895
The heads of state of that administrative territory are [ANSWERS]
['Q786', 'P35', {'concept': 'Q502895'}] ['Q786', 'P35', {'concept': 'Q502895'}] ['Q924', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q786 property:P35 ?g . ?g rdf:type ontology:Q502895 }
Hipólito Mejía Danilo Medina Héctor García Godoy Jacobo Majluta Azar Antonio Guzmán Fernández Leonel Fernández el ladron Joaquín Balaguer Salvador Jorge Blanco
The heads of state of that administrative territory are Joaquín Balaguer, Jacobo Majluta Azar and Héctor García Godoy
Joaquín Balaguer Jacobo Majluta Azar Héctor García Godoy
action filter_type
action find
entity Dominican Republic
relation head of state
type common name
['Dominican Republic', 'head of state', {'concept': 'common name'}] ['Dominican Republic', 'head of state', {'concept': 'common name'}] ['Tanzania', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Dominican_Republic property:head_of_state ?g . ?g rdf:type ontology:common_name }
[]