Simple Question (Direct)
Simple Question
Q743106
P19
Q56061
USER
Which administrative territory was Cosimo de Torres born at ?
(Q743106,P19,c(Q56061))
action filter_type
action find
entity Q743106
relation P19
type Q56061
['Q743106', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q743106 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Cosimo de Torres
action filter_type
action find
entity Cosimo de Torres
relation place of birth
type administrative territorial entity
['Cosimo de Torres', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Cosimo_de_Torres property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q743106,P19,c(Q56061))
action filter_type
action find
entity Q743106
relation P19
type Q56061
Cosimo de Torres was born in [ANSWER]
['Q743106', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q743106 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Rome
Cosimo de Torres was born in Rome
Rome
action filter_type
action find
entity Cosimo de Torres
relation place of birth
type administrative territorial entity
['Cosimo de Torres', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Cosimo_de_Torres property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P931
Q62447
USER
Which aerodromes serve that administrative territory ?
(c(Q62447),P931,Q220)
action filter_type
action find_reverse
entity Q220
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q220']
SELECT DISTINCT ?x WHERE { ?x property:P931 resource:Q220 . ?x rdf:type ontology:Q62447 }
Rome
action filter_type
action find_reverse
entity Rome
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Rome']
SELECT DISTINCT ?x WHERE { ?x property:place_served_by_airport resource:Rome . ?x rdf:type ontology:aerodrome }
[]
aerodrome
Q1729854 Q19101
SYSTEM
Rome Viterbo Airport, Leonardo da Vinci–Fiumicino Airport
Q1729854 Q19101
(c(Q62447),P931,Q220)
action filter_type
action find_reverse
entity Q220
relation P931
type Q62447
[ANSWERS] serve that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q220']
SELECT DISTINCT ?x WHERE { ?x property:P931 resource:Q220 . ?x rdf:type ontology:Q62447 }
Rome Viterbo Airport Leonardo da Vinci–Fiumicino Airport
Rome Viterbo Airport and Leonardo da Vinci–Fiumicino Airport serve that administrative territory
Rome Viterbo Airport Leonardo da Vinci–Fiumicino Airport
action filter_type
action find_reverse
entity Rome
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Rome']
SELECT DISTINCT ?x WHERE { ?x property:place_served_by_airport resource:Rome . ?x rdf:type ontology:aerodrome }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1729854
P17
Q15617994
USER
Which administrative territory does that aerodrome belong to ?
(Q1729854,P17,c(Q15617994))
action filter_type
action find
entity Q1729854
relation P17
type Q15617994
['Q1729854', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1729854 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Rome Viterbo Airport
action filter_type
action find
entity Rome Viterbo Airport
relation country
type designation for an administrative territorial entity
['Rome Viterbo Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Rome_Viterbo_Airport property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q19101
SYSTEM
Did you mean Leonardo da Vinci–Fiumicino Airport ?
Q1729854 Q19101
(Q1729854,P17,c(Q15617994)) (Q19101,P17,c(Q15617994))
[ANSWER]
['Q1729854', 'P17', {'concept': 'Q15617994'}] ['Q19101', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1729854 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Rome Viterbo Airport Leonardo da Vinci–Fiumicino Airport
Did you mean Leonardo da Vinci–Fiumicino Airport ?
Leonardo da Vinci–Fiumicino Airport
['Rome Viterbo Airport', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Leonardo da Vinci–Fiumicino Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Rome_Viterbo_Airport property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Rome Viterbo Airport. Could you tell me the answer for that?
(Q1729854,P17,c(Q15617994))
Q1729854
['Q1729854', 'P17', {'concept': 'Q15617994'}]
['Rome Viterbo Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q1729854,P17,c(Q15617994))
action filter_type
action find
entity Q1729854
relation P17
type Q15617994
That aerodrome belongs to [ANSWER]
['Q1729854', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1729854 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Italy
That aerodrome belongs to Italy
Italy
action filter_type
action find
entity Rome Viterbo Airport
relation country
type designation for an administrative territorial entity
['Rome Viterbo Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Rome_Viterbo_Airport property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q874405 Q56061
USER
How many social groups or administrative territories had that administrative territory as their member ?
(Q38,P463,c(Q874405)) (Q38,P463,c(Q56061)) (Q38,P463,c(Q874405)) (Q38,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q38
relation P463
type Q874405
action filter_type
action find
entity Q38
relation P463
type Q56061
['Q38', 'P463', {'concept': 'Q874405'}] ['Q38', 'P463', {'concept': 'Q56061'}] ['Q38', 'P463', {'concept': 'Q874405'}] ['Q38', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } }
action count
action union
action filter_type
action find
entity Italy
relation member of
type social group
action filter_type
action find
entity Italy
relation member of
type administrative territorial entity
['Italy', 'member of', {'concept': 'social group'}] ['Italy', 'member of', {'concept': 'administrative territorial entity'}] ['Italy', 'member of', {'concept': 'social group'}] ['Italy', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } }
[]
social group administrative territorial entity
SYSTEM
9
Q41984 Q782942 Q376150 Q1374456 Q663492 Q8908 Q848633 Q458 Q7817
(Q38,P463,c(Q874405)) (Q38,P463,c(Q56061)) (Q38,P463,c(Q874405)) (Q38,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q38
relation P463
type Q874405
action filter_type
action find
entity Q38
relation P463
type Q56061
[ANSWER]
['Q38', 'P463', {'concept': 'Q874405'}] ['Q38', 'P463', {'concept': 'Q56061'}] ['Q38', 'P463', {'concept': 'Q874405'}] ['Q38', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } }
International Atomic Energy Agency Australia Group International Telecommunication Union Euro-Atlantic Partnership Council Eurocontrol Council of Europe International Chamber of Commerce European Union World Health Organization
9
action count
action union
action filter_type
action find
entity Italy
relation member of
type social group
action filter_type
action find
entity Italy
relation member of
type administrative territorial entity
['Italy', 'member of', {'concept': 'social group'}] ['Italy', 'member of', {'concept': 'administrative territorial entity'}] ['Italy', 'member of', {'concept': 'social group'}] ['Italy', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q6671777 Q9332 Q62447
USER
How many aerodromes are mainly used as atmost 2 structures or behaviors ?
(c(Q62447),P366,c(Q6671777)|c(Q9332))
action count
action atmost
action union
action find_tuple_counts
relation P366
type Q62447
type Q6671777
action find_tuple_counts
relation P366
type Q62447
type Q9332
value 2
[{'concept': 'Q62447'}, 'P366', [{'concept': 'Q6671777'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?m WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q6671777 ) ( ontology:Q9332 ) } } GROUP BY ?m } . FILTER ( ?j <= 2 ) }
action count
action atmost
action union
action find_tuple_counts
relation use
type aerodrome
type structure
action find_tuple_counts
relation use
type aerodrome
type behavior
value 2
[{'concept': 'aerodrome'}, 'use', [{'concept': 'structure'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?m WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:structure ) ( ontology:behavior ) } } GROUP BY ?m } . FILTER ( ?j <= 2 ) }
[]
structure behavior aerodrome
SYSTEM
24
Q19356191 Q15886033 Q7186971 Q15930371 Q6537428 Q15887301 Q12694513 Q15958182 Q2721107 Q15936231 Q738719 Q3084534 Q800126 Q2901709 Q1431257 Q6981985 Q620026 Q4264562 Q20977786 Q7589682 Q15936364 Q15936265 Q1656030 Q2455361
(c(Q62447),P366,c(Q6671777)|c(Q9332))
action count
action atmost
action union
action find_tuple_counts
relation P366
type Q62447
type Q6671777
action find_tuple_counts
relation P366
type Q62447
type Q9332
value 2
[ANSWER]
[{'concept': 'Q62447'}, 'P366', [{'concept': 'Q6671777'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?m WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q6671777 ) ( ontology:Q9332 ) } } GROUP BY ?m } . FILTER ( ?j <= 2 ) }
Abu al-Duhur Military Airbase Gatton Airpark Ak-Chin Regional Airport Dodji Airport Lewistown Air Force Station Gatton Airport Prachuap Khiri Khan Airport Fuerte Olimpo Airport Tambacounda Airport Filadelfia Airport Paris–Le Bourget Airport Humboldt Municipal Airport Bagram Airfield Aspen–Pitkin County Airport Enrique Olaya Herrera Airport naval air station Bentiu Airport Ain Beida Airport commercial airport St. Louis Regional Airport Pozo Colorado Airport Pelayo Prats Gill Airstrip Ben Guerir Air Base Cap Skirring Airport
24
action count
action atmost
action union
action find_tuple_counts
relation use
type aerodrome
type structure
action find_tuple_counts
relation use
type aerodrome
type behavior
value 2
[{'concept': 'aerodrome'}, 'use', [{'concept': 'structure'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?m WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:structure ) ( ontology:behavior ) } } GROUP BY ?m } . FILTER ( ?j <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P85
Q7725634
USER
Which is the national anthem of Italy ?
(Q38,P85,c(Q7725634))
action filter_type
action find
entity Q38
relation P85
type Q7725634
['Q38', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q7725634 . resource:Q38 property:P85 ?a }
Italy
action filter_type
action find
entity Italy
relation anthem
type literary work
['Italy', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:literary_work . resource:Italy property:anthem ?a }
[]
literary work
Q187
SYSTEM
Il Canto degli Italiani
Q187
(Q38,P85,c(Q7725634))
action filter_type
action find
entity Q38
relation P85
type Q7725634
The national anthem of Italy is the [ANSWER]
['Q38', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q7725634 . resource:Q38 property:P85 ?a }
Il Canto degli Italiani
The national anthem of Italy is the Il Canto degli Italiani
Il Canto degli Italiani
action filter_type
action find
entity Italy
relation anthem
type literary work
['Italy', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:literary_work . resource:Italy property:anthem ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P1532
Q502895
USER
Who represent that administrative territory ?
(c(Q502895),P1532,Q187)
action filter_type
action find_reverse
entity Q38
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q187']
SELECT DISTINCT ?n WHERE { ?n property:P1532 resource:Q38 . ?n rdf:type ontology:Q502895 }
Italy
action filter_type
action find_reverse
entity Italy
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Il Canto degli Italiani']
SELECT DISTINCT ?n WHERE { ?n property:country_for_sport resource:Italy . ?n rdf:type ontology:common_name }
[]
common name
Q3110622 Q1045901 Q25820084
SYSTEM
Gonzalo Garcia, Carter Trevisani, Yusneysi Santiusti
Q22703869 Q22246777 Q9345554 Q22137004 Q1045901 Q25336604 Q21034233 Q25820084 Q20016855 Q22137017 Q21600834 Q24287413 Q5041564 Q22988707 Q22137011 Q3878312 Q22949274 Q22136991 Q25201549 Q22137023 Q21855004 Q22137020 Q3110622 Q2026418 Q22911603 Q23036908
(c(Q502895),P1532,Q187)
action filter_type
action find_reverse
entity Q38
relation P1532
type Q502895
[ANSWERS] represent that administrative territory
[{'concept': 'Q502895'}, 'P1532', 'Q187']
SELECT DISTINCT ?n WHERE { ?n property:P1532 resource:Q38 . ?n rdf:type ontology:Q502895 }
Dries van Schalkwyk Elisa Rea Stefano Braga Johanelis Herrera Abreu Carter Trevisani Filippo Tortu Enrico Casella Yusneysi Santiusti Stefanie Horn Federica Putti Héctor De Marco Luca Pizzini Carlo Occhiena Giuseppe Leonardi Eugenio Meloni Norbert Bonvecchio Osama Zoghlami Virginia Troiani Livio Sciandra Alice Mangione Federica Curiazzi Martina Lorenzetto Gonzalo Garcia Dario Cerrato Sergio Chiesa Daniele Corsa
Gonzalo Garcia, Carter Trevisani and Yusneysi Santiusti represent that administrative territory
Gonzalo Garcia Carter Trevisani Yusneysi Santiusti
action filter_type
action find_reverse
entity Italy
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Il Canto degli Italiani']
SELECT DISTINCT ?n WHERE { ?n property:country_for_sport resource:Italy . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3110622 Q1045901 Q25820084
P21
Q290
USER
Which sexes do those people belong to ?
(Q3110622,P21,c(Q290)) (Q1045901,P21,c(Q290)) (Q25820084,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q3110622', 'P21', {'concept': 'Q290'}] ['Q1045901', 'P21', {'concept': 'Q290'}] ['Q25820084', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . VALUES ( ?m ) { ( resource:Q22703869 ) ( resource:Q22246777 ) ( resource:Q9345554 ) } . ?m property:P21 ?r }
Gonzalo Garcia Carter Trevisani Yusneysi Santiusti
action filter_type
action find
entity prev_answer
relation gender
type sex
['Gonzalo Garcia', 'gender', {'concept': 'sex'}] ['Carter Trevisani', 'gender', {'concept': 'sex'}] ['Yusneysi Santiusti', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . VALUES ( ?m ) { ( resource:Dries_van_Schalkwyk ) ( resource:Elisa_Rea ) ( resource:Stefano_Braga ) } . ?m property:gender ?r }
[]
sex
Q6581097 Q6581097 Q6581072
SYSTEM
male for 1st, 2nd, female for 3rd
Q6581097 Q6581097 Q6581072
(Q3110622,P21,c(Q290)) (Q1045901,P21,c(Q290)) (Q25820084,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q3110622', 'P21', {'concept': 'Q290'}] ['Q1045901', 'P21', {'concept': 'Q290'}] ['Q25820084', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . VALUES ( ?m ) { ( resource:Q22703869 ) ( resource:Q22246777 ) ( resource:Q9345554 ) } . ?m property:P21 ?r }
male male female
Those people belong to male, male and female
male male female
action filter_type
action find
entity prev_answer
relation gender
type sex
['Gonzalo Garcia', 'gender', {'concept': 'sex'}] ['Carter Trevisani', 'gender', {'concept': 'sex'}] ['Yusneysi Santiusti', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . VALUES ( ?m ) { ( resource:Dries_van_Schalkwyk ) ( resource:Elisa_Rea ) ( resource:Stefano_Braga ) } . ?m property:gender ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P417
Q502895
USER
What are the names of person who are the patron saints of Italy ?
(Q38,P417,c(Q502895))
action filter_type
action find
entity Q38
relation P417
type Q502895
['Q38', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q38 property:P417 ?h . ?h rdf:type ontology:Q502895 }
Italy
action filter_type
action find
entity Italy
relation patron saint
type common name
['Italy', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Italy property:patron_saint ?h . ?h rdf:type ontology:common_name }
[]
common name
Q676555 Q229190
SYSTEM
Francis of Assisi, Catherine of Siena
Q676555 Q229190
(Q38,P417,c(Q502895))
action filter_type
action find
entity Q38
relation P417
type Q502895
The names of person are the patron saints of Italy are Saint [ANSWERS]
['Q38', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q38 property:P417 ?h . ?h rdf:type ontology:Q502895 }
Francis of Assisi Catherine of Siena
The names of person are the patron saints of Italy are Saint Francis of Assisi and Catherine of Siena
Francis of Assisi Catherine of Siena
action filter_type
action find
entity Italy
relation patron saint
type common name
['Italy', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Italy property:patron_saint ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5938
Q502895
USER
And also tell me about Naumburg Cathedral?
(Q5938,P417,c(Q502895))
action filter_type
action find
entity Q5938
relation P417
type Q502895
['Q5938', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q5938 property:P417 ?w }
Naumburg Cathedral
action filter_type
action find
entity Naumburg Cathedral
relation patron saint
type common name
['Naumburg Cathedral', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Naumburg_Cathedral property:patron_saint ?w }
[]
common name
Q9200 Q33923
SYSTEM
Paul, Peter
Q9200 Q33923
(Q5938,P417,c(Q502895))
action filter_type
action find
entity Q5938
relation P417
type Q502895
[ANSWERS]
['Q5938', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q5938 property:P417 ?w }
Paul Peter
Paul Peter
action filter_type
action find
entity Naumburg Cathedral
relation patron saint
type common name
['Naumburg Cathedral', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Naumburg_Cathedral property:patron_saint ?w }
[]