Simple Question (Direct)
Simple Question
Q1505069
P20
Q15617994
USER
Where did the expiration of Georg Kropp occur ?
(Q1505069,P20,c(Q15617994))
action filter_type
action find
entity Q1505069
relation P20
type Q15617994
['Q1505069', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1505069 property:P20 ?x . ?x rdf:type ontology:Q15617994 }
Georg Kropp
action filter_type
action find
entity Georg Kropp
relation place of death
type designation for an administrative territorial entity
['Georg Kropp', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Georg_Kropp property:place_of_death ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q503043
SYSTEM
Wüstenrot
Q503043
(Q1505069,P20,c(Q15617994))
action filter_type
action find
entity Q1505069
relation P20
type Q15617994
The expiration of Georg Kropp occurred s [ANSWER]
['Q1505069', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1505069 property:P20 ?x . ?x rdf:type ontology:Q15617994 }
Wüstenrot
The expiration of Georg Kropp occurred s Wüstenrot
Wüstenrot
action filter_type
action find
entity Georg Kropp
relation place of death
type designation for an administrative territorial entity
['Georg Kropp', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Georg_Kropp property:place_of_death ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1505069
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q503043,P27,c(Q1048835))
action filter_type
action find
entity Q1505069
relation P27
type Q1048835
['Q503043', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q1505069 property:P27 ?q }
Georg Kropp
action filter_type
action find
entity Georg Kropp
relation country of citizenship
type political territorial entity
['Wüstenrot', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Georg_Kropp property:country_of_citizenship ?q }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q503043,P27,c(Q1048835))
action filter_type
action find
entity Q1505069
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q503043', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q1505069 property:P27 ?q }
Germany
Germany is the native country of that person
Germany
action filter_type
action find
entity Georg Kropp
relation country of citizenship
type political territorial entity
['Wüstenrot', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Georg_Kropp property:country_of_citizenship ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q574
P530
Q1048835 Q15617994
USER
How many administrative territories have ambassadorial relations with around the same number of political territories as East Timor ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q574
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?j ) WHERE { ?c rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 . ?c property:P530 ?h } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Q574 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?p ) }
East Timor
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity East Timor
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?j ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation ?h } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:East_Timor property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?p ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
124
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q574
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?j ) WHERE { ?c rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 . ?c property:P530 ?h } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Q574 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?p ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
124
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity East Timor
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?j ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation ?h } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:East_Timor property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?p ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q39 Q574
P463
Q484652
USER
Which international organizations had East Timor and Switzerland as their member ?
AND((Q574,P463,c(Q484652)), (Q39,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q574
relation P463
action find
entity Q39
relation P463
type Q484652
{'AND': [['Q574', 'P463', {'concept': 'Q484652'}], ['Q39', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?w WHERE { resource:Q574 property:P463 ?w . resource:Q39 property:P463 ?w . ?w rdf:type ontology:Q484652 }
Switzerland East Timor
action filter_type
action intersection
action find
entity East Timor
relation member of
action find
entity Switzerland
relation member of
type international organization
{'AND': [['East Timor', 'member of', {'concept': 'international organization'}], ['Switzerland', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?w WHERE { resource:East_Timor property:member_of ?w . resource:Switzerland property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
international organization
Q1065 Q188822 Q1043527
SYSTEM
United Nations, Asian Development Bank, Multilateral Investment Guarantee Agency
Q1065 Q188822 Q1043527
AND((Q574,P463,c(Q484652)), (Q39,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q574
relation P463
action find
entity Q39
relation P463
type Q484652
[ANSWERS] had East Timor and Switzerland as their member
{'AND': [['Q574', 'P463', {'concept': 'Q484652'}], ['Q39', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?w WHERE { resource:Q574 property:P463 ?w . resource:Q39 property:P463 ?w . ?w rdf:type ontology:Q484652 }
United Nations Asian Development Bank Multilateral Investment Guarantee Agency
United Nations, Asian Development Bank and Multilateral Investment Guarantee Agency had East Timor and Switzerland as their member
United Nations Asian Development Bank Multilateral Investment Guarantee Agency
action filter_type
action intersection
action find
entity East Timor
relation member of
action find
entity Switzerland
relation member of
type international organization
{'AND': [['East Timor', 'member of', {'concept': 'international organization'}], ['Switzerland', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?w WHERE { resource:East_Timor property:member_of ?w . resource:Switzerland property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q29
P530
Q15617994 Q1048835
USER
Which administrative territories holds diplomatic relationship with approximately the same number of political territories as Spain ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q29
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?b ) WHERE { ?f property:P530 ?e . ?e rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q29 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?n ) }
Spain
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?b ) WHERE { ?f property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Spain property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?n ) }
[]
designation for an administrative territorial entity political territorial entity
Q55 Q148 Q17
SYSTEM
Netherlands, People's Republic of China, Japan
Q804 Q800 Q419 Q668 Q414 Q55 Q148 Q783 Q45 Q41 Q796 Q794 Q954 Q889 Q881 Q811 Q31 Q924 Q928 Q733 Q734 Q233 Q1041 Q27 Q1028 Q736 Q786 Q225 Q224 Q96 Q347 Q17 Q902 Q1036 Q1033 Q963 Q298 Q117 Q750 Q213 Q215 Q219 Q916 Q1009 Q774 Q810 Q29 Q869
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q29
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with approximately the same number of political territories as Spain
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?b ) WHERE { ?f property:P530 ?e . ?e rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q29 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?n ) }
Panama Costa Rica Peru India Argentina Netherlands People's Republic of China Honduras Portugal Greece Iraq Iran Zimbabwe Afghanistan Vietnam Nicaragua Belgium Tanzania Philippines Paraguay Guyana Malta Senegal Ireland Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Liechtenstein Japan Bangladesh Uganda Nigeria Botswana Chile Ghana Bolivia Czech Republic Slovenia Bulgaria Angola Cameroon Guatemala Jordan Spain Thailand
Netherlands, People's Republic of China and Japan hold diplomatic relationship with approximately the same number of political territories as Spain
Netherlands People's Republic of China Japan
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?b ) WHERE { ?f property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Spain property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1008
P530
Q15617994 Q1048835
USER
And how about Côte d'Ivoire?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1008
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?w ) WHERE { ?y property:P530 ?c . ?y rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q1008 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?v ) }
Côte d'Ivoire
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Côte d'Ivoire
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?w ) WHERE { ?y property:diplomatic_relation ?c . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Côte_d'Ivoire property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?v ) }
[]
designation for an administrative territorial entity political territorial entity
Q230 Q184 Q32
SYSTEM
Georgia, Belarus, Luxembourg
Q702 Q262 Q265 Q37 Q712 Q717 Q837 Q657 Q792 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1008
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?w ) WHERE { ?y property:P530 ?c . ?y rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q1008 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?v ) }
Federated States of Micronesia Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Chad El Salvador South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Georgia Belarus Luxembourg
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Côte d'Ivoire
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?w ) WHERE { ?y property:diplomatic_relation ?c . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Côte_d'Ivoire property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q20937
P127
Q1048835 Q811430 Q2235308
USER
How many political territories own less number of constructions and ship types than Gyeonggi Province ?
(c(Q811430)|c(Q2235308),P127,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q20937
relation P127
type Q811430
type Q2235308
[[{'concept': 'Q811430'}, {'concept': 'Q2235308'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?s WHERE { VALUES ( ?k ) { ( ontology:Q2235308 ) ( ontology:Q811430 ) } . ?u rdf:type ?k } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:P127 resource:Q20937 . { { ?f rdf:type ontology:Q811430 } UNION { ?f rdf:type ontology:Q2235308 } } } } . FILTER ( ?g < ?j ) }
Gyeonggi Province
action count
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type construction
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
action count
action filter_multi_types
action find_reverse
entity Gyeonggi Province
relation owned by
type construction
type ship type
[[{'concept': 'construction'}, {'concept': 'ship type'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?s WHERE { VALUES ( ?k ) { ( ontology:ship_type ) ( ontology:construction ) } . ?u rdf:type ?k } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:owned_by resource:Gyeonggi_Province . { { ?f rdf:type ontology:construction } UNION { ?f rdf:type ontology:ship_type } } } } . FILTER ( ?g < ?j ) }
[]
political territorial entity construction ship type
SYSTEM
64
Q192536 Q170322 Q1648590 Q318314 Q3741 Q2321093 Q5691 Q188399 Q183 Q490638 Q6040 Q126514 Q211091 Q6053 Q192387 Q217838 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q6339 Q7379734 Q1823 Q8551 Q13786 Q5783 Q741765 Q193317 Q35 Q191091 Q2947 Q13862 Q276176 Q1135166 Q46070 Q211106 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q2271 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q207111 Q16 Q206926
(c(Q811430)|c(Q2235308),P127,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q20937
relation P127
type Q811430
type Q2235308
[ANSWER]
[[{'concept': 'Q811430'}, {'concept': 'Q2235308'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?s WHERE { VALUES ( ?k ) { ( ontology:Q2235308 ) ( ontology:Q811430 ) } . ?u rdf:type ?k } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:P127 resource:Q20937 . { { ?f rdf:type ontology:Q811430 } UNION { ?f rdf:type ontology:Q2235308 } } } } . FILTER ( ?g < ?j ) }
Zlín Region Qingdao Manises Ipatinga Special Region of Yogyakarta Chorrillos South Karelia Central Bohemian Region Germany Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Londrina Stirling Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Erzgebirgskreis Aachen Aceh Südliche Weinstraße Cebu Andalusia San Fernando Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Volta Redonda Greater London Authority Plzeň Region Moray Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul South Sumatra Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region North Lanarkshire Canada North Ayrshire
64
action count
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type construction
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
action count
action filter_multi_types
action find_reverse
entity Gyeonggi Province
relation owned by
type construction
type ship type
[[{'concept': 'construction'}, {'concept': 'ship type'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?s WHERE { VALUES ( ?k ) { ( ontology:ship_type ) ( ontology:construction ) } . ?u rdf:type ?k } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:owned_by resource:Gyeonggi_Province . { { ?f rdf:type ontology:construction } UNION { ?f rdf:type ontology:ship_type } } } } . FILTER ( ?g < ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5756
P127
Q1048835 Q811430 Q2235308
USER
And how about Community of Madrid?
(c(Q811430)|c(Q2235308),P127,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q5756
relation P127
type Q811430
type Q2235308
[[{'concept': 'Q811430'}, {'concept': 'Q2235308'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?n ) WHERE { { ?b property:P127 ?y . ?y rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q2235308 } UNION { ?b property:P127 ?y . ?b rdf:type ontology:Q811430 . ?y rdf:type ontology:Q1048835 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P127 resource:Q5756 . { { ?p rdf:type ontology:Q811430 } UNION { ?p rdf:type ontology:Q2235308 } } } } . FILTER ( ?n < ?v ) }
Community of Madrid
action count
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type construction
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
action count
action filter_multi_types
action find_reverse
entity Community of Madrid
relation owned by
type construction
type ship type
[[{'concept': 'construction'}, {'concept': 'ship type'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?n ) WHERE { { ?b property:owned_by ?y . ?y rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:ship_type } UNION { ?b property:owned_by ?y . ?b rdf:type ontology:construction . ?y rdf:type ontology:political_territorial_entity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:owned_by resource:Community_of_Madrid . { { ?p rdf:type ontology:construction } UNION { ?p rdf:type ontology:ship_type } } } } . FILTER ( ?n < ?v ) }
[]
political territorial entity construction ship type
SYSTEM
67
Q192536 Q170322 Q1648590 Q318314 Q3741 Q20937 Q2321093 Q5691 Q188399 Q183 Q490638 Q6040 Q126514 Q211091 Q6053 Q192387 Q133083 Q217838 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q6339 Q7379734 Q1823 Q8551 Q13786 Q5783 Q741765 Q193317 Q35 Q191091 Q2947 Q13862 Q276176 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q2271 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q207111 Q16 Q206926
(c(Q811430)|c(Q2235308),P127,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q5756
relation P127
type Q811430
type Q2235308
[ANSWER]
[[{'concept': 'Q811430'}, {'concept': 'Q2235308'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?n ) WHERE { { ?b property:P127 ?y . ?y rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q2235308 } UNION { ?b property:P127 ?y . ?b rdf:type ontology:Q811430 . ?y rdf:type ontology:Q1048835 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P127 resource:Q5756 . { { ?p rdf:type ontology:Q811430 } UNION { ?p rdf:type ontology:Q2235308 } } } } . FILTER ( ?n < ?v ) }
Zlín Region Qingdao Manises Ipatinga Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Germany Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Londrina Gauteng Stirling Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Erzgebirgskreis Aachen Aceh Südliche Weinstraße Cebu Andalusia San Fernando Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Volta Redonda Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul South Sumatra Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region North Lanarkshire Canada North Ayrshire
67
action count
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type construction
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
action count
action filter_multi_types
action find_reverse
entity Community of Madrid
relation owned by
type construction
type ship type
[[{'concept': 'construction'}, {'concept': 'ship type'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?n ) WHERE { { ?b property:owned_by ?y . ?y rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:ship_type } UNION { ?b property:owned_by ?y . ?b rdf:type ontology:construction . ?y rdf:type ontology:political_territorial_entity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:owned_by resource:Community_of_Madrid . { { ?p rdf:type ontology:construction } UNION { ?p rdf:type ontology:ship_type } } } } . FILTER ( ?n < ?v ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with around 25 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 25
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?q ) WHERE { ?z property:P530 ?g . ?z rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?q = 25 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 25
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?q ) WHERE { ?z property:diplomatic_relation ?g . ?z rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?q = 25 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 25
[ANSWERS] have a diplomatic relationship with around 25 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?q ) WHERE { ?z property:P530 ?g . ?z rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?q = 25 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have a diplomatic relationship with around 25 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 25
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?q ) WHERE { ?z property:diplomatic_relation ?g . ?z rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?q = 25 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5519225
P530
Q15617994
USER
Do Gallup-McKinley County Schools have diplomatic associations with those political territories ?
(Q5519225,P530,Q35) (Q5519225,P530,Q16) (Q5519225,P530,Q40)
action is_in
entity prev_answer
action find
entity Q5519225
relation P530
['Q5519225', 'P530', 'Q35'] ['Q5519225', 'P530', 'Q16'] ['Q5519225', 'P530', 'Q40']
ASK WHERE { VALUES ( ?u ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . resource:Q5519225 property:P530 ?u }
Gallup-McKinley County Schools
action is_in
entity prev_answer
action find
entity Gallup-McKinley County Schools
relation diplomatic relation
['Gallup-McKinley County Schools', 'diplomatic relation', 'Denmark'] ['Gallup-McKinley County Schools', 'diplomatic relation', 'Canada'] ['Gallup-McKinley County Schools', 'diplomatic relation', 'Austria']
ASK WHERE { VALUES ( ?u ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . resource:Gallup-McKinley_County_Schools property:diplomatic_relation ?u }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5519225,P530,Q35) (Q5519225,P530,Q16) (Q5519225,P530,Q40)
action is_in
entity prev_answer
action find
entity Q5519225
relation P530
[ANSWER]
['Q5519225', 'P530', 'Q35'] ['Q5519225', 'P530', 'Q16'] ['Q5519225', 'P530', 'Q40']
ASK WHERE { VALUES ( ?u ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . resource:Q5519225 property:P530 ?u }
No
action is_in
entity prev_answer
action find
entity Gallup-McKinley County Schools
relation diplomatic relation
['Gallup-McKinley County Schools', 'diplomatic relation', 'Denmark'] ['Gallup-McKinley County Schools', 'diplomatic relation', 'Canada'] ['Gallup-McKinley County Schools', 'diplomatic relation', 'Austria']
ASK WHERE { VALUES ( ?u ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . resource:Gallup-McKinley_County_Schools property:diplomatic_relation ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184
P551
Q502895
USER
Who resides at Belarus ?
(c(Q502895),P551,Q184)
action filter_type
action find_reverse
entity Q184
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q184']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P551 resource:Q184 }
Belarus
action filter_type
action find_reverse
entity Belarus
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Belarus']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:residence resource:Belarus }
[]
common name
Q463501
SYSTEM
Valeriya Novodvorskaya
Q463501
(c(Q502895),P551,Q184)
action filter_type
action find_reverse
entity Q184
relation P551
type Q502895
[ANSWER] resides at Belarus
[{'concept': 'Q502895'}, 'P551', 'Q184']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P551 resource:Q184 }
Valeriya Novodvorskaya
Valeriya Novodvorskaya resides at Belarus
Valeriya Novodvorskaya
action filter_type
action find_reverse
entity Belarus
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Belarus']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:residence resource:Belarus }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q184
P1001
Q12737077
USER
Which occupations have jurisdiction over that administrative territory ?
(c(Q12737077),P1001,Q463501)
action filter_type
action find_reverse
entity Q184
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q463501']
SELECT DISTINCT ?p WHERE { ?p property:P1001 resource:Q184 . ?p rdf:type ontology:Q12737077 }
Belarus
action filter_type
action find_reverse
entity Belarus
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Valeriya Novodvorskaya']
SELECT DISTINCT ?p WHERE { ?p property:applies_to_jurisdiction resource:Belarus . ?p rdf:type ontology:occupation }
[]
occupation
Q18690228 Q12379704 Q14335901
SYSTEM
Deputy Prime Minister of the Republic of Belarus, Prime Minister of Belarus, member of the House of Representatives of Belarus
Q14335901 Q18690228 Q1049659 Q13411105 Q12379704 Q18690166 Q2045068 Q21328605
(c(Q12737077),P1001,Q463501)
action filter_type
action find_reverse
entity Q184
relation P1001
type Q12737077
[ANSWERS] have jurisdiction over that administrative territory
[{'concept': 'Q12737077'}, 'P1001', 'Q463501']
SELECT DISTINCT ?p WHERE { ?p property:P1001 resource:Q184 . ?p rdf:type ontology:Q12737077 }
member of the House of Representatives of Belarus Deputy Prime Minister of the Republic of Belarus President of Belarus Minister of Architecture and Construction of Belarus Prime Minister of Belarus First Deputy Prime Minister of the Republic of Belarus Minister of Foreign Affairs of Belarus Member of the Council of the Republic of Belarus
Deputy Prime Minister of the Republic of Belarus, Prime Minister of Belarus and member of the House of Representatives of Belarus have jurisdiction over that administrative territory
Deputy Prime Minister of the Republic of Belarus Prime Minister of Belarus member of the House of Representatives of Belarus
action filter_type
action find_reverse
entity Belarus
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Valeriya Novodvorskaya']
SELECT DISTINCT ?p WHERE { ?p property:applies_to_jurisdiction resource:Belarus . ?p rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q173008 Q20937
P17
Q15617994
USER
Which administrative territories do Gyeonggi Province or Nizhnyaya Salda belong to ?
OR((Q20937,P17,c(Q15617994)), (Q173008,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20937
relation P17
action find
entity Q173008
relation P17
type Q15617994
{'OR': [['Q20937', 'P17', {'concept': 'Q15617994'}], ['Q173008', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { ?a property:P17 ?u . VALUES ( ?a ) { ( resource:Q173008 ) ( resource:Q20937 ) } } . ?u rdf:type ontology:Q15617994 }
Nizhnyaya Salda Gyeonggi Province
action filter_type
action union
action find
entity Gyeonggi Province
relation country
action find
entity Nizhnyaya Salda
relation country
type designation for an administrative territorial entity
{'OR': [['Gyeonggi Province', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nizhnyaya Salda', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { ?a property:country ?u . VALUES ( ?a ) { ( resource:Nizhnyaya_Salda ) ( resource:Gyeonggi_Province ) } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884 Q159
SYSTEM
South Korea, Russia
Q884 Q159
OR((Q20937,P17,c(Q15617994)), (Q173008,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20937
relation P17
action find
entity Q173008
relation P17
type Q15617994
[ANSWERS] Gyeonggi Province or Nizhnyaya Salda belong to
{'OR': [['Q20937', 'P17', {'concept': 'Q15617994'}], ['Q173008', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { ?a property:P17 ?u . VALUES ( ?a ) { ( resource:Q173008 ) ( resource:Q20937 ) } } . ?u rdf:type ontology:Q15617994 }
South Korea Russia
South Korea and Russia Gyeonggi Province or Nizhnyaya Salda belong to
South Korea Russia
action filter_type
action union
action find
entity Gyeonggi Province
relation country
action find
entity Nizhnyaya Salda
relation country
type designation for an administrative territorial entity
{'OR': [['Gyeonggi Province', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nizhnyaya Salda', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { ?a property:country ?u . VALUES ( ?a ) { ( resource:Nizhnyaya_Salda ) ( resource:Gyeonggi_Province ) } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19664249
P27
Q502895
USER
Are Peter T. Fox a citizen of those administrative territories ?
(Q19664249,P27,Q884) (Q19664249,P27,Q159)
action is_in
entity prev_answer
action find
entity Q19664249
relation P27
['Q19664249', 'P27', 'Q884'] ['Q19664249', 'P27', 'Q159']
ASK WHERE { VALUES ( ?x ) { ( resource:Q884 ) ( resource:Q159 ) } . resource:Q19664249 property:P27 ?x }
Peter T. Fox
action is_in
entity prev_answer
action find
entity Peter T. Fox
relation country of citizenship
['Peter T. Fox', 'country of citizenship', 'South Korea'] ['Peter T. Fox', 'country of citizenship', 'Russia']
ASK WHERE { VALUES ( ?x ) { ( resource:South_Korea ) ( resource:Russia ) } . resource:Peter_T._Fox property:country_of_citizenship ?x }
[]
common name
SYSTEM
NO
(Q19664249,P27,Q884) (Q19664249,P27,Q159)
action is_in
entity prev_answer
action find
entity Q19664249
relation P27
[ANSWER]
['Q19664249', 'P27', 'Q884'] ['Q19664249', 'P27', 'Q159']
ASK WHERE { VALUES ( ?x ) { ( resource:Q884 ) ( resource:Q159 ) } . resource:Q19664249 property:P27 ?x }
No
action is_in
entity prev_answer
action find
entity Peter T. Fox
relation country of citizenship
['Peter T. Fox', 'country of citizenship', 'South Korea'] ['Peter T. Fox', 'country of citizenship', 'Russia']
ASK WHERE { VALUES ( ?x ) { ( resource:South_Korea ) ( resource:Russia ) } . resource:Peter_T._Fox property:country_of_citizenship ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q184 Q252
P463
Q484652
USER
How many international organizations were Belarus and Indonesia a member of ?
(Q184,P463,c(Q484652)) (Q252,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q184
relation P463
type Q484652
action filter_type
action find
entity Q252
relation P463
type Q484652
['Q184', 'P463', {'concept': 'Q484652'}] ['Q252', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q184 property:P463 ?c . ?c rdf:type ontology:Q484652 . resource:Q252 property:P463 ?c . ?c rdf:type ontology:Q484652 }
Belarus Indonesia
action count
action intersection
action filter_type
action find
entity Belarus
relation member of
type international organization
action filter_type
action find
entity Indonesia
relation member of
type international organization
['Belarus', 'member of', {'concept': 'international organization'}] ['Indonesia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Belarus property:member_of ?c . ?c rdf:type ontology:international_organization . resource:Indonesia property:member_of ?c . ?c rdf:type ontology:international_organization }
[]
international organization
SYSTEM
2
Q1065 Q1043527
(Q184,P463,c(Q484652)) (Q252,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q184
relation P463
type Q484652
action filter_type
action find
entity Q252
relation P463
type Q484652
[ANSWER]
['Q184', 'P463', {'concept': 'Q484652'}] ['Q252', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q184 property:P463 ?c . ?c rdf:type ontology:Q484652 . resource:Q252 property:P463 ?c . ?c rdf:type ontology:Q484652 }
United Nations Multilateral Investment Guarantee Agency
2
action count
action intersection
action filter_type
action find
entity Belarus
relation member of
type international organization
action filter_type
action find
entity Indonesia
relation member of
type international organization
['Belarus', 'member of', {'concept': 'international organization'}] ['Indonesia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Belarus property:member_of ?c . ?c rdf:type ontology:international_organization . resource:Indonesia property:member_of ?c . ?c rdf:type ontology:international_organization }
[]