Simple Question (Direct)
Simple Question
Q91716
P19
Q20667921
USER
Which french administrative division was Johann Reinhard II, Count of Hanau-Lichtenberg born at ?
(Q91716,P19,c(Q20667921))
action filter_type
action find
entity Q91716
relation P19
type Q20667921
['Q91716', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q91716 property:P19 ?q . ?q rdf:type ontology:Q20667921 }
Johann Reinhard II, Count of Hanau-Lichtenberg
action filter_type
action find
entity Johann Reinhard II, Count of Hanau-Lichtenberg
relation place of birth
type type of french administrative division
['Johann Reinhard II, Count of Hanau-Lichtenberg', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Johann_Reinhard_II,_Count_of_Hanau-Lichtenberg property:place_of_birth ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q22740
SYSTEM
Bouxwiller
Q22740
(Q91716,P19,c(Q20667921))
action filter_type
action find
entity Q91716
relation P19
type Q20667921
[ANSWER] was Johann Reinhard II, Count of Hanau-Lichtenberg born at
['Q91716', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q91716 property:P19 ?q . ?q rdf:type ontology:Q20667921 }
Bouxwiller
Bouxwiller was Johann Reinhard II, Count of Hanau-Lichtenberg born at
Bouxwiller
action filter_type
action find
entity Johann Reinhard II, Count of Hanau-Lichtenberg
relation place of birth
type type of french administrative division
['Johann Reinhard II, Count of Hanau-Lichtenberg', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Johann_Reinhard_II,_Count_of_Hanau-Lichtenberg property:place_of_birth ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22740
P1376
Q20667921
USER
Which french administrative division has that one has its center of administration ?
(Q22740,P1376,c(Q20667921))
action filter_type
action find
entity Q22740
relation P1376
type Q20667921
['Q22740', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q22740 property:P1376 ?k . ?k rdf:type ontology:Q20667921 }
Bouxwiller
action filter_type
action find
entity Bouxwiller
relation capital of
type type of french administrative division
['Bouxwiller', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Bouxwiller property:capital_of ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1397686
SYSTEM
canton of Bouxwiller
Q1397686
(Q22740,P1376,c(Q20667921))
action filter_type
action find
entity Q22740
relation P1376
type Q20667921
The [ANSWER] has that one has its center of administration
['Q22740', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q22740 property:P1376 ?k . ?k rdf:type ontology:Q20667921 }
canton of Bouxwiller
The canton of Bouxwiller has that one has its center of administration
canton of Bouxwiller
action filter_type
action find
entity Bouxwiller
relation capital of
type type of french administrative division
['Bouxwiller', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Bouxwiller property:capital_of ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1397686
P36
Q20667921
USER
Which french administrative division is associated to that one as the capital ?
(Q1397686,P36,c(Q20667921))
action filter_type
action find
entity Q1397686
relation P36
type Q20667921
['Q1397686', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q1397686 property:P36 ?p . ?p rdf:type ontology:Q20667921 }
canton of Bouxwiller
action filter_type
action find
entity canton of Bouxwiller
relation capital
type type of french administrative division
['canton of Bouxwiller', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:canton_of_Bouxwiller property:capital ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q22740
SYSTEM
Bouxwiller
Q22740
(Q1397686,P36,c(Q20667921))
action filter_type
action find
entity Q1397686
relation P36
type Q20667921
[ANSWER] is associated to that one as the capital
['Q1397686', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q1397686 property:P36 ?p . ?p rdf:type ontology:Q20667921 }
Bouxwiller
Bouxwiller is associated to that one as the capital
Bouxwiller
action filter_type
action find
entity canton of Bouxwiller
relation capital
type type of french administrative division
['canton of Bouxwiller', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:canton_of_Bouxwiller property:capital ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22740
P20
Q502895
USER
Who died in that french administrative division ?
(c(Q502895),P20,Q22740)
action filter_type
action find_reverse
entity Q22740
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q22740']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q22740 . ?u rdf:type ontology:Q502895 }
Bouxwiller
action filter_type
action find_reverse
entity Bouxwiller
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Bouxwiller']
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Bouxwiller . ?u rdf:type ontology:common_name }
[]
common name
Q104402 Q71985 Q85459
SYSTEM
Johannes Hoeffel, Philip Wolfgang, Count of Hanau-Lichtenberg, Philip III, Count of Hanau-Lichtenberg
Q104402 Q2959342 Q104187 Q1324672 Q91214 Q85459 Q19344528 Q71985
(c(Q502895),P20,Q22740)
action filter_type
action find_reverse
entity Q22740
relation P20
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P20', 'Q22740']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q22740 . ?u rdf:type ontology:Q502895 }
Johannes Hoeffel Charles Henri Hancké Ludowika Margaretha of Zweibrücken-Bitsch Eleonore of Fürstenberg Helisaeus Roeslin Philip III, Count of Hanau-Lichtenberg Georges Kuntz Philip Wolfgang, Count of Hanau-Lichtenberg
Johannes Hoeffel, Philip Wolfgang, Count of Hanau-Lichtenberg and Philip III, Count of Hanau-Lichtenberg died in that french administrative division
Johannes Hoeffel Philip Wolfgang, Count of Hanau-Lichtenberg Philip III, Count of Hanau-Lichtenberg
action filter_type
action find_reverse
entity Bouxwiller
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Bouxwiller']
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Bouxwiller . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q183 Q91716
P27 P40
Q502895
USER
Which people have Johann Reinhard II, Count of Hanau-Lichtenberg as a child and are a native of Germany ?
AND((c(Q502895),P40,Q91716), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q91716
relation P40
action find_reverse
entity Q183
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q91716'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P40 resource:Q91716 . ?a property:P27 resource:Q183 }
Germany Johann Reinhard II, Count of Hanau-Lichtenberg
action filter_type
action intersection
action find_reverse
entity Johann Reinhard II, Count of Hanau-Lichtenberg
relation child
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Johann Reinhard II, Count of Hanau-Lichtenberg'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:child resource:Johann_Reinhard_II,_Count_of_Hanau-Lichtenberg . ?a property:country_of_citizenship resource:Germany }
[]
common name
Q71985
SYSTEM
Philip Wolfgang, Count of Hanau-Lichtenberg
Q71985
AND((c(Q502895),P40,Q91716), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q91716
relation P40
action find_reverse
entity Q183
relation P27
type Q502895
[ANSWER] have Johann Reinhard II, Count of Hanau-Lichtenberg as a child and are a native of Germany
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q91716'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P40 resource:Q91716 . ?a property:P27 resource:Q183 }
Philip Wolfgang, Count of Hanau-Lichtenberg
Philip Wolfgang, Count of Hanau-Lichtenberg have Johann Reinhard II, Count of Hanau-Lichtenberg as a child and are a native of Germany
Philip Wolfgang, Count of Hanau-Lichtenberg
action filter_type
action intersection
action find_reverse
entity Johann Reinhard II, Count of Hanau-Lichtenberg
relation child
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Johann Reinhard II, Count of Hanau-Lichtenberg'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:child resource:Johann_Reinhard_II,_Count_of_Hanau-Lichtenberg . ?a property:country_of_citizenship resource:Germany }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q71985
P40
Q502895
USER
How many people are an offsprings of Philip Wolfgang, Count of Hanau-Lichtenberg ?
(Q71985,P40,c(Q502895))
action count
action filter_type
action find
entity Q71985
relation P40
type Q502895
['Q71985', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q71985 property:P40 ?g . ?g rdf:type ontology:Q502895 }
Philip Wolfgang, Count of Hanau-Lichtenberg
action count
action filter_type
action find
entity Philip Wolfgang, Count of Hanau-Lichtenberg
relation child
type common name
['Philip Wolfgang, Count of Hanau-Lichtenberg', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Philip_Wolfgang,_Count_of_Hanau-Lichtenberg property:child ?g . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q101195 Q74602 Q91716 Q110777
(Q71985,P40,c(Q502895))
action count
action filter_type
action find
entity Q71985
relation P40
type Q502895
[ANSWER]
['Q71985', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q71985 property:P40 ?g . ?g rdf:type ontology:Q502895 }
Agatha Christine of Hanau-Lichtenberg Frederick Casimir, Count of Hanau-Lichtenberg Johann Reinhard II, Count of Hanau-Lichtenberg John Philip of Hanau-Lichtenberg
4
action count
action filter_type
action find
entity Philip Wolfgang, Count of Hanau-Lichtenberg
relation child
type common name
['Philip Wolfgang, Count of Hanau-Lichtenberg', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Philip_Wolfgang,_Count_of_Hanau-Lichtenberg property:child ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q71985
P26
Q502895
USER
Who are the spouse of Philip Wolfgang, Count of Hanau-Lichtenberg ?
(c(Q502895),P26,Q71985)
action filter_type
action find
entity Q71985
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q71985']
SELECT DISTINCT ?r WHERE { resource:Q71985 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Philip Wolfgang, Count of Hanau-Lichtenberg
action filter_type
action find
entity Philip Wolfgang, Count of Hanau-Lichtenberg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Philip Wolfgang, Count of Hanau-Lichtenberg']
SELECT DISTINCT ?r WHERE { resource:Philip_Wolfgang,_Count_of_Hanau-Lichtenberg property:spouse ?r . ?r rdf:type ontology:common_name }
[]
common name
Q11928045 Q1246184
SYSTEM
Johanna zu Oettingen-Oettingen, Dorothea Diana of Salm
Q11928045 Q1246184
(c(Q502895),P26,Q71985)
action filter_type
action find
entity Q71985
relation P26
type Q502895
The spouse of Philip Wolfgang , Count of Hanau-Lichtenberg are Dorothea [ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q71985']
SELECT DISTINCT ?r WHERE { resource:Q71985 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Johanna zu Oettingen-Oettingen Dorothea Diana of Salm
The spouse of Philip Wolfgang , Count of Hanau-Lichtenberg are Dorothea Johanna zu Oettingen-Oettingen and Dorothea Diana of Salm
Johanna zu Oettingen-Oettingen Dorothea Diana of Salm
action filter_type
action find
entity Philip Wolfgang, Count of Hanau-Lichtenberg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Philip Wolfgang, Count of Hanau-Lichtenberg']
SELECT DISTINCT ?r WHERE { resource:Philip_Wolfgang,_Count_of_Hanau-Lichtenberg property:spouse ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q11928045 Q1246184
P21
Q290
USER
What are the sex of Johanna zu Oettingen-Oettingen and Dorothea Diana of Salm ?
(Q11928045,P21,c(Q290)) (Q1246184,P21,c(Q290))
action union
action filter_type
action find
entity Q11928045
relation P21
type Q290
action filter_type
action find
entity Q1246184
relation P21
type Q290
['Q11928045', 'P21', {'concept': 'Q290'}] ['Q1246184', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { { resource:Q11928045 property:P21 ?l . ?l rdf:type ontology:Q290 } UNION { resource:Q1246184 property:P21 ?l . ?l rdf:type ontology:Q290 } }
Johanna zu Oettingen-Oettingen Dorothea Diana of Salm
action union
action filter_type
action find
entity Johanna zu Oettingen-Oettingen
relation gender
type sex
action filter_type
action find
entity Dorothea Diana of Salm
relation gender
type sex
['Johanna zu Oettingen-Oettingen', 'gender', {'concept': 'sex'}] ['Dorothea Diana of Salm', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { { resource:Johanna_zu_Oettingen-Oettingen property:gender ?l . ?l rdf:type ontology:sex } UNION { resource:Dorothea_Diana_of_Salm property:gender ?l . ?l rdf:type ontology:sex } }
[]
sex
Q6581072 Q6581072
SYSTEM
female
Q6581072 Q6581072
(Q11928045,P21,c(Q290)) (Q1246184,P21,c(Q290))
action union
action filter_type
action find
entity Q11928045
relation P21
type Q290
action filter_type
action find
entity Q1246184
relation P21
type Q290
The sex of Johan na zu Oettingen-Oettingen and Dorothea Diana of Salm are both [ANSWER] and [ANSWER]
['Q11928045', 'P21', {'concept': 'Q290'}] ['Q1246184', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { { resource:Q11928045 property:P21 ?l . ?l rdf:type ontology:Q290 } UNION { resource:Q1246184 property:P21 ?l . ?l rdf:type ontology:Q290 } }
female female
The sex of Johan na zu Oettingen-Oettingen and Dorothea Diana of Salm are both female and female
female female
action union
action filter_type
action find
entity Johanna zu Oettingen-Oettingen
relation gender
type sex
action filter_type
action find
entity Dorothea Diana of Salm
relation gender
type sex
['Johanna zu Oettingen-Oettingen', 'gender', {'concept': 'sex'}] ['Dorothea Diana of Salm', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { { resource:Johanna_zu_Oettingen-Oettingen property:gender ?l . ?l rdf:type ontology:sex } UNION { resource:Dorothea_Diana_of_Salm property:gender ?l . ?l rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1246184
P9
Q502895
USER
Who had Dorothea Diana of Salm as their sibling ?
(c(Q502895),P9,Q1246184)
action filter_type
action find_reverse
entity Q1246184
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q1246184']
SELECT DISTINCT ?e WHERE { ?e property:P9 resource:Q1246184 . ?e rdf:type ontology:Q502895 }
Dorothea Diana of Salm
action filter_type
action find_reverse
entity Dorothea Diana of Salm
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Dorothea Diana of Salm']
SELECT DISTINCT ?e WHERE { ?e property:sister resource:Dorothea_Diana_of_Salm . ?e rdf:type ontology:common_name }
[]
common name
Q85969
SYSTEM
Otto Louis of Salm-Kyrburg-Mörchingen
Q85969
(c(Q502895),P9,Q1246184)
action filter_type
action find_reverse
entity Q1246184
relation P9
type Q502895
And [ANSWER] had Dorothea Diana of Salm as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q1246184']
SELECT DISTINCT ?e WHERE { ?e property:P9 resource:Q1246184 . ?e rdf:type ontology:Q502895 }
Otto Louis of Salm-Kyrburg-Mörchingen
And Otto Louis of Salm-Kyrburg-Mörchingen had Dorothea Diana of Salm as their sibling
Otto Louis of Salm-Kyrburg-Mörchingen
action filter_type
action find_reverse
entity Dorothea Diana of Salm
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Dorothea Diana of Salm']
SELECT DISTINCT ?e WHERE { ?e property:sister resource:Dorothea_Diana_of_Salm . ?e rdf:type ontology:common_name }
[]