Simple Question (Direct)
Simple Question
Q5340735
P106
Q12737077
USER
What does Eduardo Pucheta do for a living ?
(Q5340735,P106,c(Q12737077))
action filter_type
action find
entity Q5340735
relation P106
type Q12737077
['Q5340735', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5340735 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Eduardo Pucheta
action filter_type
action find
entity Eduardo Pucheta
relation occupation
type occupation
['Eduardo Pucheta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Eduardo_Pucheta property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5340735,P106,c(Q12737077))
action filter_type
action find
entity Q5340735
relation P106
type Q12737077
Eduardo Pucheta does for a living as [ANSWER]
['Q5340735', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5340735 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
association football player
Eduardo Pucheta does for a living as association football player
association football player
action filter_type
action find
entity Eduardo Pucheta
relation occupation
type occupation
['Eduardo Pucheta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Eduardo_Pucheta property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5340735
P21
Q290
USER
What is the sex of that person ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q5340735
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5340735 property:P21 ?b . ?b rdf:type ontology:Q290 }
Eduardo Pucheta
action filter_type
action find
entity Eduardo Pucheta
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Eduardo_Pucheta property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q5340735
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5340735 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Eduardo Pucheta
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Eduardo_Pucheta property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3680009
P19
Q20667921
USER
Which french administrative division was Claudio De Cecco born at ?
(Q3680009,P19,c(Q20667921))
action filter_type
action find
entity Q3680009
relation P19
type Q20667921
['Q3680009', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q3680009 property:P19 ?m . ?m rdf:type ontology:Q20667921 }
Claudio De Cecco
action filter_type
action find
entity Claudio De Cecco
relation place of birth
type type of french administrative division
['Claudio De Cecco', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Claudio_De_Cecco property:place_of_birth ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q273930
SYSTEM
Houilles
Q273930
(Q3680009,P19,c(Q20667921))
action filter_type
action find
entity Q3680009
relation P19
type Q20667921
Claudio De Cecco was born in [ANSWER]
['Q3680009', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q3680009 property:P19 ?m . ?m rdf:type ontology:Q20667921 }
Houilles
Claudio De Cecco was born in Houilles
Houilles
action filter_type
action find
entity Claudio De Cecco
relation place of birth
type type of french administrative division
['Claudio De Cecco', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Claudio_De_Cecco property:place_of_birth ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3441273
Q20667921
USER
And how about Romuald Boulanger?
(Q3441273,P19,c(Q20667921))
action filter_type
action find
entity Q3441273
relation P19
type Q20667921
['Q3441273', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q3441273 property:P19 ?l . ?l rdf:type ontology:Q20667921 }
Romuald Boulanger
action filter_type
action find
entity Romuald Boulanger
relation place of birth
type type of french administrative division
['Romuald Boulanger', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Romuald_Boulanger property:place_of_birth ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q212352
SYSTEM
Montargis
Q212352
(Q3441273,P19,c(Q20667921))
action filter_type
action find
entity Q3441273
relation P19
type Q20667921
[ANSWER]
['Q3441273', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q3441273 property:P19 ?l . ?l rdf:type ontology:Q20667921 }
Montargis
Montargis
action filter_type
action find
entity Romuald Boulanger
relation place of birth
type type of french administrative division
['Romuald Boulanger', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Romuald_Boulanger property:place_of_birth ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3441273
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q212352)
action filter_type
action find
entity Q3441273
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q212352']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q3441273 property:P26 ?u }
Romuald Boulanger
action filter_type
action find
entity Romuald Boulanger
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Montargis']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Romuald_Boulanger property:spouse ?u }
[]
common name
Q3291471
SYSTEM
Marie-Ange Casalta
Q3291471
(c(Q502895),P26,Q212352)
action filter_type
action find
entity Q3441273
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q212352']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q3441273 property:P26 ?u }
Marie-Ange Casalta
Marie-Ange Casalta is married to that one
Marie-Ange Casalta
action filter_type
action find
entity Romuald Boulanger
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Montargis']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Romuald_Boulanger property:spouse ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3291471
P108
Q2001305
USER
Which television channels are the employers of that person ?
(Q3291471,P108,c(Q2001305))
action filter_type
action find
entity Q3291471
relation P108
type Q2001305
['Q3291471', 'P108', {'concept': 'Q2001305'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2001305 . resource:Q3291471 property:P108 ?p }
Marie-Ange Casalta
action filter_type
action find
entity Marie-Ange Casalta
relation employer
type television channel
['Marie-Ange Casalta', 'employer', {'concept': 'television channel'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:television_channel . resource:Marie-Ange_Casalta property:employer ?p }
[]
television channel
Q3083542 Q48340
SYSTEM
I-Télé, CNN
Q3083542 Q48340
(Q3291471,P108,c(Q2001305))
action filter_type
action find
entity Q3291471
relation P108
type Q2001305
[ANSWERS] are the employers of that person
['Q3291471', 'P108', {'concept': 'Q2001305'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2001305 . resource:Q3291471 property:P108 ?p }
I-Télé CNN
I-Télé and CNN are the employers of that person
I-Télé CNN
action filter_type
action find
entity Marie-Ange Casalta
relation employer
type television channel
['Marie-Ange Casalta', 'employer', {'concept': 'television channel'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:television_channel . resource:Marie-Ange_Casalta property:employer ?p }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3291471
Q4830453
USER
And which business enterprise?
(Q3291471,P108,c(Q4830453))
action filter_type
action find
entity Q3291471
relation P108
type Q4830453
['Q3291471', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?j WHERE { resource:Q3291471 property:P108 ?j . ?j rdf:type ontology:Q4830453 }
Marie-Ange Casalta
action filter_type
action find
entity Marie-Ange Casalta
relation employer
type business enterprise
['Marie-Ange Casalta', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?j WHERE { resource:Marie-Ange_Casalta property:employer ?j . ?j rdf:type ontology:business_enterprise }
[]
business enterprise
Q1881062
SYSTEM
M6
Q1881062
(Q3291471,P108,c(Q4830453))
action filter_type
action find
entity Q3291471
relation P108
type Q4830453
[ANSWER]
['Q3291471', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?j WHERE { resource:Q3291471 property:P108 ?j . ?j rdf:type ontology:Q4830453 }
M6
M6
action filter_type
action find
entity Marie-Ange Casalta
relation employer
type business enterprise
['Marie-Ange Casalta', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?j WHERE { resource:Marie-Ange_Casalta property:employer ?j . ?j rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1881062
P272
Q838948
USER
Which works of art had that business enterprise as their motion picture studio ?
(c(Q838948),P272,Q1881062)
action filter_type
action find_reverse
entity Q1881062
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q1881062']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q838948 . ?o property:P272 resource:Q1881062 }
M6
action filter_type
action find_reverse
entity M6
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'M6']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:work_of_art . ?o property:production_company resource:M6 }
[]
work of art
Q1057015 Q277080 Q865346
SYSTEM
Taken 2, Taken, From Paris with Love
Q1174342 Q1057015 Q277080 Q865346
(c(Q838948),P272,Q1881062)
action filter_type
action find_reverse
entity Q1881062
relation P272
type Q838948
[ANSWERS] had that business enterprise as their motion picture studio
[{'concept': 'Q838948'}, 'P272', 'Q1881062']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q838948 . ?o property:P272 resource:Q1881062 }
Druids Taken 2 Taken From Paris with Love
Taken 2, Taken and From Paris with Love had that business enterprise as their motion picture studio
Taken 2 Taken From Paris with Love
action filter_type
action find_reverse
entity M6
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'M6']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:work_of_art . ?o property:production_company resource:M6 }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1881062 Q2068
P264
Q2031291
USER
How many releases have M6 or 1995 as their record brand ?
(c(Q2031291),P264,Q1881062) (c(Q2031291),P264,Q2068)
action count
action union
action filter_type
action find_reverse
entity Q1881062
relation P264
type Q2031291
action filter_type
action find_reverse
entity Q2068
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q1881062'] [{'concept': 'Q2031291'}, 'P264', 'Q2068']
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w property:P264 ?s . VALUES ( ?s ) { ( resource:Q1881062 ) ( resource:Q2068 ) } }
M6 1995
action count
action union
action filter_type
action find_reverse
entity M6
relation record label
type release
action filter_type
action find_reverse
entity 1995
relation record label
type release
[{'concept': 'release'}, 'record label', 'M6'] [{'concept': 'release'}, 'record label', '1995']
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w property:record_label ?s . VALUES ( ?s ) { ( resource:M6 ) ( resource:1995 ) } }
[]
release
SYSTEM
3
Q3125296 Q1409252 Q5026786
(c(Q2031291),P264,Q1881062) (c(Q2031291),P264,Q2068)
action count
action union
action filter_type
action find_reverse
entity Q1881062
relation P264
type Q2031291
action filter_type
action find_reverse
entity Q2068
relation P264
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P264', 'Q1881062'] [{'concept': 'Q2031291'}, 'P264', 'Q2068']
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w property:P264 ?s . VALUES ( ?s ) { ( resource:Q1881062 ) ( resource:Q2068 ) } }
Everytime We Touch Perfect Day Camino del Amor
3
action count
action union
action filter_type
action find_reverse
entity M6
relation record label
type release
action filter_type
action find_reverse
entity 1995
relation record label
type release
[{'concept': 'release'}, 'record label', 'M6'] [{'concept': 'release'}, 'record label', '1995']
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w property:record_label ?s . VALUES ( ?s ) { ( resource:M6 ) ( resource:1995 ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q596882 Q1057015
P19 P915
Q56061
USER
Which administrative territories were the locations of filming Taken 2 or are the places of birth of Evaristo Barrera ?
OR((Q1057015,P915,c(Q56061)), (Q596882,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1057015
relation P915
action find
entity Q596882
relation P19
type Q56061
{'OR': [['Q1057015', 'P915', {'concept': 'Q56061'}], ['Q596882', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1057015 property:P915 ?l } UNION { resource:Q596882 property:P19 ?l } } . ?l rdf:type ontology:Q56061 }
Evaristo Barrera Taken 2
action filter_type
action union
action find
entity Taken 2
relation filming location
action find
entity Evaristo Barrera
relation place of birth
type administrative territorial entity
{'OR': [['Taken 2', 'filming location', {'concept': 'administrative territorial entity'}], ['Evaristo Barrera', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Taken_2 property:filming_location ?l } UNION { resource:Evaristo_Barrera property:place_of_birth ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65 Q90 Q406 Q52535
SYSTEM
Los Angeles, Paris, Istanbul, Rosario
Q65 Q90 Q406 Q52535
OR((Q1057015,P915,c(Q56061)), (Q596882,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1057015
relation P915
action find
entity Q596882
relation P19
type Q56061
[ANSWERS] were the locations of filming Taken 2 or are the places of birth of Evaristo Barrera
{'OR': [['Q1057015', 'P915', {'concept': 'Q56061'}], ['Q596882', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1057015 property:P915 ?l } UNION { resource:Q596882 property:P19 ?l } } . ?l rdf:type ontology:Q56061 }
Los Angeles Paris Istanbul Rosario
Los Angeles, Paris, Istanbul and Rosario were the locations of filming Taken 2 or are the places of birth of Evaristo Barrera
Los Angeles Paris Istanbul Rosario
action filter_type
action union
action find
entity Taken 2
relation filming location
action find
entity Evaristo Barrera
relation place of birth
type administrative territorial entity
{'OR': [['Taken 2', 'filming location', {'concept': 'administrative territorial entity'}], ['Evaristo Barrera', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Taken_2 property:filming_location ?l } UNION { resource:Evaristo_Barrera property:place_of_birth ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P417
Q1445650 Q502895 Q56061
USER
How many administrative territories have lesser number of holidays and people as their patron saint than that administrative territory ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:Q28914 ?p . VALUES ( ?p ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 . ?x rdf:type ontology:Q502895 }
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:patron_saint ?p . VALUES ( ?p ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday . ?x rdf:type ontology:common_name }
[]
holiday common name administrative territorial entity
Comparative|Count over More/Less|Mult. entity type|Clarification
Q65
SYSTEM
Did you mean Los Angeles ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:Q28914 ?p . VALUES ( ?p ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 . ?x rdf:type ontology:Q502895 }
Did you mean Los Angeles ?
Los Angeles
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:patron_saint ?p . VALUES ( ?p ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Paris. Could you tell me the answer for that?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
Q90
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
[]
SYSTEM
33
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q1445650)|c(Q502895))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:Q28914 ?y } UNION { ?z property:Q28914 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 . ?x rdf:type ontology:Q502895 }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
33
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:patron_saint ?y } UNION { ?z property:patron_saint ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday . ?x rdf:type ontology:common_name }
[]