Simple Question (Direct)
Simple Question
Q950365
P106
Q12737077
USER
Which occupation has Patryk Rachwał as his/her 's career ?
(Q950365,P106,c(Q12737077))
action filter_type
action find
entity Q950365
relation P106
type Q12737077
['Q950365', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q950365 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Patryk Rachwał
action filter_type
action find
entity Patryk Rachwał
relation occupation
type occupation
['Patryk Rachwał', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Patryk_Rachwał property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q950365,P106,c(Q12737077))
action filter_type
action find
entity Q950365
relation P106
type Q12737077
Player [ANSWER] has Patryk Rachwał as his/her 's career
['Q950365', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q950365 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
Player association football player has Patryk Rachwał as his/her 's career
association football player
action filter_type
action find
entity Patryk Rachwał
relation occupation
type occupation
['Patryk Rachwał', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Patryk_Rachwał property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q950365
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q950365
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q950365 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Patryk Rachwał
action filter_type
action find
entity Patryk Rachwał
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Patryk_Rachwał property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q950365
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q950365 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Poland
The Poland is that person an inhabitant of
Poland
action filter_type
action find
entity Patryk Rachwał
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Patryk_Rachwał property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2377047 Q950365
P27
Q15617994
USER
Or Aileen Manning?
OR((Q950365,P27,c(Q15617994)), (Q2377047,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q950365
relation P27
action find
entity Q2377047
relation P27
type Q15617994
{'OR': [['Q950365', 'P27', {'concept': 'Q15617994'}], ['Q2377047', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?j ) { ( resource:Q950365 ) ( resource:Q2377047 ) } . ?j property:P27 ?i } . ?i rdf:type ontology:Q15617994 }
Aileen Manning Patryk Rachwał
action filter_type
action union
action find
entity Patryk Rachwał
relation country of citizenship
action find
entity Aileen Manning
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Patryk Rachwał', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aileen Manning', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?j ) { ( resource:Patryk_Rachwał ) ( resource:Aileen_Manning ) } . ?j property:country_of_citizenship ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q36
SYSTEM
United States of America, Poland
Q30 Q36
OR((Q950365,P27,c(Q15617994)), (Q2377047,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q950365
relation P27
action find
entity Q2377047
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q950365', 'P27', {'concept': 'Q15617994'}], ['Q2377047', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?j ) { ( resource:Q950365 ) ( resource:Q2377047 ) } . ?j property:P27 ?i } . ?i rdf:type ontology:Q15617994 }
United States of America Poland
United States of America Poland
action filter_type
action union
action find
entity Patryk Rachwał
relation country of citizenship
action find
entity Aileen Manning
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Patryk Rachwał', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aileen Manning', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?j ) { ( resource:Patryk_Rachwał ) ( resource:Aileen_Manning ) } . ?j property:country_of_citizenship ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q7725634 Q201658
USER
Which administrative territories are the countries of origin of atmost 4689 literary works and film genres ?
(c(Q7725634)|c(Q201658),P495,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
value 4689
[[{'concept': 'Q7725634'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:Q7725634 ) ( ontology:Q201658 ) } . ?l rdf:type ?q } GROUP BY ?w } . FILTER ( ?g <= 4689 ) }
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
value 4689
[[{'concept': 'literary work'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:literary_work ) ( ontology:film_genre ) } . ?l rdf:type ?q } GROUP BY ?w } . FILTER ( ?g <= 4689 ) }
[]
designation for an administrative territorial entity literary work film genre
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q7725634)|c(Q201658),P495,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
value 4689
[ANSWERS] are the countries of origin of atmost 4689 literary works and film genres
[[{'concept': 'Q7725634'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:Q7725634 ) ( ontology:Q201658 ) } . ?l rdf:type ?q } GROUP BY ?w } . FILTER ( ?g <= 4689 ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the countries of origin of atmost 4689 literary works and film genres
Italy Brazil Georgia
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
value 4689
[[{'concept': 'literary work'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:literary_work ) ( ontology:film_genre ) } . ?l rdf:type ?q } GROUP BY ?w } . FILTER ( ?g <= 4689 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have ambassadorial relations with those ones ?
(Q184,P530,Q38) (Q184,P530,Q155) (Q184,P530,Q230)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q38'] ['Q184', 'P530', 'Q155'] ['Q184', 'P530', 'Q230']
ASK WHERE { VALUES ( ?s ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q184 property:P530 ?s }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Italy'] ['Belarus', 'diplomatic relation', 'Brazil'] ['Belarus', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?s ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . resource:Belarus property:diplomatic_relation ?s }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q38) (Q184,P530,Q155) (Q184,P530,Q230)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q38'] ['Q184', 'P530', 'Q155'] ['Q184', 'P530', 'Q230']
ASK WHERE { VALUES ( ?s ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q184 property:P530 ?s }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Italy'] ['Belarus', 'diplomatic relation', 'Brazil'] ['Belarus', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?s ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . resource:Belarus property:diplomatic_relation ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q455725
P710
Q13406554
USER
Which sport competitions were Wang Lin a participant of ?
(c(Q13406554),P710,Q455725)
action filter_type
action find_reverse
entity Q455725
relation P710
type Q13406554
[{'concept': 'Q13406554'}, 'P710', 'Q455725']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q13406554 . ?y property:P710 resource:Q455725 }
Wang Lin
action filter_type
action find_reverse
entity Wang Lin
relation participant
type sport competition
[{'concept': 'sport competition'}, 'participant', 'Wang Lin']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport_competition . ?y property:participant resource:Wang_Lin }
[]
sport competition
Q13861040 Q13482999
SYSTEM
2004 World Junior Badminton Championships – Women's Singles, 2007 World Junior Badminton Championships – Women's Singles
Q13861040 Q13482999
(c(Q13406554),P710,Q455725)
action filter_type
action find_reverse
entity Q455725
relation P710
type Q13406554
[ANSWERS] were Wang Lin a participant of
[{'concept': 'Q13406554'}, 'P710', 'Q455725']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q13406554 . ?y property:P710 resource:Q455725 }
2004 World Junior Badminton Championships – Women's Singles 2007 World Junior Badminton Championships – Women's Singles
2004 World Junior Badminton Championships – Women's Singles and 2007 World Junior Badminton Championships – Women's Singles were Wang Lin a participant of
2004 World Junior Badminton Championships – Women's Singles 2007 World Junior Badminton Championships – Women's Singles
action filter_type
action find_reverse
entity Wang Lin
relation participant
type sport competition
[{'concept': 'sport competition'}, 'participant', 'Wang Lin']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport_competition . ?y property:participant resource:Wang_Lin }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13861040
P641
Q349
USER
What did that sport competition participate in ?
(Q13861040,P641,c(Q349))
action filter_type
action find
entity Q13861040
relation P641
type Q349
['Q13861040', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q13861040 property:P641 ?h . ?h rdf:type ontology:Q349 }
2004 World Junior Badminton Championships – Women's Singles
action filter_type
action find
entity 2004 World Junior Badminton Championships – Women's Singles
relation sport
type sport
["2004 World Junior Badminton Championships – Women's Singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:2004_World_Junior_Badminton_Championships_–_Women's_Singles property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q13482999
SYSTEM
Did you mean 2007 World Junior Badminton Championships – Women's Singles ?
Q13861040 Q13482999
(Q13861040,P641,c(Q349)) (Q13482999,P641,c(Q349))
[ANSWER]
['Q13861040', 'P641', {'concept': 'Q349'}] ['Q13482999', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q13861040 property:P641 ?h . ?h rdf:type ontology:Q349 }
2004 World Junior Badminton Championships – Women's Singles 2007 World Junior Badminton Championships – Women's Singles
Did you mean 2007 World Junior Badminton Championships – Women's Singles ?
2007 World Junior Badminton Championships – Women's Singles
["2004 World Junior Badminton Championships – Women's Singles", 'sport', {'concept': 'sport'}] ["2007 World Junior Badminton Championships – Women's Singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:2004_World_Junior_Badminton_Championships_–_Women's_Singles property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant 2004 World Junior Badminton Championships – Women's Singles. Could you tell me the answer for that?
(Q13861040,P641,c(Q349))
Q13861040
['Q13861040', 'P641', {'concept': 'Q349'}]
["2004 World Junior Badminton Championships – Women's Singles", 'sport', {'concept': 'sport'}]
[]
Q7291
SYSTEM
badminton
Q7291
(Q13861040,P641,c(Q349))
action filter_type
action find
entity Q13861040
relation P641
type Q349
That sport competition participated in [ANSWER]
['Q13861040', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q13861040 property:P641 ?h . ?h rdf:type ontology:Q349 }
badminton
That sport competition participated in badminton
badminton
action filter_type
action find
entity 2004 World Junior Badminton Championships – Women's Singles
relation sport
type sport
["2004 World Junior Badminton Championships – Women's Singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:2004_World_Junior_Badminton_Championships_–_Women's_Singles property:sport ?h . ?h rdf:type ontology:sport }
[]