Simple Question (Direct)
Simple Question
Q15917658
P1066
Q502895
USER
Which person was the supervisor of Anna Abrahams ?
(Q15917658,P1066,c(Q502895))
action filter_type
action find
entity Q15917658
relation P1066
type Q502895
['Q15917658', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q15917658 property:P1066 ?e . ?e rdf:type ontology:Q502895 }
Anna Abrahams
action filter_type
action find
entity Anna Abrahams
relation student of
type common name
['Anna Abrahams', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Anna_Abrahams property:student_of ?e . ?e rdf:type ontology:common_name }
[]
common name
Q2166599
SYSTEM
Petrus Van der Velden
Q2166599
(Q15917658,P1066,c(Q502895))
action filter_type
action find
entity Q15917658
relation P1066
type Q502895
[ANSWER] was the supervisor of Anna Abrahams
['Q15917658', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q15917658 property:P1066 ?e . ?e rdf:type ontology:Q502895 }
Petrus Van der Velden
Petrus Van der Velden was the supervisor of Anna Abrahams
Petrus Van der Velden
action filter_type
action find
entity Anna Abrahams
relation student of
type common name
['Anna Abrahams', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Anna_Abrahams property:student_of ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15917658
P802
Q502895
USER
Who was a notable student of Anna Abrahams ?
(c(Q502895),P802,Q15917658)
action filter_type
action find_reverse
entity Q15917658
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q15917658']
SELECT DISTINCT ?j WHERE { ?j property:P802 resource:Q15917658 . ?j rdf:type ontology:Q502895 }
Anna Abrahams
action filter_type
action find_reverse
entity Anna Abrahams
relation student
type common name
[{'concept': 'common name'}, 'student', 'Anna Abrahams']
SELECT DISTINCT ?j WHERE { ?j property:student resource:Anna_Abrahams . ?j rdf:type ontology:common_name }
[]
common name
Q2166599
SYSTEM
Petrus Van der Velden
Q2166599
(c(Q502895),P802,Q15917658)
action filter_type
action find_reverse
entity Q15917658
relation P802
type Q502895
A notable student of Anna Abrahams was Jan [ANSWER]
[{'concept': 'Q502895'}, 'P802', 'Q15917658']
SELECT DISTINCT ?j WHERE { ?j property:P802 resource:Q15917658 . ?j rdf:type ontology:Q502895 }
Petrus Van der Velden
A notable student of Anna Abrahams was Jan Petrus Van der Velden
Petrus Van der Velden
action filter_type
action find_reverse
entity Anna Abrahams
relation student
type common name
[{'concept': 'common name'}, 'student', 'Anna Abrahams']
SELECT DISTINCT ?j WHERE { ?j property:student resource:Anna_Abrahams . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2166599
P21
Q290
USER
Which sex does that person possess ?
(Q2166599,P21,c(Q290))
action filter_type
action find
entity Q2166599
relation P21
type Q290
['Q2166599', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q2166599 property:P21 ?v . ?v rdf:type ontology:Q290 }
Petrus Van der Velden
action filter_type
action find
entity Petrus Van der Velden
relation gender
type sex
['Petrus Van der Velden', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Petrus_Van_der_Velden property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2166599,P21,c(Q290))
action filter_type
action find
entity Q2166599
relation P21
type Q290
That person possesses a [ANSWER]
['Q2166599', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q2166599 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Petrus Van der Velden
relation gender
type sex
['Petrus Van der Velden', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Petrus_Van_der_Velden property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2166599
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q2166599
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2166599 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Petrus Van der Velden
action filter_type
action find
entity Petrus Van der Velden
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Petrus_Van_der_Velden property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q1028181 Q11569986
SYSTEM
painter, printmaker
Q1028181 Q11569986
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q2166599
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2166599 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
painter printmaker
The professions of that person are painter and printmaker
painter printmaker
action filter_type
action find
entity Petrus Van der Velden
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Petrus_Van_der_Velden property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2166599
P20
Q56061
USER
Where did the demise of Petrus Van der Velden occur ?
(Q2166599,P20,c(Q56061))
action filter_type
action find
entity Q2166599
relation P20
type Q56061
['Q2166599', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2166599 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Petrus Van der Velden
action filter_type
action find
entity Petrus Van der Velden
relation place of death
type administrative territorial entity
['Petrus Van der Velden', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Petrus_Van_der_Velden property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q37100
SYSTEM
Auckland
Q37100
(Q2166599,P20,c(Q56061))
action filter_type
action find
entity Q2166599
relation P20
type Q56061
The demise of Petrus Van der Velden occurred in [ANSWER]
['Q2166599', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2166599 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Auckland
The demise of Petrus Van der Velden occurred in Auckland
Auckland
action filter_type
action find
entity Petrus Van der Velden
relation place of death
type administrative territorial entity
['Petrus Van der Velden', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Petrus_Van_der_Velden property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2166599
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q37100,P19,c(Q56061))
action filter_type
action find
entity Q2166599
relation P19
type Q56061
['Q37100', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2166599 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Petrus Van der Velden
action filter_type
action find
entity Petrus Van der Velden
relation place of birth
type administrative territorial entity
['Auckland', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Petrus_Van_der_Velden property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34370
SYSTEM
Rotterdam
Q34370
(Q37100,P19,c(Q56061))
action filter_type
action find
entity Q2166599
relation P19
type Q56061
That person was born in [ANSWER]
['Q37100', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2166599 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Rotterdam
That person was born in Rotterdam
Rotterdam
action filter_type
action find
entity Petrus Van der Velden
relation place of birth
type administrative territorial entity
['Auckland', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Petrus_Van_der_Velden property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2166599
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q34370,P27,c(Q1048835))
action filter_type
action find
entity Q2166599
relation P27
type Q1048835
['Q34370', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q2166599 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Petrus Van der Velden
action filter_type
action find
entity Petrus Van der Velden
relation country of citizenship
type political territorial entity
['Rotterdam', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Petrus_Van_der_Velden property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664
SYSTEM
New Zealand
Q664
(Q34370,P27,c(Q1048835))
action filter_type
action find
entity Q2166599
relation P27
type Q1048835
That person belongs to a [ANSWER]
['Q34370', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q2166599 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
New Zealand
That person belongs to a New Zealand
New Zealand
action filter_type
action find
entity Petrus Van der Velden
relation country of citizenship
type political territorial entity
['Rotterdam', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Petrus_Van_der_Velden property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q117
P530
Q1048835 Q15617994
USER
How many administrative territories have ambassadorial relations with approximately the same number of political territories as Ghana ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q117
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?u ) WHERE { ?a property:P530 ?h . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?a } . FILTER ( ?u = ?d ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q117 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } }
Ghana
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Ghana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?u ) WHERE { ?a property:diplomatic_relation ?h . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?a } . FILTER ( ?u = ?d ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Ghana property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
150
Q702 Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 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 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 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 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q117
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?u ) WHERE { ?a property:P530 ?h . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?a } . FILTER ( ?u = ?d ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q117 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador 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 Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan 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 United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
150
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Ghana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?u ) WHERE { ?a property:diplomatic_relation ?h . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?a } . FILTER ( ?u = ?d ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Ghana property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q34
P530
Q1048835 Q15617994
USER
And also tell me about Sweden?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q34
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?o ) WHERE { ?d rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 . ?i property:P530 ?d } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Q34 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?o = ?a ) }
Sweden
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?o ) WHERE { ?d rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?d } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Sweden property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o = ?a ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
81
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q851 Q733 Q734 Q736 Q233 Q20 Q1041 Q27 Q843 Q184 Q1029 Q1028 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q34
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?o ) WHERE { ?d rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 . ?i property:P530 ?d } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Q34 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?o = ?a ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Saudi Arabia Paraguay Guyana Ecuador Malta Norway Senegal Ireland Pakistan Belarus Mozambique Morocco Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
81
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?o ) WHERE { ?d rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?d } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Sweden property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o = ?a ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26992121 Q37100
P17
Q1048835
USER
Which political territories are Auckland or 1988 Austrian Badminton Championships situated in ?
OR((Q37100,P17,c(Q1048835)), (Q26992121,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q37100
relation P17
action find
entity Q26992121
relation P17
type Q1048835
{'OR': [['Q37100', 'P17', {'concept': 'Q1048835'}], ['Q26992121', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q26992121 property:P17 ?d } UNION { resource:Q37100 property:P17 ?d } } . ?d rdf:type ontology:Q1048835 }
1988 Austrian Badminton Championships Auckland
action filter_type
action union
action find
entity Auckland
relation country
action find
entity 1988 Austrian Badminton Championships
relation country
type political territorial entity
{'OR': [['Auckland', 'country', {'concept': 'political territorial entity'}], ['1988 Austrian Badminton Championships', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:1988_Austrian_Badminton_Championships property:country ?d } UNION { resource:Auckland property:country ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q40
SYSTEM
New Zealand, Austria
Q664 Q40
OR((Q37100,P17,c(Q1048835)), (Q26992121,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q37100
relation P17
action find
entity Q26992121
relation P17
type Q1048835
Auckland or 1988 Austrian Badminton Championships are situated in [ANSWERS]
{'OR': [['Q37100', 'P17', {'concept': 'Q1048835'}], ['Q26992121', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q26992121 property:P17 ?d } UNION { resource:Q37100 property:P17 ?d } } . ?d rdf:type ontology:Q1048835 }
New Zealand Austria
Auckland or 1988 Austrian Badminton Championships are situated in New Zealand and Austria
New Zealand Austria
action filter_type
action union
action find
entity Auckland
relation country
action find
entity 1988 Austrian Badminton Championships
relation country
type political territorial entity
{'OR': [['Auckland', 'country', {'concept': 'political territorial entity'}], ['1988 Austrian Badminton Championships', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:1988_Austrian_Badminton_Championships property:country ?d } UNION { resource:Auckland property:country ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with exactly 1 political territory ?
(c(Q1048835),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?j ) WHERE { ?i property:P530 ?w . ?w rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?j = 1 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?j ) WHERE { ?i property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?j = 1 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
72
Q702 Q262 Q265 Q37 Q712 Q717 Q837 Q657 Q792 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?j ) WHERE { ?i property:P530 ?w . ?w rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?j = 1 ) }
Federated States of Micronesia Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Chad El Salvador South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
72
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?j ) WHERE { ?i property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?j = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q117
P19 P21
Q502895
USER
Which people were born at Ghana and have the gender as male ?
AND((c(Q502895),P19,Q117), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q117
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q117'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P19 resource:Q117 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
male Ghana
action filter_type
action intersection
action find_reverse
entity Ghana
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Ghana'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:place_of_birth resource:Ghana . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
common name
Q7416066 Q371874 Q16234729 Q1753911 Q15992870 Q3628986 Q6943430 Q3881419 Q6962269 Q1885252
SYSTEM
Some of them are Sandeep Chowta, Emmanuel Ofosu Yeboah, Samuel Kyere, Rocky Dawuni, Ronny Coaches, Ato Delaquis, Mustapha Douglas, Oku Ampofo, Nana Arhin Duah, Kelvin Bossman
Q4665569 Q6346276 Q10450194 Q20056623 Q16146632 Q7074680 Q1612834 Q6450029 Q3881419 Q19854878 Q7508834 Q5218238 Q1396183 Q5216398 Q6893320 Q6118891 Q17101648 Q6449932 Q10555834 Q15845294 Q6893196 Q3817623 Q19938381 Q7103210 Q27064119 Q3628986 Q19958177 Q16730455 Q6967143 Q17045813 Q4665584 Q6687545 Q4670348 Q7409227 Q15711897 Q1314093 Q16729330 Q2029346 Q16679483 Q6449924 Q6962311 Q7327625 Q26405346 Q1349314 Q3637919 Q1753911 Q15735141 Q20807290 Q24007562 Q1323876 Q6497773 Q5539831 Q5083117 Q15992870 Q6284700 Q15712012 Q4873748 Q6076069 Q5345157 Q16236925 Q371874 Q1606408 Q6766494 Q6962269 Q3054116 Q20180464 Q7412300 Q5230612 Q7410213 Q6269622 Q7416066 Q16235997 Q24679282 Q5536380 Q16914121 Q50678 Q2228751 Q15109471 Q6202774 Q26463636 Q17501919 Q10467375 Q16215217 Q6159294 Q5479997 Q18237837 Q5386950 Q5336369 Q7599423 Q326523 Q16941388 Q15727474 Q6088018 Q6893254 Q10514943 Q16146209 Q7442371 Q6079416 Q6943430 Q1343548 Q17323734 Q7328114 Q3644684 Q2107714 Q327079 Q7343355 Q17612705 Q14315853 Q26235875 Q5230797 Q5230796 Q26405150 Q1522824 Q10556754 Q6425719 Q7183240 Q19904004 Q6005738 Q5576361 Q10556841 Q1885252 Q6204505 Q7175344 Q16911036 Q4666509 Q3772753 Q24679413 Q16729073 Q726895 Q2944662 Q20806689 Q4841338 Q5082326 Q7519294 Q4680999 Q26405708 Q6449960 Q7410818 Q5504576 Q6893372 Q3705988 Q7106471 Q16233756 Q6893378 Q16753247 Q21004892 Q1235098 Q5217373 Q8027414 Q5541133 Q562670 Q6076923 Q17313912 Q21142452 Q164253 Q4837389 Q21622036 Q27101918 Q2693402 Q15148898 Q16232758 Q5442133 Q7610135 Q4954947 Q16733824 Q934267 Q5400952 Q5386566 Q16234729 Q464701 Q21042828 Q1348058 Q8016428 Q6828681 Q3057121 Q24239605 Q1794910 Q24005264 Q16236204 Q16145994 Q4832646 Q4668046 Q6659727 Q6450075 Q240455 Q16236405 Q5415950 Q3783443 Q16230075 Q6450303 Q17486435 Q546121 Q13653405 Q6893218 Q14917920 Q26251725 Q21523253 Q249036 Q24572721 Q16265044 Q24150807 Q3568087 Q5984487 Q4888567 Q16216853 Q5238189 Q7299469
AND((c(Q502895),P19,Q117), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q117
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Ghana and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q117'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P19 resource:Q117 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
Abdul Mumuni Kafui Bekui Joseph Addo Yaw Yeboah Thomas Agyiri Obed Owusu Hermann Stern Kwaku Boateng Oku Ampofo Moses Mensah Sidiku Buari Daniel Nana Yeboah Joshua Clottey Daniel Alolga Akata Pore Mohammed Sannie Jacob Kwakye-Maafo Ransford Selasi Kwabena Frimpong-Boateng David Tetteh Samuel Mensah Mohammed Martin Mensah Kwabena Ampofo-Anti Abdul Aziz Yusif Orlando Wellington Abdul Mumin Ato Delaquis Abass Inussah Joshua Tijani Nasir Lamine Joseph Larweh Attamah Abdul Naza Alhassan Louis Ken-Kwofie Abu Seidu Samed Abdul Awudu Francis Narh Victor Owusu Godfred Saka Sulemanu Tetteh Charles Narkotey Kwabena Boafo Nana Poku Richard Manu Joseph Adjei Erdmann Gottreich Christaller Ben Agbee Rocky Dawuni Joseph Mensah Francis Dadzie Fred Dabanka El Anatsui Laud Quartey George Gorleku Charles Vardis Ronny Coaches Joseph Kwadjo Derrick Ediyya Mensah Bawa Mumuni Isaac Boakye Edward S. Ayensu Moustapha Quaynor Emmanuel Ofosu Yeboah Henry Acquah Mark Adu Amofah Nana Arhin Duah Enes Fermino Kusi Kwame Samuel Ocran David Addo Sampson Cudjoe Jojo Chintoh Sandeep Chowta Yusif Rahman Samuel Tetteh George Appiah Fred Sekyere John Mahama Mike Owusu William Kwasi Aboah Joe Tabiri Emmanuel Sowah Adjei Emmanuel Boateng Jones Awuah Frederick Commodore Japhet Ledo Francis Amenu Kwame Bonsu Eric Lee Eddie Obeng Stanley Aborah Peter Poreku Dery Frank adu kwame Kwesi Nyantakyi Issah Moro Mohammed Nuru Dini Joe Carr Alfred Nelson Sebastian Barnes Bismark Idan Mustapha Douglas Issah Gabriel Ahmed Terry Bonchaka Richard Nyarko Bright Bimpong Evans Nyarko Michael Cordy Robert Dabuo Ernest Ohemeng Isaac Sackey Abeku Jackson David Annas David Animle Hansen Dickson Afoakwa Patrick Villars Eric Ofori Antwi Kofi Nti Boakye Philip Boampong Nicholas Duncan-Williams Imoro Lukman Godfred Yeboah Seidu Salifu Kelvin Bossman Joachim Amartey Quaye Peter Lamptey Daniel Tagoe Abeiku Adams Godfried Donkor Kiddblack Francis Morton Edward Mahama Frank Acheampong Laryea Adjetey Baffour Kyei Charles Sampson Simon Martey Addae Kyenkyehene Latif Amadu Kwadwo Boamah Samuel Ayew Yeboah Frimpong Manso Mohammed Takiyudin Desmond Fiadjoe Osei Bonsu Isaac Donkor Mohammed Tanko Elijah Ari Abraham Attah Komla Agbeli Gbedemah Daniel Gyamfi Wisdom Fofo Agbo Zakaria Abdullai Karim Alhassan Isaac Paha Sam Okyere Thomas Agyepong George Hagan Baba Sampana Baba Mensah Maccasio Daniel Owusu Dominic Oduro Osei Mawuli Felix Baffoe Stephen Ofei Bradley Hudson-Odoi Lucy Awuni Mbun Michael Mensah Kiki Djan Eric Gawu Samuel Kyere George Boateng Joseph Aidoo Erasmus Ransford Tawiah Madjitey William Owusu Michael Blackson Ernest Papa Arko Alex Amankwah Kwamena Ahwoi Lê Văn Phú Issac Honey Abeiku Ainooson Aziz Ansah Ablade Kumah Livingstone Komla Buama Kwame Dawes Ataa Oko Isaac Ntow Evans Quao Harold Offeh Carlos Ohene Kweku Baako Jnr Livingstone Adjin Peter Turkson Hamza Zakari Mohammed Muftawu Edmund Kugbila Christopher Braun Lawrence Ati Kwesi Botchwey Samuel Duah Kwaku Ansger Otto Lawrence Lartey Wilberforce Mfum Ibrahim Basit Benjamin Fadi Kwame Yeboah David Ofei Razak Salifu
Sandeep Chowta, Emmanuel Ofosu Yeboah, Samuel Kyere, Rocky Dawuni, Ronny Coaches, Ato Delaquis, Mustapha Douglas, Oku Ampofo, Nana Arhin Duah and Kelvin Bossman were born at Ghana and have the gender as male
Sandeep Chowta Emmanuel Ofosu Yeboah Samuel Kyere Rocky Dawuni Ronny Coaches Ato Delaquis Mustapha Douglas Oku Ampofo Nana Arhin Duah Kelvin Bossman
action filter_type
action intersection
action find_reverse
entity Ghana
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Ghana'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:place_of_birth resource:Ghana . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]