Simple Question (Direct)
Simple Question
Q3576519
P39
Q12737077
USER
Which occupation was a position occupied by Zéphyrin Silvestre ?
(Q3576519,P39,c(Q12737077))
action filter_type
action find
entity Q3576519
relation P39
type Q12737077
['Q3576519', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3576519 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Zéphyrin Silvestre
action filter_type
action find
entity Zéphyrin Silvestre
relation position held
type occupation
['Zéphyrin Silvestre', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Zéphyrin_Silvestre property:position_held ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q3576519,P39,c(Q12737077))
action filter_type
action find
entity Q3576519
relation P39
type Q12737077
A member of the French National Assembly was a position occupied by Zéphyrin Silvestre
['Q3576519', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3576519 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
member of the French National Assembly
A member of the French National Assembly was a position occupied by Zéphyrin Silvestre
member of the French National Assembly
action filter_type
action find
entity Zéphyrin Silvestre
relation position held
type occupation
['Zéphyrin Silvestre', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Zéphyrin_Silvestre property:position_held ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3576519
P106
Q12737077
USER
What is the job of Zéphyrin Silvestre ?
(Q3576519,P106,c(Q12737077))
action filter_type
action find
entity Q3576519
relation P106
type Q12737077
['Q3576519', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q3576519 property:P106 ?p }
Zéphyrin Silvestre
action filter_type
action find
entity Zéphyrin Silvestre
relation occupation
type occupation
['Zéphyrin Silvestre', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Zéphyrin_Silvestre property:occupation ?p }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3576519,P106,c(Q12737077))
action filter_type
action find
entity Q3576519
relation P106
type Q12737077
The job of Zéphyrin Silvestre is a [ANSWER]
['Q3576519', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q3576519 property:P106 ?p }
politician
The job of Zéphyrin Silvestre is a politician
politician
action filter_type
action find
entity Zéphyrin Silvestre
relation occupation
type occupation
['Zéphyrin Silvestre', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Zéphyrin_Silvestre property:occupation ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3576519
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q3576519
relation P27
type Q15617994
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q3576519 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Zéphyrin Silvestre
action filter_type
action find
entity Zéphyrin Silvestre
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Zéphyrin_Silvestre property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q3576519
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q3576519 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
France
The France is that person a civilian of
France
action filter_type
action find
entity Zéphyrin Silvestre
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Zéphyrin_Silvestre property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q714439
P189
Q79529
USER
How many chemical substances were found at France or Oak Ridge National Laboratory ?
(c(Q79529),P189,Q142) (c(Q79529),P189,Q714439)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P189
type Q79529
action filter_type
action find_reverse
entity Q714439
relation P189
type Q79529
[{'concept': 'Q79529'}, 'P189', 'Q142'] [{'concept': 'Q79529'}, 'P189', 'Q714439']
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { ?g property:P189 resource:Q142 . ?g rdf:type ontology:Q79529 } UNION { ?g property:P189 resource:Q714439 . ?g rdf:type ontology:Q79529 } }
France Oak Ridge National Laboratory
action count
action union
action filter_type
action find_reverse
entity France
relation location of discovery
type chemical substance
action filter_type
action find_reverse
entity Oak Ridge National Laboratory
relation location of discovery
type chemical substance
[{'concept': 'chemical substance'}, 'location of discovery', 'France'] [{'concept': 'chemical substance'}, 'location of discovery', 'Oak Ridge National Laboratory']
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { ?g property:location_of_discovery resource:France . ?g rdf:type ontology:chemical_substance } UNION { ?g property:location_of_discovery resource:Oak_Ridge_National_Laboratory . ?g rdf:type ontology:chemical_substance } }
[]
chemical substance
SYSTEM
2
Q1809 Q671
(c(Q79529),P189,Q142) (c(Q79529),P189,Q714439)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P189
type Q79529
action filter_type
action find_reverse
entity Q714439
relation P189
type Q79529
[ANSWER]
[{'concept': 'Q79529'}, 'P189', 'Q142'] [{'concept': 'Q79529'}, 'P189', 'Q714439']
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { ?g property:P189 resource:Q142 . ?g rdf:type ontology:Q79529 } UNION { ?g property:P189 resource:Q714439 . ?g rdf:type ontology:Q79529 } }
promethium francium
2
action count
action union
action filter_type
action find_reverse
entity France
relation location of discovery
type chemical substance
action filter_type
action find_reverse
entity Oak Ridge National Laboratory
relation location of discovery
type chemical substance
[{'concept': 'chemical substance'}, 'location of discovery', 'France'] [{'concept': 'chemical substance'}, 'location of discovery', 'Oak Ridge National Laboratory']
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { ?g property:location_of_discovery resource:France . ?g rdf:type ontology:chemical_substance } UNION { ?g property:location_of_discovery resource:Oak_Ridge_National_Laboratory . ?g rdf:type ontology:chemical_substance } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3576519
P21
Q290
USER
Which sex does Zéphyrin Silvestre belong to ?
(Q3576519,P21,c(Q290))
action filter_type
action find
entity Q3576519
relation P21
type Q290
['Q3576519', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q3576519 property:P21 ?q }
Zéphyrin Silvestre
action filter_type
action find
entity Zéphyrin Silvestre
relation gender
type sex
['Zéphyrin Silvestre', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Zéphyrin_Silvestre property:gender ?q }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3576519,P21,c(Q290))
action filter_type
action find
entity Q3576519
relation P21
type Q290
Zéphyrin Silvestre belongs to [ANSWER]
['Q3576519', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q3576519 property:P21 ?q }
male
Zéphyrin Silvestre belongs to male
male
action filter_type
action find
entity Zéphyrin Silvestre
relation gender
type sex
['Zéphyrin Silvestre', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Zéphyrin_Silvestre property:gender ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7561771
Q290
USER
And how about Sonia de Ignacio?
(Q7561771,P21,c(Q290))
action filter_type
action find
entity Q7561771
relation P21
type Q290
['Q7561771', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q7561771 property:P21 ?k }
Sonia de Ignacio
action filter_type
action find
entity Sonia de Ignacio
relation gender
type sex
['Sonia de Ignacio', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Sonia_de_Ignacio property:gender ?k }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q7561771,P21,c(Q290))
action filter_type
action find
entity Q7561771
relation P21
type Q290
[ANSWER]
['Q7561771', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q7561771 property:P21 ?k }
female
female
action filter_type
action find
entity Sonia de Ignacio
relation gender
type sex
['Sonia de Ignacio', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Sonia_de_Ignacio property:gender ?k }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P417
Q502895 Q44539 Q15617994
USER
Which people are the patron saint of min number of temples and administrative territories ?
(c(Q44539)|c(Q15617994),P417,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
[[{'concept': 'Q44539'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?h WHERE { { ?p rdf:type ontology:Q44539 . ?h rdf:type ontology:Q502895 . ?p property:P417 ?h } UNION { ?p property:P417 ?h . ?h rdf:type ontology:Q502895 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?w WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:Q44539 ) ( ontology:Q15617994 ) } } GROUP BY ?w } . FILTER ( ?r = ?x ) }
action argmin
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
[[{'concept': 'temple'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?h WHERE { { ?p rdf:type ontology:temple . ?h rdf:type ontology:common_name . ?p property:patron_saint ?h } UNION { ?p property:patron_saint ?h . ?h rdf:type ontology:common_name . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?w WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:temple ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?w } . FILTER ( ?r = ?x ) }
[]
common name temple designation for an administrative territorial entity
Q9682 Q191479 Q166876
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Isidore of Seville
Q380092 Q43945 Q172390 Q2916248 Q516729 Q331697 Q1553720 Q696682 Q1281133 Q3776432 Q1284098 Q1249745 Q166876 Q314700 Q44020 Q244383 Q235857 Q287916 Q539890 Q1346958 Q51885 Q153024 Q234697 Q374822 Q358325 Q357093 Q115550 Q130997 Q1274242 Q312758 Q5575577 Q379685 Q191479 Q191107 Q4210004 Q4282480 Q2697247 Q457903 Q242274 Q122376 Q119289 Q119512 Q189776 Q965463 Q196653 Q4161703 Q508214 Q235863 Q190388 Q2142772 Q2005417 Q463600 Q185117 Q1747656 Q1393825 Q2824511 Q9156208 Q2456500 Q2352076 Q190240 Q332656 Q320171 Q1343711 Q137947 Q920226 Q26486 Q324700 Q744884 Q44015 Q70991 Q318974 Q11905449 Q4026158 Q469978 Q232427 Q3561124 Q1110905 Q335127 Q355884 Q271474 Q234689 Q208961 Q284323 Q59071 Q1383532 Q1269112 Q459032 Q276148 Q9682
(c(Q44539)|c(Q15617994),P417,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
[ANSWERS] are the patron saint of min number of temples and administrative territories
[[{'concept': 'Q44539'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?h WHERE { { ?p rdf:type ontology:Q44539 . ?h rdf:type ontology:Q502895 . ?p property:P417 ?h } UNION { ?p property:P417 ?h . ?h rdf:type ontology:Q502895 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?w WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:Q44539 ) ( ontology:Q15617994 ) } } GROUP BY ?w } . FILTER ( ?r = ?x ) }
Francis Borgia, 4th Duke of Gandía Jude the Apostle Martin I Alexander of Comana Sebaldus Saint David Guy of Anderlecht Arnold von Arnoldsweiler Tudwal Gonçalo de Amarante Turibius of Astorga Mamilian of Palermo Isidore of Seville Joachim Saint Matthias Rose of Lima Elizabeth of Aragon Finbarr of Cork Lazarus of Bethany Judas Cyriacus Thecla Rita of Cascia Maria Goretti La Mosca Adrian of Nicomedia Ivo of Kermartin Saint Spyridon Nicholas of Flüe Damasus I Romanus of Caesarea Jean-Baptiste de La Salle Gobnait Isidore the Laborer Tadeusz Kościuszko Clare of Assisi Venantius of Camerino Saint Martha Catellus of Castellammare Saint Bavo Dorothea of Caesarea Callixtus I Leonard of Port Maurice William of Maleval Zeno of Verona Rumbold of Mechelen Saint Veronica Dimitry Prilutsky Cyriacus Genevieve John of the Cross Gereon Privat de Mende Saint Petronilla Justin Martyr Saturninus of Cagliari Valerius of Saragossa Adjutor Anthony Eulalia of Barcelona Francis Solanus Cyprian Camillus de Lellis John of God Ephysius Alexius of Rome Michael de Sanctis Ladislaus I of Hungary Urban of Langres Zita John the Apostle Hildegard of Bingen Vincent of Saragossa Anastasi de Lleida Possidonio Devota Saint Apollonia Acisclus Simplicio of Olbia Agabus Josaphat Kuntsevych Joseph of Arimathea Monica of Hippo Brendan Eulalia of Mérida Peter de Regalado Rainerius Saint Ninian Elizabeth Ann Seton Charalampus Elizabeth II
Elizabeth II, Tadeusz Kościuszko and Isidore of Seville are the patron saint of min number of temples and administrative territories
Elizabeth II Tadeusz Kościuszko Isidore of Seville
action argmin
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
[[{'concept': 'temple'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?h WHERE { { ?p rdf:type ontology:temple . ?h rdf:type ontology:common_name . ?p property:patron_saint ?h } UNION { ?p property:patron_saint ?h . ?h rdf:type ontology:common_name . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?w WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:temple ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?w } . FILTER ( ?r = ?x ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q9682 Q191479 Q166876
P27
Q15617994
USER
Which administrative territories do those people belong to ?
(Q9682,P27,c(Q15617994)) (Q191479,P27,c(Q15617994)) (Q166876,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q9682', 'P27', {'concept': 'Q15617994'}] ['Q191479', 'P27', {'concept': 'Q15617994'}] ['Q166876', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?m property:P27 ?k . VALUES ( ?m ) { ( resource:Q380092 ) ( resource:Q43945 ) ( resource:Q172390 ) } . ?k rdf:type ontology:Q15617994 }
Elizabeth II Tadeusz Kościuszko Isidore of Seville
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Elizabeth II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Tadeusz Kościuszko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Isidore of Seville', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?m property:country_of_citizenship ?k . VALUES ( ?m ) { ( resource:Francis_Borgia,_4th_Duke_of_Gandía ) ( resource:Jude_the_Apostle ) ( resource:Martin_I ) } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q30 Q29
SYSTEM
United Kingdom, United States of America, Spain
Q145 Q30 Q29
(Q9682,P27,c(Q15617994)) (Q191479,P27,c(Q15617994)) (Q166876,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
Those people belong to [ANSWERS]
['Q9682', 'P27', {'concept': 'Q15617994'}] ['Q191479', 'P27', {'concept': 'Q15617994'}] ['Q166876', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?m property:P27 ?k . VALUES ( ?m ) { ( resource:Q380092 ) ( resource:Q43945 ) ( resource:Q172390 ) } . ?k rdf:type ontology:Q15617994 }
United Kingdom United States of America Spain
Those people belong to United Kingdom, United States of America and Spain
United Kingdom United States of America Spain
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Elizabeth II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Tadeusz Kościuszko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Isidore of Seville', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?m property:country_of_citizenship ?k . VALUES ( ?m ) { ( resource:Francis_Borgia,_4th_Duke_of_Gandía ) ( resource:Jude_the_Apostle ) ( resource:Martin_I ) } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q145 Q30 Q29
P163
Q14660
USER
Which flags are associated with United Kingdom, United States of America and Spain ?
(Q145,P163,c(Q14660)) (Q30,P163,c(Q14660)) (Q29,P163,c(Q14660))
action union
action filter_type
action find
entity Q145
relation P163
type Q14660
action filter_type
action find
entity Q30
relation P163
type Q14660
action filter_type
action find
entity Q29
relation P163
type Q14660
['Q145', 'P163', {'concept': 'Q14660'}] ['Q30', 'P163', {'concept': 'Q14660'}] ['Q29', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?n WHERE { ?r property:P163 ?n . VALUES ( ?r ) { ( resource:Q145 ) ( resource:Q30 ) } }
United Kingdom United States of America Spain
action union
action filter_type
action find
entity United Kingdom
relation flag
type flag
action filter_type
action find
entity United States of America
relation flag
type flag
action filter_type
action find
entity Spain
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}] ['United States of America', 'flag', {'concept': 'flag'}] ['Spain', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?n WHERE { ?r property:flag ?n . VALUES ( ?r ) { ( resource:United_Kingdom ) ( resource:United_States_of_America ) } }
[]
flag
Q83278 Q42537 Q121688
SYSTEM
flag of the United Kingdom, flag of the United States of America, flag of Spain
Q83278 Q42537 Q121688
(Q145,P163,c(Q14660)) (Q30,P163,c(Q14660)) (Q29,P163,c(Q14660))
action union
action filter_type
action find
entity Q145
relation P163
type Q14660
action filter_type
action find
entity Q30
relation P163
type Q14660
action filter_type
action find
entity Q29
relation P163
type Q14660
[ANSWERS] are associated with United Kingdom, United States of America and Spain
['Q145', 'P163', {'concept': 'Q14660'}] ['Q30', 'P163', {'concept': 'Q14660'}] ['Q29', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?n WHERE { ?r property:P163 ?n . VALUES ( ?r ) { ( resource:Q145 ) ( resource:Q30 ) } }
flag of the United Kingdom flag of the United States of America flag of Spain
Flag of the United Kingdom, flag of the United States of America and flag of Spain are associated with United Kingdom, United States of America and Spain
flag of the United Kingdom flag of the United States of America flag of Spain
action union
action filter_type
action find
entity United Kingdom
relation flag
type flag
action filter_type
action find
entity United States of America
relation flag
type flag
action filter_type
action find
entity Spain
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}] ['United States of America', 'flag', {'concept': 'flag'}] ['Spain', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?n WHERE { ?r property:flag ?n . VALUES ( ?r ) { ( resource:United_Kingdom ) ( resource:United_States_of_America ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q83278 Q42537 Q121688
P1001
Q15617994
USER
Which administrative territories apply to jurisdiction of those flags ?
(Q83278,P1001,c(Q15617994)) (Q42537,P1001,c(Q15617994)) (Q121688,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
['Q83278', 'P1001', {'concept': 'Q15617994'}] ['Q42537', 'P1001', {'concept': 'Q15617994'}] ['Q121688', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . ?d property:P1001 ?b . VALUES ( ?d ) { ( resource:Q83278 ) ( resource:Q42537 ) ( resource:Q121688 ) } }
flag of the United Kingdom flag of the United States of America flag of Spain
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['flag of the United States of America', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['flag of Spain', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:applies_to_jurisdiction ?b . VALUES ( ?d ) { ( resource:flag_of_the_United_Kingdom ) ( resource:flag_of_the_United_States_of_America ) ( resource:flag_of_Spain ) } }
[]
designation for an administrative territorial entity
Q145 Q30 Q29
SYSTEM
United Kingdom, United States of America, Spain
Q145 Q30 Q29
(Q83278,P1001,c(Q15617994)) (Q42537,P1001,c(Q15617994)) (Q121688,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
[ANSWERS] apply to jurisdiction of those flags
['Q83278', 'P1001', {'concept': 'Q15617994'}] ['Q42537', 'P1001', {'concept': 'Q15617994'}] ['Q121688', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . ?d property:P1001 ?b . VALUES ( ?d ) { ( resource:Q83278 ) ( resource:Q42537 ) ( resource:Q121688 ) } }
United Kingdom United States of America Spain
United Kingdom, United States of America and Spain apply to jurisdiction of those flags
United Kingdom United States of America Spain
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['flag of the United States of America', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['flag of Spain', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:applies_to_jurisdiction ?b . VALUES ( ?d ) { ( resource:flag_of_the_United_Kingdom ) ( resource:flag_of_the_United_States_of_America ) ( resource:flag_of_Spain ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q145 Q30 Q29
P463
Q874405
USER
What were United Kingdom, United States of America and Spain a member of ?
(Q145,P463,c(Q874405)) (Q30,P463,c(Q874405)) (Q29,P463,c(Q874405))
action union
action filter_type
action find
entity Q145
relation P463
type Q874405
action filter_type
action find
entity Q30
relation P463
type Q874405
action filter_type
action find
entity Q29
relation P463
type Q874405
['Q145', 'P463', {'concept': 'Q874405'}] ['Q30', 'P463', {'concept': 'Q874405'}] ['Q29', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { { resource:Q30 property:P463 ?x . ?x rdf:type ontology:Q874405 } UNION { resource:Q145 property:P463 ?x . ?x rdf:type ontology:Q874405 } }
United Kingdom United States of America Spain
action union
action filter_type
action find
entity United Kingdom
relation member of
type social group
action filter_type
action find
entity United States of America
relation member of
type social group
action filter_type
action find
entity Spain
relation member of
type social group
['United Kingdom', 'member of', {'concept': 'social group'}] ['United States of America', 'member of', {'concept': 'social group'}] ['Spain', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { { resource:United_States_of_America property:member_of ?x . ?x rdf:type ontology:social_group } UNION { resource:United_Kingdom property:member_of ?x . ?x rdf:type ontology:social_group } }
[]
social group
Q8908 Q8908 Q38130
SYSTEM
Council of Europe for 1st, 2nd, League of Nations for 3rd
Q8908 Q782942 Q782942 Q295875 Q38130 Q782942 Q8908
(Q145,P463,c(Q874405)) (Q30,P463,c(Q874405)) (Q29,P463,c(Q874405))
action union
action filter_type
action find
entity Q145
relation P463
type Q874405
action filter_type
action find
entity Q30
relation P463
type Q874405
action filter_type
action find
entity Q29
relation P463
type Q874405
[ANSWERS]
['Q145', 'P463', {'concept': 'Q874405'}] ['Q30', 'P463', {'concept': 'Q874405'}] ['Q29', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { { resource:Q30 property:P463 ?x . ?x rdf:type ontology:Q874405 } UNION { resource:Q145 property:P463 ?x . ?x rdf:type ontology:Q874405 } }
Council of Europe Australia Group Australia Group ANZUS League of Nations Australia Group Council of Europe
United Kingdom , United States of America and Spain were a member of the Council of Europe, Council of Europe and League of Nations
Council of Europe Council of Europe League of Nations
action union
action filter_type
action find
entity United Kingdom
relation member of
type social group
action filter_type
action find
entity United States of America
relation member of
type social group
action filter_type
action find
entity Spain
relation member of
type social group
['United Kingdom', 'member of', {'concept': 'social group'}] ['United States of America', 'member of', {'concept': 'social group'}] ['Spain', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { { resource:United_States_of_America property:member_of ?x . ?x rdf:type ontology:social_group } UNION { resource:United_Kingdom property:member_of ?x . ?x rdf:type ontology:social_group } }
[]