Simple Question (Direct)
Simple Question
Q954719
P27
Q15617994
USER
Which administrative territory is Terje Langli a civilian of ?
(Q954719,P27,c(Q15617994))
action filter_type
action find
entity Q954719
relation P27
type Q15617994
['Q954719', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q954719 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Terje Langli
action filter_type
action find
entity Terje Langli
relation country of citizenship
type designation for an administrative territorial entity
['Terje Langli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Terje_Langli property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q954719,P27,c(Q15617994))
action filter_type
action find
entity Q954719
relation P27
type Q15617994
[ANSWER] is Terje Langli a civilian of
['Q954719', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q954719 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Norway
Norway is Terje Langli a civilian of
Norway
action filter_type
action find
entity Terje Langli
relation country of citizenship
type designation for an administrative territorial entity
['Terje Langli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Terje_Langli property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q954719
P19
Q13220204
USER
Which administrative country subdivision was Terje Langli born at ?
(Q954719,P19,c(Q13220204))
action filter_type
action find
entity Q954719
relation P19
type Q13220204
['Q954719', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?p WHERE { resource:Q954719 property:P19 ?p . ?p rdf:type ontology:Q13220204 }
Terje Langli
action filter_type
action find
entity Terje Langli
relation place of birth
type second-level administrative country subdivision
['Terje Langli', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?p WHERE { resource:Terje_Langli property:place_of_birth ?p . ?p rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q110431
SYSTEM
Steinkjer
Q110431
(Q954719,P19,c(Q13220204))
action filter_type
action find
entity Q954719
relation P19
type Q13220204
Which administrative country subdivision was Terje Langli born at
['Q954719', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?p WHERE { resource:Q954719 property:P19 ?p . ?p rdf:type ontology:Q13220204 }
Steinkjer
Which administrative country subdivision was Terje Langli born at
Steinkjer
action filter_type
action find
entity Terje Langli
relation place of birth
type second-level administrative country subdivision
['Terje Langli', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?p WHERE { resource:Terje_Langli property:place_of_birth ?p . ?p rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q110431
P291
Q1002697
USER
Which periodical literature has that administrative country subdivision as its publication place ?
(c(Q1002697),P291,Q110431)
action filter_type
action find_reverse
entity Q110431
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', 'Q110431']
SELECT DISTINCT ?z WHERE { ?z property:P291 resource:Q110431 . ?z rdf:type ontology:Q1002697 }
Steinkjer
action filter_type
action find_reverse
entity Steinkjer
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Steinkjer']
SELECT DISTINCT ?z WHERE { ?z property:place_of_publication resource:Steinkjer . ?z rdf:type ontology:periodical_literature }
[]
periodical literature
Q1764807
SYSTEM
Trønder-Avisa
Q1764807
(c(Q1002697),P291,Q110431)
action filter_type
action find_reverse
entity Q110431
relation P291
type Q1002697
[ANSWER] has that administrative country subdivision as its publication place
[{'concept': 'Q1002697'}, 'P291', 'Q110431']
SELECT DISTINCT ?z WHERE { ?z property:P291 resource:Q110431 . ?z rdf:type ontology:Q1002697 }
Trønder-Avisa
Trønder-Avisa has that administrative country subdivision as its publication place
Trønder-Avisa
action filter_type
action find_reverse
entity Steinkjer
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Steinkjer']
SELECT DISTINCT ?z WHERE { ?z property:place_of_publication resource:Steinkjer . ?z rdf:type ontology:periodical_literature }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3218342 Q954719
P1344
Q15900616
USER
Which event sequences did Terje Langli and Lasse Arnesen participate in ?
AND((Q954719,P1344,c(Q15900616)), (Q3218342,P1344,c(Q15900616)))
action filter_type
action intersection
action find
entity Q954719
relation P1344
action find
entity Q3218342
relation P1344
type Q15900616
{'AND': [['Q954719', 'P1344', {'concept': 'Q15900616'}], ['Q3218342', 'P1344', {'concept': 'Q15900616'}]]}
SELECT DISTINCT ?n WHERE { resource:Q954719 property:P1344 ?n . resource:Q3218342 property:P1344 ?n . ?n rdf:type ontology:Q15900616 }
Lasse Arnesen Terje Langli
action filter_type
action intersection
action find
entity Terje Langli
relation participant of
action find
entity Lasse Arnesen
relation participant of
type event sequence
{'AND': [['Terje Langli', 'participant of', {'concept': 'event sequence'}], ['Lasse Arnesen', 'participant of', {'concept': 'event sequence'}]]}
SELECT DISTINCT ?n WHERE { resource:Terje_Langli property:participant_of ?n . resource:Lasse_Arnesen property:participant_of ?n . ?n rdf:type ontology:event_sequence }
[]
event sequence
Q9660
SYSTEM
1992 Winter Olympics
Q9660
AND((Q954719,P1344,c(Q15900616)), (Q3218342,P1344,c(Q15900616)))
action filter_type
action intersection
action find
entity Q954719
relation P1344
action find
entity Q3218342
relation P1344
type Q15900616
Terje Langli and Lasse Arnesen participated in [ANSWER]
{'AND': [['Q954719', 'P1344', {'concept': 'Q15900616'}], ['Q3218342', 'P1344', {'concept': 'Q15900616'}]]}
SELECT DISTINCT ?n WHERE { resource:Q954719 property:P1344 ?n . resource:Q3218342 property:P1344 ?n . ?n rdf:type ontology:Q15900616 }
1992 Winter Olympics
Terje Langli and Lasse Arnesen participated in 1992 Winter Olympics
1992 Winter Olympics
action filter_type
action intersection
action find
entity Terje Langli
relation participant of
action find
entity Lasse Arnesen
relation participant of
type event sequence
{'AND': [['Terje Langli', 'participant of', {'concept': 'event sequence'}], ['Lasse Arnesen', 'participant of', {'concept': 'event sequence'}]]}
SELECT DISTINCT ?n WHERE { resource:Terje_Langli property:participant_of ?n . resource:Lasse_Arnesen property:participant_of ?n . ?n rdf:type ontology:event_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3218342
P21
Q290
USER
Which sex does Lasse Arnesen belong to ?
(Q9660,P21,c(Q290))
action filter_type
action find
entity Q3218342
relation P21
type Q290
['Q9660', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3218342 property:P21 ?h . ?h rdf:type ontology:Q290 }
Lasse Arnesen
action filter_type
action find
entity Lasse Arnesen
relation gender
type sex
['1992 Winter Olympics', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Lasse_Arnesen property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q9660,P21,c(Q290))
action filter_type
action find
entity Q3218342
relation P21
type Q290
Lasse Arnesen belongs til [ANSWER]
['Q9660', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3218342 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Lasse Arnesen belongs til male
male
action filter_type
action find
entity Lasse Arnesen
relation gender
type sex
['1992 Winter Olympics', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Lasse_Arnesen property:gender ?h . ?h rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9660
P466
Q1076486 Q811979
USER
How many sports venues and architectural structures are occupied by 1992 Winter Olympics ?
(c(Q1076486),P466,Q9660) (c(Q811979),P466,Q9660)
action count
action union
action filter_type
action find_reverse
entity Q9660
relation P466
type Q1076486
action filter_type
action find_reverse
entity Q9660
relation P466
type Q811979
[{'concept': 'Q1076486'}, 'P466', 'Q9660'] [{'concept': 'Q811979'}, 'P466', 'Q9660']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } . ?o rdf:type ?g }
1992 Winter Olympics
action count
action union
action filter_type
action find_reverse
entity 1992 Winter Olympics
relation occupant
type sports venue
action filter_type
action find_reverse
entity 1992 Winter Olympics
relation occupant
type architectural structure
[{'concept': 'sports venue'}, 'occupant', '1992 Winter Olympics'] [{'concept': 'architectural structure'}, 'occupant', '1992 Winter Olympics']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } . ?o rdf:type ?g }
[]
sports venue architectural structure
SYSTEM
1 sports venues and 1 architectural structures
Q3126105 Q2698412
(c(Q1076486),P466,Q9660) (c(Q811979),P466,Q9660)
action count
action union
action filter_type
action find_reverse
entity Q9660
relation P466
type Q1076486
action filter_type
action find_reverse
entity Q9660
relation P466
type Q811979
[ANSWER]
[{'concept': 'Q1076486'}, 'P466', 'Q9660'] [{'concept': 'Q811979'}, 'P466', 'Q9660']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } . ?o rdf:type ?g }
La halle de glace Olympique Théâtre des Cérémonies
1 sports venues and 1 architectural structures
action count
action union
action filter_type
action find_reverse
entity 1992 Winter Olympics
relation occupant
type sports venue
action filter_type
action find_reverse
entity 1992 Winter Olympics
relation occupant
type architectural structure
[{'concept': 'sports venue'}, 'occupant', '1992 Winter Olympics'] [{'concept': 'architectural structure'}, 'occupant', '1992 Winter Olympics']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } . ?o rdf:type ?g }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4925219 Q9660
P27 P17
Q15617994
USER
Which administrative territories do 1992 Winter Olympics belong to or are the countries of citizenship of Blanquita Amaro ?
OR((Q9660,P17,c(Q15617994)), (Q4925219,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q9660
relation P17
action find
entity Q4925219
relation P27
type Q15617994
{'OR': [['Q9660', 'P17', {'concept': 'Q15617994'}], ['Q4925219', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . { { resource:Q9660 property:P17 ?q } UNION { resource:Q4925219 property:P27 ?q } } }
Blanquita Amaro 1992 Winter Olympics
action filter_type
action union
action find
entity 1992 Winter Olympics
relation country
action find
entity Blanquita Amaro
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['1992 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Blanquita Amaro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:1992_Winter_Olympics property:country ?q } UNION { resource:Blanquita_Amaro property:country_of_citizenship ?q } } }
[]
designation for an administrative territorial entity
Q142 Q241 Q414
SYSTEM
France, Cuba, Argentina
Q142 Q241 Q414
OR((Q9660,P17,c(Q15617994)), (Q4925219,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q9660
relation P17
action find
entity Q4925219
relation P27
type Q15617994
1992 Winter Olympics belong to or are the countries of citizenship of Blanquita Amaro in [ANSWERS]
{'OR': [['Q9660', 'P17', {'concept': 'Q15617994'}], ['Q4925219', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . { { resource:Q9660 property:P17 ?q } UNION { resource:Q4925219 property:P27 ?q } } }
France Cuba Argentina
1992 Winter Olympics belong to or are the countries of citizenship of Blanquita Amaro in France, Cuba and Argentina
France Cuba Argentina
action filter_type
action union
action find
entity 1992 Winter Olympics
relation country
action find
entity Blanquita Amaro
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['1992 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Blanquita Amaro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:1992_Winter_Olympics property:country ?q } UNION { resource:Blanquita_Amaro property:country_of_citizenship ?q } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q241
P463
Q43229
USER
What organizations were that administrative territory a member of ?
(Q241,P463,c(Q43229))
action filter_type
action find
entity Q241
relation P463
type Q43229
['Q241', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q241 property:P463 ?u . ?u rdf:type ontology:Q43229 }
Cuba
action filter_type
action find
entity Cuba
relation member of
type organization
['Cuba', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Cuba property:member_of ?u . ?u rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q414
SYSTEM
Did you mean Argentina ?
Q142 Q241 Q414
(Q142,P463,c(Q43229)) (Q241,P463,c(Q43229)) (Q414,P463,c(Q43229))
[ANSWER]
['Q142', 'P463', {'concept': 'Q43229'}] ['Q241', 'P463', {'concept': 'Q43229'}] ['Q414', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q241 property:P463 ?u . ?u rdf:type ontology:Q43229 }
France Cuba Argentina
Did you mean Argentina ?
Argentina
['France', 'member of', {'concept': 'organization'}] ['Cuba', 'member of', {'concept': 'organization'}] ['Argentina', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Cuba property:member_of ?u . ?u rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Cuba. Could you tell me the answer for that?
(Q241,P463,c(Q43229))
Q241
['Q241', 'P463', {'concept': 'Q43229'}]
['Cuba', 'member of', {'concept': 'organization'}]
[]
Q1045401 Q7825 Q8874
SYSTEM
Community of Latin American and Caribbean States, World Trade Organization, Bolivarian Alliance for the Americas
Q1045401 Q7825 Q8874
(Q241,P463,c(Q43229))
action filter_type
action find
entity Q241
relation P463
type Q43229
[ANSWERS]
['Q241', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q241 property:P463 ?u . ?u rdf:type ontology:Q43229 }
Community of Latin American and Caribbean States World Trade Organization Bolivarian Alliance for the Americas
What organizations were that administrative territory a member of
Community of Latin American and Caribbean States World Trade Organization Bolivarian Alliance for the Americas
action filter_type
action find
entity Cuba
relation member of
type organization
['Cuba', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Cuba property:member_of ?u . ?u rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7825
P463
Q15617994
USER
Who are a member of that organization ?
(c(Q15617994),P463,Q7825)
action filter_type
action find_reverse
entity Q7825
relation P463
type Q15617994
[{'concept': 'Q15617994'}, 'P463', 'Q7825']
SELECT DISTINCT ?f WHERE { ?f property:P463 resource:Q7825 . ?f rdf:type ontology:Q15617994 }
World Trade Organization
action filter_type
action find_reverse
entity World Trade Organization
relation member of
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'member of', 'World Trade Organization']
SELECT DISTINCT ?f WHERE { ?f property:member_of resource:World_Trade_Organization . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q8874
SYSTEM
Did you mean Bolivarian Alliance for the Americas ?
Q1045401 Q7825 Q8874
(c(Q15617994),P463,Q1045401) (c(Q15617994),P463,Q7825) (c(Q15617994),P463,Q8874)
[ANSWER]
[{'concept': 'Q15617994'}, 'P463', 'Q1045401'] [{'concept': 'Q15617994'}, 'P463', 'Q7825'] [{'concept': 'Q15617994'}, 'P463', 'Q8874']
SELECT DISTINCT ?f WHERE { ?f property:P463 resource:Q7825 . ?f rdf:type ontology:Q15617994 }
Community of Latin American and Caribbean States World Trade Organization Bolivarian Alliance for the Americas
Did you mean Bolivarian Alliance for the Americas ?
Bolivarian Alliance for the Americas
[{'concept': 'designation for an administrative territorial entity'}, 'member of', 'Community of Latin American and Caribbean States'] [{'concept': 'designation for an administrative territorial entity'}, 'member of', 'World Trade Organization'] [{'concept': 'designation for an administrative territorial entity'}, 'member of', 'Bolivarian Alliance for the Americas']
SELECT DISTINCT ?f WHERE { ?f property:member_of resource:World_Trade_Organization . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant World Trade Organization. Could you tell me the answer for that?
(c(Q15617994),P463,Q7825)
Q7825
[{'concept': 'Q15617994'}, 'P463', 'Q7825']
[{'concept': 'designation for an administrative territorial entity'}, 'member of', 'World Trade Organization']
[]
Q155 Q38 Q30
SYSTEM
Brazil, Italy, United States of America
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q921 Q262 Q148 Q783 Q784 Q786 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q954 Q953 Q884 Q881 Q826 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q733 Q739 Q424 Q730 Q851 Q29999 Q854 Q734 Q736 Q1013 Q236 Q230 Q233 Q145 Q20 Q1044 Q1041 Q27 Q28 Q29 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q224 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q974 Q971 Q683 Q686 Q836 Q760 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1011 Q945 Q678 Q869
(c(Q15617994),P463,Q7825)
action filter_type
action find_reverse
entity Q7825
relation P463
type Q15617994
A member of that organization are [ANSWERS]
[{'concept': 'Q15617994'}, 'P463', 'Q7825']
SELECT DISTINCT ?f WHERE { ?f property:P463 resource:Q7825 . ?f rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands Brunei Algeria People's Republic of China Honduras Dominica Dominican Republic Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Zimbabwe Zambia South Korea Vietnam Maldives Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Paraguay Colombia Cambodia Suriname Saudi Arabia Kingdom of the Netherlands Sri Lanka Guyana Ecuador Lesotho Montenegro Georgia Malta United Kingdom Norway Sierra Leone Senegal Ireland Hungary Spain Mauritania Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Democratic Republic of the Congo Republic of the Congo Samoa Vanuatu Myanmar Saint Lucia Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Cape Verde Togo Tonga Thailand
A member of that organization are Brazil, Italy and United States of America
Brazil Italy United States of America
action filter_type
action find_reverse
entity World Trade Organization
relation member of
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'member of', 'World Trade Organization']
SELECT DISTINCT ?f WHERE { ?f property:member_of resource:World_Trade_Organization . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]