Simple Question (Direct)
Simple Question
Q1580147
P102
Q7210356
USER
Which political organization is Hans Heldt a member of ?
(Q1580147,P102,c(Q7210356))
action filter_type
action find
entity Q1580147
relation P102
type Q7210356
['Q1580147', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q1580147 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Hans Heldt
action filter_type
action find
entity Hans Heldt
relation member of political party
type political organization
['Hans Heldt', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Hans_Heldt property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q13124
SYSTEM
Free Democratic Party
Q13124
(Q1580147,P102,c(Q7210356))
action filter_type
action find
entity Q1580147
relation P102
type Q7210356
Party [ANSWER] is Hans Heldt a member of
['Q1580147', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q1580147 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Free Democratic Party
Party Free Democratic Party is Hans Heldt a member of
Free Democratic Party
action filter_type
action find
entity Hans Heldt
relation member of political party
type political organization
['Hans Heldt', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Hans_Heldt property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1580147
P39
Q12737077
USER
What was the position for which Hans Heldt was appointed ?
(Q1580147,P39,c(Q12737077))
action filter_type
action find
entity Q1580147
relation P39
type Q12737077
['Q1580147', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1580147 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Hans Heldt
action filter_type
action find
entity Hans Heldt
relation position held
type occupation
['Hans Heldt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Hans_Heldt property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q514725
SYSTEM
Landrat
Q514725
(Q1580147,P39,c(Q12737077))
action filter_type
action find
entity Q1580147
relation P39
type Q12737077
[ANSWER]
['Q1580147', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1580147 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Landrat
Landrat
Landrat
action filter_type
action find
entity Hans Heldt
relation position held
type occupation
['Hans Heldt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Hans_Heldt property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1580147
P21
Q290
USER
Which sex does that person belong to ?
(Q514725,P21,c(Q290))
action filter_type
action find
entity Q1580147
relation P21
type Q290
['Q514725', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1580147 property:P21 ?k . ?k rdf:type ontology:Q290 }
Hans Heldt
action filter_type
action find
entity Hans Heldt
relation gender
type sex
['Landrat', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Hans_Heldt property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q514725,P21,c(Q290))
action filter_type
action find
entity Q1580147
relation P21
type Q290
That person belongs to [ANSWER]
['Q514725', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1580147 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Hans Heldt
relation gender
type sex
['Landrat', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Hans_Heldt property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1580147
P20
Q15617994
USER
Which administrative territory is the place of death of that person ?
(Q6581097,P20,c(Q15617994))
action filter_type
action find
entity Q1580147
relation P20
type Q15617994
['Q6581097', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q1580147 property:P20 ?e }
Hans Heldt
action filter_type
action find
entity Hans Heldt
relation place of death
type designation for an administrative territorial entity
['male', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hans_Heldt property:place_of_death ?e }
[]
designation for an administrative territorial entity
Q554288
SYSTEM
Vechelde
Q554288
(Q6581097,P20,c(Q15617994))
action filter_type
action find
entity Q1580147
relation P20
type Q15617994
[ANSWER] is the place of death of that person
['Q6581097', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q1580147 property:P20 ?e }
Vechelde
Vechelde is the place of death of that person
Vechelde
action filter_type
action find
entity Hans Heldt
relation place of death
type designation for an administrative territorial entity
['male', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hans_Heldt property:place_of_death ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q386724 Q340169
USER
How many occupations are expressed in atleast 1 works and medias ?
(c(Q386724)|c(Q340169),P180,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 1
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?v WHERE { VALUES ( ?f ) { ( ontology:Q386724 ) ( ontology:Q340169 ) } . ?d rdf:type ?f } GROUP BY ?v } . FILTER ( ?g >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 1
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?v WHERE { VALUES ( ?f ) { ( ontology:work ) ( ontology:media ) } . ?d rdf:type ?f } GROUP BY ?v } . FILTER ( ?g >= 1 ) }
[]
occupation work media
SYSTEM
17
Q177220 Q2995983 Q45199 Q186360 Q733786 Q4991371 Q273108 Q589897 Q54128 Q20489032 Q2730732 Q5716684 Q18575684 Q639669 Q384593 Q42603 Q1630100
(c(Q386724)|c(Q340169),P180,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 1
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?v WHERE { VALUES ( ?f ) { ( ontology:Q386724 ) ( ontology:Q340169 ) } . ?d rdf:type ?f } GROUP BY ?v } . FILTER ( ?g >= 1 ) }
singer double-bassist sailor nurse monk soldier condottiero mahout domestic worker salt pan worker equestrian dancer embroiderer musician police officer priest art model
17
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 1
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?v WHERE { VALUES ( ?f ) { ( ontology:work ) ( ontology:media ) } . ?d rdf:type ?f } GROUP BY ?v } . FILTER ( ?g >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q8018860
P27
Q1048835
USER
How many political territories are William Stodart an inhabitant of ?
(Q8018860,P27,c(Q1048835))
action count
action filter_type
action find
entity Q8018860
relation P27
type Q1048835
['Q8018860', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:Q8018860 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
William Stodart
action count
action filter_type
action find
entity William Stodart
relation country of citizenship
type political territorial entity
['William Stodart', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:William_Stodart property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q664
(Q8018860,P27,c(Q1048835))
action count
action filter_type
action find
entity Q8018860
relation P27
type Q1048835
[ANSWER]
['Q8018860', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:Q8018860 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
New Zealand
1
action count
action filter_type
action find
entity William Stodart
relation country of citizenship
type political territorial entity
['William Stodart', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:William_Stodart property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8018860
P27
Q1048835
USER
Which political territory is the native country of that person ?
action filter_type
action find
entity Q8018860
relation P27
type Q1048835
SELECT DISTINCT ?a WHERE { resource:Q8018860 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
William Stodart
action filter_type
action find
entity William Stodart
relation country of citizenship
type political territorial entity
SELECT DISTINCT ?a WHERE { resource:William_Stodart property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664
SYSTEM
New Zealand
Q664
action filter_type
action find
entity Q8018860
relation P27
type Q1048835
[ANSWER] is the native country of that person
SELECT DISTINCT ?a WHERE { resource:Q8018860 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
New Zealand
New Zealand is the native country of that person
New Zealand
action filter_type
action find
entity William Stodart
relation country of citizenship
type political territorial entity
SELECT DISTINCT ?a WHERE { resource:William_Stodart property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q664
P1376
Q515
USER
Which city is the capital of that political territory ?
(c(Q515),P1376,Q664)
action filter_type
action find_reverse
entity Q664
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q664']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q515 . ?d property:P1376 resource:Q664 }
New Zealand
action filter_type
action find_reverse
entity New Zealand
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'New Zealand']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:city . ?d property:capital_of resource:New_Zealand }
[]
city
Q23661
SYSTEM
Wellington
Q23661
(c(Q515),P1376,Q664)
action filter_type
action find_reverse
entity Q664
relation P1376
type Q515
The capital of that political territory is of [ANSWER]
[{'concept': 'Q515'}, 'P1376', 'Q664']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q515 . ?d property:P1376 resource:Q664 }
Wellington
The capital of that political territory is of Wellington
Wellington
action filter_type
action find_reverse
entity New Zealand
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'New Zealand']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:city . ?d property:capital_of resource:New_Zealand }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P36
Q515 Q7275 Q15617994
USER
Which cities are the capitals of greater number of states and administrative territories than that city ?
(c(Q7275)|c(Q15617994),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q7275
action find_reverse_tuple_counts
relation P36
type Q515
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q23661
relation P36
type Q7275
type Q15617994
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?d ) WHERE { { ?x property:P36 ?j . ?j rdf:type ontology:Q515 . ?x rdf:type ontology:Q7275 } UNION { ?x property:P36 ?j . ?j rdf:type ontology:Q515 . ?x rdf:type ontology:Q15617994 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:P36 resource:Q23661 . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?d > ?i ) }
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type state
action find_reverse_tuple_counts
relation capital
type city
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Wellington
relation capital
type state
type designation for an administrative territorial entity
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?d ) WHERE { { ?x property:capital ?j . ?j rdf:type ontology:city . ?x rdf:type ontology:state } UNION { ?x property:capital ?j . ?j rdf:type ontology:city . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:capital resource:Wellington . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?d > ?i ) }
[]
city state designation for an administrative territorial entity
Q1486 Q1773 Q1899
SYSTEM
Buenos Aires, Riga, Kyiv
Q3572 Q19689 Q27860 Q3624 Q58650 Q71305 Q7473516 Q3870 Q18970 Q80989 Q2135 Q8131 Q3926 Q23482 Q5838 Q3692 Q3104 Q1899 Q1794 Q665 Q1486 Q220445 Q1461 Q1844 Q23430 Q1362 Q183584 Q1519 Q8684 Q3838 Q7248 Q6602 Q11443 Q7568 Q3866 Q1731 Q3859 Q19660 Q3915 Q1953 Q9005 Q1330294 Q2978 Q34261 Q1773 Q14821 Q2773 Q1858 Q2096 Q1854 Q3787 Q7070 Q3826 Q68481 Q1533 Q2936 Q308657 Q7929221 Q42751 Q11194 Q1720 Q83247 Q3904 Q2844 Q11725 Q73156 Q3768 Q1863 Q1865 Q18342086 Q72778 Q187136 Q6582 Q107401 Q1761 Q2887 Q2061 Q2069869 Q456 Q3935 Q7003 Q726993 Q3919 Q3751 Q3616 Q25475 Q1530 Q2900 Q187284 Q2999 Q16666
(c(Q7275)|c(Q15617994),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q7275
action find_reverse_tuple_counts
relation P36
type Q515
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q23661
relation P36
type Q7275
type Q15617994
[ANSWERS] are the capitals of greater number of states and administrative territories than that city
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?d ) WHERE { { ?x property:P36 ?j . ?j rdf:type ontology:Q515 . ?x rdf:type ontology:Q7275 } UNION { ?x property:P36 ?j . ?j rdf:type ontology:Q515 . ?x rdf:type ontology:Q15617994 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:P36 resource:Q23661 . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?d > ?i ) }
Tunis Tirana Jayapura Addis Ababa Zhangjiakou Ezhou Tokyo Nairobi Ambon Bhopal Winnipeg Palembang Pretoria Marseille Kabul Riyadh Koblenz Kyiv Frankfurt Lugdunum Buenos Aires Kuching Manila Vaduz Ulaanbaatar Islamabad Lanzhou Abu Dhabi Seoul Kinshasa Bukittinggi Strasbourg Kediri Yogyakarta Dodoma Dresden Kigali Bucharest Antananarivo Yerevan Brussels Jiankang Regensburg Port-au-Prince Riga Coburg Braunschweig Hanoi Edmonton Ho Chi Minh City Abuja Eisenach Muscat Fuzhou Caracas Oldenburg Minas Tirith Vijaya Palikir Sarajevo Mainz Braga Mbabane Brasília Chongqing Linfen Yamoussoukro Andorra la Vella Kuala Lumpur Oyo-Ile Taiyuan Luoyang Carcassonne Sivas Dublin Santiago Yellowknife Edoras Lyon Windhoek Dijon Cotabato City Gaborone Praia Tehran Batumi Baghdad Quito Hurghada Würzburg Nanjing
Buenos Aires, Riga and Kyiv are the capitals of greater number of states and administrative territories than that city
Buenos Aires Riga Kyiv
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type state
action find_reverse_tuple_counts
relation capital
type city
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Wellington
relation capital
type state
type designation for an administrative territorial entity
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?d ) WHERE { { ?x property:capital ?j . ?j rdf:type ontology:city . ?x rdf:type ontology:state } UNION { ?x property:capital ?j . ?j rdf:type ontology:city . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:capital resource:Wellington . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?d > ?i ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1486 Q1773 Q1899
P931
Q62447
USER
Which aerodromes are served by Buenos Aires, Riga and Kyiv ?
(c(Q62447),P931,Q1486) (c(Q62447),P931,Q1773) (c(Q62447),P931,Q1899)
action union
action filter_type
action find_reverse
entity Q1486
relation P931
type Q62447
action filter_type
action find_reverse
entity Q1773
relation P931
type Q62447
action filter_type
action find_reverse
entity Q1899
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q1486'] [{'concept': 'Q62447'}, 'P931', 'Q1773'] [{'concept': 'Q62447'}, 'P931', 'Q1899']
SELECT DISTINCT ?p WHERE { { ?p property:P931 resource:Q1486 . ?p rdf:type ontology:Q62447 } UNION { ?p property:P931 resource:Q1773 . ?p rdf:type ontology:Q62447 } }
Buenos Aires Riga Kyiv
action union
action filter_type
action find_reverse
entity Buenos Aires
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Riga
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Kyiv
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Buenos Aires'] [{'concept': 'aerodrome'}, 'place served by airport', 'Riga'] [{'concept': 'aerodrome'}, 'place served by airport', 'Kyiv']
SELECT DISTINCT ?p WHERE { { ?p property:place_served_by_airport resource:Buenos_Aires . ?p rdf:type ontology:aerodrome } UNION { ?p property:place_served_by_airport resource:Riga . ?p rdf:type ontology:aerodrome } }
[]
aerodrome
Q999047 Q505421 Q477677
SYSTEM
Aeroparque Jorge Newbery, Riga International Airport, Boryspil International Airport
Q999047 Q16891465 Q505421 Q477677 Q939543
(c(Q62447),P931,Q1486) (c(Q62447),P931,Q1773) (c(Q62447),P931,Q1899)
action union
action filter_type
action find_reverse
entity Q1486
relation P931
type Q62447
action filter_type
action find_reverse
entity Q1773
relation P931
type Q62447
action filter_type
action find_reverse
entity Q1899
relation P931
type Q62447
[ANSWERS] are served by Buenos Aires, Riga and Kyiv
[{'concept': 'Q62447'}, 'P931', 'Q1486'] [{'concept': 'Q62447'}, 'P931', 'Q1773'] [{'concept': 'Q62447'}, 'P931', 'Q1899']
SELECT DISTINCT ?p WHERE { { ?p property:P931 resource:Q1486 . ?p rdf:type ontology:Q62447 } UNION { ?p property:P931 resource:Q1773 . ?p rdf:type ontology:Q62447 } }
Aeroparque Jorge Newbery Fuerza Aérea (Edificio Cóndor) Heliport Riga International Airport Boryspil International Airport Kyiv Zhuliany International Airport
Aeroparque Jorge Newbery, Riga International Airport and Boryspil International Airport are served by Buenos Aires, Riga and Kyiv
Aeroparque Jorge Newbery Riga International Airport Boryspil International Airport
action union
action filter_type
action find_reverse
entity Buenos Aires
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Riga
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Kyiv
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Buenos Aires'] [{'concept': 'aerodrome'}, 'place served by airport', 'Riga'] [{'concept': 'aerodrome'}, 'place served by airport', 'Kyiv']
SELECT DISTINCT ?p WHERE { { ?p property:place_served_by_airport resource:Buenos_Aires . ?p rdf:type ontology:aerodrome } UNION { ?p property:place_served_by_airport resource:Riga . ?p rdf:type ontology:aerodrome } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q999047 Q505421 Q477677
P931
Q515
USER
Which cities do Aeroparque Jorge Newbery, Riga International Airport and Boryspil International Airport serve ?
(Q999047,P931,c(Q515)) (Q505421,P931,c(Q515)) (Q477677,P931,c(Q515))
action union
action filter_type
action find
entity Q999047
relation P931
type Q515
action filter_type
action find
entity Q505421
relation P931
type Q515
action filter_type
action find
entity Q477677
relation P931
type Q515
['Q999047', 'P931', {'concept': 'Q515'}] ['Q505421', 'P931', {'concept': 'Q515'}] ['Q477677', 'P931', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { ?j property:P931 ?h . VALUES ( ?j ) { ( resource:Q999047 ) ( resource:Q505421 ) } }
Aeroparque Jorge Newbery Riga International Airport Boryspil International Airport
action union
action filter_type
action find
entity Aeroparque Jorge Newbery
relation place served by airport
type city
action filter_type
action find
entity Riga International Airport
relation place served by airport
type city
action filter_type
action find
entity Boryspil International Airport
relation place served by airport
type city
['Aeroparque Jorge Newbery', 'place served by airport', {'concept': 'city'}] ['Riga International Airport', 'place served by airport', {'concept': 'city'}] ['Boryspil International Airport', 'place served by airport', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { ?j property:place_served_by_airport ?h . VALUES ( ?j ) { ( resource:Aeroparque_Jorge_Newbery ) ( resource:Riga_International_Airport ) } }
[]
city
Q1486 Q1773 Q1899
SYSTEM
Buenos Aires, Riga, Kyiv
Q1486 Q1773 Q1899
(Q999047,P931,c(Q515)) (Q505421,P931,c(Q515)) (Q477677,P931,c(Q515))
action union
action filter_type
action find
entity Q999047
relation P931
type Q515
action filter_type
action find
entity Q505421
relation P931
type Q515
action filter_type
action find
entity Q477677
relation P931
type Q515
Aeroparque Jorge Newbery , Riga International Airport and Boryspil International Airport serve the [ANSWERS]
['Q999047', 'P931', {'concept': 'Q515'}] ['Q505421', 'P931', {'concept': 'Q515'}] ['Q477677', 'P931', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { ?j property:P931 ?h . VALUES ( ?j ) { ( resource:Q999047 ) ( resource:Q505421 ) } }
Buenos Aires Riga Kyiv
Aeroparque Jorge Newbery , Riga International Airport and Boryspil International Airport serve the Buenos Aires, Riga and Kyiv
Buenos Aires Riga Kyiv
action union
action filter_type
action find
entity Aeroparque Jorge Newbery
relation place served by airport
type city
action filter_type
action find
entity Riga International Airport
relation place served by airport
type city
action filter_type
action find
entity Boryspil International Airport
relation place served by airport
type city
['Aeroparque Jorge Newbery', 'place served by airport', {'concept': 'city'}] ['Riga International Airport', 'place served by airport', {'concept': 'city'}] ['Boryspil International Airport', 'place served by airport', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { ?j property:place_served_by_airport ?h . VALUES ( ?j ) { ( resource:Aeroparque_Jorge_Newbery ) ( resource:Riga_International_Airport ) } }
[]