Simple Question (Direct)
Simple Question
Q2826991
P106
Q12737077
USER
Which occupation is the profession of Agnès Gosselin ?
(Q2826991,P106,c(Q12737077))
action filter_type
action find
entity Q2826991
relation P106
type Q12737077
['Q2826991', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q2826991 property:P106 ?n }
Agnès Gosselin
action filter_type
action find
entity Agnès Gosselin
relation occupation
type occupation
['Agnès Gosselin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Agnès_Gosselin property:occupation ?n }
[]
occupation
Q13219587
SYSTEM
figure skater
Q13219587
(Q2826991,P106,c(Q12737077))
action filter_type
action find
entity Q2826991
relation P106
type Q12737077
[ANSWER] is the profession of Agnès Gosselin
['Q2826991', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q2826991 property:P106 ?n }
figure skater
Figure skater is the profession of Agnès Gosselin
figure skater
action filter_type
action find
entity Agnès Gosselin
relation occupation
type occupation
['Agnès Gosselin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Agnès_Gosselin property:occupation ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2826991
P1344
Q15900616
USER
Which event sequences did Agnès Gosselin participate in ?
(Q2826991,P1344,c(Q15900616))
action filter_type
action find
entity Q2826991
relation P1344
type Q15900616
['Q2826991', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15900616 . resource:Q2826991 property:P1344 ?x }
Agnès Gosselin
action filter_type
action find
entity Agnès Gosselin
relation participant of
type event sequence
['Agnès Gosselin', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:event_sequence . resource:Agnès_Gosselin property:participant_of ?x }
[]
event sequence
Q9658 Q9657
SYSTEM
1988 Winter Olympics, 1984 Winter Olympics
Q9658 Q9657
(Q2826991,P1344,c(Q15900616))
action filter_type
action find
entity Q2826991
relation P1344
type Q15900616
Agnès Gosselin participated in [ANSWERS]
['Q2826991', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15900616 . resource:Q2826991 property:P1344 ?x }
1988 Winter Olympics 1984 Winter Olympics
Agnès Gosselin participated in 1988 Winter Olympics and 1984 Winter Olympics
1988 Winter Olympics 1984 Winter Olympics
action filter_type
action find
entity Agnès Gosselin
relation participant of
type event sequence
['Agnès Gosselin', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:event_sequence . resource:Agnès_Gosselin property:participant_of ?x }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q9658 Q9657
P361
Q16510064
USER
Which sporting events are a portion of those event sequences ?
(c(Q16510064),P361,Q9658) (c(Q16510064),P361,Q9657)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q16510064
[{'concept': 'Q16510064'}, 'P361', 'Q9658'] [{'concept': 'Q16510064'}, 'P361', 'Q9657']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q16510064 . ?i property:P361 ?e . VALUES ( ?e ) { ( resource:Q9658 ) ( resource:Q9657 ) } }
1988 Winter Olympics 1984 Winter Olympics
action filter_type
action find_reverse
entity prev_answer
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', '1988 Winter Olympics'] [{'concept': 'sporting event'}, 'part of', '1984 Winter Olympics']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sporting_event . ?i property:part_of ?e . VALUES ( ?e ) { ( resource:1988_Winter_Olympics ) ( resource:1984_Winter_Olympics ) } }
[]
sporting event
Q510421 Q838208 Q631484
SYSTEM
Speed skating at the 1988 Winter Olympics, Speed skating at the 1984 Winter Olympics, Ski jumping at the 1988 Winter Olympics
Q1222524 Q1005457 Q1005804 Q1005571 Q1751648 Q660831 Q899609 Q838378 Q1221778 Q577507 Q631484 Q988369 Q942891 Q1005119 Q1222641 Q1005155 Q1005744 Q510421 Q988345 Q2022706 Q1222713 Q650561 Q1222203 Q541316 Q1188316 Q1005639 Q842223 Q1005041 Q955688 Q1004926 Q668746 Q732735 Q252875 Q1005284 Q1222255 Q177478 Q988359 Q593201 Q1222466 Q1005328 Q970610 Q1315306 Q15703663 Q526793 Q1077818 Q776870 Q1005478 Q1005452 Q1222519 Q15055040 Q660807 Q1005803 Q1221769 Q16952928 Q16952923 Q1005182 Q1222704 Q16952954 Q16952949 Q16952946 Q16952941 Q376245 Q1005120 Q386425 Q1005151 Q842703 Q988344 Q538811 Q1005033 Q1221994 Q1005210 Q600228 Q1005634 Q1004960 Q370812 Q601324 Q784666 Q1004923 Q600648 Q1004911 Q222000 Q1222253 Q832708 Q1222461 Q1042143 Q1005329 Q838208 Q3773154 Q16952932 Q837993
(c(Q16510064),P361,Q9658) (c(Q16510064),P361,Q9657)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q16510064
[ANSWERS] are a portion of those event sequences
[{'concept': 'Q16510064'}, 'P361', 'Q9658'] [{'concept': 'Q16510064'}, 'P361', 'Q9657']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q16510064 . ?i property:P361 ?e . VALUES ( ?e ) { ( resource:Q9658 ) ( resource:Q9657 ) } }
Alpine skiing at the 1988 Winter Olympics – Women's slalom Luge at the 1988 Winter Olympics – Doubles Alpine skiing at the 1988 Winter Olympics – Men's giant slalom Alpine skiing at the 1988 Winter Olympics – Men's downhill Nordic skiing at the 1988 Winter Olympics Alpine skiing at the 1988 Winter Olympics Curling at the 1988 Winter Olympics Ice hockey at the 1988 Winter Olympics Speed skating at the 1988 Winter Olympics – Women's 1000 metres Speed skating at the 1988 Winter Olympics – Women's 5000 metres Ski jumping at the 1988 Winter Olympics Nordic combined at the 1988 Winter Olympics – Team Speed skating at the 1988 Winter Olympics – Men's 1500 metres Biathlon at the 1988 Winter Olympics – Relay Alpine skiing at the 1988 Winter Olympics – Women's Super-G Speed skating at the 1988 Winter Olympics – Men's 5000 metres Alpine skiing at the 1988 Winter Olympics – Men's Super-G Speed skating at the 1988 Winter Olympics Ski jumping at the 1988 Winter Olympics – Large hill individual Disabled skiing at the 1988 Winter Olympics Alpine skiing at the 1988 Winter Olympics – Women's giant slalom Biathlon at the 1988 Winter Olympics Alpine skiing at the 1988 Winter Olympics – Women's combined Speed skating at the 1988 Winter Olympics – Men's 1000 metres Short track speed skating at the 1988 Winter Olympics Alpine skiing at the 1988 Winter Olympics – Men's slalom Figure skating at the 1988 Winter Olympics Biathlon at the 1988 Winter Olympics – Individual Speed skating at the 1988 Winter Olympics – Men's 500 metres Biathlon at the 1988 Winter Olympics – Sprint Cross-country skiing at the 1988 Winter Olympics Nordic combined at the 1988 Winter Olympics Speed skating at the 1988 Winter Olympics – Women's 3000 metres Alpine skiing at the 1988 Winter Olympics – Men's combined Luge at the 1988 Winter Olympics – Women's singles Luge at the 1988 Winter Olympics Ski jumping at the 1988 Winter Olympics – Normal hill individual Bobsleigh at the 1988 Winter Olympics Alpine skiing at the 1988 Winter Olympics – Women's downhill Luge at the 1988 Winter Olympics – Men's singles Speed skating at the 1988 Winter Olympics – Men's 10000 metres Ski jumping at the 1988 Winter Olympics – Large hill team Nordic combined at the 1988 Winter Olympics – Individual Speed skating at the 1988 Winter Olympics – Women's 1500 metres Freestyle skiing at the 1988 Winter Olympics Speed skating at the 1988 Winter Olympics – Women's 500 metres Two-man bobsleigh at the 1988 Winter Olympics Luge at the 1984 Winter Olympics – Doubles Alpine skiing at the 1984 Winter Olympics – Women's slalom Nordic skiing at the 1984 Winter Olympics Alpine skiing at the 1984 Winter Olympics Alpine skiing at the 1984 Winter Olympics – Men's giant slalom Speed skating at the 1984 Winter Olympics – Women's 1000 metres Cross-country skiing at the 1984 Winter Olympics – Men's 30 km Cross-country skiing at the 1984 Winter Olympics – Men's 15 km Speed skating at the 1984 Winter Olympics – Men's 500 metres Alpine skiing at the 1984 Winter Olympics – Women's giant slalom Cross-country skiing at the 1984 Winter Olympics – Women's 5 km Cross-country skiing at the 1984 Winter Olympics – Women's 4 x 5 km relay Cross-country skiing at the 1984 Winter Olympics – Women's 20 km Cross-country skiing at the 1984 Winter Olympics – Women's 10 km Ski jumping at the 1984 Winter Olympics – Normal hill Biathlon at the 1984 Winter Olympics – Relay Figure skating at the 1984 Winter Olympics Speed skating at the 1984 Winter Olympics – Men's 5000 metres Luge at the 1984 Winter Olympics Ski jumping at the 1984 Winter Olympics – Large hill Nordic combined at the 1984 Winter Olympics Biathlon at the 1984 Winter Olympics – Individual Speed skating at the 1984 Winter Olympics – Women's 3000 metres Cross-country skiing at the 1984 Winter Olympics – Men's 50 km Speed skating at the 1984 Winter Olympics – Women's 1500 metres Alpine skiing at the 1984 Winter Olympics – Men's slalom Speed skating at the 1984 Winter Olympics – Men's 1500 metres Speed skating at the 1984 Winter Olympics – Men's 1000 metres Speed skating at the 1984 Winter Olympics – Women's 500 metres Alpine skiing at the 1984 Winter Olympics – Men's downhill Biathlon at the 1984 Winter Olympics – Sprint Biathlon at the 1984 Winter Olympics Speed skating at the 1984 Winter Olympics – Men's 10000 metres Cross-country skiing at the 1984 Winter Olympics Luge at the 1984 Winter Olympics – Women's singles Bobsleigh at the 1984 Winter Olympics Alpine skiing at the 1984 Winter Olympics – Women's downhill Ski jumping at the 1984 Winter Olympics Luge at the 1984 Winter Olympics – Men's singles Speed skating at the 1984 Winter Olympics Disabled skiing at the 1984 Winter Olympics Cross-country skiing at the 1984 Winter Olympics – Men's 4 x 10 km relay Ice hockey at the 1984 Winter Olympics
Speed skating at the 1988 Winter Olympics, Speed skating at the 1984 Winter Olympics and Ski jumping at the 1988 Winter Olympics are a portion of those event sequences
Speed skating at the 1988 Winter Olympics Speed skating at the 1984 Winter Olympics Ski jumping at the 1988 Winter Olympics
action filter_type
action find_reverse
entity prev_answer
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', '1988 Winter Olympics'] [{'concept': 'sporting event'}, 'part of', '1984 Winter Olympics']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sporting_event . ?i property:part_of ?e . VALUES ( ?e ) { ( resource:1988_Winter_Olympics ) ( resource:1984_Winter_Olympics ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q510421 Q838208 Q631484
P361
Q15900616
USER
Which event sequences are those sporting events a part of ?
(Q510421,P361,c(Q15900616)) (Q838208,P361,c(Q15900616)) (Q631484,P361,c(Q15900616))
action filter_type
action find
entity prev_answer
relation P361
type Q15900616
['Q510421', 'P361', {'concept': 'Q15900616'}] ['Q838208', 'P361', {'concept': 'Q15900616'}] ['Q631484', 'P361', {'concept': 'Q15900616'}]
SELECT DISTINCT ?n WHERE { ?p property:P361 ?n . VALUES ( ?p ) { ( resource:Q1222524 ) ( resource:Q1005457 ) ( resource:Q1005804 ) } . ?n rdf:type ontology:Q15900616 }
Speed skating at the 1988 Winter Olympics Speed skating at the 1984 Winter Olympics Ski jumping at the 1988 Winter Olympics
action filter_type
action find
entity prev_answer
relation part of
type event sequence
['Speed skating at the 1988 Winter Olympics', 'part of', {'concept': 'event sequence'}] ['Speed skating at the 1984 Winter Olympics', 'part of', {'concept': 'event sequence'}] ['Ski jumping at the 1988 Winter Olympics', 'part of', {'concept': 'event sequence'}]
SELECT DISTINCT ?n WHERE { ?p property:part_of ?n . VALUES ( ?p ) { ( resource:Alpine_skiing_at_the_1988_Winter_Olympics_–_Women's_slalom ) ( resource:Luge_at_the_1988_Winter_Olympics_–_Doubles ) ( resource:Alpine_skiing_at_the_1988_Winter_Olympics_–_Men's_giant_slalom ) } . ?n rdf:type ontology:event_sequence }
[]
event sequence
Q9658 Q9657 Q9658
SYSTEM
1988 Winter Olympics for 1st, 3rd, 1984 Winter Olympics for 2nd
Q9658 Q9657 Q9658
(Q510421,P361,c(Q15900616)) (Q838208,P361,c(Q15900616)) (Q631484,P361,c(Q15900616))
action filter_type
action find
entity prev_answer
relation P361
type Q15900616
[ANSWERS]
['Q510421', 'P361', {'concept': 'Q15900616'}] ['Q838208', 'P361', {'concept': 'Q15900616'}] ['Q631484', 'P361', {'concept': 'Q15900616'}]
SELECT DISTINCT ?n WHERE { ?p property:P361 ?n . VALUES ( ?p ) { ( resource:Q1222524 ) ( resource:Q1005457 ) ( resource:Q1005804 ) } . ?n rdf:type ontology:Q15900616 }
1988 Winter Olympics 1984 Winter Olympics 1988 Winter Olympics
The 1988 Winter Olympics, 1984 Winter Olympics and 1988 Winter Olympics are those sporting events a part of
1988 Winter Olympics 1984 Winter Olympics 1988 Winter Olympics
action filter_type
action find
entity prev_answer
relation part of
type event sequence
['Speed skating at the 1988 Winter Olympics', 'part of', {'concept': 'event sequence'}] ['Speed skating at the 1984 Winter Olympics', 'part of', {'concept': 'event sequence'}] ['Ski jumping at the 1988 Winter Olympics', 'part of', {'concept': 'event sequence'}]
SELECT DISTINCT ?n WHERE { ?p property:part_of ?n . VALUES ( ?p ) { ( resource:Alpine_skiing_at_the_1988_Winter_Olympics_–_Women's_slalom ) ( resource:Luge_at_the_1988_Winter_Olympics_–_Doubles ) ( resource:Alpine_skiing_at_the_1988_Winter_Olympics_–_Men's_giant_slalom ) } . ?n rdf:type ontology:event_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q510421
P276
Q1076486
USER
Where is Speed skating at the 1988 Winter Olympics situated ?
(Q510421,P276,c(Q1076486))
action filter_type
action find
entity Q510421
relation P276
type Q1076486
['Q510421', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?k WHERE { resource:Q510421 property:P276 ?k . ?k rdf:type ontology:Q1076486 }
Speed skating at the 1988 Winter Olympics
action filter_type
action find
entity Speed skating at the 1988 Winter Olympics
relation location
type sports venue
['Speed skating at the 1988 Winter Olympics', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?k WHERE { resource:Speed_skating_at_the_1988_Winter_Olympics property:location ?k . ?k rdf:type ontology:sports_venue }
[]
sports venue
Q1341643
SYSTEM
Olympic Oval
Q1341643
(Q510421,P276,c(Q1076486))
action filter_type
action find
entity Q510421
relation P276
type Q1076486
Speed skating at the 1988 Winter Olympics situated is the [ANSWER]
['Q510421', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?k WHERE { resource:Q510421 property:P276 ?k . ?k rdf:type ontology:Q1076486 }
Olympic Oval
Speed skating at the 1988 Winter Olympics situated is the Olympic Oval
Olympic Oval
action filter_type
action find
entity Speed skating at the 1988 Winter Olympics
relation location
type sports venue
['Speed skating at the 1988 Winter Olympics', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?k WHERE { resource:Speed_skating_at_the_1988_Winter_Olympics property:location ?k . ?k rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q510421
P17
Q1048835
USER
Which political territory is that sporting event present in ?
(Q1341643,P17,c(Q1048835))
action filter_type
action find
entity Q510421
relation P17
type Q1048835
['Q1341643', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q510421 property:P17 ?o . ?o rdf:type ontology:Q1048835 }
Speed skating at the 1988 Winter Olympics
action filter_type
action find
entity Speed skating at the 1988 Winter Olympics
relation country
type political territorial entity
['Olympic Oval', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Speed_skating_at_the_1988_Winter_Olympics property:country ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q1341643,P17,c(Q1048835))
action filter_type
action find
entity Q510421
relation P17
type Q1048835
That sporting event is of [ANSWER]
['Q1341643', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q510421 property:P17 ?o . ?o rdf:type ontology:Q1048835 }
Canada
That sporting event is of Canada
Canada
action filter_type
action find
entity Speed skating at the 1988 Winter Olympics
relation country
type political territorial entity
['Olympic Oval', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Speed_skating_at_the_1988_Winter_Olympics property:country ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21964687
Q1048835
USER
And also tell me about Carloowattie Hill?
(Q21964687,P17,c(Q1048835))
action filter_type
action find
entity Q21964687
relation P17
type Q1048835
['Q21964687', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q21964687 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Carloowattie Hill
action filter_type
action find
entity Carloowattie Hill
relation country
type political territorial entity
['Carloowattie Hill', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Carloowattie_Hill property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q21964687,P17,c(Q1048835))
action filter_type
action find
entity Q21964687
relation P17
type Q1048835
[ANSWER]
['Q21964687', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q21964687 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Australia
Australia
action filter_type
action find
entity Carloowattie Hill
relation country
type political territorial entity
['Carloowattie Hill', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Carloowattie_Hill property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q408
P1532
Q6979593 Q1194951
USER
How many national association football teams and national sports teams play for Australia ?
(c(Q6979593),P1532,Q408) (c(Q1194951),P1532,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q408
relation P1532
type Q1194951
[{'concept': 'Q6979593'}, 'P1532', 'Q408'] [{'concept': 'Q1194951'}, 'P1532', 'Q408']
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:Q6979593 ) ( ontology:Q1194951 ) } . ?n rdf:type ?s }
Australia
action count
action union
action filter_type
action find_reverse
entity Australia
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Australia
relation country for sport
type national sports team
[{'concept': 'national association football team'}, 'country for sport', 'Australia'] [{'concept': 'national sports team'}, 'country for sport', 'Australia']
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:national_association_football_team ) ( ontology:national_sports_team ) } . ?n rdf:type ?s }
[]
national association football team national sports team
SYSTEM
4 national association football teams and 2 national sports teams
Q782012 Q16154435 Q268208 Q24175109 Q3873975 Q4823750
(c(Q6979593),P1532,Q408) (c(Q1194951),P1532,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q408
relation P1532
type Q1194951
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', 'Q408'] [{'concept': 'Q1194951'}, 'P1532', 'Q408']
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:Q6979593 ) ( ontology:Q1194951 ) } . ?n rdf:type ?s }
Australia women's national association football team Australia women's national under-17 association football team Australia national association football team Australia B national soccer team Australia Olympic football team Australia women's national under-20 football team
4 national association football teams and 2 national sports teams
action count
action union
action filter_type
action find_reverse
entity Australia
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Australia
relation country for sport
type national sports team
[{'concept': 'national association football team'}, 'country for sport', 'Australia'] [{'concept': 'national sports team'}, 'country for sport', 'Australia']
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:national_association_football_team ) ( ontology:national_sports_team ) } . ?n rdf:type ?s }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q490305 Q16
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Canada and are Eungam Station a part of ?
AND((Q16,P530,c(Q15617994)), (Q490305,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q490305
relation P17
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q490305', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { resource:Q16 property:P530 ?v . resource:Q490305 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Eungam Station Canada
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Eungam Station
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Eungam Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:Canada property:diplomatic_relation ?v . resource:Eungam_Station property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
AND((Q16,P530,c(Q15617994)), (Q490305,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q490305
relation P17
type Q15617994
[ANSWER] have a diplomatic relationship with Canada and are Eungam Station a part of
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q490305', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { resource:Q16 property:P530 ?v . resource:Q490305 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
South Korea
South Korea have a diplomatic relationship with Canada and are Eungam Station a part of
South Korea
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Eungam Station
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Eungam Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:Canada property:diplomatic_relation ?v . resource:Eungam_Station property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q884
P551
Q502895
USER
Which people have residence at that administrative territory ?
(c(Q502895),P551,Q884)
action filter_type
action find_reverse
entity Q884
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q884']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P551 resource:Q884 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'South Korea']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:residence resource:South_Korea }
[]
common name
Q26922710 Q32049 Q19794835
SYSTEM
Aline Gohard-Radenkovic, Jang Keun-suk, eSNa
Q6409654 Q32049 Q26922710 Q17486002 Q16224631 Q12337735 Q19794835 Q26299233 Q15303660
(c(Q502895),P551,Q884)
action filter_type
action find_reverse
entity Q884
relation P551
type Q502895
[ANSWERS] have residence at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q884']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P551 resource:Q884 }
Kim Yoon-sang Jang Keun-suk Aline Gohard-Radenkovic HJ Lim Lee So-ra Han Sung-hee eSNa Thae Yong-ho Lim Yong-Kyu
Aline Gohard-Radenkovic, Jang Keun-suk and eSNa have residence at that administrative territory
Aline Gohard-Radenkovic Jang Keun-suk eSNa
action filter_type
action find_reverse
entity South Korea
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'South Korea']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:residence resource:South_Korea }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3340204 Q2826991
P27
Q15617994
USER
Which administrative territories do Agnès Gosselin and Nicolas Cluzeau belong to ?
AND((Q2826991,P27,c(Q15617994)), (Q3340204,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q2826991
relation P27
action find
entity Q3340204
relation P27
type Q15617994
{'AND': [['Q2826991', 'P27', {'concept': 'Q15617994'}], ['Q3340204', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q2826991 property:P27 ?e . resource:Q3340204 property:P27 ?e }
Nicolas Cluzeau Agnès Gosselin
action filter_type
action intersection
action find
entity Agnès Gosselin
relation country of citizenship
action find
entity Nicolas Cluzeau
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Agnès Gosselin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nicolas Cluzeau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Agnès_Gosselin property:country_of_citizenship ?e . resource:Nicolas_Cluzeau property:country_of_citizenship ?e }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q2826991,P27,c(Q15617994)), (Q3340204,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q2826991
relation P27
action find
entity Q3340204
relation P27
type Q15617994
Agnès Gosselin and Nicolas Cluzeau belong to the [ANSWER]
{'AND': [['Q2826991', 'P27', {'concept': 'Q15617994'}], ['Q3340204', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q2826991 property:P27 ?e . resource:Q3340204 property:P27 ?e }
France
Agnès Gosselin and Nicolas Cluzeau belong to the France
France
action filter_type
action intersection
action find
entity Agnès Gosselin
relation country of citizenship
action find
entity Nicolas Cluzeau
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Agnès Gosselin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nicolas Cluzeau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Agnès_Gosselin property:country_of_citizenship ?e . resource:Nicolas_Cluzeau property:country_of_citizenship ?e }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q142 Q801 Q818894
P530
Q15617994
USER
Is that administrative territory known to have diplomatic connections with Israel and Seebach ?
(Q142,P530,Q801) (Q142,P530,Q818894)
action is_in
entity Q142
action intersection
action find_reverse
entity Q801
relation P530
action find_reverse
entity Q818894
relation P530
['Q142', 'P530', 'Q801'] ['Q142', 'P530', 'Q818894']
ASK WHERE { resource:Q142 property:P530 resource:Q801 . resource:Q142 property:P530 resource:Q818894 }
France Israel Seebach
action is_in
entity France
action intersection
action find_reverse
entity Israel
relation diplomatic relation
action find_reverse
entity Seebach
relation diplomatic relation
['France', 'diplomatic relation', 'Israel'] ['France', 'diplomatic relation', 'Seebach']
ASK WHERE { resource:France property:diplomatic_relation resource:Israel . resource:France property:diplomatic_relation resource:Seebach }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q142,P530,Q801) (Q142,P530,Q818894)
action is_in
entity Q142
action intersection
action find_reverse
entity Q801
relation P530
action find_reverse
entity Q818894
relation P530
[ANSWER]
['Q142', 'P530', 'Q801'] ['Q142', 'P530', 'Q818894']
ASK WHERE { resource:Q142 property:P530 resource:Q801 . resource:Q142 property:P530 resource:Q818894 }
YES and NO respectively
action is_in
entity France
action intersection
action find_reverse
entity Israel
relation diplomatic relation
action find_reverse
entity Seebach
relation diplomatic relation
['France', 'diplomatic relation', 'Israel'] ['France', 'diplomatic relation', 'Seebach']
ASK WHERE { resource:France property:diplomatic_relation resource:Israel . resource:France property:diplomatic_relation resource:Seebach }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1341643 Q1193738 Q470053
P17
Q1048835
USER
Is Olympic Oval present in Krekhiv and County of Sargans ?
(Q1341643,P17,Q1193738) (Q1341643,P17,Q470053)
action is_in
entity Q1341643
action intersection
action find_reverse
entity Q1193738
relation P17
action find_reverse
entity Q470053
relation P17
['Q1341643', 'P17', 'Q1193738'] ['Q1341643', 'P17', 'Q470053']
ASK WHERE { resource:Q1341643 property:P17 resource:Q1193738 . resource:Q1341643 property:P17 resource:Q470053 }
Olympic Oval Krekhiv County of Sargans
action is_in
entity Olympic Oval
action intersection
action find_reverse
entity Krekhiv
relation country
action find_reverse
entity County of Sargans
relation country
['Olympic Oval', 'country', 'Krekhiv'] ['Olympic Oval', 'country', 'County of Sargans']
ASK WHERE { resource:Olympic_Oval property:country resource:Krekhiv . resource:Olympic_Oval property:country resource:County_of_Sargans }
[]
political territorial entity
SYSTEM
NO
(Q1341643,P17,Q1193738) (Q1341643,P17,Q470053)
action is_in
entity Q1341643
action intersection
action find_reverse
entity Q1193738
relation P17
action find_reverse
entity Q470053
relation P17
[ANSWER]
['Q1341643', 'P17', 'Q1193738'] ['Q1341643', 'P17', 'Q470053']
ASK WHERE { resource:Q1341643 property:P17 resource:Q1193738 . resource:Q1341643 property:P17 resource:Q470053 }
No
action is_in
entity Olympic Oval
action intersection
action find_reverse
entity Krekhiv
relation country
action find_reverse
entity County of Sargans
relation country
['Olympic Oval', 'country', 'Krekhiv'] ['Olympic Oval', 'country', 'County of Sargans']
ASK WHERE { resource:Olympic_Oval property:country resource:Krekhiv . resource:Olympic_Oval property:country resource:County_of_Sargans }
[]