Simple Question (Direct)
Simple Question
Q716449
P1344
Q18608583
USER
Which recurring sporting event did Zhang Yuehong participate in ?
(Q716449,P1344,c(Q18608583))
action filter_type
action find
entity Q716449
relation P1344
type Q18608583
['Q716449', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?p WHERE { resource:Q716449 property:P1344 ?p . ?p rdf:type ontology:Q18608583 }
Zhang Yuehong
action filter_type
action find
entity Zhang Yuehong
relation participant of
type recurring sporting event
['Zhang Yuehong', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?p WHERE { resource:Zhang_Yuehong property:participant_of ?p . ?p rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q494906
SYSTEM
2002 Asian Games
Q494906
(Q716449,P1344,c(Q18608583))
action filter_type
action find
entity Q716449
relation P1344
type Q18608583
Zhang Yuehong participated in [ANSWER]
['Q716449', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?p WHERE { resource:Q716449 property:P1344 ?p . ?p rdf:type ontology:Q18608583 }
2002 Asian Games
Zhang Yuehong participated in 2002 Asian Games
2002 Asian Games
action filter_type
action find
entity Zhang Yuehong
relation participant of
type recurring sporting event
['Zhang Yuehong', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?p WHERE { resource:Zhang_Yuehong property:participant_of ?p . ?p rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q716449
P19
Q1048835
USER
Which political territory is the place of birth of Zhang Yuehong ?
(Q716449,P19,c(Q1048835))
action filter_type
action find
entity Q716449
relation P19
type Q1048835
['Q716449', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q716449 property:P19 ?x . ?x rdf:type ontology:Q1048835 }
Zhang Yuehong
action filter_type
action find
entity Zhang Yuehong
relation place of birth
type political territorial entity
['Zhang Yuehong', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Zhang_Yuehong property:place_of_birth ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q11720
SYSTEM
Shenyang
Q11720
(Q716449,P19,c(Q1048835))
action filter_type
action find
entity Q716449
relation P19
type Q1048835
[ANSWER] is the place of birth of Zhang Yuehong
['Q716449', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q716449 property:P19 ?x . ?x rdf:type ontology:Q1048835 }
Shenyang
Shenyang is the place of birth of Zhang Yuehong
Shenyang
action filter_type
action find
entity Zhang Yuehong
relation place of birth
type political territorial entity
['Zhang Yuehong', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Zhang_Yuehong property:place_of_birth ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q11720 Q18415736
P19
Q502895
USER
Does Adil Nurmemet have birthplace at that political territory ?
(Q18415736,P19,Q11720)
action is_in
entity Q18415736
action find
entity Q11720
relation P19
['Q18415736', 'P19', 'Q11720']
ASK WHERE { resource:Q11720 property:P19 resource:Q18415736 }
Shenyang Adil Nurmemet
action is_in
entity Adil Nurmemet
action find
entity Shenyang
relation place of birth
['Adil Nurmemet', 'place of birth', 'Shenyang']
ASK WHERE { resource:Shenyang property:place_of_birth resource:Adil_Nurmemet }
[]
common name
SYSTEM
NO
(Q18415736,P19,Q11720)
action is_in
entity Q18415736
action find
entity Q11720
relation P19
[ANSWER]
['Q18415736', 'P19', 'Q11720']
ASK WHERE { resource:Q11720 property:P19 resource:Q18415736 }
No
action is_in
entity Adil Nurmemet
action find
entity Shenyang
relation place of birth
['Adil Nurmemet', 'place of birth', 'Shenyang']
ASK WHERE { resource:Shenyang property:place_of_birth resource:Adil_Nurmemet }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1036
P530
Q1048835 Q15617994
USER
How many administrative territories have ambassadorial relations with approximately the same number of political territories as Uganda ?
(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 Q1036
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q1036 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?w ) WHERE { ?g property:P530 ?y . ?g rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } GROUP BY ?g } }
Uganda
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 Uganda
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 ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Uganda property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?w ) WHERE { ?g property:diplomatic_relation ?y . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?g } }
[]
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 Q1036
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q1036 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?w ) WHERE { ?g property:P530 ?y . ?g rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } GROUP BY ?g } }
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 Uganda
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 ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Uganda property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?w ) WHERE { ?g property:diplomatic_relation ?y . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?g } }
[]