Simple Question (Direct)
Simple Question
Q3313844
P27
Q15617994
USER
Which administrative territory is Milagros Palma a civilian of ?
(Q3313844,P27,c(Q15617994))
action filter_type
action find
entity Q3313844
relation P27
type Q15617994
['Q3313844', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3313844 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Milagros Palma
action filter_type
action find
entity Milagros Palma
relation country of citizenship
type designation for an administrative territorial entity
['Milagros Palma', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Milagros_Palma property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3313844,P27,c(Q15617994))
action filter_type
action find
entity Q3313844
relation P27
type Q15617994
[ANSWER] is Milagros Palma a civilian of
['Q3313844', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3313844 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
France
France is Milagros Palma a civilian of
France
action filter_type
action find
entity Milagros Palma
relation country of citizenship
type designation for an administrative territorial entity
['Milagros Palma', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Milagros_Palma property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3313844
P735
Q82799
USER
What is forename of Milagros Palma ?
(Q3313844,P735,c(Q82799))
action filter_type
action find
entity Q3313844
relation P735
type Q82799
['Q3313844', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q3313844 property:P735 ?o . ?o rdf:type ontology:Q82799 }
Milagros Palma
action filter_type
action find
entity Milagros Palma
relation given name
type name
['Milagros Palma', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Milagros_Palma property:given_name ?o . ?o rdf:type ontology:name }
[]
name
Q3857549
SYSTEM
Milagros
Q3857549
(Q3313844,P735,c(Q82799))
action filter_type
action find
entity Q3313844
relation P735
type Q82799
Forename of [ANSWER] Palma is of [ANSWER]
['Q3313844', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q3313844 property:P735 ?o . ?o rdf:type ontology:Q82799 }
Milagros
Forename of Milagros Palma is of Milagros
Milagros
action filter_type
action find
entity Milagros Palma
relation given name
type name
['Milagros Palma', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Milagros_Palma property:given_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3313844
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q3857549,P19,c(Q56061))
action filter_type
action find
entity Q3313844
relation P19
type Q56061
['Q3857549', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q3313844 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Milagros Palma
action filter_type
action find
entity Milagros Palma
relation place of birth
type administrative territorial entity
['Milagros', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Milagros_Palma property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q208151
SYSTEM
León
Q208151
(Q3857549,P19,c(Q56061))
action filter_type
action find
entity Q3313844
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q3857549', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q3313844 property:P19 ?m . ?m rdf:type ontology:Q56061 }
León
León is the birthplace of that person
León
action filter_type
action find
entity Milagros Palma
relation place of birth
type administrative territorial entity
['Milagros', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Milagros_Palma property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q208151 Q1055 Q11794064
P190
Q486972
USER
Is that administrative territory twin city of Hamburg and Nowy Świat, Poddębice County ?
(Q208151,P190,Q1055) (Q208151,P190,Q11794064)
action is_in
entity Q208151
action intersection
action find_reverse
entity Q1055
relation P190
action find_reverse
entity Q11794064
relation P190
['Q208151', 'P190', 'Q1055'] ['Q208151', 'P190', 'Q11794064']
ASK WHERE { resource:Q208151 property:P190 resource:Q1055 . resource:Q208151 property:P190 resource:Q11794064 }
León Hamburg Nowy Świat, Poddębice County
action is_in
entity León
action intersection
action find_reverse
entity Hamburg
relation sister city
action find_reverse
entity Nowy Świat, Poddębice County
relation sister city
['León', 'sister city', 'Hamburg'] ['León', 'sister city', 'Nowy Świat, Poddębice County']
ASK WHERE { resource:León property:sister_city resource:Hamburg . resource:León property:sister_city resource:Nowy_Świat,_Poddębice_County }
[]
human settlement
SYSTEM
YES and NO respectively
(Q208151,P190,Q1055) (Q208151,P190,Q11794064)
action is_in
entity Q208151
action intersection
action find_reverse
entity Q1055
relation P190
action find_reverse
entity Q11794064
relation P190
[ANSWER]
['Q208151', 'P190', 'Q1055'] ['Q208151', 'P190', 'Q11794064']
ASK WHERE { resource:Q208151 property:P190 resource:Q1055 . resource:Q208151 property:P190 resource:Q11794064 }
YES and NO respectively
action is_in
entity León
action intersection
action find_reverse
entity Hamburg
relation sister city
action find_reverse
entity Nowy Świat, Poddębice County
relation sister city
['León', 'sister city', 'Hamburg'] ['León', 'sister city', 'Nowy Świat, Poddębice County']
ASK WHERE { resource:León property:sister_city resource:Hamburg . resource:León property:sister_city resource:Nowy_Świat,_Poddębice_County }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q208151
P17
Q15617994
USER
Which administrative territory does León belong to ?
(Q208151,P17,c(Q15617994))
action filter_type
action find
entity Q208151
relation P17
type Q15617994
['Q208151', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q208151 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
León
action filter_type
action find
entity León
relation country
type designation for an administrative territorial entity
['León', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:León property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q811
SYSTEM
Nicaragua
Q811
(Q208151,P17,c(Q15617994))
action filter_type
action find
entity Q208151
relation P17
type Q15617994
León belongs to [ANSWER]
['Q208151', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q208151 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Nicaragua
León belongs to Nicaragua
Nicaragua
action filter_type
action find
entity León
relation country
type designation for an administrative territorial entity
['León', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:León property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q17444909 Q811979
USER
How many astronomical object types or architectural structures come from that administrative territory ?
(c(Q17444909),P138,Q811) (c(Q811979),P138,Q811) (c(Q17444909),P138,Q811) (c(Q811979),P138,Q811)
action count
action union
action filter_type
action find_reverse
entity Q811
relation P138
type Q17444909
action filter_type
action find_reverse
entity Q811
relation P138
type Q811979
[{'concept': 'Q17444909'}, 'P138', 'Q811'] [{'concept': 'Q811979'}, 'P138', 'Q811'] [{'concept': 'Q17444909'}, 'P138', 'Q811'] [{'concept': 'Q811979'}, 'P138', 'Q811']
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { VALUES ( ?o ) { ( ontology:Q811979 ) ( ontology:Q17444909 ) } . ?x rdf:type ?o }
action count
action union
action filter_type
action find_reverse
entity Nicaragua
relation named after
type astronomical object type
action filter_type
action find_reverse
entity Nicaragua
relation named after
type architectural structure
[{'concept': 'astronomical object type'}, 'named after', 'Nicaragua'] [{'concept': 'architectural structure'}, 'named after', 'Nicaragua'] [{'concept': 'astronomical object type'}, 'named after', 'Nicaragua'] [{'concept': 'architectural structure'}, 'named after', 'Nicaragua']
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { VALUES ( ?o ) { ( ontology:architectural_structure ) ( ontology:astronomical_object_type ) } . ?x rdf:type ?o }
[]
astronomical object type architectural structure
SYSTEM
2
Q3390654 Q19547984
(c(Q17444909),P138,Q811) (c(Q811979),P138,Q811) (c(Q17444909),P138,Q811) (c(Q811979),P138,Q811)
action count
action union
action filter_type
action find_reverse
entity Q811
relation P138
type Q17444909
action filter_type
action find_reverse
entity Q811
relation P138
type Q811979
[ANSWER]
[{'concept': 'Q17444909'}, 'P138', 'Q811'] [{'concept': 'Q811979'}, 'P138', 'Q811'] [{'concept': 'Q17444909'}, 'P138', 'Q811'] [{'concept': 'Q811979'}, 'P138', 'Q811']
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { VALUES ( ?o ) { ( ontology:Q811979 ) ( ontology:Q17444909 ) } . ?x rdf:type ?o }
place du Nicaragua 11908 Nicaragua
2
action count
action union
action filter_type
action find_reverse
entity Nicaragua
relation named after
type astronomical object type
action filter_type
action find_reverse
entity Nicaragua
relation named after
type architectural structure
[{'concept': 'astronomical object type'}, 'named after', 'Nicaragua'] [{'concept': 'architectural structure'}, 'named after', 'Nicaragua'] [{'concept': 'astronomical object type'}, 'named after', 'Nicaragua'] [{'concept': 'architectural structure'}, 'named after', 'Nicaragua']
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { VALUES ( ?o ) { ( ontology:architectural_structure ) ( ontology:astronomical_object_type ) } . ?x rdf:type ?o }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q205832 Q208151
P190
Q56061
USER
Which administrative territories are partner towns of León or Corfu ?
OR((Q208151,P190,c(Q56061)), (Q205832,P190,c(Q56061)))
action filter_type
action union
action find
entity Q208151
relation P190
action find
entity Q205832
relation P190
type Q56061
{'OR': [['Q208151', 'P190', {'concept': 'Q56061'}], ['Q205832', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . { ?j property:P190 ?f . VALUES ( ?j ) { ( resource:Q208151 ) ( resource:Q205832 ) } } }
Corfu León
action filter_type
action union
action find
entity León
relation sister city
action find
entity Corfu
relation sister city
type administrative territorial entity
{'OR': [['León', 'sister city', {'concept': 'administrative territorial entity'}], ['Corfu', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . { ?j property:sister_city ?f . VALUES ( ?j ) { ( resource:León ) ( resource:Corfu ) } } }
[]
administrative territorial entity
Q40840 Q34713 Q1015 Q193190 Q189128 Q180918 Q13496 Q2028 Q201442
SYSTEM
Tampere, Salzburg, Koper, Famagusta, León, Paphos, Brindisi, Verona, Kruševac
Q40840 Q34713 Q1015 Q193190 Q189128 Q180918 Q13496 Q2028 Q201442
OR((Q208151,P190,c(Q56061)), (Q205832,P190,c(Q56061)))
action filter_type
action union
action find
entity Q208151
relation P190
action find
entity Q205832
relation P190
type Q56061
[ANSWERS] are partner towns of León or Corfu
{'OR': [['Q208151', 'P190', {'concept': 'Q56061'}], ['Q205832', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . { ?j property:P190 ?f . VALUES ( ?j ) { ( resource:Q208151 ) ( resource:Q205832 ) } } }
Tampere Salzburg Koper Famagusta León Paphos Brindisi Verona Kruševac
Tampere, Salzburg, Koper, Famagusta, León, Paphos, Brindisi, Verona and Kruševac are partner towns of León or Corfu
Tampere Salzburg Koper Famagusta León Paphos Brindisi Verona Kruševac
action filter_type
action union
action find
entity León
relation sister city
action find
entity Corfu
relation sister city
type administrative territorial entity
{'OR': [['León', 'sister city', {'concept': 'administrative territorial entity'}], ['Corfu', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . { ?j property:sister_city ?f . VALUES ( ?j ) { ( resource:León ) ( resource:Corfu ) } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q40840 Q34713 Q1015 Q193190 Q189128 Q180918 Q13496 Q2028 Q201442
P190
Q56061
USER
Which administrative territories are the sister cities of Tampere, Salzburg, Koper, Famagusta, León, Paphos, Brindisi, Verona and Kruševac ?
(Q40840,P190,c(Q56061)) (Q34713,P190,c(Q56061)) (Q1015,P190,c(Q56061)) (Q193190,P190,c(Q56061)) (Q189128,P190,c(Q56061)) (Q180918,P190,c(Q56061)) (Q13496,P190,c(Q56061)) (Q2028,P190,c(Q56061)) (Q201442,P190,c(Q56061))
action union
action filter_type
action find
entity Q40840
relation P190
type Q56061
action filter_type
action find
entity Q34713
relation P190
type Q56061
action filter_type
action find
entity Q1015
relation P190
type Q56061
action filter_type
action find
entity Q193190
relation P190
type Q56061
action filter_type
action find
entity Q189128
relation P190
type Q56061
action filter_type
action find
entity Q180918
relation P190
type Q56061
action filter_type
action find
entity Q13496
relation P190
type Q56061
action filter_type
action find
entity Q2028
relation P190
type Q56061
action filter_type
action find
entity Q201442
relation P190
type Q56061
['Q40840', 'P190', {'concept': 'Q56061'}] ['Q34713', 'P190', {'concept': 'Q56061'}] ['Q1015', 'P190', {'concept': 'Q56061'}] ['Q193190', 'P190', {'concept': 'Q56061'}] ['Q189128', 'P190', {'concept': 'Q56061'}] ['Q180918', 'P190', {'concept': 'Q56061'}] ['Q13496', 'P190', {'concept': 'Q56061'}] ['Q2028', 'P190', {'concept': 'Q56061'}] ['Q201442', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?x property:P190 ?l . VALUES ( ?x ) { ( resource:Q40840 ) ( resource:Q34713 ) } }
Tampere Salzburg Koper Famagusta León Paphos Brindisi Verona Kruševac
action union
action filter_type
action find
entity Tampere
relation sister city
type administrative territorial entity
action filter_type
action find
entity Salzburg
relation sister city
type administrative territorial entity
action filter_type
action find
entity Koper
relation sister city
type administrative territorial entity
action filter_type
action find
entity Famagusta
relation sister city
type administrative territorial entity
action filter_type
action find
entity León
relation sister city
type administrative territorial entity
action filter_type
action find
entity Paphos
relation sister city
type administrative territorial entity
action filter_type
action find
entity Brindisi
relation sister city
type administrative territorial entity
action filter_type
action find
entity Verona
relation sister city
type administrative territorial entity
action filter_type
action find
entity Kruševac
relation sister city
type administrative territorial entity
['Tampere', 'sister city', {'concept': 'administrative territorial entity'}] ['Salzburg', 'sister city', {'concept': 'administrative territorial entity'}] ['Koper', 'sister city', {'concept': 'administrative territorial entity'}] ['Famagusta', 'sister city', {'concept': 'administrative territorial entity'}] ['León', 'sister city', {'concept': 'administrative territorial entity'}] ['Paphos', 'sister city', {'concept': 'administrative territorial entity'}] ['Brindisi', 'sister city', {'concept': 'administrative territorial entity'}] ['Verona', 'sister city', {'concept': 'administrative territorial entity'}] ['Kruševac', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?x property:sister_city ?l . VALUES ( ?x ) { ( resource:Tampere ) ( resource:Salzburg ) } }
[]
administrative territorial entity
Q8686 Q216 Q1524
SYSTEM
Shanghai, Vilnius, Athens
Q102397 Q81137 Q208151 Q25724 Q163852 Q25804 Q580 Q13972 Q891 Q41329 Q189361 Q25331 Q4115712 Q110218 Q2066 Q8673 Q216 Q153331 Q41876 Q100772 Q8686 Q70 Q2028 Q23556 Q208151 Q205832 Q13362 Q25797 Q695767 Q894 Q203403 Q205832 Q156858 Q182009 Q200030 Q6487 Q642810 Q133123 Q1524 Q15699 Q124739 Q49273 Q208151 Q205832 Q182299 Q170532 Q205832 Q1012887 Q83285 Q133123 Q187895 Q504215 Q24861 Q4656 Q25409 Q43301 Q13386 Q390358 Q309164 Q1726 Q205832 Q34713 Q121157 Q5776 Q205832 Q175742 Q2746 Q152406 Q914
(Q40840,P190,c(Q56061)) (Q34713,P190,c(Q56061)) (Q1015,P190,c(Q56061)) (Q193190,P190,c(Q56061)) (Q189128,P190,c(Q56061)) (Q180918,P190,c(Q56061)) (Q13496,P190,c(Q56061)) (Q2028,P190,c(Q56061)) (Q201442,P190,c(Q56061))
action union
action filter_type
action find
entity Q40840
relation P190
type Q56061
action filter_type
action find
entity Q34713
relation P190
type Q56061
action filter_type
action find
entity Q1015
relation P190
type Q56061
action filter_type
action find
entity Q193190
relation P190
type Q56061
action filter_type
action find
entity Q189128
relation P190
type Q56061
action filter_type
action find
entity Q180918
relation P190
type Q56061
action filter_type
action find
entity Q13496
relation P190
type Q56061
action filter_type
action find
entity Q2028
relation P190
type Q56061
action filter_type
action find
entity Q201442
relation P190
type Q56061
[ANSWERS] are the sister cities of Tampere, Salzburg, Koper, Famagusta, León, Paphos, Brindisi, Verona and Kruševac
['Q40840', 'P190', {'concept': 'Q56061'}] ['Q34713', 'P190', {'concept': 'Q56061'}] ['Q1015', 'P190', {'concept': 'Q56061'}] ['Q193190', 'P190', {'concept': 'Q56061'}] ['Q189128', 'P190', {'concept': 'Q56061'}] ['Q180918', 'P190', {'concept': 'Q56061'}] ['Q13496', 'P190', {'concept': 'Q56061'}] ['Q2028', 'P190', {'concept': 'Q56061'}] ['Q201442', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?x property:P190 ?l . VALUES ( ?x ) { ( resource:Q40840 ) ( resource:Q34713 ) } }
Miskolc Olomouc León Norrköping Kópavogur Trondheim Łódź Tartu Nizhny Novgorod Linz Klaksvík Odense Kaunas Mwanza Essen Lagos Vilnius Singida Reims Busseto Shanghai Bern Verona Atlanta León Corfu Ferrara Žilina Buzet Samara Saint John Corfu Struga Tekirdağ Latakia Antalya Missolonghi Patras Athens León Tijuana Lubbock León Corfu Chania Amasya Corfu Karadeniz Ereğli Durrës Patras Zonguldak Ayacucho Albany Pula Košice Fresno Lecce Jagodina Ra'anana Munich Corfu Salzburg Mashhad Bethlehem Corfu Odintsovo Ryazan Kiryat Gat Volgograd
Shanghai, Vilnius and Athens are the sister cities of Tampere, Salzburg, Koper, Famagusta, León, Paphos, Brindisi, Verona and Kruševac
Shanghai Vilnius Athens
action union
action filter_type
action find
entity Tampere
relation sister city
type administrative territorial entity
action filter_type
action find
entity Salzburg
relation sister city
type administrative territorial entity
action filter_type
action find
entity Koper
relation sister city
type administrative territorial entity
action filter_type
action find
entity Famagusta
relation sister city
type administrative territorial entity
action filter_type
action find
entity León
relation sister city
type administrative territorial entity
action filter_type
action find
entity Paphos
relation sister city
type administrative territorial entity
action filter_type
action find
entity Brindisi
relation sister city
type administrative territorial entity
action filter_type
action find
entity Verona
relation sister city
type administrative territorial entity
action filter_type
action find
entity Kruševac
relation sister city
type administrative territorial entity
['Tampere', 'sister city', {'concept': 'administrative territorial entity'}] ['Salzburg', 'sister city', {'concept': 'administrative territorial entity'}] ['Koper', 'sister city', {'concept': 'administrative territorial entity'}] ['Famagusta', 'sister city', {'concept': 'administrative territorial entity'}] ['León', 'sister city', {'concept': 'administrative territorial entity'}] ['Paphos', 'sister city', {'concept': 'administrative territorial entity'}] ['Brindisi', 'sister city', {'concept': 'administrative territorial entity'}] ['Verona', 'sister city', {'concept': 'administrative territorial entity'}] ['Kruševac', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?x property:sister_city ?l . VALUES ( ?x ) { ( resource:Tampere ) ( resource:Salzburg ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q8686 Q216 Q1524
P931
Q62447
USER
Which aerodromes are served by Shanghai, Vilnius and Athens ?
(c(Q62447),P931,Q8686) (c(Q62447),P931,Q216) (c(Q62447),P931,Q1524)
action union
action filter_type
action find_reverse
entity Q8686
relation P931
type Q62447
action filter_type
action find_reverse
entity Q216
relation P931
type Q62447
action filter_type
action find_reverse
entity Q1524
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q8686'] [{'concept': 'Q62447'}, 'P931', 'Q216'] [{'concept': 'Q62447'}, 'P931', 'Q1524']
SELECT DISTINCT ?p WHERE { VALUES ( ?x ) { ( resource:Q8686 ) ( resource:Q216 ) } . ?p property:P931 ?x }
Shanghai Vilnius Athens
action union
action filter_type
action find_reverse
entity Shanghai
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Vilnius
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Athens
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Shanghai'] [{'concept': 'aerodrome'}, 'place served by airport', 'Vilnius'] [{'concept': 'aerodrome'}, 'place served by airport', 'Athens']
SELECT DISTINCT ?p WHERE { VALUES ( ?x ) { ( resource:Shanghai ) ( resource:Vilnius ) } . ?p property:place_served_by_airport ?x }
[]
aerodrome
Q211734 Q856297 Q2903165
SYSTEM
Athens International Airport, Shanghai Longhua Airport, Jiangwan Airport
Q856297 Q2903165 Q847711 Q211734
(c(Q62447),P931,Q8686) (c(Q62447),P931,Q216) (c(Q62447),P931,Q1524)
action union
action filter_type
action find_reverse
entity Q8686
relation P931
type Q62447
action filter_type
action find_reverse
entity Q216
relation P931
type Q62447
action filter_type
action find_reverse
entity Q1524
relation P931
type Q62447
[ANSWERS] are served by Shanghai, Vilnius and Athens
[{'concept': 'Q62447'}, 'P931', 'Q8686'] [{'concept': 'Q62447'}, 'P931', 'Q216'] [{'concept': 'Q62447'}, 'P931', 'Q1524']
SELECT DISTINCT ?p WHERE { VALUES ( ?x ) { ( resource:Q8686 ) ( resource:Q216 ) } . ?p property:P931 ?x }
Shanghai Longhua Airport Jiangwan Airport Vilnius Airport Athens International Airport
Athens International Airport, Shanghai Longhua Airport and Jiangwan Airport are served by Shanghai, Vilnius and Athens
Athens International Airport Shanghai Longhua Airport Jiangwan Airport
action union
action filter_type
action find_reverse
entity Shanghai
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Vilnius
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Athens
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Shanghai'] [{'concept': 'aerodrome'}, 'place served by airport', 'Vilnius'] [{'concept': 'aerodrome'}, 'place served by airport', 'Athens']
SELECT DISTINCT ?p WHERE { VALUES ( ?x ) { ( resource:Shanghai ) ( resource:Vilnius ) } . ?p property:place_served_by_airport ?x }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q211734 Q856297 Q2903165
P17
Q15617994
USER
Which administrative territories are Athens International Airport, Shanghai Longhua Airport and Jiangwan Airport situated in ?
(Q211734,P17,c(Q15617994)) (Q856297,P17,c(Q15617994)) (Q2903165,P17,c(Q15617994))
action union
action filter_type
action find
entity Q211734
relation P17
type Q15617994
action filter_type
action find
entity Q856297
relation P17
type Q15617994
action filter_type
action find
entity Q2903165
relation P17
type Q15617994
['Q211734', 'P17', {'concept': 'Q15617994'}] ['Q856297', 'P17', {'concept': 'Q15617994'}] ['Q2903165', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?a property:P17 ?i . VALUES ( ?a ) { ( resource:Q211734 ) ( resource:Q856297 ) } }
Athens International Airport Shanghai Longhua Airport Jiangwan Airport
action union
action filter_type
action find
entity Athens International Airport
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Shanghai Longhua Airport
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Jiangwan Airport
relation country
type designation for an administrative territorial entity
['Athens International Airport', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Shanghai Longhua Airport', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Jiangwan Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?a property:country ?i . VALUES ( ?a ) { ( resource:Athens_International_Airport ) ( resource:Shanghai_Longhua_Airport ) } }
[]
designation for an administrative territorial entity
Q41 Q148 Q148
SYSTEM
People's Republic of China for 2nd, 3rd, Greece for 1st
Q41 Q148 Q148
(Q211734,P17,c(Q15617994)) (Q856297,P17,c(Q15617994)) (Q2903165,P17,c(Q15617994))
action union
action filter_type
action find
entity Q211734
relation P17
type Q15617994
action filter_type
action find
entity Q856297
relation P17
type Q15617994
action filter_type
action find
entity Q2903165
relation P17
type Q15617994
[ANSWERS]
['Q211734', 'P17', {'concept': 'Q15617994'}] ['Q856297', 'P17', {'concept': 'Q15617994'}] ['Q2903165', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?a property:P17 ?i . VALUES ( ?a ) { ( resource:Q211734 ) ( resource:Q856297 ) } }
Greece People's Republic of China People's Republic of China
Which administrative territories are Athens International Airport, Shanghai Longhua Airport and Jiangwan Airport situated in
Greece People's Republic of China People's Republic of China
action union
action filter_type
action find
entity Athens International Airport
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Shanghai Longhua Airport
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Jiangwan Airport
relation country
type designation for an administrative territorial entity
['Athens International Airport', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Shanghai Longhua Airport', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Jiangwan Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?a property:country ?i . VALUES ( ?a ) { ( resource:Athens_International_Airport ) ( resource:Shanghai_Longhua_Airport ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2028
P740
Q43229
USER
Which organizations originated at Verona ?
(c(Q43229),P740,Q2028)
action filter_type
action find_reverse
entity Q2028
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q2028']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q43229 . ?i property:P740 resource:Q2028 }
Verona
action filter_type
action find_reverse
entity Verona
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Verona']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:organization . ?i property:location_of_formation resource:Verona }
[]
organization
Q3067962 Q305404 Q3167468
SYSTEM
Fedrigoni, Intimissimi, Banca Popolare di Verona
Q3067962 Q3660719 Q305404 Q3167468 Q16801151 Q806194
(c(Q43229),P740,Q2028)
action filter_type
action find_reverse
entity Q2028
relation P740
type Q43229
[ANSWERS] originated at Verona
[{'concept': 'Q43229'}, 'P740', 'Q2028']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q43229 . ?i property:P740 resource:Q2028 }
Fedrigoni Carrera Jeans Intimissimi Banca Popolare di Verona 3DFLOW Banco Popolare
Fedrigoni, Intimissimi and Banca Popolare di Verona originated at Verona
Fedrigoni Intimissimi Banca Popolare di Verona
action filter_type
action find_reverse
entity Verona
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Verona']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:organization . ?i property:location_of_formation resource:Verona }
[]
Clarification
Simple Question|Single Entity|Indirect
Q305404
P159
Q56061
USER
Which administrative territory is the head office of that organization ?
(Q305404,P159,c(Q56061))
action filter_type
action find
entity Q305404
relation P159
type Q56061
['Q305404', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q305404 property:P159 ?s . ?s rdf:type ontology:Q56061 }
Intimissimi
action filter_type
action find
entity Intimissimi
relation headquarters location
type administrative territorial entity
['Intimissimi', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Intimissimi property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q305404
SYSTEM
Did you mean Intimissimi ?
Q3067962 Q305404 Q3167468
(Q3067962,P159,c(Q56061)) (Q305404,P159,c(Q56061)) (Q3167468,P159,c(Q56061))
[ANSWER]
['Q3067962', 'P159', {'concept': 'Q56061'}] ['Q305404', 'P159', {'concept': 'Q56061'}] ['Q3167468', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q305404 property:P159 ?s . ?s rdf:type ontology:Q56061 }
Fedrigoni Intimissimi Banca Popolare di Verona
Did you mean Intimissimi ?
Intimissimi
['Fedrigoni', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Intimissimi', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Banca Popolare di Verona', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Intimissimi property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q305404,P159,c(Q56061))
['Q305404', 'P159', {'concept': 'Q56061'}]
['Intimissimi', 'headquarters location', {'concept': 'administrative territorial entity'}]
[]
Q2197823
SYSTEM
Dossobuono
Q2197823
(Q305404,P159,c(Q56061))
action filter_type
action find
entity Q305404
relation P159
type Q56061
[ANSWER] is the head office of that organization
['Q305404', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q305404 property:P159 ?s . ?s rdf:type ontology:Q56061 }
Dossobuono
Dossobuono is the head office of that organization
Dossobuono
action filter_type
action find
entity Intimissimi
relation headquarters location
type administrative territorial entity
['Intimissimi', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Intimissimi property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]