Simple Question (Direct)
Simple Question
Q15275916
P102
Q7278
USER
Which political party is Daniela De Ridder a member of ?
(Q15275916,P102,c(Q7278))
action filter_type
action find
entity Q15275916
relation P102
type Q7278
['Q15275916', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?d WHERE { resource:Q15275916 property:P102 ?d . ?d rdf:type ontology:Q7278 }
Daniela De Ridder
action filter_type
action find
entity Daniela De Ridder
relation member of political party
type political party
['Daniela De Ridder', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?d WHERE { resource:Daniela_De_Ridder property:member_of_political_party ?d . ?d rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q15275916,P102,c(Q7278))
action filter_type
action find
entity Q15275916
relation P102
type Q7278
[ANSWER] is Daniela De Ridder a member of
['Q15275916', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?d WHERE { resource:Q15275916 property:P102 ?d . ?d rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Social Democratic Party of Germany is Daniela De Ridder a member of
Social Democratic Party of Germany
action filter_type
action find
entity Daniela De Ridder
relation member of political party
type political party
['Daniela De Ridder', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?d WHERE { resource:Daniela_De_Ridder property:member_of_political_party ?d . ?d rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15275916
P512
Q3412758
USER
What is the name of the degree held by that person ?
(Q49768,P512,c(Q3412758))
action filter_type
action find
entity Q15275916
relation P512
type Q3412758
['Q49768', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?o WHERE { resource:Q15275916 property:P512 ?o . ?o rdf:type ontology:Q3412758 }
Daniela De Ridder
action filter_type
action find
entity Daniela De Ridder
relation academic degree
type qualification
['Social Democratic Party of Germany', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?o WHERE { resource:Daniela_De_Ridder property:academic_degree ?o . ?o rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q49768,P512,c(Q3412758))
action filter_type
action find
entity Q15275916
relation P512
type Q3412758
The name of the degree held by that person is a [ANSWER]
['Q49768', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?o WHERE { resource:Q15275916 property:P512 ?o . ?o rdf:type ontology:Q3412758 }
doctoral degree
The name of the degree held by that person is a doctoral degree
doctoral degree
action filter_type
action find
entity Daniela De Ridder
relation academic degree
type qualification
['Social Democratic Party of Germany', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?o WHERE { resource:Daniela_De_Ridder property:academic_degree ?o . ?o rdf:type ontology:qualification }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5703 Q15275916
P47 P27
Q1048835
USER
Which political territories are the native countriesof Daniela De Ridder or are adjacent to North Karelia ?
OR((Q15275916,P27,c(Q1048835)), (Q5703,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q15275916
relation P27
action find
entity Q5703
relation P47
type Q1048835
{'OR': [['Q15275916', 'P27', {'concept': 'Q1048835'}], ['Q5703', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . { { resource:Q15275916 property:P27 ?i } UNION { resource:Q5703 property:P47 ?i } } }
North Karelia Daniela De Ridder
action filter_type
action union
action find
entity Daniela De Ridder
relation country of citizenship
action find
entity North Karelia
relation shares border with
type political territorial entity
{'OR': [['Daniela De Ridder', 'country of citizenship', {'concept': 'political territorial entity'}], ['North Karelia', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . { { resource:Daniela_De_Ridder property:country_of_citizenship ?i } UNION { resource:North_Karelia property:shares_border_with ?i } } }
[]
political territorial entity
Q5693 Q5691 Q183 Q5694 Q5706
SYSTEM
Southern Savonia, South Karelia, Germany, Kainuu, Northern Savonia
Q5693 Q5691 Q183 Q5694 Q5706
OR((Q15275916,P27,c(Q1048835)), (Q5703,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q15275916
relation P27
action find
entity Q5703
relation P47
type Q1048835
[ANSWERS] are the native countriesof Daniela De Ridder or are adjacent to North Karelia
{'OR': [['Q15275916', 'P27', {'concept': 'Q1048835'}], ['Q5703', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . { { resource:Q15275916 property:P27 ?i } UNION { resource:Q5703 property:P47 ?i } } }
Southern Savonia South Karelia Germany Kainuu Northern Savonia
Southern Savonia, South Karelia, Germany, Kainuu and Northern Savonia are the native countriesof Daniela De Ridder or are adjacent to North Karelia
Southern Savonia South Karelia Germany Kainuu Northern Savonia
action filter_type
action union
action find
entity Daniela De Ridder
relation country of citizenship
action find
entity North Karelia
relation shares border with
type political territorial entity
{'OR': [['Daniela De Ridder', 'country of citizenship', {'concept': 'political territorial entity'}], ['North Karelia', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . { { resource:Daniela_De_Ridder property:country_of_citizenship ?i } UNION { resource:North_Karelia property:shares_border_with ?i } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5691
P127
Q62447
USER
Which aerodrome belongs to that political territory ?
(c(Q62447),P127,Q5691)
action filter_type
action find_reverse
entity Q5691
relation P127
type Q62447
[{'concept': 'Q62447'}, 'P127', 'Q5691']
SELECT DISTINCT ?u WHERE { ?u property:P127 resource:Q5691 . ?u rdf:type ontology:Q62447 }
South Karelia
action filter_type
action find_reverse
entity South Karelia
relation owned by
type aerodrome
[{'concept': 'aerodrome'}, 'owned by', 'South Karelia']
SELECT DISTINCT ?u WHERE { ?u property:owned_by resource:South_Karelia . ?u rdf:type ontology:aerodrome }
[]
aerodrome
Clarification for simple ques.
Q5691
SYSTEM
Did you mean South Karelia ?
Q5693 Q5691 Q183 Q5694 Q5706
(c(Q62447),P127,Q5693) (c(Q62447),P127,Q5691) (c(Q62447),P127,Q183) (c(Q62447),P127,Q5694) (c(Q62447),P127,Q5706)
[ANSWER]
[{'concept': 'Q62447'}, 'P127', 'Q5693'] [{'concept': 'Q62447'}, 'P127', 'Q5691'] [{'concept': 'Q62447'}, 'P127', 'Q183'] [{'concept': 'Q62447'}, 'P127', 'Q5694'] [{'concept': 'Q62447'}, 'P127', 'Q5706']
SELECT DISTINCT ?u WHERE { ?u property:P127 resource:Q5691 . ?u rdf:type ontology:Q62447 }
Southern Savonia South Karelia Germany Kainuu Northern Savonia
Did you mean South Karelia ?
South Karelia
[{'concept': 'aerodrome'}, 'owned by', 'Southern Savonia'] [{'concept': 'aerodrome'}, 'owned by', 'South Karelia'] [{'concept': 'aerodrome'}, 'owned by', 'Germany'] [{'concept': 'aerodrome'}, 'owned by', 'Kainuu'] [{'concept': 'aerodrome'}, 'owned by', 'Northern Savonia']
SELECT DISTINCT ?u WHERE { ?u property:owned_by resource:South_Karelia . ?u rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q62447),P127,Q5691)
[{'concept': 'Q62447'}, 'P127', 'Q5691']
[{'concept': 'aerodrome'}, 'owned by', 'South Karelia']
[]
Q254039
SYSTEM
Lappeenranta Airport
Q254039
(c(Q62447),P127,Q5691)
action filter_type
action find_reverse
entity Q5691
relation P127
type Q62447
[ANSWER] belongs to that political territory
[{'concept': 'Q62447'}, 'P127', 'Q5691']
SELECT DISTINCT ?u WHERE { ?u property:P127 resource:Q5691 . ?u rdf:type ontology:Q62447 }
Lappeenranta Airport
Lappeenranta Airport belongs to that political territory
Lappeenranta Airport
action filter_type
action find_reverse
entity South Karelia
relation owned by
type aerodrome
[{'concept': 'aerodrome'}, 'owned by', 'South Karelia']
SELECT DISTINCT ?u WHERE { ?u property:owned_by resource:South_Karelia . ?u rdf:type ontology:aerodrome }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3395191
P1142
Q1047113 Q7257 Q7278
USER
How many political parties have lesser number of special fields or ideologies as their political ideology than Liberal Democratic Party (Spain) ?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action less
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_multi_types
action find
entity Q3395191
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q3395191 property:P1142 ?l . { VALUES ( ?f ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?l rdf:type ?f } } } . FILTER ( ?t < ?d ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) ?m WHERE { { ?m property:P1142 ?i . ?i rdf:type ontology:Q7257 . ?m rdf:type ontology:Q7278 } UNION { ?m property:P1142 ?i . ?m rdf:type ontology:Q7278 . ?i rdf:type ontology:Q1047113 } } GROUP BY ?m } }
Liberal Democratic Party (Spain)
action count
action less
action union
action find_tuple_counts
relation political ideology
type political party
type special field
action find_tuple_counts
relation political ideology
type political party
type ideology
action count
action filter_multi_types
action find
entity Liberal Democratic Party (Spain)
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Liberal_Democratic_Party_(Spain) property:political_ideology ?l . { VALUES ( ?f ) { ( ontology:special_field ) ( ontology:ideology ) } . ?l rdf:type ?f } } } . FILTER ( ?t < ?d ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) ?m WHERE { { ?m property:political_ideology ?i . ?i rdf:type ontology:ideology . ?m rdf:type ontology:political_party } UNION { ?m property:political_ideology ?i . ?m rdf:type ontology:political_party . ?i rdf:type ontology:special_field } } GROUP BY ?m } }
[]
special field ideology political party
SYSTEM
166
Q627213 Q8711543 Q1164324 Q6064226 Q3572851 Q49750 Q504000 Q1470891 Q3322477 Q4891011 Q5154327 Q4229890 Q1780583 Q10862991 Q5314301 Q3331262 Q3328775 Q192406 Q3176618 Q3324147 Q426963 Q82558 Q3392277 Q6767863 Q3366745 Q537850 Q1351963 Q3042973 Q586066 Q5502807 Q161118 Q317952 Q2883859 Q6064217 Q2590329 Q4671756 Q512498 Q2386352 Q7197818 Q1574974 Q2883403 Q7197814 Q7197815 Q7197810 Q1169744 Q9056260 Q9056262 Q208602 Q5558687 Q3395162 Q50571 Q3822555 Q5154467 Q4229909 Q324107 Q1672366 Q1284257 Q2166484 Q478811 Q2054444 Q429078 Q7197806 Q7232673 Q3047700 Q9056341 Q734792 Q913567 Q2096648 Q256121 Q1069440 Q1122797 Q5154376 Q321633 Q1339294 Q305317 Q750116 Q308714 Q1120586 Q463318 Q2351908 Q3122372 Q2376287 Q1325836 Q4895562 Q695270 Q668699 Q545900 Q2203833 Q3326711 Q8778797 Q592068 Q3191174 Q204911 Q3173752 Q8195538 Q1073752 Q138198 Q3739119 Q341085 Q1136727 Q173236 Q3298265 Q3751846 Q3813847 Q198403 Q153401 Q3326695 Q1343742 Q3049400 Q8350502 Q617261 Q461886 Q7362565 Q155000 Q950356 Q148861 Q13129 Q1957214 Q4229896 Q3326258 Q3330925 Q506537 Q7197808 Q3366589 Q8206150 Q580690 Q3326681 Q5291 Q5406044 Q6064224 Q847914 Q781788 Q2575714 Q1789010 Q3573531 Q1459085 Q672479 Q1525453 Q16059622 Q961371 Q19972534 Q12389059 Q280901 Q3079953 Q1268112 Q1972750 Q168153 Q3328134 Q1328410 Q1465376 Q3322584 Q507226 Q452571 Q487129 Q321673 Q4891520 Q954933 Q3327440 Q4363281 Q943595 Q499632 Q5401616 Q2630934 Q2605592 Q10944648 Q600703
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action less
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_multi_types
action find
entity Q3395191
relation P1142
type Q1047113
type Q7257
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q3395191 property:P1142 ?l . { VALUES ( ?f ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?l rdf:type ?f } } } . FILTER ( ?t < ?d ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) ?m WHERE { { ?m property:P1142 ?i . ?i rdf:type ontology:Q7257 . ?m rdf:type ontology:Q7278 } UNION { ?m property:P1142 ?i . ?m rdf:type ontology:Q7278 . ?i rdf:type ontology:Q1047113 } } GROUP BY ?m } }
Workers' Party of Ethiopia Communist Party of Kampuchea Communist Party of Denmark People's Party of Extremadura Aragon's Socialists' Party Socialist Unity Party of Germany Communist Party of Brazil Union of October 17 Party of the Communists of Catalonia Extremaduran Coalition Communist Party of Andalusia Communist Party of Australia Communist Party of Namibia Converxencia Nacionalista Galega Slovenian Pirate Party Canarian Nationalist Assembly Socialist Party of the People of Ceuta Communist Party of Greece Socialist Party of the Valencian Country Catalan Workers Bloc Communist Party of Nepal Party Against Mistreatment to Animals People's Party (Spain, 1976) Pirate Party of Turkey Socialist Party of Madrid-PSOE Communist Party of Belgium Citizenship, Action, Participation for the 21st Century Estat Català Tunisian Communist Party Frente Nacional Communist Party of Austria Communist Party of Chile Communist Party Andalusian People's Party Communist Party of Australia Communist Organization of Spain Marijuana Party of Canada Communist Party of the People of Spain Pirate Party of Ukraine Pirate Party UK Extremaduran Popular Bloc Pirate Party of Serbia Pirate Party of Poland Pirate Party of Bosnia and Herzegovina Communist Party of the Basque Homelands People's Party of the Valencian Community People's Party of the Community of Madrid Pirate Party Workers Revolutionary Party - Revolutionary Left Socialist Action Party (Spain) United States Pirate Party Cannabis Party Communist Party of the Catalan People Communist Party of the Russian Soviet Federative Socialist Republic Communist Party of Germany/Marxists–Leninists Iraqi Communist Party Pirate Party Communist People's Party of Kazakhstan Communist Party of Spain Communist Party of Réunion PSUC viu Pirate Party Portuguese Pirate Party Liberal-Conservative Party Partido Socialista de los Trabajadores (Spain) European Democratic Party Communist Party of Bohemia and Moravia Pirate Party Berlin Romanian Communist Party Pirate Party of Russia Communist Party of Ukraine Communist Party of Castile-La Mancha Communist Party of Germany (1990) Tudeh Party of Iran South African Communist Party Party of Communists of the Republic of Moldova Communist Party USA Communist Party of Australia Movement of Unitarian Communists Communist Party of Bulgaria Galician Socialist Party Communist Party of Moldova Communist Party of Slovakia Party of Labour of Spain Pirate Party of Austria POUM Green Liberal Party of Switzerland Sudanese Communist Party National Front Esquerda de Galicia Communist Party of Great Britain Pirate Party Russian Social Democratic Labour Party Slovak Pirate Party National Alliance Hungarian Working People's Party Spanish Socialist Workers' Party Communist Party Czech Pirate Party Pirate Party Belgium Convergence for the Isles Communist Party of Pakistan Humanist Party Proletarian Catalan Party Pirate Party Iceland Communist Party of Germany Workers' Party Pirate Party of Greece Carlist Party Convergència Democràtica de la Franja Political Party of Radicals Italian Communist Party Romanian Pirate Party Bulgarian Communist Party Parti Québécois German Communist Party Pirate Party Germany Syrian Communist Party Communist Party of Germany Communist Party of Galicia United Extremadura Unified Communist Party of Nepal Pirate Party Croatia Pirate Party (Tunisia) Canarian Assembly Union of the Russian People Communist Party of the Valencians Pirate Party Cangas Left Alternative People's Party of Castile and León Communist Party of Venezuela Pirate Party Green Party of Quebec Communist Party Carlist Party of Euskalherria Pirate Party Pirate Party Switzerland Communist Organization of Greece Podemos Land Party Jaén en Común Galician Workers Front People's Party of Aragon Pirate Party Luxembourg League of Communists of Slovenia Peruvian Communist Party Pirate Party Australia Revolutionary Workers' Party (Spain) Pirate Party Communist Party of Lithuania Republican Left of the Valencian Country Riojan Party Amaiur Communist Party of Germany Communist Party of Luxembourg Socialist Party of Cantabria–PSOE Popular Socialists Galician Left Pirate Party of Kazakhstan Spanish Alternative Marxist–Leninist Party of Germany Estonian Pirate Party Unified Socialist Party of Catalonia Communist Party of Moldova Valencian Left Communist Party of Sri Lanka
166
action count
action less
action union
action find_tuple_counts
relation political ideology
type political party
type special field
action find_tuple_counts
relation political ideology
type political party
type ideology
action count
action filter_multi_types
action find
entity Liberal Democratic Party (Spain)
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Liberal_Democratic_Party_(Spain) property:political_ideology ?l . { VALUES ( ?f ) { ( ontology:special_field ) ( ontology:ideology ) } . ?l rdf:type ?f } } } . FILTER ( ?t < ?d ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) ?m WHERE { { ?m property:political_ideology ?i . ?i rdf:type ontology:ideology . ?m rdf:type ontology:political_party } UNION { ?m property:political_ideology ?i . ?m rdf:type ontology:political_party . ?i rdf:type ontology:special_field } } GROUP BY ?m } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q895526 Q62447
USER
Which authority organs can manage approximately 1 aerodrome ?
(c(Q62447),P137,c(Q895526))
action approx
action find_reverse_tuple_counts
relation P137
type Q895526
type Q62447
value 1
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P137 ?n . ?n rdf:type ontology:Q895526 . ?c rdf:type ontology:Q62447 } GROUP BY ?n } . FILTER ( ?z = 1 ) }
action approx
action find_reverse_tuple_counts
relation operator
type authority organ
type aerodrome
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:operator ?n . ?n rdf:type ontology:authority_organ . ?c rdf:type ontology:aerodrome } GROUP BY ?n } . FILTER ( ?z = 1 ) }
[]
authority organ aerodrome
Q2625260 Q5251219 Q6462132
SYSTEM
Government of Åland, Defence Materiel Administration, South Jersey Transportation Authority
Q6462132 Q701679 Q2625260 Q7488854 Q5251219 Q1063287
(c(Q62447),P137,c(Q895526))
action approx
action find_reverse_tuple_counts
relation P137
type Q895526
type Q62447
value 1
[ANSWERS] can manage approximately 1 aerodrome
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P137 ?n . ?n rdf:type ontology:Q895526 . ?c rdf:type ontology:Q62447 } GROUP BY ?n } . FILTER ( ?z = 1 ) }
South Jersey Transportation Authority Civil Aeronautics Administration Government of Åland Shannon Development Defence Materiel Administration Saudi Arabia Armed Forces
Government of Åland, Defence Materiel Administration and South Jersey Transportation Authority can manage approximately 1 aerodrome
Government of Åland Defence Materiel Administration South Jersey Transportation Authority
action approx
action find_reverse_tuple_counts
relation operator
type authority organ
type aerodrome
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:operator ?n . ?n rdf:type ontology:authority_organ . ?c rdf:type ontology:aerodrome } GROUP BY ?n } . FILTER ( ?z = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q254039
P931
Q56061
USER
Which administrative territory is served by that aerodrome ?
(Q2625260,P931,c(Q56061)) (Q5251219,P931,c(Q56061)) (Q6462132,P931,c(Q56061))
action filter_type
action find
entity Q254039
relation P931
type Q56061
['Q2625260', 'P931', {'concept': 'Q56061'}] ['Q5251219', 'P931', {'concept': 'Q56061'}] ['Q6462132', 'P931', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q254039 property:P931 ?z . ?z rdf:type ontology:Q56061 }
Lappeenranta Airport
action filter_type
action find
entity Lappeenranta Airport
relation place served by airport
type administrative territorial entity
['Government of Åland', 'place served by airport', {'concept': 'administrative territorial entity'}] ['Defence Materiel Administration', 'place served by airport', {'concept': 'administrative territorial entity'}] ['South Jersey Transportation Authority', 'place served by airport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Lappeenranta_Airport property:place_served_by_airport ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q181854
SYSTEM
Lappeenranta
Q181854
(Q2625260,P931,c(Q56061)) (Q5251219,P931,c(Q56061)) (Q6462132,P931,c(Q56061))
action filter_type
action find
entity Q254039
relation P931
type Q56061
[ANSWER] is served by that aerodrome
['Q2625260', 'P931', {'concept': 'Q56061'}] ['Q5251219', 'P931', {'concept': 'Q56061'}] ['Q6462132', 'P931', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q254039 property:P931 ?z . ?z rdf:type ontology:Q56061 }
Lappeenranta
Lappeenranta is served by that aerodrome
Lappeenranta
action filter_type
action find
entity Lappeenranta Airport
relation place served by airport
type administrative territorial entity
['Government of Åland', 'place served by airport', {'concept': 'administrative territorial entity'}] ['Defence Materiel Administration', 'place served by airport', {'concept': 'administrative territorial entity'}] ['South Jersey Transportation Authority', 'place served by airport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Lappeenranta_Airport property:place_served_by_airport ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181854
P664
Q1955280
USER
What was the event organized by that administrative territory ?
(c(Q1955280),P664,Q181854)
action filter_type
action find_reverse
entity Q181854
relation P664
type Q1955280
[{'concept': 'Q1955280'}, 'P664', 'Q181854']
SELECT DISTINCT ?j WHERE { ?j property:P664 resource:Q181854 . ?j rdf:type ontology:Q1955280 }
Lappeenranta
action filter_type
action find_reverse
entity Lappeenranta
relation organizer
type music competition
[{'concept': 'music competition'}, 'organizer', 'Lappeenranta']
SELECT DISTINCT ?j WHERE { ?j property:organizer resource:Lappeenranta . ?j rdf:type ontology:music_competition }
[]
music competition
Q11874687
SYSTEM
Lappeenranta National Song Contest
Q11874687
(c(Q1955280),P664,Q181854)
action filter_type
action find_reverse
entity Q181854
relation P664
type Q1955280
The event organized by that administrative territory was [ANSWER]
[{'concept': 'Q1955280'}, 'P664', 'Q181854']
SELECT DISTINCT ?j WHERE { ?j property:P664 resource:Q181854 . ?j rdf:type ontology:Q1955280 }
Lappeenranta National Song Contest
The event organized by that administrative territory was Lappeenranta National Song Contest
Lappeenranta National Song Contest
action filter_type
action find_reverse
entity Lappeenranta
relation organizer
type music competition
[{'concept': 'music competition'}, 'organizer', 'Lappeenranta']
SELECT DISTINCT ?j WHERE { ?j property:organizer resource:Lappeenranta . ?j rdf:type ontology:music_competition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11874687
P17
Q15617994
USER
Which administrative territory is that music competition a part of ?
(Q11874687,P17,c(Q15617994))
action filter_type
action find
entity Q11874687
relation P17
type Q15617994
['Q11874687', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q11874687 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Lappeenranta National Song Contest
action filter_type
action find
entity Lappeenranta National Song Contest
relation country
type designation for an administrative territorial entity
['Lappeenranta National Song Contest', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Lappeenranta_National_Song_Contest property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q11874687,P17,c(Q15617994))
action filter_type
action find
entity Q11874687
relation P17
type Q15617994
[ANSWER] is that music competition a part of
['Q11874687', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q11874687 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Finland
Finland is that music competition a part of
Finland
action filter_type
action find
entity Lappeenranta National Song Contest
relation country
type designation for an administrative territorial entity
['Lappeenranta National Song Contest', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Lappeenranta_National_Song_Contest property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q33 Q12652837
P27
Q502895
USER
Is Diana Varnaitė a native of that administrative territory ?
(Q12652837,P27,Q33)
action is_in
entity Q12652837
action find
entity Q33
relation P27
['Q12652837', 'P27', 'Q33']
ASK WHERE { resource:Q33 property:P27 resource:Q12652837 }
Finland Diana Varnaitė
action is_in
entity Diana Varnaitė
action find
entity Finland
relation country of citizenship
['Diana Varnaitė', 'country of citizenship', 'Finland']
ASK WHERE { resource:Finland property:country_of_citizenship resource:Diana_Varnaitė }
[]
common name
SYSTEM
NO
(Q12652837,P27,Q33)
action is_in
entity Q12652837
action find
entity Q33
relation P27
[ANSWER]
['Q12652837', 'P27', 'Q33']
ASK WHERE { resource:Q33 property:P27 resource:Q12652837 }
No
action is_in
entity Diana Varnaitė
action find
entity Finland
relation country of citizenship
['Diana Varnaitė', 'country of citizenship', 'Finland']
ASK WHERE { resource:Finland property:country_of_citizenship resource:Diana_Varnaitė }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q254039 Q81431 Q33
P17
Q15617994
USER
Is Lappeenranta Airport situated in Brigachtal and Finland ?
(Q254039,P17,Q81431) (Q254039,P17,Q33)
action is_in
entity Q254039
action intersection
action find_reverse
entity Q81431
relation P17
action find_reverse
entity Q33
relation P17
['Q254039', 'P17', 'Q81431'] ['Q254039', 'P17', 'Q33']
ASK WHERE { resource:Q254039 property:P17 resource:Q81431 . resource:Q254039 property:P17 resource:Q33 }
Lappeenranta Airport Brigachtal Finland
action is_in
entity Lappeenranta Airport
action intersection
action find_reverse
entity Brigachtal
relation country
action find_reverse
entity Finland
relation country
['Lappeenranta Airport', 'country', 'Brigachtal'] ['Lappeenranta Airport', 'country', 'Finland']
ASK WHERE { resource:Lappeenranta_Airport property:country resource:Brigachtal . resource:Lappeenranta_Airport property:country resource:Finland }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q254039,P17,Q81431) (Q254039,P17,Q33)
action is_in
entity Q254039
action intersection
action find_reverse
entity Q81431
relation P17
action find_reverse
entity Q33
relation P17
[ANSWER]
['Q254039', 'P17', 'Q81431'] ['Q254039', 'P17', 'Q33']
ASK WHERE { resource:Q254039 property:P17 resource:Q81431 . resource:Q254039 property:P17 resource:Q33 }
NO and YES respectively
action is_in
entity Lappeenranta Airport
action intersection
action find_reverse
entity Brigachtal
relation country
action find_reverse
entity Finland
relation country
['Lappeenranta Airport', 'country', 'Brigachtal'] ['Lappeenranta Airport', 'country', 'Finland']
ASK WHERE { resource:Lappeenranta_Airport property:country resource:Brigachtal . resource:Lappeenranta_Airport property:country resource:Finland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5706 Q33
P17
Q15617994
USER
Is Northern Savonia situated in Finland ?
(Q5706,P17,Q33)
action is_in
entity Q33
action find
entity Q5706
relation P17
['Q5706', 'P17', 'Q33']
ASK WHERE { resource:Q5706 property:P17 resource:Q33 }
Northern Savonia Finland
action is_in
entity Finland
action find
entity Northern Savonia
relation country
['Northern Savonia', 'country', 'Finland']
ASK WHERE { resource:Northern_Savonia property:country resource:Finland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5706,P17,Q33)
action is_in
entity Q33
action find
entity Q5706
relation P17
[ANSWER]
['Q5706', 'P17', 'Q33']
ASK WHERE { resource:Q5706 property:P17 resource:Q33 }
Yes
action is_in
entity Finland
action find
entity Northern Savonia
relation country
['Northern Savonia', 'country', 'Finland']
ASK WHERE { resource:Northern_Savonia property:country resource:Finland }
[]