Simple Question (Direct)
Simple Question
Q1567118
P19
Q15617994
USER
Where was Rolf Römer born ?
(Q1567118,P19,c(Q15617994))
action filter_type
action find
entity Q1567118
relation P19
type Q15617994
['Q1567118', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1567118 property:P19 ?o }
Rolf Römer
action filter_type
action find
entity Rolf Römer
relation place of birth
type designation for an administrative territorial entity
['Rolf Römer', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rolf_Römer property:place_of_birth ?o }
[]
designation for an administrative territorial entity
Q12444
SYSTEM
Königswinter
Q12444
(Q1567118,P19,c(Q15617994))
action filter_type
action find
entity Q1567118
relation P19
type Q15617994
Rolf Römer was born in [ANSWER]
['Q1567118', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1567118 property:P19 ?o }
Königswinter
Rolf Römer was born in Königswinter
Königswinter
action filter_type
action find
entity Rolf Römer
relation place of birth
type designation for an administrative territorial entity
['Rolf Römer', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rolf_Römer property:place_of_birth ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1567118
P57
Q838948
USER
Which work of art has that person as its director ?
(c(Q838948),P57,Q12444)
action filter_type
action find_reverse
entity Q1567118
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q12444']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . ?r property:P57 resource:Q1567118 }
Rolf Römer
action filter_type
action find_reverse
entity Rolf Römer
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Königswinter']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . ?r property:director resource:Rolf_Römer }
[]
work of art
Q1592170
SYSTEM
He, Du!
Q1592170
(c(Q838948),P57,Q12444)
action filter_type
action find_reverse
entity Q1567118
relation P57
type Q838948
[ANSWER] has that person as its director
[{'concept': 'Q838948'}, 'P57', 'Q12444']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . ?r property:P57 resource:Q1567118 }
He, Du!
He, Du! has that person as its director
He, Du!
action filter_type
action find_reverse
entity Rolf Römer
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Königswinter']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . ?r property:director resource:Rolf_Römer }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P161
Q502895
USER
How many people starred in that work of art ?
(Q1592170,P161,c(Q502895))
action count
action filter_type
action find
entity Q1592170
relation P161
type Q502895
['Q1592170', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q1592170 property:P161 ?a . ?a rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity He, Du!
relation cast member
type common name
['He, Du!', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:He,_Du! property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
19
Q1629609 Q1223523 Q1733120 Q2162951 Q566034 Q78327 Q96660 Q1698625 Q2589736 Q1223008 Q1567118 Q916148 Q1452187 Q1443876 Q1527631 Q85373 Q97117 Q1725151 Q2177656
(Q1592170,P161,c(Q502895))
action count
action filter_type
action find
entity Q1592170
relation P161
type Q502895
[ANSWER]
['Q1592170', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q1592170 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Horst Kube Dietmar Richter-Reinick Karl Sturm Roland Oehme Annekathrin Bürger Carola Braunbock Dieter Mann Johannes Wieke Wolfgang Greese Dieter Wien Rolf Römer Brigitte Beier Fred Alexander Frank Obermann Giso Weißbach Petra Hinze Günter Schubert Ursula Braun Ruth Kommerell
19
action count
action filter_type
action find
entity He, Du!
relation cast member
type common name
['He, Du!', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:He,_Du! property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12444
P17
Q1048835
USER
Which political territory is Königswinter present in ?
(Q12444,P17,c(Q1048835))
action filter_type
action find
entity Q12444
relation P17
type Q1048835
['Q12444', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q12444 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Königswinter
action filter_type
action find
entity Königswinter
relation country
type political territorial entity
['Königswinter', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Königswinter property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q12444,P17,c(Q1048835))
action filter_type
action find
entity Q12444
relation P17
type Q1048835
Which political territory is Königswinter present in
['Q12444', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q12444 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Germany
Which political territory is Königswinter present in
Germany
action filter_type
action find
entity Königswinter
relation country
type political territorial entity
['Königswinter', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Königswinter property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7830276
Q1048835
USER
And how about Townsville City?
(Q7830276,P17,c(Q1048835))
action filter_type
action find
entity Q7830276
relation P17
type Q1048835
['Q7830276', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q7830276 property:P17 ?a }
Townsville City
action filter_type
action find
entity Townsville City
relation country
type political territorial entity
['Townsville City', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Townsville_City property:country ?a }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q7830276,P17,c(Q1048835))
action filter_type
action find
entity Q7830276
relation P17
type Q1048835
[ANSWER]
['Q7830276', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q7830276 property:P17 ?a }
Australia
Australia
action filter_type
action find
entity Townsville City
relation country
type political territorial entity
['Townsville City', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Townsville_City property:country ?a }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7635185 Q183
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relations with Germany or are Suha Mică River present in ?
OR((Q183,P530,c(Q15617994)), (Q7635185,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q7635185
relation P17
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q7635185', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q7635185 property:P17 ?v } UNION { resource:Q183 property:P530 ?v } } . ?v rdf:type ontology:Q15617994 }
Suha Mică River Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Suha Mică River
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Suha Mică River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Suha_Mică_River property:country ?v } UNION { resource:Germany property:diplomatic_relation ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1032 Q736 Q657 Q668 Q734 Q1019 Q711 Q912 Q28 Q212
SYSTEM
Some of them are Niger, Ecuador, Chad, India, Guyana, Madagascar, Mongolia, Mali, Hungary, Ukraine
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q183,P530,c(Q15617994)), (Q7635185,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q7635185
relation P17
type Q15617994
[ANSWERS] have diplomatic relations with Germany or are Suha Mică River present in
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q7635185', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q7635185 property:P17 ?v } UNION { resource:Q183 property:P530 ?v } } . ?v rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Niger, Ecuador, Chad, India, Guyana, Madagascar, Mongolia, Mali, Hungary and Ukraine have diplomatic relations with Germany or are Suha Mică River present in
Niger Ecuador Chad India Guyana Madagascar Mongolia Mali Hungary Ukraine
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Suha Mică River
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Suha Mică River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Suha_Mică_River property:country ?v } UNION { resource:Germany property:diplomatic_relation ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with min number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?x ) { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?o ) WHERE { ?a rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 . ?a property:P530 ?e } GROUP BY ?a } } . FILTER ( ?n = ?x ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?n ) WHERE { ?b rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 . ?b property:P530 ?z } GROUP BY ?b } }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?x ) { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?o ) WHERE { ?a rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?e } GROUP BY ?a } } . FILTER ( ?n = ?x ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?n ) WHERE { ?b rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:diplomatic_relation ?z } GROUP BY ?b } }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relationships with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?x ) { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?o ) WHERE { ?a rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 . ?a property:P530 ?e } GROUP BY ?a } } . FILTER ( ?n = ?x ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?n ) WHERE { ?b rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 . ?b property:P530 ?z } GROUP BY ?b } }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have diplomatic relationships with min number of administrative territories
Solomon Islands Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?x ) { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?o ) WHERE { ?a rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?e } GROUP BY ?a } } . FILTER ( ?n = ?x ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?n ) WHERE { ?b rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:diplomatic_relation ?z } GROUP BY ?b } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17351822
P1001
Q1292279
USER
Do Papua New Guinea–Solomon Islands border have jurisdiction over those political territories ?
(Q17351822,P1001,Q685) (Q17351822,P1001,Q691)
action is_in
entity prev_answer
action find
entity Q17351822
relation P1001
['Q17351822', 'P1001', 'Q685'] ['Q17351822', 'P1001', 'Q691']
ASK WHERE { VALUES ( ?l ) { ( resource:Q685 ) ( resource:Q691 ) } . resource:Q17351822 property:P1001 ?l }
Papua New Guinea–Solomon Islands border
action is_in
entity prev_answer
action find
entity Papua New Guinea–Solomon Islands border
relation applies to jurisdiction
['Papua New Guinea–Solomon Islands border', 'applies to jurisdiction', 'Solomon Islands'] ['Papua New Guinea–Solomon Islands border', 'applies to jurisdiction', 'Papua New Guinea']
ASK WHERE { VALUES ( ?l ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } . resource:Papua_New_Guinea–Solomon_Islands_border property:applies_to_jurisdiction ?l }
[]
political border
SYSTEM
YES
(Q17351822,P1001,Q685) (Q17351822,P1001,Q691)
action is_in
entity prev_answer
action find
entity Q17351822
relation P1001
[ANSWER]
['Q17351822', 'P1001', 'Q685'] ['Q17351822', 'P1001', 'Q691']
ASK WHERE { VALUES ( ?l ) { ( resource:Q685 ) ( resource:Q691 ) } . resource:Q17351822 property:P1001 ?l }
Yes
action is_in
entity prev_answer
action find
entity Papua New Guinea–Solomon Islands border
relation applies to jurisdiction
['Papua New Guinea–Solomon Islands border', 'applies to jurisdiction', 'Solomon Islands'] ['Papua New Guinea–Solomon Islands border', 'applies to jurisdiction', 'Papua New Guinea']
ASK WHERE { VALUES ( ?l ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } . resource:Papua_New_Guinea–Solomon_Islands_border property:applies_to_jurisdiction ?l }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q739
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with lesser number of political territories than Colombia ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q739
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { FILTER ( ?h < ?x ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q739 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1048835 } GROUP BY ?e } }
Colombia
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Colombia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { FILTER ( ?h < ?x ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Colombia property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?e } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
132
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q736 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q739
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { FILTER ( ?h < ?x ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q739 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1048835 } GROUP BY ?e } }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan 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 Lesotho Montenegro Georgia Kazakhstan Malta San Marino Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Ecuador 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
132
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Colombia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { FILTER ( ?h < ?x ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Colombia property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?e } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1030
P530
Q15617994 Q1048835
USER
And also tell me about Namibia?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1030
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { FILTER ( ?u < ?k ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q1030 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?u ) WHERE { ?y rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 . ?h property:P530 ?y } GROUP BY ?y } }
Namibia
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Namibia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { FILTER ( ?u < ?k ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Namibia property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?u ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity . ?h property:diplomatic_relation ?y } GROUP BY ?y } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
132
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q736 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1030
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { FILTER ( ?u < ?k ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q1030 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?u ) WHERE { ?y rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 . ?h property:P530 ?y } GROUP BY ?y } }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan 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 Lesotho Montenegro Georgia Kazakhstan Malta San Marino Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Ecuador 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
132
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Namibia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { FILTER ( ?u < ?k ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Namibia property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?u ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity . ?h property:diplomatic_relation ?y } GROUP BY ?y } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q985603 Q12444
P20
Q502895
USER
Which people have Königswinter or Tegueste, Santa Cruz de Tenerife as the area of death ?
OR((c(Q502895),P20,Q12444), (c(Q502895),P20,Q985603))
action filter_type
action union
action find_reverse
entity Q12444
relation P20
action find_reverse
entity Q985603
relation P20
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q12444'], [{'concept': 'Q502895'}, 'P20', 'Q985603']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P20 resource:Q12444 } UNION { ?o property:P20 resource:Q985603 } } . ?o rdf:type ontology:Q502895 }
Tegueste, Santa Cruz de Tenerife Königswinter
action filter_type
action union
action find_reverse
entity Königswinter
relation place of death
action find_reverse
entity Tegueste, Santa Cruz de Tenerife
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Königswinter'], [{'concept': 'common name'}, 'place of death', 'Tegueste, Santa Cruz de Tenerife']]}
SELECT DISTINCT ?o WHERE { { { ?o property:place_of_death resource:Königswinter } UNION { ?o property:place_of_death resource:Tegueste,_Santa_Cruz_de_Tenerife } } . ?o rdf:type ontology:common_name }
[]
common name
Q1506557 Q1721853 Q875306 Q122405 Q1947472 Q763089 Q1337977 Q566240 Q1357687 Q1506241
SYSTEM
Some of them are Georg Broich-Oppert, Kajus Köster, Carlo Mense, Konrad Bleuler, Herman Maximilien de Burlet, August Mirbach, Emma Bachem, Annemarie Ackermann, Ernst Burdach, Georg Trzeciak
Q13468918 Q1506557 Q1357687 Q1839513 Q95946 Q1603431 Q1721853 Q875306 Q1337977 Q566240 Q122405 Q1441271 Q604069 Q1656930 Q1506241 Q763089 Q363033 Q1947472 Q1697725 Q1437979 Q105087
OR((c(Q502895),P20,Q12444), (c(Q502895),P20,Q985603))
action filter_type
action union
action find_reverse
entity Q12444
relation P20
action find_reverse
entity Q985603
relation P20
type Q502895
[ANSWERS] have Königswinter or Tegueste, Santa Cruz de Tenerife as the area of death
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q12444'], [{'concept': 'Q502895'}, 'P20', 'Q985603']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P20 resource:Q12444 } UNION { ?o property:P20 resource:Q985603 } } . ?o rdf:type ontology:Q502895 }
Paul Spinat Georg Broich-Oppert Ernst Burdach Henri van Wermeskerken Ferdinand Mülhens Helmut Brandt Kajus Köster Carlo Mense Emma Bachem Annemarie Ackermann Konrad Bleuler Hermann Franz Mariaux Antonio Pereira y Ruiz Joachim Duckart Georg Trzeciak August Mirbach Friedrich Jacob Adolf Kreutz Herman Maximilien de Burlet Johannes Hubertus Leonardus de Haas Herbert Schneider Siegfried Wischnewski
Georg Broich-Oppert, Kajus Köster, Carlo Mense, Konrad Bleuler, Herman Maximilien de Burlet, August Mirbach, Emma Bachem, Annemarie Ackermann, Ernst Burdach and Georg Trzeciak have Königswinter or Tegueste, Santa Cruz de Tenerife as the area of death
Georg Broich-Oppert Kajus Köster Carlo Mense Konrad Bleuler Herman Maximilien de Burlet August Mirbach Emma Bachem Annemarie Ackermann Ernst Burdach Georg Trzeciak
action filter_type
action union
action find_reverse
entity Königswinter
relation place of death
action find_reverse
entity Tegueste, Santa Cruz de Tenerife
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Königswinter'], [{'concept': 'common name'}, 'place of death', 'Tegueste, Santa Cruz de Tenerife']]}
SELECT DISTINCT ?o WHERE { { { ?o property:place_of_death resource:Königswinter } UNION { ?o property:place_of_death resource:Tegueste,_Santa_Cruz_de_Tenerife } } . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q985603
P17
Q15617994
USER
How many administrative territories are Tegueste, Santa Cruz de Tenerife situated in ?
(Q985603,P17,c(Q15617994))
action count
action filter_type
action find
entity Q985603
relation P17
type Q15617994
['Q985603', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q985603 property:P17 ?v }
Tegueste, Santa Cruz de Tenerife
action count
action filter_type
action find
entity Tegueste, Santa Cruz de Tenerife
relation country
type designation for an administrative territorial entity
['Tegueste, Santa Cruz de Tenerife', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tegueste,_Santa_Cruz_de_Tenerife property:country ?v }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q985603,P17,c(Q15617994))
action count
action filter_type
action find
entity Q985603
relation P17
type Q15617994
[ANSWER]
['Q985603', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q985603 property:P17 ?v }
Spain
1
action count
action filter_type
action find
entity Tegueste, Santa Cruz de Tenerife
relation country
type designation for an administrative territorial entity
['Tegueste, Santa Cruz de Tenerife', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tegueste,_Santa_Cruz_de_Tenerife property:country ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q6753989
P17
Q15617994
USER
And what about Maple Shade School District?
(Q6753989,P17,c(Q15617994))
action count
action filter_type
action find
entity Q6753989
relation P17
type Q15617994
['Q6753989', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q6753989 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Maple Shade School District
action count
action filter_type
action find
entity Maple Shade School District
relation country
type designation for an administrative territorial entity
['Maple Shade School District', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Maple_Shade_School_District property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q6753989,P17,c(Q15617994))
action count
action filter_type
action find
entity Q6753989
relation P17
type Q15617994
[ANSWER]
['Q6753989', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q6753989 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Maple Shade School District
relation country
type designation for an administrative territorial entity
['Maple Shade School District', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Maple_Shade_School_District property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6318984
Q15617994
USER
And what about Marcabal District?
(Q6318984,P17,c(Q15617994))
action count
action filter_type
action find
entity Q6318984
relation P17
type Q15617994
['Q6318984', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q6318984 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Marcabal District
action count
action filter_type
action find
entity Marcabal District
relation country
type designation for an administrative territorial entity
['Marcabal District', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Marcabal_District property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q6318984,P17,c(Q15617994))
action count
action filter_type
action find
entity Q6318984
relation P17
type Q15617994
[ANSWER]
['Q6318984', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q6318984 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Marcabal District
relation country
type designation for an administrative territorial entity
['Marcabal District', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Marcabal_District property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q166142
USER
Which applications did exactly 3 people dub for ?
(c(Q166142),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 3
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?z ) WHERE { ?x property:P725 ?i . ?x rdf:type ontology:Q166142 . ?i rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?z = 3 ) }
action equal
action find_tuple_counts
relation voice actor
type application
type common name
value 3
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?z ) WHERE { ?x property:voice_actor ?i . ?x rdf:type ontology:application . ?i rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?z = 3 ) }
[]
common name application
Q1154327 Q1191681 Q538150
SYSTEM
XIII, Battle Vixens, To Love-Ru
Q1191681 Q538150 Q1154327 Q2473832
(c(Q166142),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 3
Exactly 3 people dubbed Battle [ANSWERS]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?z ) WHERE { ?x property:P725 ?i . ?x rdf:type ontology:Q166142 . ?i rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?z = 3 ) }
Battle Vixens To Love-Ru XIII Tantei Opera Milky Holmes
Exactly 3 people dubbed Battle XIII, Battle Vixens and To Love-Ru
XIII Battle Vixens To Love-Ru
action equal
action find_tuple_counts
relation voice actor
type application
type common name
value 3
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?z ) WHERE { ?x property:voice_actor ?i . ?x rdf:type ontology:application . ?i rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?z = 3 ) }
[]