Simple Question (Direct)
Simple Question
Q2589683
P166
Q618779
USER
Which awards were received by Wolfgang Gerok ?
(Q2589683,P166,c(Q618779))
action filter_type
action find
entity Q2589683
relation P166
type Q618779
['Q2589683', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q2589683 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Wolfgang Gerok
action filter_type
action find
entity Wolfgang Gerok
relation award received
type award
['Wolfgang Gerok', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Wolfgang_Gerok property:award_received ?u . ?u rdf:type ontology:award }
[]
award
Q1136626 Q156478 Q10905334
SYSTEM
Cothenius Medal, Pour le Mérite, Officer's Cross of the Order of Merit of the Federal Republic of Germany
Q1136626 Q156478 Q10905334
(Q2589683,P166,c(Q618779))
action filter_type
action find
entity Q2589683
relation P166
type Q618779
[ANSWERS] were received by Wolfgang Gerok
['Q2589683', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q2589683 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Cothenius Medal Pour le Mérite Officer's Cross of the Order of Merit of the Federal Republic of Germany
Cothenius Medal, Pour le Mérite and Officer's Cross of the Order of Merit of the Federal Republic of Germany were received by Wolfgang Gerok
Cothenius Medal Pour le Mérite Officer's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Wolfgang Gerok
relation award received
type award
['Wolfgang Gerok', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Wolfgang_Gerok property:award_received ?u . ?u rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2589683
P69
Q3918
USER
Where was Wolfgang Gerok educated ?
(Q2589683,P69,c(Q3918))
action filter_type
action find
entity Q2589683
relation P69
type Q3918
['Q2589683', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q2589683 property:P69 ?p . ?p rdf:type ontology:Q3918 }
Wolfgang Gerok
action filter_type
action find
entity Wolfgang Gerok
relation educated at
type university
['Wolfgang Gerok', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Wolfgang_Gerok property:educated_at ?p . ?p rdf:type ontology:university }
[]
university
Q153978
SYSTEM
University of Tübingen
Q153978
(Q2589683,P69,c(Q3918))
action filter_type
action find
entity Q2589683
relation P69
type Q3918
Wolfgang Gerok was educated at [ANSWER]
['Q2589683', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q2589683 property:P69 ?p . ?p rdf:type ontology:Q3918 }
University of Tübingen
Wolfgang Gerok was educated at University of Tübingen
University of Tübingen
action filter_type
action find
entity Wolfgang Gerok
relation educated at
type university
['Wolfgang Gerok', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Wolfgang_Gerok property:educated_at ?p . ?p rdf:type ontology:university }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6236759
Q3918
USER
And how about John H. Collins?
(Q6236759,P69,c(Q3918))
action filter_type
action find
entity Q6236759
relation P69
type Q3918
['Q6236759', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?f WHERE { resource:Q6236759 property:P69 ?f . ?f rdf:type ontology:Q3918 }
John H. Collins
action filter_type
action find
entity John H. Collins
relation educated at
type university
['John H. Collins', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?f WHERE { resource:John_H._Collins property:educated_at ?f . ?f rdf:type ontology:university }
[]
university
Q457281
SYSTEM
University of Illinois at Urbana–Champaign
Q457281
(Q6236759,P69,c(Q3918))
action filter_type
action find
entity Q6236759
relation P69
type Q3918
[ANSWER]
['Q6236759', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?f WHERE { resource:Q6236759 property:P69 ?f . ?f rdf:type ontology:Q3918 }
University of Illinois at Urbana–Champaign
University of Illinois at Urbana–Champaign
action filter_type
action find
entity John H. Collins
relation educated at
type university
['John H. Collins', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?f WHERE { resource:John_H._Collins property:educated_at ?f . ?f rdf:type ontology:university }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q6236759
P57 P495
Q838948
USER
Which works of art have John H. Collins as their director and have United States of America as their place of origin ?
AND((c(Q838948),P57,Q6236759), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q6236759
relation P57
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q6236759'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q838948 . ?u property:P57 resource:Q6236759 . ?u property:P495 resource:Q30 }
United States of America John H. Collins
action filter_type
action intersection
action find_reverse
entity John H. Collins
relation director
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'John H. Collins'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:work_of_art . ?u property:director resource:John_H._Collins . ?u property:country_of_origin resource:United_States_of_America }
[]
work of art
Q21869378 Q18153547 Q18708993 Q18150295 Q18152777
SYSTEM
Gladiola, Riders of the Night, The Light of Happiness, God's Law and Man's, The Mortal Sin
Q21869378 Q18153547 Q18708993 Q18150295 Q18152777
AND((c(Q838948),P57,Q6236759), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q6236759
relation P57
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] have John H. Collins as their director and have United States of America as their place of origin
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q6236759'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q838948 . ?u property:P57 resource:Q6236759 . ?u property:P495 resource:Q30 }
Gladiola Riders of the Night The Light of Happiness God's Law and Man's The Mortal Sin
Gladiola, Riders of the Night, The Light of Happiness, God's Law and Man's and The Mortal Sin have John H. Collins as their director and have United States of America as their place of origin
Gladiola Riders of the Night The Light of Happiness God's Law and Man's The Mortal Sin
action filter_type
action intersection
action find_reverse
entity John H. Collins
relation director
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'John H. Collins'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:work_of_art . ?u property:director resource:John_H._Collins . ?u property:country_of_origin resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q728960 Q10905334
P166
Q502895
USER
Which people were awarded with Officer's Cross of the Order of Merit of the Federal Republic of Germany and Order of the October Revolution ?
AND((c(Q502895),P166,Q10905334), (c(Q502895),P166,Q728960))
action filter_type
action intersection
action find_reverse
entity Q10905334
relation P166
action find_reverse
entity Q728960
relation P166
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q10905334'], [{'concept': 'Q502895'}, 'P166', 'Q728960']]}
SELECT DISTINCT ?i WHERE { ?i property:P166 resource:Q10905334 . ?i property:P166 resource:Q728960 . ?i rdf:type ontology:Q502895 }
Order of the October Revolution Officer's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action intersection
action find_reverse
entity Officer's Cross of the Order of Merit of the Federal Republic of Germany
relation award received
action find_reverse
entity Order of the October Revolution
relation award received
type common name
{'AND': [[{'concept': 'common name'}, 'award received', "Officer's Cross of the Order of Merit of the Federal Republic of Germany"], [{'concept': 'common name'}, 'award received', 'Order of the October Revolution']]}
SELECT DISTINCT ?i WHERE { ?i property:award_received resource:Officer's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany . ?i property:award_received resource:Order_of_the_October_Revolution . ?i rdf:type ontology:common_name }
[]
common name
Q312469
SYSTEM
Alexander Nikolaevich Yakovlev
Q312469
AND((c(Q502895),P166,Q10905334), (c(Q502895),P166,Q728960))
action filter_type
action intersection
action find_reverse
entity Q10905334
relation P166
action find_reverse
entity Q728960
relation P166
type Q502895
The [ANSWER] was awarded with Officer's Cross of the Order of Merit of the Federal Republic of Germany and Order of the October Revolution
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q10905334'], [{'concept': 'Q502895'}, 'P166', 'Q728960']]}
SELECT DISTINCT ?i WHERE { ?i property:P166 resource:Q10905334 . ?i property:P166 resource:Q728960 . ?i rdf:type ontology:Q502895 }
Alexander Nikolaevich Yakovlev
The Alexander Nikolaevich Yakovlev was awarded with Officer's Cross of the Order of Merit of the Federal Republic of Germany and Order of the October Revolution
Alexander Nikolaevich Yakovlev
action filter_type
action intersection
action find_reverse
entity Officer's Cross of the Order of Merit of the Federal Republic of Germany
relation award received
action find_reverse
entity Order of the October Revolution
relation award received
type common name
{'AND': [[{'concept': 'common name'}, 'award received', "Officer's Cross of the Order of Merit of the Federal Republic of Germany"], [{'concept': 'common name'}, 'award received', 'Order of the October Revolution']]}
SELECT DISTINCT ?i WHERE { ?i property:award_received resource:Officer's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany . ?i property:award_received resource:Order_of_the_October_Revolution . ?i rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4956542 Q18153547
P495
Q15617994
USER
Which administrative territories are the origin of Riders of the Night and Brand New Sin ?
AND((Q18153547,P495,c(Q15617994)), (Q4956542,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18153547
relation P495
action find
entity Q4956542
relation P495
type Q15617994
{'AND': [['Q18153547', 'P495', {'concept': 'Q15617994'}], ['Q4956542', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { resource:Q18153547 property:P495 ?g . resource:Q4956542 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
Brand New Sin Riders of the Night
action filter_type
action intersection
action find
entity Riders of the Night
relation country of origin
action find
entity Brand New Sin
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Riders of the Night', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Brand New Sin', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Riders_of_the_Night property:country_of_origin ?g . resource:Brand_New_Sin property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q18153547,P495,c(Q15617994)), (Q4956542,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18153547
relation P495
action find
entity Q4956542
relation P495
type Q15617994
[ANSWER] is the origin of Riders of the Night and Brand New Sin
{'AND': [['Q18153547', 'P495', {'concept': 'Q15617994'}], ['Q4956542', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { resource:Q18153547 property:P495 ?g . resource:Q4956542 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
United States of America is the origin of Riders of the Night and Brand New Sin
United States of America
action filter_type
action intersection
action find
entity Riders of the Night
relation country of origin
action find
entity Brand New Sin
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Riders of the Night', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Brand New Sin', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Riders_of_the_Night property:country_of_origin ?g . resource:Brand_New_Sin property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q986
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with greater number of administrative territories than Eritrea ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q986
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q986 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?q ) }
Eritrea
action greater
action find_reverse_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 Eritrea
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 { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Eritrea property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q986
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with greater number of administrative territories than Eritrea
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q986 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?q ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America hold diplomatic relationship with greater number of administrative territories than Eritrea
Italy Brazil United States of America
action greater
action find_reverse_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 Eritrea
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 { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Eritrea property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q117
P530
Q15617994 Q15617994
USER
And also tell me about Ghana?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q117
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?v ) WHERE { ?o rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?f property:P530 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q117 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?v > ?q ) }
Ghana
action greater
action find_reverse_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 Ghana
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 { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?v ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Ghana property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v > ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q117
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?v ) WHERE { ?o rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?f property:P530 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q117 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?v > ?q ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
Italy Brazil United States of America
action greater
action find_reverse_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 Ghana
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 { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?v ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Ghana property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v > ?q ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q30
P463
Q484652
USER
What international organizations were Italy, Brazil and United States of America a member of ?
(Q38,P463,c(Q484652)) (Q155,P463,c(Q484652)) (Q30,P463,c(Q484652))
action union
action filter_type
action find
entity Q38
relation P463
type Q484652
action filter_type
action find
entity Q155
relation P463
type Q484652
action filter_type
action find
entity Q30
relation P463
type Q484652
['Q38', 'P463', {'concept': 'Q484652'}] ['Q155', 'P463', {'concept': 'Q484652'}] ['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?u WHERE { { resource:Q155 property:P463 ?u . ?u rdf:type ontology:Q484652 } UNION { ?u rdf:type ontology:Q484652 . resource:Q38 property:P463 ?u } }
Italy Brazil United States of America
action union
action filter_type
action find
entity Italy
relation member of
type international organization
action filter_type
action find
entity Brazil
relation member of
type international organization
action filter_type
action find
entity United States of America
relation member of
type international organization
['Italy', 'member of', {'concept': 'international organization'}] ['Brazil', 'member of', {'concept': 'international organization'}] ['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?u WHERE { { resource:Brazil property:member_of ?u . ?u rdf:type ontology:international_organization } UNION { ?u rdf:type ontology:international_organization . resource:Italy property:member_of ?u } }
[]
international organization
Q81299 Q81299 Q19771
SYSTEM
Organization for Security and Co-operation in Europe for 1st, 2nd, G20 for 3rd
Q81299 Q1065 Q826700 Q605326 Q47488 Q7184 Q42262 Q1045198 Q472311 Q8475 Q1480793 Q188822 Q170424 Q201054 Q7804 Q842490 Q19771 Q54129 Q1411881 Q17495 Q192177 Q37143 Q176815 Q182000 Q233611 Q1043527 Q471690 Q1065 Q838116 Q47488 Q8475 Q19771 Q17495 Q4230 Q1043527 Q81299 Q1043527 Q1065 Q37143 Q188822 Q674182 Q842490 Q19771 Q7184
(Q38,P463,c(Q484652)) (Q155,P463,c(Q484652)) (Q30,P463,c(Q484652))
action union
action filter_type
action find
entity Q38
relation P463
type Q484652
action filter_type
action find
entity Q155
relation P463
type Q484652
action filter_type
action find
entity Q30
relation P463
type Q484652
[ANSWERS]
['Q38', 'P463', {'concept': 'Q484652'}] ['Q155', 'P463', {'concept': 'Q484652'}] ['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?u WHERE { { resource:Q155 property:P463 ?u . ?u rdf:type ontology:Q484652 } UNION { ?u rdf:type ontology:Q484652 . resource:Q38 property:P463 ?u } }
Organization for Security and Co-operation in Europe United Nations International Energy Agency World Customs Organization International Criminal Court North Atlantic Treaty Organisation European Space Agency Permanent Court of Arbitration International Organization for Migration Interpol Nuclear Suppliers Group Asian Development Bank World Meteorological Organization International Maritime Organization International Monetary Fund Organisation for the Prohibition of Chemical Weapons G20 International Labour Organization Group of Ten Universal Postal Union Union for the Mediterranean G8 Inter-Parliamentary Union United Nations Conference on Trade and Development International Hydrographic Organization Multilateral Investment Guarantee Agency Andean Community of Nations United Nations G4 nations International Criminal Court Interpol G20 Universal Postal Union Union of South American Nations Multilateral Investment Guarantee Agency Organization for Security and Co-operation in Europe Multilateral Investment Guarantee Agency United Nations G8 Asian Development Bank Arctic Council Organisation for the Prohibition of Chemical Weapons G20 North Atlantic Treaty Organisation
Were Italy , Brazil and United States of America a member of the Organization for Security and Co-operation in Europe, Organization for Security and Co-operation in Europe and G20
Organization for Security and Co-operation in Europe Organization for Security and Co-operation in Europe G20
action union
action filter_type
action find
entity Italy
relation member of
type international organization
action filter_type
action find
entity Brazil
relation member of
type international organization
action filter_type
action find
entity United States of America
relation member of
type international organization
['Italy', 'member of', {'concept': 'international organization'}] ['Brazil', 'member of', {'concept': 'international organization'}] ['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?u WHERE { { resource:Brazil property:member_of ?u . ?u rdf:type ontology:international_organization } UNION { ?u rdf:type ontology:international_organization . resource:Italy property:member_of ?u } }
[]