Simple Question (Direct)
Simple Question
Q16650262
P25
Q502895
USER
Who was the mother of Ragnar Sachs ?
(Q16650262,P25,c(Q502895))
action filter_type
action find
entity Q16650262
relation P25
type Q502895
['Q16650262', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q16650262 property:P25 ?t . ?t rdf:type ontology:Q502895 }
Ragnar Sachs
action filter_type
action find
entity Ragnar Sachs
relation mother
type common name
['Ragnar Sachs', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Ragnar_Sachs property:mother ?t . ?t rdf:type ontology:common_name }
[]
common name
Q19750959
SYSTEM
Sigrid Fränckel
Q19750959
(Q16650262,P25,c(Q502895))
action filter_type
action find
entity Q16650262
relation P25
type Q502895
The mother of Ragnar Sachs was the [ANSWER]
['Q16650262', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q16650262 property:P25 ?t . ?t rdf:type ontology:Q502895 }
Sigrid Fränckel
The mother of Ragnar Sachs was the Sigrid Fränckel
Sigrid Fränckel
action filter_type
action find
entity Ragnar Sachs
relation mother
type common name
['Ragnar Sachs', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Ragnar_Sachs property:mother ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19750959
P26
Q502895
USER
Who is the spouse of that one ?
(c(Q502895),P26,Q19750959)
action filter_type
action find
entity Q19750959
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q19750959']
SELECT DISTINCT ?q WHERE { resource:Q19750959 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Sigrid Fränckel
action filter_type
action find
entity Sigrid Fränckel
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sigrid Fränckel']
SELECT DISTINCT ?q WHERE { resource:Sigrid_Fränckel property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q1705594
SYSTEM
Josef Sachs
Q1705594
(c(Q502895),P26,Q19750959)
action filter_type
action find
entity Q19750959
relation P26
type Q502895
The spouse of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q19750959']
SELECT DISTINCT ?q WHERE { resource:Q19750959 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Josef Sachs
The spouse of that one is the Josef Sachs
Josef Sachs
action filter_type
action find
entity Sigrid Fränckel
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sigrid Fränckel']
SELECT DISTINCT ?q WHERE { resource:Sigrid_Fränckel property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q19750959
P21 P40
Q502895
USER
Which people have Sigrid Fränckel as an offspring and have the gender as male ?
AND((c(Q502895),P40,Q19750959), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19750959
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q19750959'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P40 resource:Q19750959 . ?k property:P21 resource:Q6581097 }
male Sigrid Fränckel
action filter_type
action intersection
action find_reverse
entity Sigrid Fränckel
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Sigrid Fränckel'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:child resource:Sigrid_Fränckel . ?k property:gender resource:male }
[]
common name
Q5746220
SYSTEM
Edvard Fränckel
Q5746220
AND((c(Q502895),P40,Q19750959), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19750959
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Sigrid Fränckel as an offspring and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q19750959'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P40 resource:Q19750959 . ?k property:P21 resource:Q6581097 }
Edvard Fränckel
Edvard Fränckel have Sigrid Fränckel as an offspring and have the gender as male
Edvard Fränckel
action filter_type
action intersection
action find_reverse
entity Sigrid Fränckel
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Sigrid Fränckel'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:child resource:Sigrid_Fränckel . ?k property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q34 Q5746220
P27 P22
Q502895
USER
Which people have Edvard Fränckel as a parent and are a citizen of Sweden ?
AND((c(Q502895),P22,Q5746220), (c(Q502895),P27,Q34))
action filter_type
action intersection
action find_reverse
entity Q5746220
relation P22
action find_reverse
entity Q34
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q5746220'], [{'concept': 'Q502895'}, 'P27', 'Q34']]}
SELECT DISTINCT ?i WHERE { ?i property:P22 resource:Q5746220 . ?i property:P27 resource:Q34 . ?i rdf:type ontology:Q502895 }
Sweden Edvard Fränckel
action filter_type
action intersection
action find_reverse
entity Edvard Fränckel
relation father
action find_reverse
entity Sweden
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Edvard Fränckel'], [{'concept': 'common name'}, 'country of citizenship', 'Sweden']]}
SELECT DISTINCT ?i WHERE { ?i property:father resource:Edvard_Fränckel . ?i property:country_of_citizenship resource:Sweden . ?i rdf:type ontology:common_name }
[]
common name
Q19750959
SYSTEM
Sigrid Fränckel
Q19750959
AND((c(Q502895),P22,Q5746220), (c(Q502895),P27,Q34))
action filter_type
action intersection
action find_reverse
entity Q5746220
relation P22
action find_reverse
entity Q34
relation P27
type Q502895
[ANSWER] have Edvard Fränckel as a parent and are a citizen of Sweden
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q5746220'], [{'concept': 'Q502895'}, 'P27', 'Q34']]}
SELECT DISTINCT ?i WHERE { ?i property:P22 resource:Q5746220 . ?i property:P27 resource:Q34 . ?i rdf:type ontology:Q502895 }
Sigrid Fränckel
Sigrid Fränckel have Edvard Fränckel as a parent and are a citizen of Sweden
Sigrid Fränckel
action filter_type
action intersection
action find_reverse
entity Edvard Fränckel
relation father
action find_reverse
entity Sweden
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Edvard Fränckel'], [{'concept': 'common name'}, 'country of citizenship', 'Sweden']]}
SELECT DISTINCT ?i WHERE { ?i property:father resource:Edvard_Fränckel . ?i property:country_of_citizenship resource:Sweden . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of that person ?
(Q19750959,P27,c(Q15617994))
action count
action filter_type
action find
entity Q19750959
relation P27
type Q15617994
['Q19750959', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q19750959 property:P27 ?q }
action count
action filter_type
action find
entity Sigrid Fränckel
relation country of citizenship
type designation for an administrative territorial entity
['Sigrid Fränckel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sigrid_Fränckel property:country_of_citizenship ?q }
[]
designation for an administrative territorial entity
SYSTEM
1
Q34
(Q19750959,P27,c(Q15617994))
action count
action filter_type
action find
entity Q19750959
relation P27
type Q15617994
[ANSWER]
['Q19750959', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q19750959 property:P27 ?q }
Sweden
1
action count
action filter_type
action find
entity Sigrid Fränckel
relation country of citizenship
type designation for an administrative territorial entity
['Sigrid Fränckel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sigrid_Fränckel property:country_of_citizenship ?q }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13100145 Q19750959
P161 P22
Q502895
USER
Which people were the father of Sigrid Fränckel or were casted in Betrayal ?
OR((Q19750959,P22,c(Q502895)), (Q13100145,P161,c(Q502895)))
action filter_type
action union
action find
entity Q19750959
relation P22
action find
entity Q13100145
relation P161
type Q502895
{'OR': [['Q19750959', 'P22', {'concept': 'Q502895'}], ['Q13100145', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . { { resource:Q19750959 property:P22 ?l } UNION { resource:Q13100145 property:P161 ?l } } }
Betrayal Sigrid Fränckel
action filter_type
action union
action find
entity Sigrid Fränckel
relation father
action find
entity Betrayal
relation cast member
type common name
{'OR': [['Sigrid Fränckel', 'father', {'concept': 'common name'}], ['Betrayal', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . { { resource:Sigrid_Fränckel property:father ?l } UNION { resource:Betrayal property:cast_member ?l } } }
[]
common name
Q5746220 Q272158 Q7372325 Q1635631 Q456461 Q506198 Q254552 Q363525 Q2080850 Q716142
SYSTEM
Some of them are Edvard Fränckel, Wendy Moniz, Roxana Brusso, Braeden Lemasters, Elizabeth Sarah McLaughlin, Henry Thomas, Merrin Dungey, Stuart Townsend, Sofia Black D'Elia, Brendan Hines
Q254552 Q1635631 Q506198 Q456461 Q5746220 Q5648980 Q363525 Q272158 Q716142 Q299483 Q458139 Q241854 Q2080850 Q7372325
OR((Q19750959,P22,c(Q502895)), (Q13100145,P161,c(Q502895)))
action filter_type
action union
action find
entity Q19750959
relation P22
action find
entity Q13100145
relation P161
type Q502895
[ANSWERS] were the father of Sigrid Fränckel or were casted in Betrayal
{'OR': [['Q19750959', 'P22', {'concept': 'Q502895'}], ['Q13100145', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . { { resource:Q19750959 property:P22 ?l } UNION { resource:Q13100145 property:P161 ?l } } }
Merrin Dungey Braeden Lemasters Henry Thomas Elizabeth Sarah McLaughlin Edvard Fränckel Hannah Ware Stuart Townsend Wendy Moniz Brendan Hines James Cromwell Chris J. Johnson Helena Mattsson Sofia Black D'Elia Roxana Brusso
Edvard Fränckel, Wendy Moniz, Roxana Brusso, Braeden Lemasters, Elizabeth Sarah McLaughlin, Henry Thomas, Merrin Dungey, Stuart Townsend, Sofia Black D'Elia and Brendan Hines were the father of Sigrid Fränckel or were casted in Betrayal
Edvard Fränckel Wendy Moniz Roxana Brusso Braeden Lemasters Elizabeth Sarah McLaughlin Henry Thomas Merrin Dungey Stuart Townsend Sofia Black D'Elia Brendan Hines
action filter_type
action union
action find
entity Sigrid Fränckel
relation father
action find
entity Betrayal
relation cast member
type common name
{'OR': [['Sigrid Fränckel', 'father', {'concept': 'common name'}], ['Betrayal', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . { { resource:Sigrid_Fränckel property:father ?l } UNION { resource:Betrayal property:cast_member ?l } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q19750959
P25 P21
Q502895
USER
Which people have Sigrid Fränckel as a mother and have the gender as male ?
AND((c(Q502895),P25,Q19750959), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19750959
relation P25
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P25', 'Q19750959'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a property:P25 resource:Q19750959 . ?a property:P21 resource:Q6581097 . ?a rdf:type ontology:Q502895 }
male Sigrid Fränckel
action filter_type
action intersection
action find_reverse
entity Sigrid Fränckel
relation mother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'mother', 'Sigrid Fränckel'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a property:mother resource:Sigrid_Fränckel . ?a property:gender resource:male . ?a rdf:type ontology:common_name }
[]
common name
Q16650262
SYSTEM
Ragnar Sachs
Q16650262
AND((c(Q502895),P25,Q19750959), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19750959
relation P25
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Sigrid Fränckel as a mother and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P25', 'Q19750959'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a property:P25 resource:Q19750959 . ?a property:P21 resource:Q6581097 . ?a rdf:type ontology:Q502895 }
Ragnar Sachs
Ragnar Sachs have Sigrid Fränckel as a mother and have the gender as male
Ragnar Sachs
action filter_type
action intersection
action find_reverse
entity Sigrid Fränckel
relation mother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'mother', 'Sigrid Fränckel'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a property:mother resource:Sigrid_Fränckel . ?a property:gender resource:male . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atleast 1984 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1984
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { FILTER ( ?n >= 1984 ) . { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P1303 ?q . ?e rdf:type ontology:Q502895 . ?q rdf:type ontology:Q34379 } GROUP BY ?q } }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1984
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { FILTER ( ?n >= 1984 ) . { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:instrument ?q . ?e rdf:type ontology:common_name . ?q rdf:type ontology:musical_instrument } GROUP BY ?q } }
[]
musical instrument common name
SYSTEM
4
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1984
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { FILTER ( ?n >= 1984 ) . { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P1303 ?q . ?e rdf:type ontology:Q502895 . ?q rdf:type ontology:Q34379 } GROUP BY ?q } }
piano violin organ drum kit
4
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1984
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { FILTER ( ?n >= 1984 ) . { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:instrument ?q . ?e rdf:type ontology:common_name . ?q rdf:type ontology:musical_instrument } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q363525
P451
Q502895
USER
Who is the mistress of Stuart Townsend ?
(Q363525,P451,c(Q502895))
action filter_type
action find
entity Q363525
relation P451
type Q502895
['Q363525', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q363525 property:P451 ?i . ?i rdf:type ontology:Q502895 }
Stuart Townsend
action filter_type
action find
entity Stuart Townsend
relation partner
type common name
['Stuart Townsend', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Stuart_Townsend property:partner ?i . ?i rdf:type ontology:common_name }
[]
common name
Q80046
SYSTEM
Charlize Theron
Q80046
(Q363525,P451,c(Q502895))
action filter_type
action find
entity Q363525
relation P451
type Q502895
The mistress of Stuart Townsend is the [ANSWER]
['Q363525', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q363525 property:P451 ?i . ?i rdf:type ontology:Q502895 }
Charlize Theron
The mistress of Stuart Townsend is the Charlize Theron
Charlize Theron
action filter_type
action find
entity Stuart Townsend
relation partner
type common name
['Stuart Townsend', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Stuart_Townsend property:partner ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q363525
P19
Q15700808
USER
Which urban unit definition was Stuart Townsend born in ?
(Q363525,P19,c(Q15700808))
action filter_type
action find
entity Q363525
relation P19
type Q15700808
['Q363525', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?w WHERE { resource:Q363525 property:P19 ?w . ?w rdf:type ontology:Q15700808 }
Stuart Townsend
action filter_type
action find
entity Stuart Townsend
relation place of birth
type urban unit definition
['Stuart Townsend', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?w WHERE { resource:Stuart_Townsend property:place_of_birth ?w . ?w rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q434165
SYSTEM
Howth
Q434165
(Q363525,P19,c(Q15700808))
action filter_type
action find
entity Q363525
relation P19
type Q15700808
Stuart Townsend was born in [ANSWER]
['Q363525', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?w WHERE { resource:Q363525 property:P19 ?w . ?w rdf:type ontology:Q15700808 }
Howth
Stuart Townsend was born in Howth
Howth
action filter_type
action find
entity Stuart Townsend
relation place of birth
type urban unit definition
['Stuart Townsend', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?w WHERE { resource:Stuart_Townsend property:place_of_birth ?w . ?w rdf:type ontology:urban_unit_definition }
[]