Simple Question (Direct)
Simple Question
Q542773
P26
Q502895
USER
Which people are the spouses of John Casimir, Duke of Saxe-Coburg ?
(Q542773,P26,c(Q502895))
action filter_type
action find
entity Q542773
relation P26
type Q502895
['Q542773', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q542773 property:P26 ?n }
John Casimir, Duke of Saxe-Coburg
action filter_type
action find
entity John Casimir, Duke of Saxe-Coburg
relation spouse
type common name
['John Casimir, Duke of Saxe-Coburg', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:John_Casimir,_Duke_of_Saxe-Coburg property:spouse ?n }
[]
common name
Q563913 Q92185
SYSTEM
Anna of Saxony, Margaret of Brunswick-Lüneburg
Q563913 Q92185
(Q542773,P26,c(Q502895))
action filter_type
action find
entity Q542773
relation P26
type Q502895
[ANSWERS] are the spouses of John Casimir, Duke of Saxe-Coburg
['Q542773', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q542773 property:P26 ?n }
Anna of Saxony Margaret of Brunswick-Lüneburg
Anna of Saxony and Margaret of Brunswick-Lüneburg are the spouses of John Casimir, Duke of Saxe-Coburg
Anna of Saxony Margaret of Brunswick-Lüneburg
action filter_type
action find
entity John Casimir, Duke of Saxe-Coburg
relation spouse
type common name
['John Casimir, Duke of Saxe-Coburg', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:John_Casimir,_Duke_of_Saxe-Coburg property:spouse ?n }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q563913 Q92185
P26
Q502895
USER
Who are the spouses of Anna of Saxony and Margaret of Brunswick-Lüneburg ?
(Q563913,P26,c(Q502895)) (Q92185,P26,c(Q502895))
action union
action filter_type
action find
entity Q563913
relation P26
type Q502895
action filter_type
action find
entity Q92185
relation P26
type Q502895
['Q563913', 'P26', {'concept': 'Q502895'}] ['Q92185', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?o ) { ( resource:Q563913 ) ( resource:Q92185 ) } . ?o property:P26 ?m }
Anna of Saxony Margaret of Brunswick-Lüneburg
action union
action filter_type
action find
entity Anna of Saxony
relation spouse
type common name
action filter_type
action find
entity Margaret of Brunswick-Lüneburg
relation spouse
type common name
['Anna of Saxony', 'spouse', {'concept': 'common name'}] ['Margaret of Brunswick-Lüneburg', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?o ) { ( resource:Anna_of_Saxony ) ( resource:Margaret_of_Brunswick-Lüneburg ) } . ?o property:spouse ?m }
[]
common name
Q542773 Q542773
SYSTEM
John Casimir, Duke of Saxe-Coburg
Q542773 Q542773
(Q563913,P26,c(Q502895)) (Q92185,P26,c(Q502895))
action union
action filter_type
action find
entity Q563913
relation P26
type Q502895
action filter_type
action find
entity Q92185
relation P26
type Q502895
The spouses of Anna of Saxony and Margaret of Brunswick-Lüneburg are named [ANSWERS] and [ANSWERS]
['Q563913', 'P26', {'concept': 'Q502895'}] ['Q92185', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?o ) { ( resource:Q563913 ) ( resource:Q92185 ) } . ?o property:P26 ?m }
John Casimir, Duke of Saxe-Coburg John Casimir, Duke of Saxe-Coburg
The spouses of Anna of Saxony and Margaret of Brunswick-Lüneburg are named John Casimir, Duke of Saxe-Coburg and John Casimir, Duke of Saxe-Coburg
John Casimir, Duke of Saxe-Coburg John Casimir, Duke of Saxe-Coburg
action union
action filter_type
action find
entity Anna of Saxony
relation spouse
type common name
action filter_type
action find
entity Margaret of Brunswick-Lüneburg
relation spouse
type common name
['Anna of Saxony', 'spouse', {'concept': 'common name'}] ['Margaret of Brunswick-Lüneburg', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?o ) { ( resource:Anna_of_Saxony ) ( resource:Margaret_of_Brunswick-Lüneburg ) } . ?o property:spouse ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q542773
P7
Q502895
USER
Who has John Casimir, Duke of Saxe-Coburg as their sibling ?
(c(Q502895),P7,Q542773)
action filter_type
action find
entity Q542773
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q542773']
SELECT DISTINCT ?w WHERE { resource:Q542773 property:P7 ?w . ?w rdf:type ontology:Q502895 }
John Casimir, Duke of Saxe-Coburg
action filter_type
action find
entity John Casimir, Duke of Saxe-Coburg
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'John Casimir, Duke of Saxe-Coburg']
SELECT DISTINCT ?w WHERE { resource:John_Casimir,_Duke_of_Saxe-Coburg property:brother ?w . ?w rdf:type ontology:common_name }
[]
common name
Q68666
SYSTEM
John Ernest, Duke of Saxe-Eisenach
Q68666
(c(Q502895),P7,Q542773)
action filter_type
action find
entity Q542773
relation P7
type Q502895
[ANSWER] has John Casimir, Duke of Saxe-Coburg as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q542773']
SELECT DISTINCT ?w WHERE { resource:Q542773 property:P7 ?w . ?w rdf:type ontology:Q502895 }
John Ernest, Duke of Saxe-Eisenach
John Ernest, Duke of Saxe-Eisenach has John Casimir, Duke of Saxe-Coburg as their sibling
John Ernest, Duke of Saxe-Eisenach
action filter_type
action find
entity John Casimir, Duke of Saxe-Coburg
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'John Casimir, Duke of Saxe-Coburg']
SELECT DISTINCT ?w WHERE { resource:John_Casimir,_Duke_of_Saxe-Coburg property:brother ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q68666
P97
Q355567
USER
What were the titles held by that person ?
(Q68666,P97,c(Q355567))
action filter_type
action find
entity Q68666
relation P97
type Q355567
['Q68666', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?o WHERE { resource:Q68666 property:P97 ?o . ?o rdf:type ontology:Q355567 }
John Ernest, Duke of Saxe-Eisenach
action filter_type
action find
entity John Ernest, Duke of Saxe-Eisenach
relation noble title
type royal or noble rank
['John Ernest, Duke of Saxe-Eisenach', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?o WHERE { resource:John_Ernest,_Duke_of_Saxe-Eisenach property:noble_title ?o . ?o rdf:type ontology:royal_or_noble_rank }
[]
royal or noble rank
Q19813709 Q19816877
SYSTEM
duke of Saxe-Eisenach, duke of Saxe-Coburg
Q19813709 Q19816877
(Q68666,P97,c(Q355567))
action filter_type
action find
entity Q68666
relation P97
type Q355567
The titles held by that person were [ANSWERS]
['Q68666', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?o WHERE { resource:Q68666 property:P97 ?o . ?o rdf:type ontology:Q355567 }
duke of Saxe-Eisenach duke of Saxe-Coburg
The titles held by that person were duke of Saxe-Eisenach and duke of Saxe-Coburg
duke of Saxe-Eisenach duke of Saxe-Coburg
action filter_type
action find
entity John Ernest, Duke of Saxe-Eisenach
relation noble title
type royal or noble rank
['John Ernest, Duke of Saxe-Eisenach', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?o WHERE { resource:John_Ernest,_Duke_of_Saxe-Eisenach property:noble_title ?o . ?o rdf:type ontology:royal_or_noble_rank }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11734549
P97
Q502895
USER
Does Kamil de Pourbaix hold the noble title those ones ?
(Q11734549,P97,Q19813709) (Q11734549,P97,Q19816877)
action is_in
entity prev_answer
action find
entity Q11734549
relation P97
['Q11734549', 'P97', 'Q19813709'] ['Q11734549', 'P97', 'Q19816877']
ASK WHERE { resource:Q11734549 property:P97 ?g . VALUES ( ?g ) { ( resource:Q19813709 ) ( resource:Q19816877 ) } }
Kamil de Pourbaix
action is_in
entity prev_answer
action find
entity Kamil de Pourbaix
relation noble title
['Kamil de Pourbaix', 'noble title', 'duke of Saxe-Eisenach'] ['Kamil de Pourbaix', 'noble title', 'duke of Saxe-Coburg']
ASK WHERE { resource:Kamil_de_Pourbaix property:noble_title ?g . VALUES ( ?g ) { ( resource:duke_of_Saxe-Eisenach ) ( resource:duke_of_Saxe-Coburg ) } }
[]
common name
SYSTEM
NO
(Q11734549,P97,Q19813709) (Q11734549,P97,Q19816877)
action is_in
entity prev_answer
action find
entity Q11734549
relation P97
[ANSWER]
['Q11734549', 'P97', 'Q19813709'] ['Q11734549', 'P97', 'Q19816877']
ASK WHERE { resource:Q11734549 property:P97 ?g . VALUES ( ?g ) { ( resource:Q19813709 ) ( resource:Q19816877 ) } }
No
action is_in
entity prev_answer
action find
entity Kamil de Pourbaix
relation noble title
['Kamil de Pourbaix', 'noble title', 'duke of Saxe-Eisenach'] ['Kamil de Pourbaix', 'noble title', 'duke of Saxe-Coburg']
ASK WHERE { resource:Kamil_de_Pourbaix property:noble_title ?g . VALUES ( ?g ) { ( resource:duke_of_Saxe-Eisenach ) ( resource:duke_of_Saxe-Coburg ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19813709
P17
Q15617994
USER
Which administrative territory is duke of Saxe-Eisenach situated in ?
(Q19813709,P17,c(Q15617994))
action filter_type
action find
entity Q19813709
relation P17
type Q15617994
['Q19813709', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q19813709 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
duke of Saxe-Eisenach
action filter_type
action find
entity duke of Saxe-Eisenach
relation country
type designation for an administrative territorial entity
['duke of Saxe-Eisenach', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:duke_of_Saxe-Eisenach property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q696651
SYSTEM
Saxe-Eisenach
Q696651
(Q19813709,P17,c(Q15617994))
action filter_type
action find
entity Q19813709
relation P17
type Q15617994
Which administrative territory is duke of [ANSWER] situated in
['Q19813709', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q19813709 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Saxe-Eisenach
Which administrative territory is duke of Saxe-Eisenach situated in
Saxe-Eisenach
action filter_type
action find
entity duke of Saxe-Eisenach
relation country
type designation for an administrative territorial entity
['duke of Saxe-Eisenach', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:duke_of_Saxe-Eisenach property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q696651
P1376
Q515
USER
What is the capital of that administrative territory ?
(c(Q515),P1376,Q696651)
action filter_type
action find_reverse
entity Q696651
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q696651']
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q696651 . ?e rdf:type ontology:Q515 }
Saxe-Eisenach
action filter_type
action find_reverse
entity Saxe-Eisenach
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Saxe-Eisenach']
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:Saxe-Eisenach . ?e rdf:type ontology:city }
[]
city
Q7070
SYSTEM
Eisenach
Q7070
(c(Q515),P1376,Q696651)
action filter_type
action find_reverse
entity Q696651
relation P1376
type Q515
The capital of that administrative territory is [ANSWER]
[{'concept': 'Q515'}, 'P1376', 'Q696651']
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q696651 . ?e rdf:type ontology:Q515 }
Eisenach
The capital of that administrative territory is Eisenach
Eisenach
action filter_type
action find_reverse
entity Saxe-Eisenach
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Saxe-Eisenach']
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:Saxe-Eisenach . ?e rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7070
P190
Q56061
USER
Which administrative territories are sister towns of that city ?
(Q7070,P190,c(Q56061))
action filter_type
action find
entity Q7070
relation P190
type Q56061
['Q7070', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q7070 property:P190 ?x }
Eisenach
action filter_type
action find
entity Eisenach
relation sister city
type administrative territorial entity
['Eisenach', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Eisenach property:sister_city ?x }
[]
administrative territorial entity
Q154835 Q3869 Q503379
SYSTEM
Mogilyov, Marburg, Skanderborg
Q154835 Q996036 Q3869 Q503379
(Q7070,P190,c(Q56061))
action filter_type
action find
entity Q7070
relation P190
type Q56061
[ANSWERS] are sister towns of that city
['Q7070', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q7070 property:P190 ?x }
Mogilyov Waverly Marburg Skanderborg
Mogilyov, Marburg and Skanderborg are sister towns of that city
Mogilyov Marburg Skanderborg
action filter_type
action find
entity Eisenach
relation sister city
type administrative territorial entity
['Eisenach', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Eisenach property:sister_city ?x }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q877169
P190
Q515
USER
Are Sasayama twin town of those administrative territories ?
(Q877169,P190,Q154835) (Q877169,P190,Q3869) (Q877169,P190,Q503379)
action is_in
entity prev_answer
action find
entity Q877169
relation P190
['Q877169', 'P190', 'Q154835'] ['Q877169', 'P190', 'Q3869'] ['Q877169', 'P190', 'Q503379']
ASK WHERE { VALUES ( ?e ) { ( resource:Q154835 ) ( resource:Q996036 ) ( resource:Q3869 ) } . resource:Q877169 property:P190 ?e }
Sasayama
action is_in
entity prev_answer
action find
entity Sasayama
relation sister city
['Sasayama', 'sister city', 'Mogilyov'] ['Sasayama', 'sister city', 'Marburg'] ['Sasayama', 'sister city', 'Skanderborg']
ASK WHERE { VALUES ( ?e ) { ( resource:Mogilyov ) ( resource:Waverly ) ( resource:Marburg ) } . resource:Sasayama property:sister_city ?e }
[]
city
SYSTEM
NO
(Q877169,P190,Q154835) (Q877169,P190,Q3869) (Q877169,P190,Q503379)
action is_in
entity prev_answer
action find
entity Q877169
relation P190
[ANSWER]
['Q877169', 'P190', 'Q154835'] ['Q877169', 'P190', 'Q3869'] ['Q877169', 'P190', 'Q503379']
ASK WHERE { VALUES ( ?e ) { ( resource:Q154835 ) ( resource:Q996036 ) ( resource:Q3869 ) } . resource:Q877169 property:P190 ?e }
No
action is_in
entity prev_answer
action find
entity Sasayama
relation sister city
['Sasayama', 'sister city', 'Mogilyov'] ['Sasayama', 'sister city', 'Marburg'] ['Sasayama', 'sister city', 'Skanderborg']
ASK WHERE { VALUES ( ?e ) { ( resource:Mogilyov ) ( resource:Waverly ) ( resource:Marburg ) } . resource:Sasayama property:sister_city ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3869 Q3955
P937
Q502895
USER
How many people have Marburg and Weimar as work location ?
(c(Q502895),P937,Q3869) (c(Q502895),P937,Q3955)
action count
action intersection
action filter_type
action find_reverse
entity Q3869
relation P937
type Q502895
action filter_type
action find_reverse
entity Q3955
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q3869'] [{'concept': 'Q502895'}, 'P937', 'Q3955']
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ontology:Q502895 . ?x property:P937 resource:Q3869 . ?x property:P937 resource:Q3955 . ?x rdf:type ontology:Q502895 }
Marburg Weimar
action count
action intersection
action filter_type
action find_reverse
entity Marburg
relation work location
type common name
action filter_type
action find_reverse
entity Weimar
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Marburg'] [{'concept': 'common name'}, 'work location', 'Weimar']
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ontology:common_name . ?x property:work_location resource:Marburg . ?x property:work_location resource:Weimar . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q107642 Q98157
(c(Q502895),P937,Q3869) (c(Q502895),P937,Q3955)
action count
action intersection
action filter_type
action find_reverse
entity Q3869
relation P937
type Q502895
action filter_type
action find_reverse
entity Q3955
relation P937
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q3869'] [{'concept': 'Q502895'}, 'P937', 'Q3955']
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ontology:Q502895 . ?x property:P937 resource:Q3869 . ?x property:P937 resource:Q3955 . ?x rdf:type ontology:Q502895 }
Johannes Mötsch Wolfgang von Oettingen
2
action count
action intersection
action filter_type
action find_reverse
entity Marburg
relation work location
type common name
action filter_type
action find_reverse
entity Weimar
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Marburg'] [{'concept': 'common name'}, 'work location', 'Weimar']
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ontology:common_name . ?x property:work_location resource:Marburg . ?x property:work_location resource:Weimar . ?x rdf:type ontology:common_name }
[]