Simple Question (Direct)
Simple Question
Q1895150
P26
Q502895
USER
Which person is the spouse of Margaret of Hanau-Lichtenberg ?
(Q1895150,P26,c(Q502895))
action filter_type
action find
entity Q1895150
relation P26
type Q502895
['Q1895150', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1895150 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Margaret of Hanau-Lichtenberg
action filter_type
action find
entity Margaret of Hanau-Lichtenberg
relation spouse
type common name
['Margaret of Hanau-Lichtenberg', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Margaret_of_Hanau-Lichtenberg property:spouse ?t . ?t rdf:type ontology:common_name }
[]
common name
Q2339637
SYSTEM
Adolf III of Nassau-Wiesbaden-Idstein
Q2339637
(Q1895150,P26,c(Q502895))
action filter_type
action find
entity Q1895150
relation P26
type Q502895
[ANSWER] is the spouse of Margaret of Hanau-Lichtenberg
['Q1895150', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1895150 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Adolf III of Nassau-Wiesbaden-Idstein
Adolf III of Nassau-Wiesbaden-Idstein is the spouse of Margaret of Hanau-Lichtenberg
Adolf III of Nassau-Wiesbaden-Idstein
action filter_type
action find
entity Margaret of Hanau-Lichtenberg
relation spouse
type common name
['Margaret of Hanau-Lichtenberg', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Margaret_of_Hanau-Lichtenberg property:spouse ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2339637
P7
Q502895
USER
Who has that one as their brother ?
(Q2339637,P7,c(Q502895))
action filter_type
action find
entity Q2339637
relation P7
type Q502895
['Q2339637', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2339637 property:P7 ?g . ?g rdf:type ontology:Q502895 }
Adolf III of Nassau-Wiesbaden-Idstein
action filter_type
action find
entity Adolf III of Nassau-Wiesbaden-Idstein
relation brother
type common name
['Adolf III of Nassau-Wiesbaden-Idstein', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Adolf_III_of_Nassau-Wiesbaden-Idstein property:brother ?g . ?g rdf:type ontology:common_name }
[]
common name
Q7183079
SYSTEM
Philip, Count of Nassau-Idstein
Q7183079
(Q2339637,P7,c(Q502895))
action filter_type
action find
entity Q2339637
relation P7
type Q502895
[ANSWER] has that one as their brother
['Q2339637', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2339637 property:P7 ?g . ?g rdf:type ontology:Q502895 }
Philip, Count of Nassau-Idstein
Philip, Count of Nassau-Idstein has that one as their brother
Philip, Count of Nassau-Idstein
action filter_type
action find
entity Adolf III of Nassau-Wiesbaden-Idstein
relation brother
type common name
['Adolf III of Nassau-Wiesbaden-Idstein', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Adolf_III_of_Nassau-Wiesbaden-Idstein property:brother ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7183079
P22
Q502895
USER
Who was the father of that one ?
(Q7183079,P22,c(Q502895))
action filter_type
action find
entity Q7183079
relation P22
type Q502895
['Q7183079', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q7183079 property:P22 ?q . ?q rdf:type ontology:Q502895 }
Philip, Count of Nassau-Idstein
action filter_type
action find
entity Philip, Count of Nassau-Idstein
relation father
type common name
['Philip, Count of Nassau-Idstein', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Philip,_Count_of_Nassau-Idstein property:father ?q . ?q rdf:type ontology:common_name }
[]
common name
Q2518245
SYSTEM
John II, Count of Nassau-Wiesbaden-Idstein
Q2518245
(Q7183079,P22,c(Q502895))
action filter_type
action find
entity Q7183079
relation P22
type Q502895
The father of that one was Duke [ANSWER]
['Q7183079', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q7183079 property:P22 ?q . ?q rdf:type ontology:Q502895 }
John II, Count of Nassau-Wiesbaden-Idstein
The father of that one was Duke John II, Count of Nassau-Wiesbaden-Idstein
John II, Count of Nassau-Wiesbaden-Idstein
action filter_type
action find
entity Philip, Count of Nassau-Idstein
relation father
type common name
['Philip, Count of Nassau-Idstein', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Philip,_Count_of_Nassau-Idstein property:father ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2339637
P40
Q502895
USER
Which person is a successor of Adolf III of Nassau-Wiesbaden-Idstein ?
(Q2339637,P40,c(Q502895))
action filter_type
action find
entity Q2339637
relation P40
type Q502895
['Q2339637', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q2339637 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Adolf III of Nassau-Wiesbaden-Idstein
action filter_type
action find
entity Adolf III of Nassau-Wiesbaden-Idstein
relation child
type common name
['Adolf III of Nassau-Wiesbaden-Idstein', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Adolf_III_of_Nassau-Wiesbaden-Idstein property:child ?o . ?o rdf:type ontology:common_name }
[]
common name
Q2086837
SYSTEM
Philipp I. von Nassau-Idstein
Q2086837
(Q2339637,P40,c(Q502895))
action filter_type
action find
entity Q2339637
relation P40
type Q502895
[ANSWER] is a successor of Adolf III of Nassau-Wiesbaden-Idstein
['Q2339637', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q2339637 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Philipp I. von Nassau-Idstein
Philipp I. von Nassau-Idstein is a successor of Adolf III of Nassau-Wiesbaden-Idstein
Philipp I. von Nassau-Idstein
action filter_type
action find
entity Adolf III of Nassau-Wiesbaden-Idstein
relation child
type common name
['Adolf III of Nassau-Wiesbaden-Idstein', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Adolf_III_of_Nassau-Wiesbaden-Idstein property:child ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q6619679
USER
How many fictional humanoids had atleast 3 people as the dubbing artist ?
(c(Q6619679),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 3
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { FILTER ( ?a >= 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?a ) WHERE { ?d property:P725 ?x . ?d rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q502895 } GROUP BY ?d } }
action count
action atleast
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 3
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { FILTER ( ?a >= 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?a ) WHERE { ?d property:voice_actor ?x . ?d rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:common_name } GROUP BY ?d } }
[]
common name fictional humanoid
SYSTEM
11
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q11382982 Q18073923 Q11514862 Q931 Q15711517
(c(Q6619679),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 3
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { FILTER ( ?a >= 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?a ) WHERE { ?d property:P725 ?x . ?d rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q502895 } GROUP BY ?d } }
Apple Bloom Sayaka Miki Diamond Tiara Mami Tomoe Ezio Auditore da Firenze Madoka Kaname Kyoko Sakura Sunset Shimmer Homura Akemi Naruto Uzumaki Granny Smith
11
action count
action atleast
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 3
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { FILTER ( ?a >= 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?a ) WHERE { ?d property:voice_actor ?x . ?d rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:common_name } GROUP BY ?d } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q25211933 Q2339637
P22
Q502895
USER
Which people were the father of Adolf III of Nassau-Wiesbaden-Idstein or Auguste Evellin ?
OR((Q2339637,P22,c(Q502895)), (Q25211933,P22,c(Q502895)))
action filter_type
action union
action find
entity Q2339637
relation P22
action find
entity Q25211933
relation P22
type Q502895
{'OR': [['Q2339637', 'P22', {'concept': 'Q502895'}], ['Q25211933', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q25211933 property:P22 ?k } UNION { resource:Q2339637 property:P22 ?k } } . ?k rdf:type ontology:Q502895 }
Auguste Evellin Adolf III of Nassau-Wiesbaden-Idstein
action filter_type
action union
action find
entity Adolf III of Nassau-Wiesbaden-Idstein
relation father
action find
entity Auguste Evellin
relation father
type common name
{'OR': [['Adolf III of Nassau-Wiesbaden-Idstein', 'father', {'concept': 'common name'}], ['Auguste Evellin', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Auguste_Evellin property:father ?k } UNION { resource:Adolf_III_of_Nassau-Wiesbaden-Idstein property:father ?k } } . ?k rdf:type ontology:common_name }
[]
common name
Q2518245 Q25209868
SYSTEM
John II, Count of Nassau-Wiesbaden-Idstein, Émile-Dominique Evellin
Q2518245 Q25209868
OR((Q2339637,P22,c(Q502895)), (Q25211933,P22,c(Q502895)))
action filter_type
action union
action find
entity Q2339637
relation P22
action find
entity Q25211933
relation P22
type Q502895
[ANSWERS] were the father of Adolf III of Nassau-Wiesbaden-Idstein or Auguste Evellin
{'OR': [['Q2339637', 'P22', {'concept': 'Q502895'}], ['Q25211933', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q25211933 property:P22 ?k } UNION { resource:Q2339637 property:P22 ?k } } . ?k rdf:type ontology:Q502895 }
John II, Count of Nassau-Wiesbaden-Idstein Émile-Dominique Evellin
John II, Count of Nassau-Wiesbaden-Idstein and Émile-Dominique Evellin were the father of Adolf III of Nassau-Wiesbaden-Idstein or Auguste Evellin
John II, Count of Nassau-Wiesbaden-Idstein Émile-Dominique Evellin
action filter_type
action union
action find
entity Adolf III of Nassau-Wiesbaden-Idstein
relation father
action find
entity Auguste Evellin
relation father
type common name
{'OR': [['Adolf III of Nassau-Wiesbaden-Idstein', 'father', {'concept': 'common name'}], ['Auguste Evellin', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Auguste_Evellin property:father ?k } UNION { resource:Adolf_III_of_Nassau-Wiesbaden-Idstein property:father ?k } } . ?k rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P22
Q502895
USER
How many people have that person as dad ?
(c(Q502895),P22,Q2518245)
[{'concept': 'Q502895'}, 'P22', 'Q2518245']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2029179 resource:Q2518245 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'father', 'John II, Count of Nassau-Wiesbaden-Idstein']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:father resource:John_II,_Count_of_Nassau-Wiesbaden-Idstein . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q2518245
SYSTEM
Did you mean John II, Count of Nassau-Wiesbaden-Idstein ?
(c(Q502895),P22,Q2518245) (c(Q502895),P22,Q25209868)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q2518245'] [{'concept': 'Q502895'}, 'P22', 'Q25209868']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2029179 resource:Q2518245 . ?z rdf:type ontology:Q502895 }
Did you mean John II, Count of Nassau-Wiesbaden-Idstein ?
John II, Count of Nassau-Wiesbaden-Idstein
[{'concept': 'common name'}, 'father', 'John II, Count of Nassau-Wiesbaden-Idstein'] [{'concept': 'common name'}, 'father', 'Émile-Dominique Evellin']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:father resource:John_II,_Count_of_Nassau-Wiesbaden-Idstein . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P22,Q2518245)
[{'concept': 'Q502895'}, 'P22', 'Q2518245']
[{'concept': 'common name'}, 'father', 'John II, Count of Nassau-Wiesbaden-Idstein']
[]
SYSTEM
2
Q7183079 Q2339637
(c(Q502895),P22,Q2518245)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q2518245']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2029179 resource:Q2518245 . ?z rdf:type ontology:Q502895 }
Philip, Count of Nassau-Idstein Adolf III of Nassau-Wiesbaden-Idstein
2
[{'concept': 'common name'}, 'father', 'John II, Count of Nassau-Wiesbaden-Idstein']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:father resource:John_II,_Count_of_Nassau-Wiesbaden-Idstein . ?z rdf:type ontology:common_name }
[]