Simple Question (Direct)
Simple Question
Q7791111
P21
Q290
USER
What is the sex of Thomas J. McKean ?
(Q7791111,P21,c(Q290))
action filter_type
action find
entity Q7791111
relation P21
type Q290
['Q7791111', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q7791111 property:P21 ?f }
Thomas J. McKean
action filter_type
action find
entity Thomas J. McKean
relation gender
type sex
['Thomas J. McKean', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Thomas_J._McKean property:gender ?f }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7791111,P21,c(Q290))
action filter_type
action find
entity Q7791111
relation P21
type Q290
The sex of Thomas J. McKean is the [ANSWER]
['Q7791111', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q7791111 property:P21 ?f }
male
The sex of Thomas J. McKean is the male
male
action filter_type
action find
entity Thomas J. McKean
relation gender
type sex
['Thomas J. McKean', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Thomas_J._McKean property:gender ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7791111
P106
Q12737077
USER
What are the professions of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7791111
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q7791111 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Thomas J. McKean
action filter_type
action find
entity Thomas J. McKean
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Thomas_J._McKean property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q82955 Q189290
SYSTEM
politician, officer
Q82955 Q189290
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7791111
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q7791111 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
politician officer
The professions of that person are the politician and officer
politician officer
action filter_type
action find
entity Thomas J. McKean
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Thomas_J._McKean property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2861874
P106
Q502895
USER
Do Armand Jacquey have a job as those occupations ?
(Q2861874,P106,Q82955) (Q2861874,P106,Q189290)
action is_in
entity prev_answer
action find
entity Q2861874
relation P106
['Q2861874', 'P106', 'Q82955'] ['Q2861874', 'P106', 'Q189290']
ASK WHERE { resource:Q2861874 property:P106 ?f . VALUES ( ?f ) { ( resource:Q82955 ) ( resource:Q189290 ) } }
Armand Jacquey
action is_in
entity prev_answer
action find
entity Armand Jacquey
relation occupation
['Armand Jacquey', 'occupation', 'politician'] ['Armand Jacquey', 'occupation', 'officer']
ASK WHERE { resource:Armand_Jacquey property:occupation ?f . VALUES ( ?f ) { ( resource:politician ) ( resource:officer ) } }
[]
common name
SYSTEM
YES
(Q2861874,P106,Q82955) (Q2861874,P106,Q189290)
action is_in
entity prev_answer
action find
entity Q2861874
relation P106
[ANSWER]
['Q2861874', 'P106', 'Q82955'] ['Q2861874', 'P106', 'Q189290']
ASK WHERE { resource:Q2861874 property:P106 ?f . VALUES ( ?f ) { ( resource:Q82955 ) ( resource:Q189290 ) } }
Yes
action is_in
entity prev_answer
action find
entity Armand Jacquey
relation occupation
['Armand Jacquey', 'occupation', 'politician'] ['Armand Jacquey', 'occupation', 'officer']
ASK WHERE { resource:Armand_Jacquey property:occupation ?f . VALUES ( ?f ) { ( resource:politician ) ( resource:officer ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2861874
P166
Q618779
USER
What was awarded to that person ?
action filter_type
action find
entity Q2861874
relation P166
type Q618779
SELECT DISTINCT ?j WHERE { resource:Q2861874 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Armand Jacquey
action filter_type
action find
entity Armand Jacquey
relation award received
type award
SELECT DISTINCT ?j WHERE { resource:Armand_Jacquey property:award_received ?j . ?j rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
action filter_type
action find
entity Q2861874
relation P166
type Q618779
Was [ANSWER] was awarded to that person
SELECT DISTINCT ?j WHERE { resource:Q2861874 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Knight of the Legion of Honour
Was Knight of the Legion of Honour was awarded to that person
Knight of the Legion of Honour
action filter_type
action find
entity Armand Jacquey
relation award received
type award
SELECT DISTINCT ?j WHERE { resource:Armand_Jacquey property:award_received ?j . ?j rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2861874
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q10855271,P39,c(Q12737077))
action filter_type
action find
entity Q2861874
relation P39
type Q12737077
['Q10855271', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q2861874 property:P39 ?m }
Armand Jacquey
action filter_type
action find
entity Armand Jacquey
relation position held
type occupation
['Knight of the Legion of Honour', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Armand_Jacquey property:position_held ?m }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q10855271,P39,c(Q12737077))
action filter_type
action find
entity Q2861874
relation P39
type Q12737077
Member of the French National Assembly
['Q10855271', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q2861874 property:P39 ?m }
member of the French National Assembly
Member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Armand Jacquey
relation position held
type occupation
['Knight of the Legion of Honour', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Armand_Jacquey property:position_held ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3044918 Q666656
P17
Q15617994
USER
Is that occupation situated in Großschönau ?
(Q3044918,P17,Q666656)
action is_in
entity Q666656
action find
entity Q3044918
relation P17
['Q3044918', 'P17', 'Q666656']
ASK WHERE { resource:Q3044918 property:P17 resource:Q666656 }
member of the French National Assembly Großschönau
action is_in
entity Großschönau
action find
entity member of the French National Assembly
relation country
['member of the French\xa0National Assembly', 'country', 'Großschönau']
ASK WHERE { resource:member_of_the_French National_Assembly property:country resource:Großschönau }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3044918,P17,Q666656)
action is_in
entity Q666656
action find
entity Q3044918
relation P17
[ANSWER]
['Q3044918', 'P17', 'Q666656']
ASK WHERE { resource:Q3044918 property:P17 resource:Q666656 }
No
action is_in
entity Großschönau
action find
entity member of the French National Assembly
relation country
['member of the French\xa0National Assembly', 'country', 'Großschönau']
ASK WHERE { resource:member_of_the_French National_Assembly property:country resource:Großschönau }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2829573 Q3044918
P27 P17
Q15617994
USER
Which administrative territories are member of the French National Assembly located in or are Alain Birbaum an inhabitant of ?
OR((Q3044918,P17,c(Q15617994)), (Q2829573,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3044918
relation P17
action find
entity Q2829573
relation P27
type Q15617994
{'OR': [['Q3044918', 'P17', {'concept': 'Q15617994'}], ['Q2829573', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3044918 property:P17 ?d } UNION { resource:Q2829573 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Alain Birbaum member of the French National Assembly
action filter_type
action union
action find
entity member of the French National Assembly
relation country
action find
entity Alain Birbaum
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Alain Birbaum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:member_of_the_French National_Assembly property:country ?d } UNION { resource:Alain_Birbaum property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q39
SYSTEM
France, Switzerland
Q142 Q39
OR((Q3044918,P17,c(Q15617994)), (Q2829573,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3044918
relation P17
action find
entity Q2829573
relation P27
type Q15617994
[ANSWERS] are member of the French National Assembly located in or are Alain Birbaum an inhabitant of
{'OR': [['Q3044918', 'P17', {'concept': 'Q15617994'}], ['Q2829573', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3044918 property:P17 ?d } UNION { resource:Q2829573 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
France Switzerland
France and Switzerland are member of the French National Assembly located in or are Alain Birbaum an inhabitant of
France Switzerland
action filter_type
action union
action find
entity member of the French National Assembly
relation country
action find
entity Alain Birbaum
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Alain Birbaum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:member_of_the_French National_Assembly property:country ?d } UNION { resource:Alain_Birbaum property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18410195
P495
Q838948
USER
Did Yaloms Cure originate in those administrative territories ?
(Q18410195,P495,Q142) (Q18410195,P495,Q39)
action is_in
entity prev_answer
action find
entity Q18410195
relation P495
['Q18410195', 'P495', 'Q142'] ['Q18410195', 'P495', 'Q39']
ASK WHERE { resource:Q18410195 property:P495 ?c . VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q39 ) } }
Yaloms Cure
action is_in
entity prev_answer
action find
entity Yaloms Cure
relation country of origin
['Yaloms Cure', 'country of origin', 'France'] ['Yaloms Cure', 'country of origin', 'Switzerland']
ASK WHERE { resource:Yaloms_Cure property:country_of_origin ?c . VALUES ( ?c ) { ( resource:France ) ( resource:Switzerland ) } }
[]
work of art
SYSTEM
YES
(Q18410195,P495,Q142) (Q18410195,P495,Q39)
action is_in
entity prev_answer
action find
entity Q18410195
relation P495
[ANSWER]
['Q18410195', 'P495', 'Q142'] ['Q18410195', 'P495', 'Q39']
ASK WHERE { resource:Q18410195 property:P495 ?c . VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q39 ) } }
Yes
action is_in
entity prev_answer
action find
entity Yaloms Cure
relation country of origin
['Yaloms Cure', 'country of origin', 'France'] ['Yaloms Cure', 'country of origin', 'Switzerland']
ASK WHERE { resource:Yaloms_Cure property:country_of_origin ?c . VALUES ( ?c ) { ( resource:France ) ( resource:Switzerland ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3044918 Q11722106 Q5329046
P17
Q15617994
USER
Is member of the French National Assembly present in Шестоперово and East Noble School Corporation ?
(Q3044918,P17,Q11722106) (Q3044918,P17,Q5329046)
action is_in
entity Q3044918
action intersection
action find_reverse
entity Q11722106
relation P17
action find_reverse
entity Q5329046
relation P17
['Q3044918', 'P17', 'Q11722106'] ['Q3044918', 'P17', 'Q5329046']
ASK WHERE { resource:Q3044918 property:P17 resource:Q11722106 . resource:Q3044918 property:P17 resource:Q5329046 }
member of the French National Assembly Шестоперово East Noble School Corporation
action is_in
entity member of the French National Assembly
action intersection
action find_reverse
entity Шестоперово
relation country
action find_reverse
entity East Noble School Corporation
relation country
['member of the French\xa0National Assembly', 'country', 'Шестоперово'] ['member of the French\xa0National Assembly', 'country', 'East Noble School Corporation']
ASK WHERE { resource:member_of_the_French National_Assembly property:country resource:Шестоперово . resource:member_of_the_French National_Assembly property:country resource:East_Noble_School_Corporation }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3044918,P17,Q11722106) (Q3044918,P17,Q5329046)
action is_in
entity Q3044918
action intersection
action find_reverse
entity Q11722106
relation P17
action find_reverse
entity Q5329046
relation P17
[ANSWER]
['Q3044918', 'P17', 'Q11722106'] ['Q3044918', 'P17', 'Q5329046']
ASK WHERE { resource:Q3044918 property:P17 resource:Q11722106 . resource:Q3044918 property:P17 resource:Q5329046 }
No
action is_in
entity member of the French National Assembly
action intersection
action find_reverse
entity Шестоперово
relation country
action find_reverse
entity East Noble School Corporation
relation country
['member of the French\xa0National Assembly', 'country', 'Шестоперово'] ['member of the French\xa0National Assembly', 'country', 'East Noble School Corporation']
ASK WHERE { resource:member_of_the_French National_Assembly property:country resource:Шестоперово . resource:member_of_the_French National_Assembly property:country resource:East_Noble_School_Corporation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q230
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with approximately the same number of administrative territories as Georgia ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q230 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?r = ?p ) }
Georgia
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Georgia property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r = ?p ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 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 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 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with approximately the same number of administrative territories as Georgia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q230 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?r = ?p ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium 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 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 Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland hold diplomatic relationship with approximately the same number of administrative territories as Georgia
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Georgia property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r = ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q39
P530
Q15617994 Q15617994
USER
And what about Switzerland?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q39 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?d ) }
Switzerland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Switzerland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Switzerland property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?d ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 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 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 approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q39 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?d ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium 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 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
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Switzerland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Switzerland property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?d ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5406284
P530
Q1048835
USER
Do Vichayal District have tactful political relations with those administrative territories ?
(Q5406284,P530,Q230) (Q5406284,P530,Q55) (Q5406284,P530,Q36)
action is_in
entity prev_answer
action find
entity Q5406284
relation P530
['Q5406284', 'P530', 'Q230'] ['Q5406284', 'P530', 'Q55'] ['Q5406284', 'P530', 'Q36']
ASK WHERE { VALUES ( ?m ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q5406284 property:P530 ?m }
Vichayal District
action is_in
entity prev_answer
action find
entity Vichayal District
relation diplomatic relation
['Vichayal District', 'diplomatic relation', 'Georgia'] ['Vichayal District', 'diplomatic relation', 'Netherlands'] ['Vichayal District', 'diplomatic relation', 'Poland']
ASK WHERE { VALUES ( ?m ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Vichayal_District property:diplomatic_relation ?m }
[]
political territorial entity
SYSTEM
NO
(Q5406284,P530,Q230) (Q5406284,P530,Q55) (Q5406284,P530,Q36)
action is_in
entity prev_answer
action find
entity Q5406284
relation P530
[ANSWER]
['Q5406284', 'P530', 'Q230'] ['Q5406284', 'P530', 'Q55'] ['Q5406284', 'P530', 'Q36']
ASK WHERE { VALUES ( ?m ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q5406284 property:P530 ?m }
No
action is_in
entity prev_answer
action find
entity Vichayal District
relation diplomatic relation
['Vichayal District', 'diplomatic relation', 'Georgia'] ['Vichayal District', 'diplomatic relation', 'Netherlands'] ['Vichayal District', 'diplomatic relation', 'Poland']
ASK WHERE { VALUES ( ?m ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Vichayal_District property:diplomatic_relation ?m }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26546425 Q3044918
P17
Q15617994
USER
Which administrative territories are member of the French National Assembly or 30, Market Street situated in ?
OR((Q3044918,P17,c(Q15617994)), (Q26546425,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3044918
relation P17
action find
entity Q26546425
relation P17
type Q15617994
{'OR': [['Q3044918', 'P17', {'concept': 'Q15617994'}], ['Q26546425', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q3044918 property:P17 ?u } UNION { resource:Q26546425 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
30, Market Street member of the French National Assembly
action filter_type
action union
action find
entity member of the French National Assembly
relation country
action find
entity 30, Market Street
relation country
type designation for an administrative territorial entity
{'OR': [['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}], ['30, Market Street', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:member_of_the_French National_Assembly property:country ?u } UNION { resource:30,_Market_Street property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q145
SYSTEM
France, United Kingdom
Q142 Q145
OR((Q3044918,P17,c(Q15617994)), (Q26546425,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3044918
relation P17
action find
entity Q26546425
relation P17
type Q15617994
[ANSWERS] are member of the French National Assembly or 30, Market Street situated in
{'OR': [['Q3044918', 'P17', {'concept': 'Q15617994'}], ['Q26546425', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q3044918 property:P17 ?u } UNION { resource:Q26546425 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
France United Kingdom
France and United Kingdom are member of the French National Assembly or 30, Market Street situated in
France United Kingdom
action filter_type
action union
action find
entity member of the French National Assembly
relation country
action find
entity 30, Market Street
relation country
type designation for an administrative territorial entity
{'OR': [['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}], ['30, Market Street', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:member_of_the_French National_Assembly property:country ?u } UNION { resource:30,_Market_Street property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q26546425
P17
Q15617994
USER
How many administrative territories do 30, Market Street belong to ?
(Q26546425,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26546425
relation P17
type Q15617994
['Q26546425', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q26546425 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
30, Market Street
action count
action filter_type
action find
entity 30, Market Street
relation country
type designation for an administrative territorial entity
['30, Market Street', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:30,_Market_Street property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q26546425,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26546425
relation P17
type Q15617994
[ANSWER]
['Q26546425', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q26546425 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity 30, Market Street
relation country
type designation for an administrative territorial entity
['30, Market Street', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:30,_Market_Street property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]