Simple Question (Direct)
Simple Question
Q1080116
P106
Q12737077
USER
Which occupation has Christian Hain as his/her 's career ?
(Q1080116,P106,c(Q12737077))
action filter_type
action find
entity Q1080116
relation P106
type Q12737077
['Q1080116', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q1080116 property:P106 ?z }
Christian Hain
action filter_type
action find
entity Christian Hain
relation occupation
type occupation
['Christian Hain', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Christian_Hain property:occupation ?z }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1080116,P106,c(Q12737077))
action filter_type
action find
entity Q1080116
relation P106
type Q12737077
Player [ANSWER] has Christian Hain as his/her 's career
['Q1080116', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q1080116 property:P106 ?z }
association football player
Player association football player has Christian Hain as his/her 's career
association football player
action filter_type
action find
entity Christian Hain
relation occupation
type occupation
['Christian Hain', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Christian_Hain property:occupation ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1080116
P27
Q1048835
USER
Which political territory is the country of citizenship of Christian Hain ?
(Q1080116,P27,c(Q1048835))
action filter_type
action find
entity Q1080116
relation P27
type Q1048835
['Q1080116', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q1080116 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Christian Hain
action filter_type
action find
entity Christian Hain
relation country of citizenship
type political territorial entity
['Christian Hain', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Christian_Hain property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1080116,P27,c(Q1048835))
action filter_type
action find
entity Q1080116
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Christian Hain
['Q1080116', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q1080116 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of Christian Hain
Germany
action filter_type
action find
entity Christian Hain
relation country of citizenship
type political territorial entity
['Christian Hain', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Christian_Hain property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q180516 Q43229
USER
How many rooms and organizations were that political territory a member of ?
(Q183,P463,c(Q180516)) (Q183,P463,c(Q43229)) (Q183,P463,c(Q180516)) (Q183,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q183
relation P463
type Q180516
action filter_type
action find
entity Q183
relation P463
type Q43229
['Q183', 'P463', {'concept': 'Q180516'}] ['Q183', 'P463', {'concept': 'Q43229'}] ['Q183', 'P463', {'concept': 'Q180516'}] ['Q183', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { resource:Q183 property:P463 ?v . ?v rdf:type ontology:Q180516 } UNION { resource:Q183 property:P463 ?v . ?v rdf:type ontology:Q43229 } }
action count
action union
action filter_type
action find
entity Germany
relation member of
type room
action filter_type
action find
entity Germany
relation member of
type organization
['Germany', 'member of', {'concept': 'room'}] ['Germany', 'member of', {'concept': 'organization'}] ['Germany', 'member of', {'concept': 'room'}] ['Germany', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { resource:Germany property:member_of ?v . ?v rdf:type ontology:room } UNION { resource:Germany property:member_of ?v . ?v rdf:type ontology:organization } }
[]
room organization
SYSTEM
1 rooms and 19 organizations
Q125761 Q340195 Q191384 Q177773 Q899770 Q141720 Q41550 Q689859 Q386120 Q3772571 Q82151 Q7809 Q189946 Q656801 Q151991 Q61923 Q699466 Q161549 Q7825 Q827525
(Q183,P463,c(Q180516)) (Q183,P463,c(Q43229)) (Q183,P463,c(Q180516)) (Q183,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q183
relation P463
type Q180516
action filter_type
action find
entity Q183
relation P463
type Q43229
[ANSWER]
['Q183', 'P463', {'concept': 'Q180516'}] ['Q183', 'P463', {'concept': 'Q43229'}] ['Q183', 'P463', {'concept': 'Q180516'}] ['Q183', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { resource:Q183 property:P463 ?v . ?v rdf:type ontology:Q180516 } UNION { resource:Q183 property:P463 ?v . ?v rdf:type ontology:Q43229 } }
International Civil Aviation Organization African Development Bank International Bank for Reconstruction and Development World Intellectual Property Organization International Centre for Settlement of Investment Disputes European Air Transport Command Organisation for Economic Co-operation and Development International Fund for Agricultural Development United Nations Industrial Development Organization Caribbean Development Bank Food and Agriculture Organization of the United Nations United Nations Educational, Scientific and Cultural Organization Western European Union International Finance Corporation European Southern Observatory World Tourism Organization International Commission for the Protection of the Danube River European Coal and Steel Community World Trade Organization International Development Association
1 rooms and 19 organizations
action count
action union
action filter_type
action find
entity Germany
relation member of
type room
action filter_type
action find
entity Germany
relation member of
type organization
['Germany', 'member of', {'concept': 'room'}] ['Germany', 'member of', {'concept': 'organization'}] ['Germany', 'member of', {'concept': 'room'}] ['Germany', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { resource:Germany property:member_of ?v . ?v rdf:type ontology:room } UNION { resource:Germany property:member_of ?v . ?v rdf:type ontology:organization } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have ambassadorial relations with atmost 3 political territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?v ) WHERE { ?m property:P530 ?c . ?c rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?v <= 3 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?v ) WHERE { ?m property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?v <= 3 ) }
[]
political territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[ANSWERS] have ambassadorial relations with atmost 3 political territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?v ) WHERE { ?m property:P530 ?c . ?c rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?v <= 3 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
United States of America, Russia and Netherlands have ambassadorial relations with atmost 3 political territories
United States of America Russia Netherlands
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?v ) WHERE { ?m property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?v <= 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with atleast 17 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 17
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?w ) WHERE { ?y property:P530 ?c . ?y rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?w >= 17 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?w ) WHERE { ?y property:diplomatic_relation ?c . ?y rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?w >= 17 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 17
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?w ) WHERE { ?y property:P530 ?c . ?y rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?w >= 17 ) }
Germany Australia Canada
3
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?w ) WHERE { ?y property:diplomatic_relation ?c . ?y rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?w >= 17 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with around 103 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 103
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?l ) WHERE { ?a property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?a } . FILTER ( ?l = 103 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 103
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?l ) WHERE { ?a property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?a } . FILTER ( ?l = 103 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 103
[ANSWERS] have diplomatic relationships with around 103 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?l ) WHERE { ?a property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?a } . FILTER ( ?l = 103 ) }
Germany Australia
Germany and Australia have diplomatic relationships with around 103 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 103
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?l ) WHERE { ?a property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?a } . FILTER ( ?l = 103 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7440672
P530
Q15617994
USER
Do Sealy Independent School District have ambassadorial relations with those political territories ?
(Q7440672,P530,Q183) (Q7440672,P530,Q408)
action is_in
entity prev_answer
action find
entity Q7440672
relation P530
['Q7440672', 'P530', 'Q183'] ['Q7440672', 'P530', 'Q408']
ASK WHERE { resource:Q7440672 property:P530 ?v . VALUES ( ?v ) { ( resource:Q183 ) ( resource:Q408 ) } }
Sealy Independent School District
action is_in
entity prev_answer
action find
entity Sealy Independent School District
relation diplomatic relation
['Sealy Independent School District', 'diplomatic relation', 'Germany'] ['Sealy Independent School District', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Sealy_Independent_School_District property:diplomatic_relation ?v . VALUES ( ?v ) { ( resource:Germany ) ( resource:Australia ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7440672,P530,Q183) (Q7440672,P530,Q408)
action is_in
entity prev_answer
action find
entity Q7440672
relation P530
[ANSWER]
['Q7440672', 'P530', 'Q183'] ['Q7440672', 'P530', 'Q408']
ASK WHERE { resource:Q7440672 property:P530 ?v . VALUES ( ?v ) { ( resource:Q183 ) ( resource:Q408 ) } }
No
action is_in
entity prev_answer
action find
entity Sealy Independent School District
relation diplomatic relation
['Sealy Independent School District', 'diplomatic relation', 'Germany'] ['Sealy Independent School District', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Sealy_Independent_School_District property:diplomatic_relation ?v . VALUES ( ?v ) { ( resource:Germany ) ( resource:Australia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P610
Q14524493
USER
Which is the zenith of Germany ?
(Q183,P610,c(Q14524493))
action filter_type
action find
entity Q183
relation P610
type Q14524493
['Q183', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?d WHERE { resource:Q183 property:P610 ?d . ?d rdf:type ontology:Q14524493 }
Germany
action filter_type
action find
entity Germany
relation highest point
type terrain
['Germany', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?d WHERE { resource:Germany property:highest_point ?d . ?d rdf:type ontology:terrain }
[]
terrain
Q3375
SYSTEM
Zugspitze
Q3375
(Q183,P610,c(Q14524493))
action filter_type
action find
entity Q183
relation P610
type Q14524493
The zenith of Germany is the [ANSWER]
['Q183', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?d WHERE { resource:Q183 property:P610 ?d . ?d rdf:type ontology:Q14524493 }
Zugspitze
The zenith of Germany is the Zugspitze
Zugspitze
action filter_type
action find
entity Germany
relation highest point
type terrain
['Germany', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?d WHERE { resource:Germany property:highest_point ?d . ?d rdf:type ontology:terrain }
[]