Simple Question (Direct)
Simple Question
Q11775089
P26
Q502895
USER
Which person is married to Gertrud Arndt ?
(Q11775089,P26,c(Q502895))
action filter_type
action find
entity Q11775089
relation P26
type Q502895
['Q11775089', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q11775089 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Gertrud Arndt
action filter_type
action find
entity Gertrud Arndt
relation spouse
type common name
['Gertrud Arndt', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Gertrud_Arndt property:spouse ?a . ?a rdf:type ontology:common_name }
[]
common name
Q91895
SYSTEM
Alfred Arndt
Q91895
(Q11775089,P26,c(Q502895))
action filter_type
action find
entity Q11775089
relation P26
type Q502895
[ANSWER] is married to Gertrud Arndt
['Q11775089', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q11775089 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Alfred Arndt
Alfred Arndt is married to Gertrud Arndt
Alfred Arndt
action filter_type
action find
entity Gertrud Arndt
relation spouse
type common name
['Gertrud Arndt', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Gertrud_Arndt property:spouse ?a . ?a rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1613304 Q11775089
P20
Q515
USER
Which cities did the expiration of Gertrud Arndt or Hermann Salza-Lichtenau occur ?
OR((Q11775089,P20,c(Q515)), (Q1613304,P20,c(Q515)))
action filter_type
action union
action find
entity Q11775089
relation P20
action find
entity Q1613304
relation P20
type Q515
{'OR': [['Q11775089', 'P20', {'concept': 'Q515'}], ['Q1613304', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q11775089 property:P20 ?b } UNION { resource:Q1613304 property:P20 ?b } } . ?b rdf:type ontology:Q515 }
Hermann Salza-Lichtenau Gertrud Arndt
action filter_type
action union
action find
entity Gertrud Arndt
relation place of death
action find
entity Hermann Salza-Lichtenau
relation place of death
type city
{'OR': [['Gertrud Arndt', 'place of death', {'concept': 'city'}], ['Hermann Salza-Lichtenau', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Gertrud_Arndt property:place_of_death ?b } UNION { resource:Hermann_Salza-Lichtenau property:place_of_death ?b } } . ?b rdf:type ontology:city }
[]
city
Q1731 Q2973
SYSTEM
Dresden, Darmstadt
Q1731 Q2973
OR((Q11775089,P20,c(Q515)), (Q1613304,P20,c(Q515)))
action filter_type
action union
action find
entity Q11775089
relation P20
action find
entity Q1613304
relation P20
type Q515
The expiration of Gertrud Arndt or Hermann Salza-Lichtenau occurred in [ANSWERS]
{'OR': [['Q11775089', 'P20', {'concept': 'Q515'}], ['Q1613304', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q11775089 property:P20 ?b } UNION { resource:Q1613304 property:P20 ?b } } . ?b rdf:type ontology:Q515 }
Dresden Darmstadt
The expiration of Gertrud Arndt or Hermann Salza-Lichtenau occurred in Dresden and Darmstadt
Dresden Darmstadt
action filter_type
action union
action find
entity Gertrud Arndt
relation place of death
action find
entity Hermann Salza-Lichtenau
relation place of death
type city
{'OR': [['Gertrud Arndt', 'place of death', {'concept': 'city'}], ['Hermann Salza-Lichtenau', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Gertrud_Arndt property:place_of_death ?b } UNION { resource:Hermann_Salza-Lichtenau property:place_of_death ?b } } . ?b rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1691300 Q91895
P20
Q515
USER
Which cities did the demise of Alfred Arndt or Jodokus Bernhard Aufseß occur ?
OR((Q91895,P20,c(Q515)), (Q1691300,P20,c(Q515)))
action filter_type
action union
action find
entity Q91895
relation P20
action find
entity Q1691300
relation P20
type Q515
{'OR': [['Q91895', 'P20', {'concept': 'Q515'}], ['Q1691300', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q91895 property:P20 ?i } UNION { resource:Q1691300 property:P20 ?i } } . ?i rdf:type ontology:Q515 }
Jodokus Bernhard Aufseß Alfred Arndt
action filter_type
action union
action find
entity Alfred Arndt
relation place of death
action find
entity Jodokus Bernhard Aufseß
relation place of death
type city
{'OR': [['Alfred Arndt', 'place of death', {'concept': 'city'}], ['Jodokus Bernhard Aufseß', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Alfred_Arndt property:place_of_death ?i } UNION { resource:Jodokus_Bernhard_Aufseß property:place_of_death ?i } } . ?i rdf:type ontology:city }
[]
city
Q2999 Q2973
SYSTEM
Würzburg, Darmstadt
Q2999 Q2973
OR((Q91895,P20,c(Q515)), (Q1691300,P20,c(Q515)))
action filter_type
action union
action find
entity Q91895
relation P20
action find
entity Q1691300
relation P20
type Q515
The demise of Alfred Arndt or Jodokus Bernhard Aufseß occurred in [ANSWERS]
{'OR': [['Q91895', 'P20', {'concept': 'Q515'}], ['Q1691300', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q91895 property:P20 ?i } UNION { resource:Q1691300 property:P20 ?i } } . ?i rdf:type ontology:Q515 }
Würzburg Darmstadt
The demise of Alfred Arndt or Jodokus Bernhard Aufseß occurred in Würzburg and Darmstadt
Würzburg Darmstadt
action filter_type
action union
action find
entity Alfred Arndt
relation place of death
action find
entity Jodokus Bernhard Aufseß
relation place of death
type city
{'OR': [['Alfred Arndt', 'place of death', {'concept': 'city'}], ['Jodokus Bernhard Aufseß', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Alfred_Arndt property:place_of_death ?i } UNION { resource:Jodokus_Bernhard_Aufseß property:place_of_death ?i } } . ?i rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2575077
P937
Q502895
USER
Do Wilhelm Schüßler have those cities as their work location ?
(Q2575077,P937,Q2999) (Q2575077,P937,Q2973)
action is_in
entity prev_answer
action find
entity Q2575077
relation P937
['Q2575077', 'P937', 'Q2999'] ['Q2575077', 'P937', 'Q2973']
ASK WHERE { resource:Q2575077 property:P937 ?h . VALUES ( ?h ) { ( resource:Q2999 ) ( resource:Q2973 ) } }
Wilhelm Schüßler
action is_in
entity prev_answer
action find
entity Wilhelm Schüßler
relation work location
['Wilhelm Schüßler', 'work location', 'Würzburg'] ['Wilhelm Schüßler', 'work location', 'Darmstadt']
ASK WHERE { resource:Wilhelm_Schüßler property:work_location ?h . VALUES ( ?h ) { ( resource:Würzburg ) ( resource:Darmstadt ) } }
[]
common name
SYSTEM
YES
(Q2575077,P937,Q2999) (Q2575077,P937,Q2973)
action is_in
entity prev_answer
action find
entity Q2575077
relation P937
[ANSWER]
['Q2575077', 'P937', 'Q2999'] ['Q2575077', 'P937', 'Q2973']
ASK WHERE { resource:Q2575077 property:P937 ?h . VALUES ( ?h ) { ( resource:Q2999 ) ( resource:Q2973 ) } }
Yes
action is_in
entity prev_answer
action find
entity Wilhelm Schüßler
relation work location
['Wilhelm Schüßler', 'work location', 'Würzburg'] ['Wilhelm Schüßler', 'work location', 'Darmstadt']
ASK WHERE { resource:Wilhelm_Schüßler property:work_location ?h . VALUES ( ?h ) { ( resource:Würzburg ) ( resource:Darmstadt ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1731
P190
Q56061
USER
How many administrative territories are sister towns of Dresden ?
(Q1731,P190,c(Q56061))
action count
action filter_type
action find
entity Q1731
relation P190
type Q56061
['Q1731', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a rdf:type ontology:Q56061 . resource:Q1731 property:P190 ?a }
Dresden
action count
action filter_type
action find
entity Dresden
relation sister city
type administrative territorial entity
['Dresden', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Dresden property:sister_city ?a }
[]
administrative territorial entity
SYSTEM
9
Q34713 Q3844 Q182428 Q34370 Q2044 Q384 Q8385 Q16567 Q6225
(Q1731,P190,c(Q56061))
action count
action filter_type
action find
entity Q1731
relation P190
type Q56061
[ANSWER]
['Q1731', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a rdf:type ontology:Q56061 . resource:Q1731 property:P190 ?a }
Salzburg Brazzaville Silistra Rotterdam Florence Skopje Ostrava Columbus Coventry
9
action count
action filter_type
action find
entity Dresden
relation sister city
type administrative territorial entity
['Dresden', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Dresden property:sister_city ?a }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1844
Q56061
USER
And also tell me about Vaduz?
(Q1844,P190,c(Q56061))
action count
action filter_type
action find
entity Q1844
relation P190
type Q56061
['Q1844', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q1844 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Vaduz
action count
action filter_type
action find
entity Vaduz
relation sister city
type administrative territorial entity
['Vaduz', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Vaduz property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
3
(Q1844,P190,c(Q56061))
action count
action filter_type
action find
entity Q1844
relation P190
type Q56061
[ANSWER]
['Q1844', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q1844 property:P190 ?g . ?g rdf:type ontology:Q56061 }
3
action count
action filter_type
action find
entity Vaduz
relation sister city
type administrative territorial entity
['Vaduz', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Vaduz property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q355304 Q337567 Q515
USER
Which cities are located next to min number of watercourses or still waterss ?
(c(Q515),P206,c(Q355304)|c(Q337567))
action argmin
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q337567
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?s ) { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ?e . VALUES ( ?e ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } GROUP BY ?f } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?a ) WHERE { { ?k property:P206 ?d . ?k rdf:type ontology:Q515 . ?d rdf:type ontology:Q355304 } UNION { ?k property:P206 ?d . ?k rdf:type ontology:Q515 . ?d rdf:type ontology:Q337567 } } GROUP BY ?k } . FILTER ( ?a = ?s ) }
action argmin
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type still waters
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?s ) { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ?e . VALUES ( ?e ) { ( ontology:watercourse ) ( ontology:still_waters ) } } GROUP BY ?f } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?a ) WHERE { { ?k property:located_next_to_body_of_water ?d . ?k rdf:type ontology:city . ?d rdf:type ontology:watercourse } UNION { ?k property:located_next_to_body_of_water ?d . ?k rdf:type ontology:city . ?d rdf:type ontology:still_waters } } GROUP BY ?k } . FILTER ( ?a = ?s ) }
[]
watercourse still waters city
Q1486 Q3572 Q1410
SYSTEM
Buenos Aires, Tunis, Gibraltar
Q1410 Q1519 Q846877 Q1486 Q602903 Q488869 Q217432 Q3572 Q623549 Q34261 Q612815 Q7473516 Q3826 Q41474 Q23661 Q3751 Q847550 Q3861
(c(Q515),P206,c(Q355304)|c(Q337567))
action argmin
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q337567
[ANSWERS] are located next to min number of watercourses or still waterss
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?s ) { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ?e . VALUES ( ?e ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } GROUP BY ?f } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?a ) WHERE { { ?k property:P206 ?d . ?k rdf:type ontology:Q515 . ?d rdf:type ontology:Q355304 } UNION { ?k property:P206 ?d . ?k rdf:type ontology:Q515 . ?d rdf:type ontology:Q337567 } } GROUP BY ?k } . FILTER ( ?a = ?s ) }
Gibraltar Abu Dhabi Semboku Buenos Aires Yurihonjō Benalmádena Port Harcourt Tunis Puerto de la Cruz Port-au-Prince Garachico Tokyo Muscat Kingstown Wellington Praia Nikaho Doha
Buenos Aires, Tunis and Gibraltar are located next to min number of watercourses or still waterss
Buenos Aires Tunis Gibraltar
action argmin
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type still waters
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?s ) { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ?e . VALUES ( ?e ) { ( ontology:watercourse ) ( ontology:still_waters ) } } GROUP BY ?f } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?a ) WHERE { { ?k property:located_next_to_body_of_water ?d . ?k rdf:type ontology:city . ?d rdf:type ontology:watercourse } UNION { ?k property:located_next_to_body_of_water ?d . ?k rdf:type ontology:city . ?d rdf:type ontology:still_waters } } GROUP BY ?k } . FILTER ( ?a = ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2545109 Q2575077
P937
Q515
USER
Which cities are the work locations of Wilhelm Schüßler or Walter Koch ?
OR((Q2575077,P937,c(Q515)), (Q2545109,P937,c(Q515)))
action filter_type
action union
action find
entity Q2575077
relation P937
action find
entity Q2545109
relation P937
type Q515
{'OR': [['Q2575077', 'P937', {'concept': 'Q515'}], ['Q2545109', 'P937', {'concept': 'Q515'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q2575077 property:P937 ?t } UNION { resource:Q2545109 property:P937 ?t } } . ?t rdf:type ontology:Q515 }
Walter Koch Wilhelm Schüßler
action filter_type
action union
action find
entity Wilhelm Schüßler
relation work location
action find
entity Walter Koch
relation work location
type city
{'OR': [['Wilhelm Schüßler', 'work location', {'concept': 'city'}], ['Walter Koch', 'work location', {'concept': 'city'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Wilhelm_Schüßler property:work_location ?t } UNION { resource:Walter_Koch property:work_location ?t } } . ?t rdf:type ontology:city }
[]
city
Q2999 Q1773 Q1731 Q2973 Q1794
SYSTEM
Würzburg, Riga, Dresden, Darmstadt, Frankfurt
Q2999 Q1773 Q1731 Q2973 Q1794
OR((Q2575077,P937,c(Q515)), (Q2545109,P937,c(Q515)))
action filter_type
action union
action find
entity Q2575077
relation P937
action find
entity Q2545109
relation P937
type Q515
[ANSWERS] are the work locations of Wilhelm Schüßler or Walter Koch
{'OR': [['Q2575077', 'P937', {'concept': 'Q515'}], ['Q2545109', 'P937', {'concept': 'Q515'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q2575077 property:P937 ?t } UNION { resource:Q2545109 property:P937 ?t } } . ?t rdf:type ontology:Q515 }
Würzburg Riga Dresden Darmstadt Frankfurt
Würzburg, Riga, Dresden, Darmstadt and Frankfurt are the work locations of Wilhelm Schüßler or Walter Koch
Würzburg Riga Dresden Darmstadt Frankfurt
action filter_type
action union
action find
entity Wilhelm Schüßler
relation work location
action find
entity Walter Koch
relation work location
type city
{'OR': [['Wilhelm Schüßler', 'work location', {'concept': 'city'}], ['Walter Koch', 'work location', {'concept': 'city'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Wilhelm_Schüßler property:work_location ?t } UNION { resource:Walter_Koch property:work_location ?t } } . ?t rdf:type ontology:city }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1731
P108
Q502895
USER
Which person works for that city ?
(c(Q502895),P108,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q1731']
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q1731 . ?e rdf:type ontology:Q502895 }
Dresden
action filter_type
action find_reverse
entity Dresden
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Dresden']
SELECT DISTINCT ?e WHERE { ?e property:employer resource:Dresden . ?e rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2999
SYSTEM
Did you mean Würzburg ?
Q2999 Q1773 Q1731 Q2973 Q1794
(c(Q502895),P108,Q2999) (c(Q502895),P108,Q1773) (c(Q502895),P108,Q1731) (c(Q502895),P108,Q2973) (c(Q502895),P108,Q1794)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q2999'] [{'concept': 'Q502895'}, 'P108', 'Q1773'] [{'concept': 'Q502895'}, 'P108', 'Q1731'] [{'concept': 'Q502895'}, 'P108', 'Q2973'] [{'concept': 'Q502895'}, 'P108', 'Q1794']
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q1731 . ?e rdf:type ontology:Q502895 }
Würzburg Riga Dresden Darmstadt Frankfurt
Did you mean Würzburg ?
Würzburg
[{'concept': 'common name'}, 'employer', 'Würzburg'] [{'concept': 'common name'}, 'employer', 'Riga'] [{'concept': 'common name'}, 'employer', 'Dresden'] [{'concept': 'common name'}, 'employer', 'Darmstadt'] [{'concept': 'common name'}, 'employer', 'Frankfurt']
SELECT DISTINCT ?e WHERE { ?e property:employer resource:Dresden . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Dresden. Could you tell me the answer for that?
(c(Q502895),P108,Q1731)
Q1731
[{'concept': 'Q502895'}, 'P108', 'Q1731']
[{'concept': 'common name'}, 'employer', 'Dresden']
[]
Q2087955
SYSTEM
Vasily Engelhardt
Q2087955
(c(Q502895),P108,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P108
type Q502895
[ANSWER] works for that city
[{'concept': 'Q502895'}, 'P108', 'Q1731']
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q1731 . ?e rdf:type ontology:Q502895 }
Vasily Engelhardt
Vasily Engelhardt works for that city
Vasily Engelhardt
action filter_type
action find_reverse
entity Dresden
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Dresden']
SELECT DISTINCT ?e WHERE { ?e property:employer resource:Dresden . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1731 Q3977434
P127
Q41176
USER
How many buildings belongs to Dresden or Sisters of Providence of Saint Mary-of-the-Woods ?
(c(Q41176),P127,Q1731) (c(Q41176),P127,Q3977434)
action count
action union
action filter_type
action find_reverse
entity Q1731
relation P127
type Q41176
action filter_type
action find_reverse
entity Q3977434
relation P127
type Q41176
[{'concept': 'Q41176'}, 'P127', 'Q1731'] [{'concept': 'Q41176'}, 'P127', 'Q3977434']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { VALUES ( ?r ) { ( resource:Q3977434 ) ( resource:Q1731 ) } . ?z property:P127 ?r }
Dresden Sisters of Providence of Saint Mary-of-the-Woods
action count
action union
action filter_type
action find_reverse
entity Dresden
relation owned by
type building
action filter_type
action find_reverse
entity Sisters of Providence of Saint Mary-of-the-Woods
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Dresden'] [{'concept': 'building'}, 'owned by', 'Sisters of Providence of Saint Mary-of-the-Woods']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { VALUES ( ?r ) { ( resource:Sisters_of_Providence_of_Saint_Mary-of-the-Woods ) ( resource:Dresden ) } . ?z property:owned_by ?r }
[]
building
SYSTEM
2
Q14688300 Q7587033
(c(Q41176),P127,Q1731) (c(Q41176),P127,Q3977434)
action count
action union
action filter_type
action find_reverse
entity Q1731
relation P127
type Q41176
action filter_type
action find_reverse
entity Q3977434
relation P127
type Q41176
[ANSWER]
[{'concept': 'Q41176'}, 'P127', 'Q1731'] [{'concept': 'Q41176'}, 'P127', 'Q3977434']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { VALUES ( ?r ) { ( resource:Q3977434 ) ( resource:Q1731 ) } . ?z property:P127 ?r }
Blessed Sacrament Chapel St. Anne Shell Chapel
2
action count
action union
action filter_type
action find_reverse
entity Dresden
relation owned by
type building
action filter_type
action find_reverse
entity Sisters of Providence of Saint Mary-of-the-Woods
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Dresden'] [{'concept': 'building'}, 'owned by', 'Sisters of Providence of Saint Mary-of-the-Woods']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { VALUES ( ?r ) { ( resource:Sisters_of_Providence_of_Saint_Mary-of-the-Woods ) ( resource:Dresden ) } . ?z property:owned_by ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1486
P17
Q15617994
USER
Which administrative territory is Buenos Aires situated in ?
(Q1486,P17,c(Q15617994))
action filter_type
action find
entity Q1486
relation P17
type Q15617994
['Q1486', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q1486 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Buenos Aires
action filter_type
action find
entity Buenos Aires
relation country
type designation for an administrative territorial entity
['Buenos Aires', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Buenos_Aires property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q1486,P17,c(Q15617994))
action filter_type
action find
entity Q1486
relation P17
type Q15617994
Buenos Aires is situated in [ANSWER]
['Q1486', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q1486 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Argentina
Buenos Aires is situated in Argentina
Argentina
action filter_type
action find
entity Buenos Aires
relation country
type designation for an administrative territorial entity
['Buenos Aires', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Buenos_Aires property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1486
P194
Q1752346
USER
Which assembly represents Buenos Aires ?
(Q1486,P194,c(Q1752346))
action filter_type
action find
entity Q1486
relation P194
type Q1752346
['Q1486', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?d WHERE { resource:Q1486 property:P194 ?d . ?d rdf:type ontology:Q1752346 }
Buenos Aires
action filter_type
action find
entity Buenos Aires
relation legislative body
type assembly
['Buenos Aires', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?d WHERE { resource:Buenos_Aires property:legislative_body ?d . ?d rdf:type ontology:assembly }
[]
assembly
Q4985519
SYSTEM
Buenos Aires City Legislature
Q4985519
(Q1486,P194,c(Q1752346))
action filter_type
action find
entity Q1486
relation P194
type Q1752346
Assembly [ANSWER] represents Buenos Aires
['Q1486', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?d WHERE { resource:Q1486 property:P194 ?d . ?d rdf:type ontology:Q1752346 }
Buenos Aires City Legislature
Assembly Buenos Aires City Legislature represents Buenos Aires
Buenos Aires City Legislature
action filter_type
action find
entity Buenos Aires
relation legislative body
type assembly
['Buenos Aires', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?d WHERE { resource:Buenos_Aires property:legislative_body ?d . ?d rdf:type ontology:assembly }
[]