Simple Question (Direct)
Simple Question
Q3804847
P734
Q82799
USER
Who has the surname Ivano Ricci ?
(Q3804847,P734,c(Q82799))
action filter_type
action find
entity Q3804847
relation P734
type Q82799
['Q3804847', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q3804847 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Ivano Ricci
action filter_type
action find
entity Ivano Ricci
relation family name
type name
['Ivano Ricci', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Ivano_Ricci property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q21493176
SYSTEM
Ricci
Q21493176
(Q3804847,P734,c(Q82799))
action filter_type
action find
entity Q3804847
relation P734
type Q82799
[ANSWER] has the surname Ivano [ANSWER]
['Q3804847', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q3804847 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Ricci
Ricci has the surname Ivano Ricci
Ricci
action filter_type
action find
entity Ivano Ricci
relation family name
type name
['Ivano Ricci', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Ivano_Ricci property:family_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3804847
P1412
Q34770
USER
Which language is spoken by that person ?
(Q21493176,P1412,c(Q34770))
action filter_type
action find
entity Q3804847
relation P1412
type Q34770
['Q21493176', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q34770 . resource:Q3804847 property:P1412 ?i }
Ivano Ricci
action filter_type
action find
entity Ivano Ricci
relation languages spoken, written or signed
type language
['Ricci', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:language . resource:Ivano_Ricci property:languages_spoken,_written_or_signed ?i }
[]
language
Q652
SYSTEM
Italian
Q652
(Q21493176,P1412,c(Q34770))
action filter_type
action find
entity Q3804847
relation P1412
type Q34770
By [ANSWER] is spoken by that person
['Q21493176', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q34770 . resource:Q3804847 property:P1412 ?i }
Italian
By Italian is spoken by that person
Italian
action filter_type
action find
entity Ivano Ricci
relation languages spoken, written or signed
type language
['Ricci', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:language . resource:Ivano_Ricci property:languages_spoken,_written_or_signed ?i }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P103
Q34770 Q502895
USER
Which languages are the names of the language native to more number of people than that language ?
(c(Q502895),P103,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find
entity Q652
relation P103
type Q34770
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:P103 ?s . ?s rdf:type ontology:Q34770 . ?f rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?i > ?l ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ontology:Q34770 . resource:Q652 property:P103 ?h } } }
action greater
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find
entity Italian
relation native language
type language
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:native_language ?s . ?s rdf:type ontology:language . ?f rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?i > ?l ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ontology:language . resource:Italian property:native_language ?h } } }
[]
language common name
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
(c(Q502895),P103,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find
entity Q652
relation P103
type Q34770
[ANSWERS] are the names of the language native to more number of people than that language
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:P103 ?s . ?s rdf:type ontology:Q34770 . ?f rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?i > ?l ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ontology:Q34770 . resource:Q652 property:P103 ?h } } }
English Spanish
English and Spanish are the names of the language native to more number of people than that language
English Spanish
action greater
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find
entity Italian
relation native language
type language
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:native_language ?s . ?s rdf:type ontology:language . ?f rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?i > ?l ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ontology:language . resource:Italian property:native_language ?h } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1970831
P1412
Q502895
USER
Does Pavel Petrovich Parenago talk in those languages ?
(Q1970831,P1412,Q1860) (Q1970831,P1412,Q1321)
action is_in
entity prev_answer
action find
entity Q1970831
relation P1412
['Q1970831', 'P1412', 'Q1860'] ['Q1970831', 'P1412', 'Q1321']
ASK WHERE { resource:Q1970831 property:P1412 ?l . VALUES ( ?l ) { ( resource:Q1860 ) ( resource:Q1321 ) } }
Pavel Petrovich Parenago
action is_in
entity prev_answer
action find
entity Pavel Petrovich Parenago
relation languages spoken, written or signed
['Pavel Petrovich Parenago', 'languages spoken, written or signed', 'English'] ['Pavel Petrovich Parenago', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Pavel_Petrovich_Parenago property:languages_spoken,_written_or_signed ?l . VALUES ( ?l ) { ( resource:English ) ( resource:Spanish ) } }
[]
common name
SYSTEM
NO
(Q1970831,P1412,Q1860) (Q1970831,P1412,Q1321)
action is_in
entity prev_answer
action find
entity Q1970831
relation P1412
[ANSWER]
['Q1970831', 'P1412', 'Q1860'] ['Q1970831', 'P1412', 'Q1321']
ASK WHERE { resource:Q1970831 property:P1412 ?l . VALUES ( ?l ) { ( resource:Q1860 ) ( resource:Q1321 ) } }
No
action is_in
entity prev_answer
action find
entity Pavel Petrovich Parenago
relation languages spoken, written or signed
['Pavel Petrovich Parenago', 'languages spoken, written or signed', 'English'] ['Pavel Petrovich Parenago', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Pavel_Petrovich_Parenago property:languages_spoken,_written_or_signed ?l . VALUES ( ?l ) { ( resource:English ) ( resource:Spanish ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q8192 Q34770
USER
Which writing systems are the writing systems used for atleast 1 language ?
(c(Q34770),P282,c(Q8192))
action atleast
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P282 ?e . ?e rdf:type ontology:Q8192 . ?t rdf:type ontology:Q34770 } GROUP BY ?e } . FILTER ( ?i >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:writing_system ?e . ?e rdf:type ontology:writing_system . ?t rdf:type ontology:language } GROUP BY ?e } . FILTER ( ?i >= 1 ) }
[]
writing system language
Q82946 Q30972 Q48332
SYSTEM
katakana, Linear A, hiragana
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action atleast
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[ANSWERS] are the writing systems used for atleast 1 language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P282 ?e . ?e rdf:type ontology:Q8192 . ?t rdf:type ontology:Q34770 } GROUP BY ?e } . FILTER ( ?i >= 1 ) }
katakana Linear A hiragana
Katakana, Linear A and hiragana are the writing systems used for atleast 1 language
katakana Linear A hiragana
action atleast
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:writing_system ?e . ?e rdf:type ontology:writing_system . ?t rdf:type ontology:language } GROUP BY ?e } . FILTER ( ?i >= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2719999 Q3804847
P27
Q15617994
USER
Which administrative territories are the native countriesof Ivano Ricci or Oleksandr Romanchuk ?
OR((Q3804847,P27,c(Q15617994)), (Q2719999,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3804847
relation P27
action find
entity Q2719999
relation P27
type Q15617994
{'OR': [['Q3804847', 'P27', {'concept': 'Q15617994'}], ['Q2719999', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { ?y property:P27 ?t . VALUES ( ?y ) { ( resource:Q3804847 ) ( resource:Q2719999 ) } } . ?t rdf:type ontology:Q15617994 }
Oleksandr Romanchuk Ivano Ricci
action filter_type
action union
action find
entity Ivano Ricci
relation country of citizenship
action find
entity Oleksandr Romanchuk
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ivano Ricci', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oleksandr Romanchuk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?y property:country_of_citizenship ?t . VALUES ( ?y ) { ( resource:Ivano_Ricci ) ( resource:Oleksandr_Romanchuk ) } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q38
SYSTEM
Ukraine, Italy
Q212 Q38
OR((Q3804847,P27,c(Q15617994)), (Q2719999,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3804847
relation P27
action find
entity Q2719999
relation P27
type Q15617994
[ANSWERS] are the native countriesof Ivano Ricci or Oleksandr Romanchuk
{'OR': [['Q3804847', 'P27', {'concept': 'Q15617994'}], ['Q2719999', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { ?y property:P27 ?t . VALUES ( ?y ) { ( resource:Q3804847 ) ( resource:Q2719999 ) } } . ?t rdf:type ontology:Q15617994 }
Ukraine Italy
Ukraine and Italy are the native countriesof Ivano Ricci or Oleksandr Romanchuk
Ukraine Italy
action filter_type
action union
action find
entity Ivano Ricci
relation country of citizenship
action find
entity Oleksandr Romanchuk
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ivano Ricci', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oleksandr Romanchuk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?y property:country_of_citizenship ?t . VALUES ( ?y ) { ( resource:Ivano_Ricci ) ( resource:Oleksandr_Romanchuk ) } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q182695
P282
Q2001982 Q8192 Q34770
USER
Which languages adopt less number of notations or writing systems as the writing system than Late Old Japanese ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q182695
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?t ) WHERE { { ?y property:P282 ?q . ?y rdf:type ontology:Q34770 . ?q rdf:type ontology:Q2001982 } UNION { ?q rdf:type ontology:Q8192 . ?y rdf:type ontology:Q34770 . ?y property:P282 ?q } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q182695 property:P282 ?u . { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } } } . FILTER ( ?t < ?i ) }
Late Old Japanese
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Late Old Japanese
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?t ) WHERE { { ?y property:writing_system ?q . ?y rdf:type ontology:language . ?q rdf:type ontology:notation } UNION { ?q rdf:type ontology:writing_system . ?y rdf:type ontology:language . ?y property:writing_system ?q } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Late_Old_Japanese property:writing_system ?u . { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:notation ) ( ontology:writing_system ) } } } } . FILTER ( ?t < ?i ) }
[]
notation writing system language
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q182695
relation P282
type Q2001982
type Q8192
[ANSWERS] adopt less number of notations or writing systems as the writing system than Late Old Japanese
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?t ) WHERE { { ?y property:P282 ?q . ?y rdf:type ontology:Q34770 . ?q rdf:type ontology:Q2001982 } UNION { ?q rdf:type ontology:Q8192 . ?y rdf:type ontology:Q34770 . ?y property:P282 ?q } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q182695 property:P282 ?u . { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } } } . FILTER ( ?t < ?i ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
Avestan, English and Old Egyptian adopt less number of notations or writing systems as the writing system than Late Old Japanese
Avestan English Old Egyptian
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Late Old Japanese
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?t ) WHERE { { ?y property:writing_system ?q . ?y rdf:type ontology:language . ?q rdf:type ontology:notation } UNION { ?q rdf:type ontology:writing_system . ?y rdf:type ontology:language . ?y property:writing_system ?q } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Late_Old_Japanese property:writing_system ?u . { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:notation ) ( ontology:writing_system ) } } } } . FILTER ( ?t < ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P551
Q502895
USER
Who lives in Italy ?
(c(Q502895),P551,Q38)
action filter_type
action find_reverse
entity Q38
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q38']
SELECT DISTINCT ?r WHERE { ?r property:P551 resource:Q38 . ?r rdf:type ontology:Q502895 }
Italy
action filter_type
action find_reverse
entity Italy
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Italy']
SELECT DISTINCT ?r WHERE { ?r property:residence resource:Italy . ?r rdf:type ontology:common_name }
[]
common name
Q25369 Q115448 Q272438
SYSTEM
Kobe Bryant, Daniel Bovet, Diane von Fürstenberg
Q5361346 Q17455385 Q25707134 Q272438 Q1381775 Q7910890 Q7516958 Q563268 Q20310566 Q542134 Q115448 Q6792230 Q25865472 Q16966354 Q1983888 Q710013 Q25369 Q16856900 Q21929727 Q1078090 Q18333362 Q447351
(c(Q502895),P551,Q38)
action filter_type
action find_reverse
entity Q38
relation P551
type Q502895
[ANSWERS] live in Italy
[{'concept': 'Q502895'}, 'P551', 'Q38']
SELECT DISTINCT ?r WHERE { ?r property:P551 resource:Q38 . ?r rdf:type ontology:Q502895 }
Elisa Balsamo Jerry Cooke Ernst van Schayck III Diane von Fürstenberg Evelyn Mayr Valentina Sulpizio Silvia Albano Henry Theodore Tuckerman Maria Kouznetsova Gëzim Hajdari Daniel Bovet Maud Howe Elliott Michaël Magne Suzanne Nijs Eric Wrixon Ladislas Starevich Kobe Bryant Theodora Cowan Antonio Zucca Christa Kanitz Luis Malanco Paolo Soleri
Kobe Bryant, Daniel Bovet and Diane von Fürstenberg live in Italy
Kobe Bryant Daniel Bovet Diane von Fürstenberg
action filter_type
action find_reverse
entity Italy
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Italy']
SELECT DISTINCT ?r WHERE { ?r property:residence resource:Italy . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P463
Q43229
USER
What organizations were Italy a member of ?
(Q38,P463,c(Q43229))
action filter_type
action find
entity Q38
relation P463
type Q43229
['Q38', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q43229 . resource:Q38 property:P463 ?l }
Italy
action filter_type
action find
entity Italy
relation member of
type organization
['Italy', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:organization . resource:Italy property:member_of ?l }
[]
organization
Q7809 Q42944 Q151991
SYSTEM
United Nations Educational, Scientific and Cultural Organization, European Organization for Nuclear Research, European Southern Observatory
Q340195 Q125761 Q191384 Q1153087 Q309195 Q41550 Q189946 Q132551 Q899770 Q689859 Q7809 Q7825 Q1666759 Q699036 Q42944 Q61923 Q177773 Q656801 Q151991 Q161549 Q488981 Q3772571 Q386120 Q82151 Q7178 Q827525
(Q38,P463,c(Q43229))
action filter_type
action find
entity Q38
relation P463
type Q43229
Italy were the [ANSWERS]
['Q38', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q43229 . resource:Q38 property:P463 ?l }
African Development Bank International Civil Aviation Organization International Bank for Reconstruction and Development Inter-American Development Bank Bank for International Settlements Organisation for Economic Co-operation and Development Western European Union United Nations High Commissioner for Refugees International Centre for Settlement of Investment Disputes International Fund for Agricultural Development United Nations Educational, Scientific and Cultural Organization World Trade Organization International Mobile Satellite Organization United Nations Truce Supervision Organization European Organization for Nuclear Research World Tourism Organization World Intellectual Property Organization International Finance Corporation European Southern Observatory European Coal and Steel Community European Bank for Reconstruction and Development Caribbean Development Bank United Nations Industrial Development Organization Food and Agriculture Organization of the United Nations International Red Cross and Red Crescent Movementsac International Development Association
Italy were the United Nations Educational, Scientific and Cultural Organization, European Organization for Nuclear Research and European Southern Observatory
United Nations Educational, Scientific and Cultural Organization European Organization for Nuclear Research European Southern Observatory
action filter_type
action find
entity Italy
relation member of
type organization
['Italy', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:organization . resource:Italy property:member_of ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P610
Q14524493
USER
What is the highest point of Italy ?
(Q38,P610,c(Q14524493))
action filter_type
action find
entity Q38
relation P610
type Q14524493
['Q38', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?b WHERE { resource:Q38 property:P610 ?b . ?b rdf:type ontology:Q14524493 }
Italy
action filter_type
action find
entity Italy
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?b WHERE { resource:Italy property:highest_point ?b . ?b rdf:type ontology:terrain }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q38,P610,c(Q14524493))
action filter_type
action find
entity Q38
relation P610
type Q14524493
The highest point of Italy is the [ANSWER]
['Q38', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?b WHERE { resource:Q38 property:P610 ?b . ?b rdf:type ontology:Q14524493 }
Mont Blanc
The highest point of Italy is the Mont Blanc
Mont Blanc
action filter_type
action find
entity Italy
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?b WHERE { resource:Italy property:highest_point ?b . ?b rdf:type ontology:terrain }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q658271 Q38
P361 P610
Q14524493
USER
Which terrains are the highest point of Italy or are Tibidabo a component of ?
OR((Q38,P610,c(Q14524493)), (Q658271,P361,c(Q14524493)))
action filter_type
action union
action find
entity Q38
relation P610
action find
entity Q658271
relation P361
type Q14524493
{'OR': [['Q38', 'P610', {'concept': 'Q14524493'}], ['Q658271', 'P361', {'concept': 'Q14524493'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q38 property:P610 ?c } UNION { resource:Q658271 property:P361 ?c } } . ?c rdf:type ontology:Q14524493 }
Tibidabo Italy
action filter_type
action union
action find
entity Italy
relation highest point
action find
entity Tibidabo
relation part of
type terrain
{'OR': [['Italy', 'highest point', {'concept': 'terrain'}], ['Tibidabo', 'part of', {'concept': 'terrain'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Italy property:highest_point ?c } UNION { resource:Tibidabo property:part_of ?c } } . ?c rdf:type ontology:terrain }
[]
terrain
Q1463283 Q583
SYSTEM
Serra de Collserola, Mont Blanc
Q1463283 Q583
OR((Q38,P610,c(Q14524493)), (Q658271,P361,c(Q14524493)))
action filter_type
action union
action find
entity Q38
relation P610
action find
entity Q658271
relation P361
type Q14524493
[ANSWERS] are the highest point of Italy or are Tibidabo a component of
{'OR': [['Q38', 'P610', {'concept': 'Q14524493'}], ['Q658271', 'P361', {'concept': 'Q14524493'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q38 property:P610 ?c } UNION { resource:Q658271 property:P361 ?c } } . ?c rdf:type ontology:Q14524493 }
Serra de Collserola Mont Blanc
Serra de Collserola and Mont Blanc are the highest point of Italy or are Tibidabo a component of
Serra de Collserola Mont Blanc
action filter_type
action union
action find
entity Italy
relation highest point
action find
entity Tibidabo
relation part of
type terrain
{'OR': [['Italy', 'highest point', {'concept': 'terrain'}], ['Tibidabo', 'part of', {'concept': 'terrain'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Italy property:highest_point ?c } UNION { resource:Tibidabo property:part_of ?c } } . ?c rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1463283 Q583
P361
Q14524493
USER
Which terrains are parts of those ones ?
(c(Q14524493),P361,Q1463283) (c(Q14524493),P361,Q583)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q14524493
[{'concept': 'Q14524493'}, 'P361', 'Q1463283'] [{'concept': 'Q14524493'}, 'P361', 'Q583']
SELECT DISTINCT ?v WHERE { VALUES ( ?g ) { ( resource:Q1463283 ) ( resource:Q583 ) } . ?v property:P361 ?g . ?v rdf:type ontology:Q14524493 }
Serra de Collserola Mont Blanc
action filter_type
action find_reverse
entity prev_answer
relation part of
type terrain
[{'concept': 'terrain'}, 'part of', 'Serra de Collserola'] [{'concept': 'terrain'}, 'part of', 'Mont Blanc']
SELECT DISTINCT ?v WHERE { VALUES ( ?g ) { ( resource:Serra_de_Collserola ) ( resource:Mont_Blanc ) } . ?v property:part_of ?g . ?v rdf:type ontology:terrain }
[]
terrain
Q658271 Q1323168 Q646311
SYSTEM
Tibidabo, Mont Tondu, Dômes de Miage
Q658271 Q1323168 Q646311
(c(Q14524493),P361,Q1463283) (c(Q14524493),P361,Q583)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q14524493
[ANSWERS] are parts of those ones
[{'concept': 'Q14524493'}, 'P361', 'Q1463283'] [{'concept': 'Q14524493'}, 'P361', 'Q583']
SELECT DISTINCT ?v WHERE { VALUES ( ?g ) { ( resource:Q1463283 ) ( resource:Q583 ) } . ?v property:P361 ?g . ?v rdf:type ontology:Q14524493 }
Tibidabo Mont Tondu Dômes de Miage
Tibidabo, Mont Tondu and Dômes de Miage are parts of those ones
Tibidabo Mont Tondu Dômes de Miage
action filter_type
action find_reverse
entity prev_answer
relation part of
type terrain
[{'concept': 'terrain'}, 'part of', 'Serra de Collserola'] [{'concept': 'terrain'}, 'part of', 'Mont Blanc']
SELECT DISTINCT ?v WHERE { VALUES ( ?g ) { ( resource:Serra_de_Collserola ) ( resource:Mont_Blanc ) } . ?v property:part_of ?g . ?v rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P272
Q838948
USER
Which works of art were released from the production company named Italy ?
(c(Q838948),P272,Q38)
action filter_type
action find_reverse
entity Q38
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q38']
SELECT DISTINCT ?p WHERE { ?p property:P272 resource:Q38 . ?p rdf:type ontology:Q838948 }
Italy
action filter_type
action find_reverse
entity Italy
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Italy']
SELECT DISTINCT ?p WHERE { ?p property:production_company resource:Italy . ?p rdf:type ontology:work_of_art }
[]
work of art
Q1407653 Q7774772
SYSTEM
The Naked Maja, The Widow
Q1407653 Q7774772
(c(Q838948),P272,Q38)
action filter_type
action find_reverse
entity Q38
relation P272
type Q838948
[ANSWERS] were released from the production company named Italy
[{'concept': 'Q838948'}, 'P272', 'Q38']
SELECT DISTINCT ?p WHERE { ?p property:P272 resource:Q38 . ?p rdf:type ontology:Q838948 }
The Naked Maja The Widow
The Naked Maja and The Widow were released from the production company named Italy
The Naked Maja The Widow
action filter_type
action find_reverse
entity Italy
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Italy']
SELECT DISTINCT ?p WHERE { ?p property:production_company resource:Italy . ?p rdf:type ontology:work_of_art }
[]