Simple Question (Direct)
Simple Question
Q20437541
P21
Q290
USER
Which sex does György Martin possess ?
(Q20437541,P21,c(Q290))
action filter_type
action find
entity Q20437541
relation P21
type Q290
['Q20437541', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q20437541 property:P21 ?y . ?y rdf:type ontology:Q290 }
György Martin
action filter_type
action find
entity György Martin
relation gender
type sex
['György Martin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:György_Martin property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20437541,P21,c(Q290))
action filter_type
action find
entity Q20437541
relation P21
type Q290
György Martin possesses a [ANSWER]
['Q20437541', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q20437541 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
György Martin possesses a male
male
action filter_type
action find
entity György Martin
relation gender
type sex
['György Martin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:György_Martin property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20437541
P20
Q56061
USER
Which administrative territory is the place of death of György Martin ?
(Q20437541,P20,c(Q56061))
action filter_type
action find
entity Q20437541
relation P20
type Q56061
['Q20437541', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q20437541 property:P20 ?h . ?h rdf:type ontology:Q56061 }
György Martin
action filter_type
action find
entity György Martin
relation place of death
type administrative territorial entity
['György Martin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:György_Martin property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q20437541,P20,c(Q56061))
action filter_type
action find
entity Q20437541
relation P20
type Q56061
[ANSWER] is the place of death of György Martin
['Q20437541', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q20437541 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Budapest
Budapest is the place of death of György Martin
Budapest
action filter_type
action find
entity György Martin
relation place of death
type administrative territorial entity
['György Martin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:György_Martin property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1781
P840
Q15416
USER
Which television programs have their setting located at that administrative territory ?
(c(Q15416),P840,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q1781']
SELECT DISTINCT ?t WHERE { ?t property:P840 resource:Q1781 . ?t rdf:type ontology:Q15416 }
Budapest
action filter_type
action find_reverse
entity Budapest
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Budapest']
SELECT DISTINCT ?t WHERE { ?t property:narrative_location resource:Budapest . ?t rdf:type ontology:television_program }
[]
television program
Q16205080 Q1179826 Q22338788
SYSTEM
Teenage Mutant Ninja Turtles (1987 TV series) (season 7), Work Matters, Csak színház és más semmi
Q1179826 Q16205080 Q22338788 Q21409357
(c(Q15416),P840,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P840
type Q15416
[ANSWERS] have their setting located at that administrative territory
[{'concept': 'Q15416'}, 'P840', 'Q1781']
SELECT DISTINCT ?t WHERE { ?t property:P840 resource:Q1781 . ?t rdf:type ontology:Q15416 }
Work Matters Teenage Mutant Ninja Turtles (1987 TV series) (season 7) Csak színház és más semmi Aranyélet
Teenage Mutant Ninja Turtles (1987 TV series) (season 7), Work Matters and Csak színház és más semmi have their setting located at that administrative territory
Teenage Mutant Ninja Turtles (1987 TV series) (season 7) Work Matters Csak színház és más semmi
action filter_type
action find_reverse
entity Budapest
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Budapest']
SELECT DISTINCT ?t WHERE { ?t property:narrative_location resource:Budapest . ?t rdf:type ontology:television_program }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19014044 Q1179826
P840 P276
Q56061
USER
Which administrative territories are Work Matters set in or are Dormansberg situated ?
OR((Q1179826,P840,c(Q56061)), (Q19014044,P276,c(Q56061)))
action filter_type
action union
action find
entity Q1179826
relation P840
action find
entity Q19014044
relation P276
type Q56061
{'OR': [['Q1179826', 'P840', {'concept': 'Q56061'}], ['Q19014044', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1179826 property:P840 ?w } UNION { resource:Q19014044 property:P276 ?w } } . ?w rdf:type ontology:Q56061 }
Dormansberg Work Matters
action filter_type
action union
action find
entity Work Matters
relation narrative location
action find
entity Dormansberg
relation location
type administrative territorial entity
{'OR': [['Work Matters', 'narrative location', {'concept': 'administrative territorial entity'}], ['Dormansberg', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Work_Matters property:narrative_location ?w } UNION { resource:Dormansberg property:location ?w } } . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q18644362 Q1781
SYSTEM
Landgraaf, Budapest
Q18644362 Q1781
OR((Q1179826,P840,c(Q56061)), (Q19014044,P276,c(Q56061)))
action filter_type
action union
action find
entity Q1179826
relation P840
action find
entity Q19014044
relation P276
type Q56061
Work Matters are set in situated in [ANSWERS]
{'OR': [['Q1179826', 'P840', {'concept': 'Q56061'}], ['Q19014044', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1179826 property:P840 ?w } UNION { resource:Q19014044 property:P276 ?w } } . ?w rdf:type ontology:Q56061 }
Landgraaf Budapest
Work Matters are set in situated in Landgraaf and Budapest
Landgraaf Budapest
action filter_type
action union
action find
entity Work Matters
relation narrative location
action find
entity Dormansberg
relation location
type administrative territorial entity
{'OR': [['Work Matters', 'narrative location', {'concept': 'administrative territorial entity'}], ['Dormansberg', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Work_Matters property:narrative_location ?w } UNION { resource:Dormansberg property:location ?w } } . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19014044
P17
Q15617994
USER
Which administrative territory is that road situated in ?
(Q18644362,P17,c(Q15617994)) (Q1781,P17,c(Q15617994))
action filter_type
action find
entity Q19014044
relation P17
type Q15617994
['Q18644362', 'P17', {'concept': 'Q15617994'}] ['Q1781', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q19014044 property:P17 ?n }
Dormansberg
action filter_type
action find
entity Dormansberg
relation country
type designation for an administrative territorial entity
['Landgraaf', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Budapest', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dormansberg property:country ?n }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q18644362,P17,c(Q15617994)) (Q1781,P17,c(Q15617994))
action filter_type
action find
entity Q19014044
relation P17
type Q15617994
That road is situated in [ANSWER]
['Q18644362', 'P17', {'concept': 'Q15617994'}] ['Q1781', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q19014044 property:P17 ?n }
Netherlands
That road is situated in Netherlands
Netherlands
action filter_type
action find
entity Dormansberg
relation country
type designation for an administrative territorial entity
['Landgraaf', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Budapest', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dormansberg property:country ?n }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18964667 Q19014044
P276
Q56061
USER
Which administrative territories can Dormansberg or Bouwvereniging be found ?
OR((Q19014044,P276,c(Q56061)), (Q18964667,P276,c(Q56061)))
action filter_type
action union
action find
entity Q19014044
relation P276
action find
entity Q18964667
relation P276
type Q56061
{'OR': [['Q19014044', 'P276', {'concept': 'Q56061'}], ['Q18964667', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { ?y property:P276 ?z . VALUES ( ?y ) { ( resource:Q18964667 ) ( resource:Q19014044 ) } } . ?z rdf:type ontology:Q56061 }
Bouwvereniging Dormansberg
action filter_type
action union
action find
entity Dormansberg
relation location
action find
entity Bouwvereniging
relation location
type administrative territorial entity
{'OR': [['Dormansberg', 'location', {'concept': 'administrative territorial entity'}], ['Bouwvereniging', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?y property:location ?z . VALUES ( ?y ) { ( resource:Bouwvereniging ) ( resource:Dormansberg ) } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2267399 Q18644362
SYSTEM
Krimpen aan de Lek, Landgraaf
Q2267399 Q18644362
OR((Q19014044,P276,c(Q56061)), (Q18964667,P276,c(Q56061)))
action filter_type
action union
action find
entity Q19014044
relation P276
action find
entity Q18964667
relation P276
type Q56061
Dormansberg or Bouwvereniging can be found in [ANSWERS]
{'OR': [['Q19014044', 'P276', {'concept': 'Q56061'}], ['Q18964667', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { ?y property:P276 ?z . VALUES ( ?y ) { ( resource:Q18964667 ) ( resource:Q19014044 ) } } . ?z rdf:type ontology:Q56061 }
Krimpen aan de Lek Landgraaf
Dormansberg or Bouwvereniging can be found in Krimpen aan de Lek and Landgraaf
Krimpen aan de Lek Landgraaf
action filter_type
action union
action find
entity Dormansberg
relation location
action find
entity Bouwvereniging
relation location
type administrative territorial entity
{'OR': [['Dormansberg', 'location', {'concept': 'administrative territorial entity'}], ['Bouwvereniging', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?y property:location ?z . VALUES ( ?y ) { ( resource:Bouwvereniging ) ( resource:Dormansberg ) } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q544894 Q19014044
P276 P1071
Q56061
USER
Which administrative territories are Dormansberg located or are the final places of assembly for Mary Rose situated ?
OR((Q19014044,P276,c(Q56061)), (Q544894,P1071,c(Q56061)))
action filter_type
action union
action find
entity Q19014044
relation P276
action find
entity Q544894
relation P1071
type Q56061
{'OR': [['Q19014044', 'P276', {'concept': 'Q56061'}], ['Q544894', 'P1071', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q544894 property:P1071 ?o } UNION { resource:Q19014044 property:P276 ?o } } . ?o rdf:type ontology:Q56061 }
Mary Rose Dormansberg
action filter_type
action union
action find
entity Dormansberg
relation location
action find
entity Mary Rose
relation location of final assembly
type administrative territorial entity
{'OR': [['Dormansberg', 'location', {'concept': 'administrative territorial entity'}], ['Mary Rose', 'location of final assembly', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Mary_Rose property:location_of_final_assembly ?o } UNION { resource:Dormansberg property:location ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q72259 Q18644362
SYSTEM
Portsmouth, Landgraaf
Q72259 Q18644362
OR((Q19014044,P276,c(Q56061)), (Q544894,P1071,c(Q56061)))
action filter_type
action union
action find
entity Q19014044
relation P276
action find
entity Q544894
relation P1071
type Q56061
[ANSWERS] are Dormansberg located or are the final places of assembly for Mary Rose situated
{'OR': [['Q19014044', 'P276', {'concept': 'Q56061'}], ['Q544894', 'P1071', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q544894 property:P1071 ?o } UNION { resource:Q19014044 property:P276 ?o } } . ?o rdf:type ontology:Q56061 }
Portsmouth Landgraaf
Portsmouth and Landgraaf are Dormansberg located or are the final places of assembly for Mary Rose situated
Portsmouth Landgraaf
action filter_type
action union
action find
entity Dormansberg
relation location
action find
entity Mary Rose
relation location of final assembly
type administrative territorial entity
{'OR': [['Dormansberg', 'location', {'concept': 'administrative territorial entity'}], ['Mary Rose', 'location of final assembly', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Mary_Rose property:location_of_final_assembly ?o } UNION { resource:Dormansberg property:location ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q72259 Q18644362
P17
Q15617994
USER
Which administrative territories are those administrative territories a part of ?
(Q72259,P17,c(Q15617994)) (Q18644362,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q72259', 'P17', {'concept': 'Q15617994'}] ['Q18644362', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . VALUES ( ?l ) { ( resource:Q72259 ) ( resource:Q18644362 ) } . ?l property:P17 ?g }
Portsmouth Landgraaf
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Portsmouth', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Landgraaf', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?l ) { ( resource:Portsmouth ) ( resource:Landgraaf ) } . ?l property:country ?g }
[]
designation for an administrative territorial entity
Q145 Q55
SYSTEM
United Kingdom, Netherlands
Q145 Q55
(Q72259,P17,c(Q15617994)) (Q18644362,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS] are those administrative territories a part of
['Q72259', 'P17', {'concept': 'Q15617994'}] ['Q18644362', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . VALUES ( ?l ) { ( resource:Q72259 ) ( resource:Q18644362 ) } . ?l property:P17 ?g }
United Kingdom Netherlands
United Kingdom and Netherlands are those administrative territories a part of
United Kingdom Netherlands
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Portsmouth', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Landgraaf', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?l ) { ( resource:Portsmouth ) ( resource:Landgraaf ) } . ?l property:country ?g }
[]
Clarification
Simple Question|Single Entity|Indirect
Q72259
P190
Q515
USER
Which cities are the sister cities of that administrative territory ?
(Q72259,P190,c(Q515))
action filter_type
action find
entity Q72259
relation P190
type Q515
['Q72259', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { resource:Q72259 property:P190 ?l . ?l rdf:type ontology:Q515 }
Portsmouth
action filter_type
action find
entity Portsmouth
relation sister city
type city
['Portsmouth', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { resource:Portsmouth property:sister_city ?l . ?l rdf:type ontology:city }
[]
city
Clarification for simple ques.
Q72259
SYSTEM
Did you mean Portsmouth ?
Q145 Q55
(Q145,P190,c(Q515)) (Q55,P190,c(Q515))
[ANSWER]
['Q145', 'P190', {'concept': 'Q515'}] ['Q55', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { resource:Q72259 property:P190 ?l . ?l rdf:type ontology:Q515 }
United Kingdom Netherlands
Did you mean Portsmouth ?
Portsmouth
['United Kingdom', 'sister city', {'concept': 'city'}] ['Netherlands', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { resource:Portsmouth property:sister_city ?l . ?l rdf:type ontology:city }
[]
Simple Question (Coreferenced)
USER
Yes
(Q72259,P190,c(Q515))
['Q72259', 'P190', {'concept': 'Q515'}]
['Portsmouth', 'sister city', {'concept': 'city'}]
[]
Q2100 Q3826 Q750573
SYSTEM
Duisburg, Muscat, Maizuru
Q3826 Q750573 Q2100
(Q72259,P190,c(Q515))
action filter_type
action find
entity Q72259
relation P190
type Q515
[ANSWERS] are the sister cities of that administrative territory
['Q72259', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { resource:Q72259 property:P190 ?l . ?l rdf:type ontology:Q515 }
Muscat Maizuru Duisburg
Duisburg, Muscat and Maizuru are the sister cities of that administrative territory
Duisburg Muscat Maizuru
action filter_type
action find
entity Portsmouth
relation sister city
type city
['Portsmouth', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { resource:Portsmouth property:sister_city ?l . ?l rdf:type ontology:city }
[]