Simple Question (Direct)
Simple Question
Q3616589
P39
Q12737077
USER
What were the positions for which Anelito Barontini were appointed ?
(Q3616589,P39,c(Q12737077))
action filter_type
action find
entity Q3616589
relation P39
type Q12737077
['Q3616589', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3616589 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Anelito Barontini
action filter_type
action find
entity Anelito Barontini
relation position held
type occupation
['Anelito Barontini', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Anelito_Barontini property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q18558478 Q30185
SYSTEM
member of the Chamber of Deputies of the Italian Republic, mayor
Q18558478 Q30185
(Q3616589,P39,c(Q12737077))
action filter_type
action find
entity Q3616589
relation P39
type Q12737077
[ANSWERS]
['Q3616589', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3616589 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
member of the Chamber of Deputies of the Italian Republic mayor
Member of the Chamber of Deputies of the Italian Republic and mayor
member of the Chamber of Deputies of the Italian Republic mayor
action filter_type
action find
entity Anelito Barontini
relation position held
type occupation
['Anelito Barontini', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Anelito_Barontini property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3616589
P937
Q56061
USER
Where did Anelito Barontini work ?
(Q3616589,P937,c(Q56061))
action filter_type
action find
entity Q3616589
relation P937
type Q56061
['Q3616589', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3616589 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Anelito Barontini
action filter_type
action find
entity Anelito Barontini
relation work location
type administrative territorial entity
['Anelito Barontini', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Anelito_Barontini property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3616589,P937,c(Q56061))
action filter_type
action find
entity Q3616589
relation P937
type Q56061
Anelito Barontini worked in [ANSWER]
['Q3616589', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3616589 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Rome
Anelito Barontini worked in Rome
Rome
action filter_type
action find
entity Anelito Barontini
relation work location
type administrative territorial entity
['Anelito Barontini', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Anelito_Barontini property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3616589
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q220,P27,c(Q15617994))
action filter_type
action find
entity Q3616589
relation P27
type Q15617994
['Q220', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q3616589 property:P27 ?f }
Anelito Barontini
action filter_type
action find
entity Anelito Barontini
relation country of citizenship
type designation for an administrative territorial entity
['Rome', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Anelito_Barontini property:country_of_citizenship ?f }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q220,P27,c(Q15617994))
action filter_type
action find
entity Q3616589
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q220', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q3616589 property:P27 ?f }
Italy
Italy is the country of citizenship of that person
Italy
action filter_type
action find
entity Anelito Barontini
relation country of citizenship
type designation for an administrative territorial entity
['Rome', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Anelito_Barontini property:country_of_citizenship ?f }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q38 Q1035443
P840
Q838948
USER
Does Caravaggio have its setting located at that administrative territory ?
(Q1035443,P840,Q38)
action is_in
entity Q38
action find
entity Q1035443
relation P840
['Q1035443', 'P840', 'Q38']
ASK WHERE { resource:Q1035443 property:P840 resource:Q38 }
Italy Caravaggio
action is_in
entity Italy
action find
entity Caravaggio
relation narrative location
['Caravaggio', 'narrative location', 'Italy']
ASK WHERE { resource:Caravaggio property:narrative_location resource:Italy }
[]
work of art
SYSTEM
YES
(Q1035443,P840,Q38)
action is_in
entity Q38
action find
entity Q1035443
relation P840
[ANSWER]
['Q1035443', 'P840', 'Q38']
ASK WHERE { resource:Q1035443 property:P840 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Caravaggio
relation narrative location
['Caravaggio', 'narrative location', 'Italy']
ASK WHERE { resource:Caravaggio property:narrative_location resource:Italy }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3616589 Q532954
P20
Q15617994
USER
Did the expiration of Anelito Barontini occur Ursensollen ?
(Q3616589,P20,Q532954)
action is_in
entity Q532954
action find
entity Q3616589
relation P20
['Q3616589', 'P20', 'Q532954']
ASK WHERE { resource:Q3616589 property:P20 resource:Q532954 }
Anelito Barontini Ursensollen
action is_in
entity Ursensollen
action find
entity Anelito Barontini
relation place of death
['Anelito Barontini', 'place of death', 'Ursensollen']
ASK WHERE { resource:Anelito_Barontini property:place_of_death resource:Ursensollen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3616589,P20,Q532954)
action is_in
entity Q532954
action find
entity Q3616589
relation P20
[ANSWER]
['Q3616589', 'P20', 'Q532954']
ASK WHERE { resource:Q3616589 property:P20 resource:Q532954 }
No
action is_in
entity Ursensollen
action find
entity Anelito Barontini
relation place of death
['Anelito Barontini', 'place of death', 'Ursensollen']
ASK WHERE { resource:Anelito_Barontini property:place_of_death resource:Ursensollen }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with atmost 71 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 71
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?z <= 71 ) }
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 71
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?z <= 71 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 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 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 71
[ANSWERS] hold diplomatic relationship with atmost 71 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?z <= 71 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil 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 Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Brazil, United States of America and Georgia hold diplomatic relationship with atmost 71 administrative territories
Brazil United States of America Georgia
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 71
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?z <= 71 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with atmost 7 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 7
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?f <= 7 ) . { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?f ) WHERE { ?s property:P530 ?o . ?s rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?s } }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 7
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?f <= 7 ) . { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?f ) WHERE { ?s property:diplomatic_relation ?o . ?s rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 7
[ANSWERS] are known to have diplomatic connections with atmost 7 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?f <= 7 ) . { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?f ) WHERE { ?s property:P530 ?o . ?s rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?s } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand are known to have diplomatic connections with atmost 7 administrative territories
Denmark Austria New Zealand
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 7
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?f <= 7 ) . { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?f ) WHERE { ?s property:diplomatic_relation ?o . ?s rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4190913
P530
Q1048835
USER
Do Zelenyi Pod have ambassadorial relations with those ones ?
(Q4190913,P530,Q35) (Q4190913,P530,Q40) (Q4190913,P530,Q664)
action is_in
entity prev_answer
action find
entity Q4190913
relation P530
['Q4190913', 'P530', 'Q35'] ['Q4190913', 'P530', 'Q40'] ['Q4190913', 'P530', 'Q664']
ASK WHERE { resource:Q4190913 property:P530 ?l . VALUES ( ?l ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
Zelenyi Pod
action is_in
entity prev_answer
action find
entity Zelenyi Pod
relation diplomatic relation
['Zelenyi Pod', 'diplomatic relation', 'Denmark'] ['Zelenyi Pod', 'diplomatic relation', 'Austria'] ['Zelenyi Pod', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Zelenyi_Pod property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
political territorial entity
SYSTEM
NO
(Q4190913,P530,Q35) (Q4190913,P530,Q40) (Q4190913,P530,Q664)
action is_in
entity prev_answer
action find
entity Q4190913
relation P530
[ANSWER]
['Q4190913', 'P530', 'Q35'] ['Q4190913', 'P530', 'Q40'] ['Q4190913', 'P530', 'Q664']
ASK WHERE { resource:Q4190913 property:P530 ?l . VALUES ( ?l ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
No
action is_in
entity prev_answer
action find
entity Zelenyi Pod
relation diplomatic relation
['Zelenyi Pod', 'diplomatic relation', 'Denmark'] ['Zelenyi Pod', 'diplomatic relation', 'Austria'] ['Zelenyi Pod', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Zelenyi_Pod property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q155 Q1019
P463
Q484652
USER
How many international organizations were Brazil and Madagascar a member of ?
(Q155,P463,c(Q484652)) (Q1019,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q155
relation P463
type Q484652
action filter_type
action find
entity Q1019
relation P463
type Q484652
['Q155', 'P463', {'concept': 'Q484652'}] ['Q1019', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l rdf:type ontology:Q484652 . resource:Q155 property:P463 ?l . resource:Q1019 property:P463 ?l . ?l rdf:type ontology:Q484652 }
Brazil Madagascar
action count
action intersection
action filter_type
action find
entity Brazil
relation member of
type international organization
action filter_type
action find
entity Madagascar
relation member of
type international organization
['Brazil', 'member of', {'concept': 'international organization'}] ['Madagascar', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l rdf:type ontology:international_organization . resource:Brazil property:member_of ?l . resource:Madagascar property:member_of ?l . ?l rdf:type ontology:international_organization }
[]
international organization
SYSTEM
2
Q1065 Q1043527
(Q155,P463,c(Q484652)) (Q1019,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q155
relation P463
type Q484652
action filter_type
action find
entity Q1019
relation P463
type Q484652
[ANSWER]
['Q155', 'P463', {'concept': 'Q484652'}] ['Q1019', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l rdf:type ontology:Q484652 . resource:Q155 property:P463 ?l . resource:Q1019 property:P463 ?l . ?l rdf:type ontology:Q484652 }
United Nations Multilateral Investment Guarantee Agency
2
action count
action intersection
action filter_type
action find
entity Brazil
relation member of
type international organization
action filter_type
action find
entity Madagascar
relation member of
type international organization
['Brazil', 'member of', {'concept': 'international organization'}] ['Madagascar', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l rdf:type ontology:international_organization . resource:Brazil property:member_of ?l . resource:Madagascar property:member_of ?l . ?l rdf:type ontology:international_organization }
[]