Simple Question (Direct)
Simple Question
Q256419
P1344
Q15900616
USER
What did Gary Dineen participate in ?
(Q256419,P1344,c(Q15900616))
action filter_type
action find
entity Q256419
relation P1344
type Q15900616
['Q256419', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?z WHERE { resource:Q256419 property:P1344 ?z . ?z rdf:type ontology:Q15900616 }
Gary Dineen
action filter_type
action find
entity Gary Dineen
relation participant of
type event sequence
['Gary Dineen', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?z WHERE { resource:Gary_Dineen property:participant_of ?z . ?z rdf:type ontology:event_sequence }
[]
event sequence
Q9636 Q9642
SYSTEM
1964 Winter Olympics, 1968 Winter Olympics
Q9636 Q9642
(Q256419,P1344,c(Q15900616))
action filter_type
action find
entity Q256419
relation P1344
type Q15900616
Gary Dineen participated in [ANSWERS]
['Q256419', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?z WHERE { resource:Q256419 property:P1344 ?z . ?z rdf:type ontology:Q15900616 }
1964 Winter Olympics 1968 Winter Olympics
Gary Dineen participated in 1964 Winter Olympics and 1968 Winter Olympics
1964 Winter Olympics 1968 Winter Olympics
action filter_type
action find
entity Gary Dineen
relation participant of
type event sequence
['Gary Dineen', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?z WHERE { resource:Gary_Dineen property:participant_of ?z . ?z rdf:type ontology:event_sequence }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9642
P276
Q41176
USER
Which building is the location of that event sequence ?
(Q9642,P276,c(Q41176))
action filter_type
action find
entity Q9642
relation P276
type Q41176
['Q9642', 'P276', {'concept': 'Q41176'}]
SELECT DISTINCT ?m WHERE { resource:Q9642 property:P276 ?m . ?m rdf:type ontology:Q41176 }
1968 Winter Olympics
action filter_type
action find
entity 1968 Winter Olympics
relation location
type building
['1968 Winter Olympics', 'location', {'concept': 'building'}]
SELECT DISTINCT ?m WHERE { resource:1968_Winter_Olympics property:location ?m . ?m rdf:type ontology:building }
[]
building
Clarification for simple ques.
Q9642
SYSTEM
Did you mean 1968 Winter Olympics ?
Q9636 Q9642
(Q9636,P276,c(Q41176)) (Q9642,P276,c(Q41176))
[ANSWER]
['Q9636', 'P276', {'concept': 'Q41176'}] ['Q9642', 'P276', {'concept': 'Q41176'}]
SELECT DISTINCT ?m WHERE { resource:Q9642 property:P276 ?m . ?m rdf:type ontology:Q41176 }
1964 Winter Olympics 1968 Winter Olympics
Did you mean 1968 Winter Olympics ?
1968 Winter Olympics
['1964 Winter Olympics', 'location', {'concept': 'building'}] ['1968 Winter Olympics', 'location', {'concept': 'building'}]
SELECT DISTINCT ?m WHERE { resource:1968_Winter_Olympics property:location ?m . ?m rdf:type ontology:building }
[]
Simple Question (Coreferenced)
USER
Yes
(Q9642,P276,c(Q41176))
['Q9642', 'P276', {'concept': 'Q41176'}]
['1968 Winter Olympics', 'location', {'concept': 'building'}]
[]
Q3496212
SYSTEM
Olympic Stadium
Q3496212
(Q9642,P276,c(Q41176))
action filter_type
action find
entity Q9642
relation P276
type Q41176
[ANSWER] is the location of that event sequence
['Q9642', 'P276', {'concept': 'Q41176'}]
SELECT DISTINCT ?m WHERE { resource:Q9642 property:P276 ?m . ?m rdf:type ontology:Q41176 }
Olympic Stadium
Olympic Stadium is the location of that event sequence
Olympic Stadium
action filter_type
action find
entity 1968 Winter Olympics
relation location
type building
['1968 Winter Olympics', 'location', {'concept': 'building'}]
SELECT DISTINCT ?m WHERE { resource:1968_Winter_Olympics property:location ?m . ?m rdf:type ontology:building }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6548477 Q256419
P19 P551
Q56061
USER
Which administrative territories are the places of birth of Gary Dineen and did Lily Dougall reside ?
AND((Q256419,P19,c(Q56061)), (Q6548477,P551,c(Q56061)))
action filter_type
action intersection
action find
entity Q256419
relation P19
action find
entity Q6548477
relation P551
type Q56061
{'AND': [['Q256419', 'P19', {'concept': 'Q56061'}], ['Q6548477', 'P551', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { resource:Q256419 property:P19 ?i . resource:Q6548477 property:P551 ?i . ?i rdf:type ontology:Q56061 }
Lily Dougall Gary Dineen
action filter_type
action intersection
action find
entity Gary Dineen
relation place of birth
action find
entity Lily Dougall
relation residence
type administrative territorial entity
{'AND': [['Gary Dineen', 'place of birth', {'concept': 'administrative territorial entity'}], ['Lily Dougall', 'residence', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Gary_Dineen property:place_of_birth ?i . resource:Lily_Dougall property:residence ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340
SYSTEM
Montreal
Q340
AND((Q256419,P19,c(Q56061)), (Q6548477,P551,c(Q56061)))
action filter_type
action intersection
action find
entity Q256419
relation P19
action find
entity Q6548477
relation P551
type Q56061
[ANSWER] is the places of birth of Gary Dineen and did Lily Dougall reside
{'AND': [['Q256419', 'P19', {'concept': 'Q56061'}], ['Q6548477', 'P551', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { resource:Q256419 property:P19 ?i . resource:Q6548477 property:P551 ?i . ?i rdf:type ontology:Q56061 }
Montreal
Montreal is the places of birth of Gary Dineen and did Lily Dougall reside
Montreal
action filter_type
action intersection
action find
entity Gary Dineen
relation place of birth
action find
entity Lily Dougall
relation residence
type administrative territorial entity
{'AND': [['Gary Dineen', 'place of birth', {'concept': 'administrative territorial entity'}], ['Lily Dougall', 'residence', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Gary_Dineen property:place_of_birth ?i . resource:Lily_Dougall property:residence ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2114224
P54
Q502895
USER
How many people are a member of Trapani Calcio ?
(c(Q502895),P54,Q2114224)
action count
action filter_type
action find_reverse
entity Q2114224
relation P54
type Q502895
[{'concept': 'Q502895'}, 'P54', 'Q2114224']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P54 resource:Q2114224 . ?u rdf:type ontology:Q502895 }
Trapani Calcio
action count
action filter_type
action find_reverse
entity Trapani Calcio
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Trapani Calcio']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:member_of_sports_team resource:Trapani_Calcio . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
165
Q3876584 Q3876584 Q3724391 Q1466833 Q601797 Q1668253 Q3960648 Q3742600 Q1610175 Q1610175 Q323994 Q3664950 Q527225 Q1465698 Q4020249 Q16223252 Q3771023 Q6764858 Q1449445 Q3619685 Q15986680 Q18350728 Q19884104 Q16598674 Q986989 Q3893404 Q1082092 Q4013208 Q3702012 Q3751463 Q16573540 Q5448714 Q3762094 Q3839858 Q3620080 Q3737857 Q3870622 Q3870622 Q3870622 Q20140233 Q3763745 Q3840310 Q7553277 Q3680268 Q3946233 Q1860463 Q4013413 Q677402 Q3726106 Q18637370 Q16230010 Q3609275 Q3840329 Q16145867 Q1485824 Q3763268 Q3852220 Q3852220 Q3609211 Q3838649 Q3769442 Q1486253 Q1178120 Q4755236 Q1607021 Q3770702 Q4015184 Q3608993 Q2408794 Q16527693 Q1607415 Q1607415 Q3713054 Q3713054 Q3765683 Q16232290 Q18637758 Q1318514 Q4755244 Q3703586 Q1537355 Q21501813 Q21501813 Q986280 Q1460338 Q3614771 Q1615189 Q1873460 Q16619186 Q1487026 Q3719637 Q916434 Q3750021 Q15831132 Q3623769 Q6999229 Q16555734 Q3619816 Q7353715 Q2566793 Q3857716 Q6710078 Q3762211 Q3961259 Q3680076 Q986219 Q1608338 Q3741878 Q22250355 Q1136815 Q1615210 Q185081 Q1486992 Q663790 Q3610352 Q1522184 Q15639888 Q3840166 Q3939165 Q3770936 Q17629563 Q3750750 Q3757153 Q3757153 Q934830 Q1045087 Q20645710 Q3723081 Q5371686 Q3756638 Q16840884 Q14951576 Q3946061 Q3610034 Q316718 Q316718 Q6695938 Q1445355 Q3858863 Q3610221 Q3771198 Q3771198 Q3723907 Q5479358 Q1614667 Q3904081 Q5369192 Q16729197 Q1975281 Q1091404 Q1091400 Q3765468 Q6099046 Q17150744 Q17279947 Q3769805 Q3903876 Q18016160 Q7325847 Q3904333 Q3725427 Q3940909 Q1536844 Q3645959 Q381895
(c(Q502895),P54,Q2114224)
action count
action filter_type
action find_reverse
entity Q2114224
relation P54
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P54', 'Q2114224']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P54 resource:Q2114224 . ?u rdf:type ontology:Q502895 }
Nicolò Sciacca Nicolò Sciacca Emilio Docente Mario Bresolin Antonino Barillà José Ignacio Castillo Silvano Magheri Ferdinando Gasparini Mario Cavallini Mario Cavallini Gennaro Scognamiglio Cephas Malele Ezio Borgo Stanislao Bozzi Willy Pittana Matteo Mancosu Giuseppe Moncada Mario Pacilli Giovanni Bonetti Antonio Gridelli Pasquale Fazio Luca Nizzetto Davide Campofranco Rosario Spanò Renato Avellani Pantaleo Magurano Christian Terlizzi Vincenzo De Dura Daniele Martinelli Franco Nanni Lorenzo Niccolai Filippo Falco Giacomo Filippi Luigi Martinelli Antonio Ravot Fabio Tricarico Natale Picano Natale Picano Natale Picano Paolo Calò Gianpiero Mangiarotti Luigino Tessaro Sodinha Claudio Venturi Salvatore Tarantino Pavel Vidanov Vincenzo Montalbano Onofrio Barone Enrico Zampa Andrea Fulignati Agostino Camigliano Aldo Novelli Luis Arcamone Abdallah Yaisien Oreste Brondi Gianluca Musumeci Matteo Scozzarella Matteo Scozzarella Aldo Firicano Luciano Masiero Giuliano Turatti Andrea Bruniera Davis Curiale Andrea Pozzato Mario Massimo Caruso Giuseppe Gobetti Vittore Martini Alcide Sant Stevan Tommei Antonio Pagano Francesco Casisa Francesco Casisa Domenico Giacomarro Domenico Giacomarro Giorgio Pitacco Adriano Montalto Giuseppe Pirrone Simone Basso Andrea Raimondi Davide Morello Giuseppe Candurra Antonino Barraco Antonino Barraco Roberto Arco Riccardo Bonometti Américo Ruffino Luigi Ciminaghi Rosario Compagno Umberto Badii Fabrizio Bucciarelli Edoardo Orlando Carmine Amato Francesco Galeoto Nícolas Andrade David Arrigo Dolso Giovanni Bodini Fernando Spinelli Antonio Marcellini Rocco D'Aiello Romano Perticone Milan Đurić Lys Gomis Giacomo Paniccia Simone Rizzato Claudio Grimaudo Luciano Arbizzani Giuseppe Castiglione Federico  Rizzi Nicola Citro Adriano Bonaiuti Paolo Cimpiel Marco Materazzi Antonio Bucciarelli Alessandro Romeo Alessandro Toti Giacomo Tedesco Antonio Lionetti Luigi Soffrido Roberto Simonetta Giuseppe Marino Enrico Bastiani Francesco Tudisco Gaetano Vasari Gaetano Vasari Serse Cosmi Santo Barbato Ernesto Torregrossa Elio Signorelli Emiliano Dei Gabriele Messina Giovanni Abate Bruno Petković Salvatore Fusco Alessandro Gambino Salvatore Gambino Salvatore Gambino Luca Pagliarulo Giorgio Bissoli Mirko Eramo Alessandro Porro Giuseppe Perrone Giuseppe Perrone Emanuele Curcio Francesco Finocchio Maurizio Ciaramitaro Pietro Miglio Emanuele Nordi Desiderio Garufo Alessandro Parisi Vincenzo Italiano Antimo Iunco Giorgio Frezzolini Ivo Banella Mattia Caldara Giuseppe Caramanno Giulio Vignozzi Pietro Fiorindi Mattia Aramu Richard Gabriel Marcone Pietro Zaini Enis Nadarević Romolo Sforza Castrense Campanella Bruno Visentin Michele Ferri
165
action count
action filter_type
action find_reverse
entity Trapani Calcio
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Trapani Calcio']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:member_of_sports_team resource:Trapani_Calcio . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q211401
P466
Q1076486
USER
What is occupied by U.D. Leiria ?
(c(Q1076486),P466,Q211401)
action filter_type
action find_reverse
entity Q211401
relation P466
type Q1076486
[{'concept': 'Q1076486'}, 'P466', 'Q211401']
SELECT DISTINCT ?u WHERE { ?u property:P466 resource:Q211401 . ?u rdf:type ontology:Q1076486 }
U.D. Leiria
action filter_type
action find_reverse
entity U.D. Leiria
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'U.D. Leiria']
SELECT DISTINCT ?u WHERE { ?u property:occupant resource:U.D._Leiria . ?u rdf:type ontology:sports_venue }
[]
sports venue
Q1056864
SYSTEM
Estádio Dr. Magalhães Pessoa
Q1056864
(c(Q1076486),P466,Q211401)
action filter_type
action find_reverse
entity Q211401
relation P466
type Q1076486
[ANSWER] is occupied by U.D. Leiria
[{'concept': 'Q1076486'}, 'P466', 'Q211401']
SELECT DISTINCT ?u WHERE { ?u property:P466 resource:Q211401 . ?u rdf:type ontology:Q1076486 }
Estádio Dr. Magalhães Pessoa
Estádio Dr. Magalhães Pessoa is occupied by U.D. Leiria
Estádio Dr. Magalhães Pessoa
action filter_type
action find_reverse
entity U.D. Leiria
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'U.D. Leiria']
SELECT DISTINCT ?u WHERE { ?u property:occupant resource:U.D._Leiria . ?u rdf:type ontology:sports_venue }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q340
P1001
Q17335294
USER
Which coat of arms has jurisdiction over Montreal ?
(c(Q17335294),P1001,Q340)
action filter_type
action find_reverse
entity Q340
relation P1001
type Q17335294
[{'concept': 'Q17335294'}, 'P1001', 'Q340']
SELECT DISTINCT ?u WHERE { ?u property:P1001 resource:Q340 . ?u rdf:type ontology:Q17335294 }
Montreal
action filter_type
action find_reverse
entity Montreal
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Montreal']
SELECT DISTINCT ?u WHERE { ?u property:applies_to_jurisdiction resource:Montreal . ?u rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q1426620
SYSTEM
Flag of Montreal
Q1426620
(c(Q17335294),P1001,Q340)
action filter_type
action find_reverse
entity Q340
relation P1001
type Q17335294
In [ANSWER] has jurisdiction over Montreal
[{'concept': 'Q17335294'}, 'P1001', 'Q340']
SELECT DISTINCT ?u WHERE { ?u property:P1001 resource:Q340 . ?u rdf:type ontology:Q17335294 }
Flag of Montreal
In Flag of Montreal has jurisdiction over Montreal
Flag of Montreal
action filter_type
action find_reverse
entity Montreal
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Montreal']
SELECT DISTINCT ?u WHERE { ?u property:applies_to_jurisdiction resource:Montreal . ?u rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q340
Q8502
USER
And which mountain?
(Q340,P138,c(Q8502))
action filter_type
action find
entity Q340
relation P138
type Q8502
['Q340', 'P138', {'concept': 'Q8502'}]
SELECT DISTINCT ?y WHERE { resource:Q340 property:P138 ?y . ?y rdf:type ontology:Q8502 }
Montreal
action filter_type
action find
entity Montreal
relation named after
type mountain
['Montreal', 'named after', {'concept': 'mountain'}]
SELECT DISTINCT ?y WHERE { resource:Montreal property:named_after ?y . ?y rdf:type ontology:mountain }
[]
mountain
Q1757764
SYSTEM
Mount Royal
Q1757764
(Q340,P138,c(Q8502))
action filter_type
action find
entity Q340
relation P138
type Q8502
[ANSWER]
['Q340', 'P138', {'concept': 'Q8502'}]
SELECT DISTINCT ?y WHERE { resource:Q340 property:P138 ?y . ?y rdf:type ontology:Q8502 }
Mount Royal
Mount Royal
action filter_type
action find
entity Montreal
relation named after
type mountain
['Montreal', 'named after', {'concept': 'mountain'}]
SELECT DISTINCT ?y WHERE { resource:Montreal property:named_after ?y . ?y rdf:type ontology:mountain }
[]