Simple Question (Direct)
Simple Question
Q1726910
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Nicola Bardola ?
(Q1726910,P27,c(Q15617994))
action filter_type
action find
entity Q1726910
relation P27
type Q15617994
['Q1726910', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1726910 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Nicola Bardola
action filter_type
action find
entity Nicola Bardola
relation country of citizenship
type designation for an administrative territorial entity
['Nicola Bardola', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Nicola_Bardola property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q1726910,P27,c(Q15617994))
action filter_type
action find
entity Q1726910
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Nicola Bardola
['Q1726910', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1726910 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Switzerland
Switzerland is the country of citizenship of Nicola Bardola
Switzerland
action filter_type
action find
entity Nicola Bardola
relation country of citizenship
type designation for an administrative territorial entity
['Nicola Bardola', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Nicola_Bardola property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39
P530
Q15617994
USER
Which administrative territories have diplomatic relations with that one ?
(Q39,P530,c(Q15617994))
action filter_type
action find
entity Q39
relation P530
type Q15617994
['Q39', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q39 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Switzerland
action filter_type
action find
entity Switzerland
relation diplomatic relation
type designation for an administrative territorial entity
['Switzerland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Switzerland property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q252 Q347
SYSTEM
Italy, Indonesia, Liechtenstein
Q38 Q252 Q347
(Q39,P530,c(Q15617994))
action filter_type
action find
entity Q39
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with that one
['Q39', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q39 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Italy Indonesia Liechtenstein
Italy, Indonesia and Liechtenstein have diplomatic relations with that one
Italy Indonesia Liechtenstein
action filter_type
action find
entity Switzerland
relation diplomatic relation
type designation for an administrative territorial entity
['Switzerland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Switzerland property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q39
Q1048835
USER
And which political territory?
(Q39,P530,c(Q1048835))
action filter_type
action find
entity Q39
relation P530
type Q1048835
['Q39', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q39 property:P530 ?y . ?y rdf:type ontology:Q1048835 }
Switzerland
action filter_type
action find
entity Switzerland
relation diplomatic relation
type political territorial entity
['Switzerland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Switzerland property:diplomatic_relation ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(Q39,P530,c(Q1048835))
action filter_type
action find
entity Q39
relation P530
type Q1048835
[ANSWERS]
['Q39', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q39 property:P530 ?y . ?y rdf:type ontology:Q1048835 }
Germany Australia Canada
Germany Australia Canada
action filter_type
action find
entity Switzerland
relation diplomatic relation
type political territorial entity
['Switzerland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Switzerland property:diplomatic_relation ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q842490
P17
Q484652
USER
Are Organisation for the Prohibition of Chemical Weapons located in those political territories ?
(Q842490,P17,Q183) (Q842490,P17,Q408) (Q842490,P17,Q16)
action is_in
entity prev_answer
action find
entity Q842490
relation P17
['Q842490', 'P17', 'Q183'] ['Q842490', 'P17', 'Q408'] ['Q842490', 'P17', 'Q16']
ASK WHERE { VALUES ( ?s ) { ( resource:Q183 ) ( resource:Q408 ) ( resource:Q16 ) } . resource:Q842490 property:P17 ?s }
Organisation for the Prohibition of Chemical Weapons
action is_in
entity prev_answer
action find
entity Organisation for the Prohibition of Chemical Weapons
relation country
['Organisation for the Prohibition of Chemical Weapons', 'country', 'Germany'] ['Organisation for the Prohibition of Chemical Weapons', 'country', 'Australia'] ['Organisation for the Prohibition of Chemical Weapons', 'country', 'Canada']
ASK WHERE { VALUES ( ?s ) { ( resource:Germany ) ( resource:Australia ) ( resource:Canada ) } . resource:Organisation_for_the_Prohibition_of_Chemical_Weapons property:country ?s }
[]
international organization
SYSTEM
NO
(Q842490,P17,Q183) (Q842490,P17,Q408) (Q842490,P17,Q16)
action is_in
entity prev_answer
action find
entity Q842490
relation P17
[ANSWER]
['Q842490', 'P17', 'Q183'] ['Q842490', 'P17', 'Q408'] ['Q842490', 'P17', 'Q16']
ASK WHERE { VALUES ( ?s ) { ( resource:Q183 ) ( resource:Q408 ) ( resource:Q16 ) } . resource:Q842490 property:P17 ?s }
No
action is_in
entity prev_answer
action find
entity Organisation for the Prohibition of Chemical Weapons
relation country
['Organisation for the Prohibition of Chemical Weapons', 'country', 'Germany'] ['Organisation for the Prohibition of Chemical Weapons', 'country', 'Australia'] ['Organisation for the Prohibition of Chemical Weapons', 'country', 'Canada']
ASK WHERE { VALUES ( ?s ) { ( resource:Germany ) ( resource:Australia ) ( resource:Canada ) } . resource:Organisation_for_the_Prohibition_of_Chemical_Weapons property:country ?s }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q347 Q31 Q213
P530
Q15617994
USER
Is Liechtenstein known to have diplomatic connections with Belgium and Czech Republic ?
(Q347,P530,Q31) (Q347,P530,Q213)
action is_in
entity Q347
action intersection
action find_reverse
entity Q31
relation P530
action find_reverse
entity Q213
relation P530
['Q347', 'P530', 'Q31'] ['Q347', 'P530', 'Q213']
ASK WHERE { resource:Q347 property:P530 resource:Q31 . resource:Q347 property:P530 resource:Q213 }
Liechtenstein Belgium Czech Republic
action is_in
entity Liechtenstein
action intersection
action find_reverse
entity Belgium
relation diplomatic relation
action find_reverse
entity Czech Republic
relation diplomatic relation
['Liechtenstein', 'diplomatic relation', 'Belgium'] ['Liechtenstein', 'diplomatic relation', 'Czech Republic']
ASK WHERE { resource:Liechtenstein property:diplomatic_relation resource:Belgium . resource:Liechtenstein property:diplomatic_relation resource:Czech_Republic }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q347,P530,Q31) (Q347,P530,Q213)
action is_in
entity Q347
action intersection
action find_reverse
entity Q31
relation P530
action find_reverse
entity Q213
relation P530
[ANSWER]
['Q347', 'P530', 'Q31'] ['Q347', 'P530', 'Q213']
ASK WHERE { resource:Q347 property:P530 resource:Q31 . resource:Q347 property:P530 resource:Q213 }
Yes
action is_in
entity Liechtenstein
action intersection
action find_reverse
entity Belgium
relation diplomatic relation
action find_reverse
entity Czech Republic
relation diplomatic relation
['Liechtenstein', 'diplomatic relation', 'Belgium'] ['Liechtenstein', 'diplomatic relation', 'Czech Republic']
ASK WHERE { resource:Liechtenstein property:diplomatic_relation resource:Belgium . resource:Liechtenstein property:diplomatic_relation resource:Czech_Republic }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q347
P19
Q502895
USER
How many people have birthplace at Liechtenstein ?
(c(Q502895),P19,Q347)
action count
action filter_type
action find_reverse
entity Q347
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q347']
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ontology:Q502895 . ?m property:P19 resource:Q347 }
Liechtenstein
action count
action filter_type
action find_reverse
entity Liechtenstein
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Liechtenstein']
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ontology:common_name . ?m property:place_of_birth resource:Liechtenstein }
[]
common name
SYSTEM
26
Q16575821 Q3543806 Q7146169 Q3804756 Q18648721 Q1584845 Q7286996 Q7606044 Q6111186 Q7790394 Q710303 Q16546484 Q1733434 Q3737553 Q16589767 Q4495468 Q5111690 Q4397715 Q3961127 Q1280919 Q376043 Q6776890 Q8030110 Q3876888 Q5492964 Q4497031
(c(Q502895),P19,Q347)
action count
action filter_type
action find_reverse
entity Q347
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q347']
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ontology:Q502895 . ?m property:P19 resource:Q347 }
Marco Ender Daniel Kaufmann Patrick Burgmeier Ivan Quintans Michael Koller Harry Zech Ralf Oehri Stefan Büchel Roland Moser Thomas Hanselmann Ronny Daniel Telser Karl Wilhelm Schlegel Fabian Eberle Peter Klaunzer Rony Hanselmann Christoph Biedermann Raphael Rohrer Simon Pirker Patrick Hefti Andreas Gerster Martin Wille Wolfgang Ospelt Niklas Kieber Franz Schädler Martin Heeb
26
action count
action filter_type
action find_reverse
entity Liechtenstein
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Liechtenstein']
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ontology:common_name . ?m property:place_of_birth resource:Liechtenstein }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q252 Q222
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Indonesia and Albania ?
(Q252,P530,c(Q15617994)) (Q222,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q252
relation P530
type Q15617994
action filter_type
action find
entity Q222
relation P530
type Q15617994
['Q252', 'P530', {'concept': 'Q15617994'}] ['Q222', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Q252 property:P530 ?b . ?b rdf:type ontology:Q15617994 . resource:Q222 property:P530 ?b . ?b rdf:type ontology:Q15617994 }
Indonesia Albania
action count
action intersection
action filter_type
action find
entity Indonesia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Albania
relation diplomatic relation
type designation for an administrative territorial entity
['Indonesia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Albania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Indonesia property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Albania property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q30 Q38
(Q252,P530,c(Q15617994)) (Q222,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q252
relation P530
type Q15617994
action filter_type
action find
entity Q222
relation P530
type Q15617994
[ANSWER]
['Q252', 'P530', {'concept': 'Q15617994'}] ['Q222', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Q252 property:P530 ?b . ?b rdf:type ontology:Q15617994 . resource:Q222 property:P530 ?b . ?b rdf:type ontology:Q15617994 }
United States of America Italy
2
action count
action intersection
action filter_type
action find
entity Indonesia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Albania
relation diplomatic relation
type designation for an administrative territorial entity
['Indonesia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Albania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Indonesia property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Albania property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic associations with around 1 political territory ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?v ) WHERE { ?n property:P530 ?e . ?e rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?v = 1 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?v ) WHERE { ?n property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?v = 1 ) }
[]
political territorial entity designation for an administrative territorial entity
Q55 Q148 Q184
SYSTEM
Netherlands, People's Republic of China, Belarus
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 approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[ANSWERS] have diplomatic associations with around 1 political territory
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?v ) WHERE { ?n property:P530 ?e . ?e rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?v = 1 ) }
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
Netherlands, People's Republic of China and Belarus have diplomatic associations with around 1 political territory
Netherlands People's Republic of China Belarus
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?v ) WHERE { ?n property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?v = 1 ) }
[]