Simple Question (Direct)
Simple Question
Q527889
P19
Q515
USER
Which city was César Geoffray born in ?
(Q527889,P19,c(Q515))
action filter_type
action find
entity Q527889
relation P19
type Q515
['Q527889', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q527889 property:P19 ?w . ?w rdf:type ontology:Q515 }
César Geoffray
action filter_type
action find
entity César Geoffray
relation place of birth
type city
['César Geoffray', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:César_Geoffray property:place_of_birth ?w . ?w rdf:type ontology:city }
[]
city
Q456
SYSTEM
Lyon
Q456
(Q527889,P19,c(Q515))
action filter_type
action find
entity Q527889
relation P19
type Q515
César Geoffray was born in [ANSWER]
['Q527889', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q527889 property:P19 ?w . ?w rdf:type ontology:Q515 }
Lyon
César Geoffray was born in Lyon
Lyon
action filter_type
action find
entity César Geoffray
relation place of birth
type city
['César Geoffray', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:César_Geoffray property:place_of_birth ?w . ?w rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q527889
P135
Q151885
USER
Which concept did that person belong to
(Q456,P135,c(Q151885))
action filter_type
action find
entity Q527889
relation P135
type Q151885
['Q456', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { resource:Q527889 property:P135 ?m . ?m rdf:type ontology:Q151885 }
César Geoffray
action filter_type
action find
entity César Geoffray
relation movement
type concept
['Lyon', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { resource:César_Geoffray property:movement ?m . ?m rdf:type ontology:concept }
[]
concept
Q9730
SYSTEM
classical music
Q9730
(Q456,P135,c(Q151885))
action filter_type
action find
entity Q527889
relation P135
type Q151885
That person belonged to [ANSWER]
['Q456', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { resource:Q527889 property:P135 ?m . ?m rdf:type ontology:Q151885 }
classical music
That person belonged to classical music
classical music
action filter_type
action find
entity César Geoffray
relation movement
type concept
['Lyon', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { resource:César_Geoffray property:movement ?m . ?m rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q527889
P1066
Q502895
USER
Who was the teacher of that one ?
(Q9730,P1066,c(Q502895))
action filter_type
action find
entity Q527889
relation P1066
type Q502895
['Q9730', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q527889 property:P1066 ?w . ?w rdf:type ontology:Q502895 }
César Geoffray
action filter_type
action find
entity César Geoffray
relation student of
type common name
['classical music', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:César_Geoffray property:student_of ?w . ?w rdf:type ontology:common_name }
[]
common name
Q321630
SYSTEM
Florent Schmitt
Q321630
(Q9730,P1066,c(Q502895))
action filter_type
action find
entity Q527889
relation P1066
type Q502895
The teacher of that one was the [ANSWER]
['Q9730', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q527889 property:P1066 ?w . ?w rdf:type ontology:Q502895 }
Florent Schmitt
The teacher of that one was the Florent Schmitt
Florent Schmitt
action filter_type
action find
entity César Geoffray
relation student of
type common name
['classical music', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:César_Geoffray property:student_of ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q321630
P802
Q502895
USER
Which person was a pupil of that one ?
(c(Q502895),P802,Q321630)
action filter_type
action find_reverse
entity Q321630
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q321630']
SELECT DISTINCT ?r WHERE { ?r property:P802 resource:Q321630 . ?r rdf:type ontology:Q502895 }
Florent Schmitt
action filter_type
action find_reverse
entity Florent Schmitt
relation student
type common name
[{'concept': 'common name'}, 'student', 'Florent Schmitt']
SELECT DISTINCT ?r WHERE { ?r property:student resource:Florent_Schmitt . ?r rdf:type ontology:common_name }
[]
common name
Q1934522
SYSTEM
Albert Lavignac
Q1934522
(c(Q502895),P802,Q321630)
action filter_type
action find_reverse
entity Q321630
relation P802
type Q502895
[ANSWER] was a pupil of that one
[{'concept': 'Q502895'}, 'P802', 'Q321630']
SELECT DISTINCT ?r WHERE { ?r property:P802 resource:Q321630 . ?r rdf:type ontology:Q502895 }
Albert Lavignac
Albert Lavignac was a pupil of that one
Albert Lavignac
action filter_type
action find_reverse
entity Florent Schmitt
relation student
type common name
[{'concept': 'common name'}, 'student', 'Florent Schmitt']
SELECT DISTINCT ?r WHERE { ?r property:student resource:Florent_Schmitt . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1934522
P20
Q56061
USER
Where did that person die ?
(Q1934522,P20,c(Q56061))
action filter_type
action find
entity Q1934522
relation P20
type Q56061
['Q1934522', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q1934522 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Albert Lavignac
action filter_type
action find
entity Albert Lavignac
relation place of death
type administrative territorial entity
['Albert Lavignac', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Albert_Lavignac property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q1934522,P20,c(Q56061))
action filter_type
action find
entity Q1934522
relation P20
type Q56061
That person died in [ANSWER]
['Q1934522', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q1934522 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Paris
That person died in Paris
Paris
action filter_type
action find
entity Albert Lavignac
relation place of death
type administrative territorial entity
['Albert Lavignac', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Albert_Lavignac property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P417
Q1445650 Q56061
USER
How many administrative territories have adopted around the same number of holidays as their patron saint as that administrative territory ?
(c(Q56061),P417,c(Q1445650))
action count
action approx
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_type
action find
entity Q90
relation P417
type Q56061
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { FILTER ( ?h = ?x ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q90 property:P417 ?p . ?p rdf:type ontology:Q56061 } } . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?h ) WHERE { ?n property:P417 ?s . ?n rdf:type ontology:Q56061 . ?s rdf:type ontology:Q1445650 } GROUP BY ?n } }
action count
action approx
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_type
action find
entity Paris
relation patron saint
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { FILTER ( ?h = ?x ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Paris property:patron_saint ?p . ?p rdf:type ontology:administrative_territorial_entity } } . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?h ) WHERE { ?n property:patron_saint ?s . ?n rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:holiday } GROUP BY ?n } }
[]
holiday administrative territorial entity
SYSTEM
125
Q264716 Q5818 Q187352 Q11974 Q12883498 Q40801 Q212841 Q54494 Q454875 Q14209773 Q50057 Q34111 Q117388 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q6221 Q2028 Q46718 Q929022 Q641 Q46165 Q649 Q58463 Q3395964 Q73489 Q54119 Q53825 Q200908 Q15090 Q81258 Q36647 Q13375 Q47074 Q59257 Q15088 Q4361 Q2914723 Q10305 Q53265 Q6340 Q101229 Q100129 Q52547 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q39519 Q82208 Q116440 Q2284679 Q3557616 Q374108 Q3562704 Q220 Q90 Q496890 Q297224 Q431389 Q5991813 Q380189 Q617 Q470461 Q259039 Q733574 Q54556 Q932648 Q487786 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q100943 Q51400 Q504216 Q244193 Q1747381 Q51315 Q492475 Q334577 Q210470 Q39493 Q11959 Q329984 Q47034 Q15095 Q215080 Q270288 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q102820 Q15487 Q244207 Q1957 Q50074 Q1897 Q46864
(c(Q56061),P417,c(Q1445650))
action count
action approx
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_type
action find
entity Q90
relation P417
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { FILTER ( ?h = ?x ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q90 property:P417 ?p . ?p rdf:type ontology:Q56061 } } . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?h ) WHERE { ?n property:P417 ?s . ?n rdf:type ontology:Q56061 . ?s rdf:type ontology:Q1445650 } GROUP BY ?n } }
Carzano Córdoba Kavala Las Palmas de Gran Canaria Pano Platres Borca di Cadore Drama Belvedere di Spinello Amarante Municipality San Lorenzo de' Picenardi Cagnano Amiterno Pozzallo Strangolagalli Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Brescia Verona Carrè Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Koufalia Camerino San Pedro Altilia Rethymno Lleida Padula Cork Pisa Aielli Montefortino Tarragona Curitiba Nemausus Zaragoza Gemona del Friuli Castel Giorgio Martinengo Calvenzano Campomaggiore Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brinzio Kastritsa Arpino General Alvear, Mendoza Platres Altrei Molista Rome Paris Balestrate Padergnone Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Giardinello Istiaia Africo Didymoteicho Orihuela Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Sorbolo Spoltore St. Martin in Passeier Cagno Polykastro Villamagna Valença Quetzaltenango Katerini Cantello Alicante Úbeda Espoo Albacete Machala Riccò del Golfo di Spezia Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Nibbiano Berga Campione d'Italia Vologda Castellafiume Cagliari Arcugnano
125
action count
action approx
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_type
action find
entity Paris
relation patron saint
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { FILTER ( ?h = ?x ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Paris property:patron_saint ?p . ?p rdf:type ontology:administrative_territorial_entity } } . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?h ) WHERE { ?n property:patron_saint ?s . ?n rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:holiday } GROUP BY ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q321630
P119
Q39614
USER
Where was Florent Schmitt buried ?
(Q321630,P119,c(Q39614))
action filter_type
action find
entity Q321630
relation P119
type Q39614
['Q321630', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?q WHERE { resource:Q321630 property:P119 ?q . ?q rdf:type ontology:Q39614 }
Florent Schmitt
action filter_type
action find
entity Florent Schmitt
relation place of burial
type cemetery
['Florent Schmitt', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?q WHERE { resource:Florent_Schmitt property:place_of_burial ?q . ?q rdf:type ontology:cemetery }
[]
cemetery
Q2482942
SYSTEM
Cimetière de Bagneux
Q2482942
(Q321630,P119,c(Q39614))
action filter_type
action find
entity Q321630
relation P119
type Q39614
Florent Schmitt was buried au [ANSWER]
['Q321630', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?q WHERE { resource:Q321630 property:P119 ?q . ?q rdf:type ontology:Q39614 }
Cimetière de Bagneux
Florent Schmitt was buried au Cimetière de Bagneux
Cimetière de Bagneux
action filter_type
action find
entity Florent Schmitt
relation place of burial
type cemetery
['Florent Schmitt', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?q WHERE { resource:Florent_Schmitt property:place_of_burial ?q . ?q rdf:type ontology:cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q321630
P166
Q618779
USER
Which awards were received by that person ?
(Q2482942,P166,c(Q618779))
action filter_type
action find
entity Q321630
relation P166
type Q618779
['Q2482942', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q321630 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Florent Schmitt
action filter_type
action find
entity Florent Schmitt
relation award received
type award
['Cimetière de Bagneux', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Florent_Schmitt property:award_received ?l . ?l rdf:type ontology:award }
[]
award
Q576434 Q14900491
SYSTEM
Prix de Rome, Commander of the Order of the Crown of Romania
Q576434 Q14900491
(Q2482942,P166,c(Q618779))
action filter_type
action find
entity Q321630
relation P166
type Q618779
The [ANSWERS] were received by that person
['Q2482942', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q321630 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Prix de Rome Commander of the Order of the Crown of Romania
The Prix de Rome and Commander of the Order of the Crown of Romania were received by that person
Prix de Rome Commander of the Order of the Crown of Romania
action filter_type
action find
entity Florent Schmitt
relation award received
type award
['Cimetière de Bagneux', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Florent_Schmitt property:award_received ?l . ?l rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16576914 Q527889
P27 P20
Q15617994
USER
Which administrative territories are César Geoffray an inhabitant of or did Massimiliano Fachini die ?
OR((Q527889,P27,c(Q15617994)), (Q16576914,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q527889
relation P27
action find
entity Q16576914
relation P20
type Q15617994
{'OR': [['Q527889', 'P27', {'concept': 'Q15617994'}], ['Q16576914', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q527889 property:P27 ?d } UNION { resource:Q16576914 property:P20 ?d } } . ?d rdf:type ontology:Q15617994 }
Massimiliano Fachini César Geoffray
action filter_type
action union
action find
entity César Geoffray
relation country of citizenship
action find
entity Massimiliano Fachini
relation place of death
type designation for an administrative territorial entity
{'OR': [['César Geoffray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Massimiliano Fachini', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:César_Geoffray property:country_of_citizenship ?d } UNION { resource:Massimiliano_Fachini property:place_of_death ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q46215
SYSTEM
France, Grisignano di Zocco
Q142 Q46215
OR((Q527889,P27,c(Q15617994)), (Q16576914,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q527889
relation P27
action find
entity Q16576914
relation P20
type Q15617994
[ANSWERS] are César Geoffray an inhabitant of or did Massimiliano Fachini die
{'OR': [['Q527889', 'P27', {'concept': 'Q15617994'}], ['Q16576914', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q527889 property:P27 ?d } UNION { resource:Q16576914 property:P20 ?d } } . ?d rdf:type ontology:Q15617994 }
France Grisignano di Zocco
France and Grisignano di Zocco are César Geoffray an inhabitant of or did Massimiliano Fachini die
France Grisignano di Zocco
action filter_type
action union
action find
entity César Geoffray
relation country of citizenship
action find
entity Massimiliano Fachini
relation place of death
type designation for an administrative territorial entity
{'OR': [['César Geoffray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Massimiliano Fachini', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:César_Geoffray property:country_of_citizenship ?d } UNION { resource:Massimiliano_Fachini property:place_of_death ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]