Simple Question (Direct)
Simple Question
Q18416234
P106
Q12737077
USER
What does Tania Sánchez Melero do for a living ?
(Q18416234,P106,c(Q12737077))
action filter_type
action find
entity Q18416234
relation P106
type Q12737077
['Q18416234', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q18416234 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Tania Sánchez Melero
action filter_type
action find
entity Tania Sánchez Melero
relation occupation
type occupation
['Tania Sánchez Melero', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Tania_Sánchez_Melero property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q18416234,P106,c(Q12737077))
action filter_type
action find
entity Q18416234
relation P106
type Q12737077
Tania Sánchez Melero does a [ANSWER] for a living
['Q18416234', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q18416234 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
politician
Tania Sánchez Melero does a politician for a living
politician
action filter_type
action find
entity Tania Sánchez Melero
relation occupation
type occupation
['Tania Sánchez Melero', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Tania_Sánchez_Melero property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18416234
P937
Q56061
USER
Which is the work location of Tania Sánchez Melero ?
(Q18416234,P937,c(Q56061))
action filter_type
action find
entity Q18416234
relation P937
type Q56061
['Q18416234', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q18416234 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Tania Sánchez Melero
action filter_type
action find
entity Tania Sánchez Melero
relation work location
type administrative territorial entity
['Tania Sánchez Melero', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Tania_Sánchez_Melero property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q18416234,P937,c(Q56061))
action filter_type
action find
entity Q18416234
relation P937
type Q56061
[ANSWER] is the work location of Tania Sánchez Melero
['Q18416234', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q18416234 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Madrid
Madrid is the work location of Tania Sánchez Melero
Madrid
action filter_type
action find
entity Tania Sánchez Melero
relation work location
type administrative territorial entity
['Tania Sánchez Melero', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Tania_Sánchez_Melero property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2807 Q3226852
P915
Q838948
USER
Did Pieces have that administrative territory as its location of filming ?
(Q3226852,P915,Q2807)
action is_in
entity Q2807
action find
entity Q3226852
relation P915
['Q3226852', 'P915', 'Q2807']
ASK WHERE { resource:Q3226852 property:P915 resource:Q2807 }
Madrid Pieces
action is_in
entity Madrid
action find
entity Pieces
relation filming location
['Pieces', 'filming location', 'Madrid']
ASK WHERE { resource:Pieces property:filming_location resource:Madrid }
[]
work of art
SYSTEM
YES
(Q3226852,P915,Q2807)
action is_in
entity Q2807
action find
entity Q3226852
relation P915
[ANSWER]
['Q3226852', 'P915', 'Q2807']
ASK WHERE { resource:Q3226852 property:P915 resource:Q2807 }
Yes
action is_in
entity Madrid
action find
entity Pieces
relation filming location
['Pieces', 'filming location', 'Madrid']
ASK WHERE { resource:Pieces property:filming_location resource:Madrid }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18416234 Q2807 Q5840076
P19
Q56061
USER
Was Tania Sánchez Melero born at Madrid and Qahsareh ?
(Q18416234,P19,Q2807) (Q18416234,P19,Q5840076)
action is_in
entity Q18416234
action intersection
action find_reverse
entity Q2807
relation P19
action find_reverse
entity Q5840076
relation P19
['Q18416234', 'P19', 'Q2807'] ['Q18416234', 'P19', 'Q5840076']
ASK WHERE { resource:Q18416234 property:P19 resource:Q2807 . resource:Q18416234 property:P19 resource:Q5840076 }
Tania Sánchez Melero Madrid Qahsareh
action is_in
entity Tania Sánchez Melero
action intersection
action find_reverse
entity Madrid
relation place of birth
action find_reverse
entity Qahsareh
relation place of birth
['Tania Sánchez Melero', 'place of birth', 'Madrid'] ['Tania Sánchez Melero', 'place of birth', 'Qahsareh']
ASK WHERE { resource:Tania_Sánchez_Melero property:place_of_birth resource:Madrid . resource:Tania_Sánchez_Melero property:place_of_birth resource:Qahsareh }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q18416234,P19,Q2807) (Q18416234,P19,Q5840076)
action is_in
entity Q18416234
action intersection
action find_reverse
entity Q2807
relation P19
action find_reverse
entity Q5840076
relation P19
[ANSWER]
['Q18416234', 'P19', 'Q2807'] ['Q18416234', 'P19', 'Q5840076']
ASK WHERE { resource:Q18416234 property:P19 resource:Q2807 . resource:Q18416234 property:P19 resource:Q5840076 }
YES and NO respectively
action is_in
entity Tania Sánchez Melero
action intersection
action find_reverse
entity Madrid
relation place of birth
action find_reverse
entity Qahsareh
relation place of birth
['Tania Sánchez Melero', 'place of birth', 'Madrid'] ['Tania Sánchez Melero', 'place of birth', 'Qahsareh']
ASK WHERE { resource:Tania_Sánchez_Melero property:place_of_birth resource:Madrid . resource:Tania_Sánchez_Melero property:place_of_birth resource:Qahsareh }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1874784 Q2807
P190 P937
Q56061
USER
Which administrative territories are partner towns of Madrid and did Ludwig Metzger work ?
AND((Q2807,P190,c(Q56061)), (Q1874784,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q2807
relation P190
action find
entity Q1874784
relation P937
type Q56061
{'AND': [['Q2807', 'P190', {'concept': 'Q56061'}], ['Q1874784', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { resource:Q1874784 property:P937 ?l . resource:Q2807 property:P190 ?l . ?l rdf:type ontology:Q56061 }
Ludwig Metzger Madrid
action filter_type
action intersection
action find
entity Madrid
relation sister city
action find
entity Ludwig Metzger
relation work location
type administrative territorial entity
{'AND': [['Madrid', 'sister city', {'concept': 'administrative territorial entity'}], ['Ludwig Metzger', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { resource:Ludwig_Metzger property:work_location ?l . resource:Madrid property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q239
SYSTEM
Brussels
Q239
AND((Q2807,P190,c(Q56061)), (Q1874784,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q2807
relation P190
action find
entity Q1874784
relation P937
type Q56061
[ANSWER] is partner towns of Madrid and did Ludwig Metzger work
{'AND': [['Q2807', 'P190', {'concept': 'Q56061'}], ['Q1874784', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { resource:Q1874784 property:P937 ?l . resource:Q2807 property:P190 ?l . ?l rdf:type ontology:Q56061 }
Brussels
Brussels is partner towns of Madrid and did Ludwig Metzger work
Brussels
action filter_type
action intersection
action find
entity Madrid
relation sister city
action find
entity Ludwig Metzger
relation work location
type administrative territorial entity
{'AND': [['Madrid', 'sister city', {'concept': 'administrative territorial entity'}], ['Ludwig Metzger', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { resource:Ludwig_Metzger property:work_location ?l . resource:Madrid property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q239 Q8021551
P937
Q502895
USER
Does Willie Hamilton work at that administrative territory ?
(Q8021551,P937,Q239)
action is_in
entity Q239
action find
entity Q8021551
relation P937
['Q8021551', 'P937', 'Q239']
ASK WHERE { resource:Q8021551 property:P937 resource:Q239 }
Brussels Willie Hamilton
action is_in
entity Brussels
action find
entity Willie Hamilton
relation work location
['Willie Hamilton', 'work location', 'Brussels']
ASK WHERE { resource:Willie_Hamilton property:work_location resource:Brussels }
[]
common name
SYSTEM
YES
(Q8021551,P937,Q239)
action is_in
entity Q239
action find
entity Q8021551
relation P937
[ANSWER]
['Q8021551', 'P937', 'Q239']
ASK WHERE { resource:Q8021551 property:P937 resource:Q239 }
Yes
action is_in
entity Brussels
action find
entity Willie Hamilton
relation work location
['Willie Hamilton', 'work location', 'Brussels']
ASK WHERE { resource:Willie_Hamilton property:work_location resource:Brussels }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q239
P1427
Q2912397
USER
Which single-day race has its origin at that administrative territory ?
action filter_type
action find_reverse
entity Q239
relation P1427
type Q2912397
SELECT DISTINCT ?v WHERE { ?v property:P1427 resource:Q239 . ?v rdf:type ontology:Q2912397 }
Brussels
action filter_type
action find_reverse
entity Brussels
relation start point
type single-day race
SELECT DISTINCT ?v WHERE { ?v property:start_point resource:Brussels . ?v rdf:type ontology:single-day_race }
[]
single-day race
Q18011975
SYSTEM
Brussels Cycling Classic 2014
Q18011975
action filter_type
action find_reverse
entity Q239
relation P1427
type Q2912397
Which single-day race has its origin at that administrative territory
SELECT DISTINCT ?v WHERE { ?v property:P1427 resource:Q239 . ?v rdf:type ontology:Q2912397 }
Brussels Cycling Classic 2014
Which single-day race has its origin at that administrative territory
Brussels Cycling Classic 2014
action filter_type
action find_reverse
entity Brussels
relation start point
type single-day race
SELECT DISTINCT ?v WHERE { ?v property:start_point resource:Brussels . ?v rdf:type ontology:single-day_race }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q18011975 Q17873 Q5404846
P17
Q15617994
USER
Is that single-day race located in Tonengo and Etowah County Schools ?
(Q18011975,P17,Q17873) (Q18011975,P17,Q5404846)
action is_in
entity Q18011975
action intersection
action find_reverse
entity Q17873
relation P17
action find_reverse
entity Q5404846
relation P17
['Q18011975', 'P17', 'Q17873'] ['Q18011975', 'P17', 'Q5404846']
ASK WHERE { resource:Q18011975 property:P17 resource:Q17873 . resource:Q18011975 property:P17 resource:Q5404846 }
Brussels Cycling Classic 2014 Tonengo Etowah County Schools
action is_in
entity Brussels Cycling Classic 2014
action intersection
action find_reverse
entity Tonengo
relation country
action find_reverse
entity Etowah County Schools
relation country
['Brussels Cycling Classic 2014', 'country', 'Tonengo'] ['Brussels Cycling Classic 2014', 'country', 'Etowah County Schools']
ASK WHERE { resource:Brussels_Cycling_Classic_2014 property:country resource:Tonengo . resource:Brussels_Cycling_Classic_2014 property:country resource:Etowah_County_Schools }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q18011975,P17,Q17873) (Q18011975,P17,Q5404846)
action is_in
entity Q18011975
action intersection
action find_reverse
entity Q17873
relation P17
action find_reverse
entity Q5404846
relation P17
[ANSWER]
['Q18011975', 'P17', 'Q17873'] ['Q18011975', 'P17', 'Q5404846']
ASK WHERE { resource:Q18011975 property:P17 resource:Q17873 . resource:Q18011975 property:P17 resource:Q5404846 }
No
action is_in
entity Brussels Cycling Classic 2014
action intersection
action find_reverse
entity Tonengo
relation country
action find_reverse
entity Etowah County Schools
relation country
['Brussels Cycling Classic 2014', 'country', 'Tonengo'] ['Brussels Cycling Classic 2014', 'country', 'Etowah County Schools']
ASK WHERE { resource:Brussels_Cycling_Classic_2014 property:country resource:Tonengo . resource:Brussels_Cycling_Classic_2014 property:country resource:Etowah_County_Schools }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q239 Q5843754
P190
Q56061
USER
Is Mazraeh-ye Now, Mehriz twin town of Brussels ?
(Q239,P190,Q5843754)
action is_in
entity Q5843754
action find
entity Q239
relation P190
['Q239', 'P190', 'Q5843754']
ASK WHERE { resource:Q239 property:P190 resource:Q5843754 }
Brussels Mazraeh-ye Now, Mehriz
action is_in
entity Mazraeh-ye Now, Mehriz
action find
entity Brussels
relation sister city
['Brussels', 'sister city', 'Mazraeh-ye Now, Mehriz']
ASK WHERE { resource:Brussels property:sister_city resource:Mazraeh-ye_Now,_Mehriz }
[]
administrative territorial entity
SYSTEM
NO
(Q239,P190,Q5843754)
action is_in
entity Q5843754
action find
entity Q239
relation P190
[ANSWER]
['Q239', 'P190', 'Q5843754']
ASK WHERE { resource:Q239 property:P190 resource:Q5843754 }
No
action is_in
entity Mazraeh-ye Now, Mehriz
action find
entity Brussels
relation sister city
['Brussels', 'sister city', 'Mazraeh-ye Now, Mehriz']
ASK WHERE { resource:Brussels property:sister_city resource:Mazraeh-ye_Now,_Mehriz }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6453834 Q18416234
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Tania Sánchez Melero or are Dumriq a part of ?
OR((Q18416234,P27,c(Q15617994)), (Q6453834,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18416234
relation P27
action find
entity Q6453834
relation P17
type Q15617994
{'OR': [['Q18416234', 'P27', {'concept': 'Q15617994'}], ['Q6453834', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q18416234 property:P27 ?h } UNION { resource:Q6453834 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Dumriq Tania Sánchez Melero
action filter_type
action union
action find
entity Tania Sánchez Melero
relation country of citizenship
action find
entity Dumriq
relation country
type designation for an administrative territorial entity
{'OR': [['Tania Sánchez Melero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dumriq', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Tania_Sánchez_Melero property:country_of_citizenship ?h } UNION { resource:Dumriq property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q794
SYSTEM
Spain, Iran
Q29 Q794
OR((Q18416234,P27,c(Q15617994)), (Q6453834,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18416234
relation P27
action find
entity Q6453834
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Tania Sánchez Melero or are Dumriq a part of
{'OR': [['Q18416234', 'P27', {'concept': 'Q15617994'}], ['Q6453834', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q18416234 property:P27 ?h } UNION { resource:Q6453834 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Spain Iran
Spain and Iran are the countries of citizenship of Tania Sánchez Melero or are Dumriq a part of
Spain Iran
action filter_type
action union
action find
entity Tania Sánchez Melero
relation country of citizenship
action find
entity Dumriq
relation country
type designation for an administrative territorial entity
{'OR': [['Tania Sánchez Melero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dumriq', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Tania_Sánchez_Melero property:country_of_citizenship ?h } UNION { resource:Dumriq property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4946514 Q18416234
P19
Q56061
USER
Which administrative territories are the places of birth of Tania Sánchez Melero or Laurie Elliott ?
OR((Q18416234,P19,c(Q56061)), (Q4946514,P19,c(Q56061)))
action filter_type
action union
action find
entity Q18416234
relation P19
action find
entity Q4946514
relation P19
type Q56061
{'OR': [['Q18416234', 'P19', {'concept': 'Q56061'}], ['Q4946514', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q18416234 property:P19 ?i } UNION { resource:Q4946514 property:P19 ?i } } . ?i rdf:type ontology:Q56061 }
Laurie Elliott Tania Sánchez Melero
action filter_type
action union
action find
entity Tania Sánchez Melero
relation place of birth
action find
entity Laurie Elliott
relation place of birth
type administrative territorial entity
{'OR': [['Tania Sánchez Melero', 'place of birth', {'concept': 'administrative territorial entity'}], ['Laurie Elliott', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Tania_Sánchez_Melero property:place_of_birth ?i } UNION { resource:Laurie_Elliott property:place_of_birth ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340 Q2807
SYSTEM
Montreal, Madrid
Q340 Q2807
OR((Q18416234,P19,c(Q56061)), (Q4946514,P19,c(Q56061)))
action filter_type
action union
action find
entity Q18416234
relation P19
action find
entity Q4946514
relation P19
type Q56061
[ANSWERS] are the places of birth of Tania Sánchez Melero or Laurie Elliott
{'OR': [['Q18416234', 'P19', {'concept': 'Q56061'}], ['Q4946514', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q18416234 property:P19 ?i } UNION { resource:Q4946514 property:P19 ?i } } . ?i rdf:type ontology:Q56061 }
Montreal Madrid
Montreal and Madrid are the places of birth of Tania Sánchez Melero or Laurie Elliott
Montreal Madrid
action filter_type
action union
action find
entity Tania Sánchez Melero
relation place of birth
action find
entity Laurie Elliott
relation place of birth
type administrative territorial entity
{'OR': [['Tania Sánchez Melero', 'place of birth', {'concept': 'administrative territorial entity'}], ['Laurie Elliott', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Tania_Sánchez_Melero property:place_of_birth ?i } UNION { resource:Laurie_Elliott property:place_of_birth ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]