Simple Question (Direct)
Simple Question
Q5497095
P1412
Q34770
USER
Which language does Frederic Madden speak in ?
(Q5497095,P1412,c(Q34770))
action filter_type
action find
entity Q5497095
relation P1412
type Q34770
['Q5497095', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q34770 . resource:Q5497095 property:P1412 ?g }
Frederic Madden
action filter_type
action find
entity Frederic Madden
relation languages spoken, written or signed
type language
['Frederic Madden', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:language . resource:Frederic_Madden property:languages_spoken,_written_or_signed ?g }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5497095,P1412,c(Q34770))
action filter_type
action find
entity Q5497095
relation P1412
type Q34770
Frederic Madden speaks the [ANSWER]
['Q5497095', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q34770 . resource:Q5497095 property:P1412 ?g }
English
Frederic Madden speaks the English
English
action filter_type
action find
entity Frederic Madden
relation languages spoken, written or signed
type language
['Frederic Madden', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:language . resource:Frederic_Madden property:languages_spoken,_written_or_signed ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5497095
P921
Q191067
USER
Which article is that person a main subject of ?
(c(Q191067),P921,Q1860)
action filter_type
action find_reverse
entity Q5497095
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q1860']
SELECT DISTINCT ?q WHERE { ?q property:P921 resource:Q5497095 . ?q rdf:type ontology:Q191067 }
Frederic Madden
action filter_type
action find_reverse
entity Frederic Madden
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'English']
SELECT DISTINCT ?q WHERE { ?q property:main_subject resource:Frederic_Madden . ?q rdf:type ontology:article }
[]
article
Q19022740
SYSTEM
Madden, Frederic (DNB00)
Q19022740
(c(Q191067),P921,Q1860)
action filter_type
action find_reverse
entity Q5497095
relation P921
type Q191067
[ANSWER] is that person a main subject of
[{'concept': 'Q191067'}, 'P921', 'Q1860']
SELECT DISTINCT ?q WHERE { ?q property:P921 resource:Q5497095 . ?q rdf:type ontology:Q191067 }
Madden, Frederic (DNB00)
Madden, Frederic (DNB00) is that person a main subject of
Madden, Frederic (DNB00)
action filter_type
action find_reverse
entity Frederic Madden
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'English']
SELECT DISTINCT ?q WHERE { ?q property:main_subject resource:Frederic_Madden . ?q rdf:type ontology:article }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q5497095
P21 P22
Q502895
USER
Which people have Frederic Madden as a parent and are a male ?
AND((c(Q502895),P22,Q5497095), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5497095
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q5497095'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P22 resource:Q5497095 . ?c property:P21 resource:Q6581097 }
male Frederic Madden
action filter_type
action intersection
action find_reverse
entity Frederic Madden
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Frederic Madden'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:father resource:Frederic_Madden . ?c property:gender resource:male }
[]
common name
Q18526945
SYSTEM
Frederic Madden
Q18526945
AND((c(Q502895),P22,Q5497095), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5497095
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
Have [ANSWER] have [ANSWER] as a parent and are a male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q5497095'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P22 resource:Q5497095 . ?c property:P21 resource:Q6581097 }
Frederic Madden
Have Frederic Madden have Frederic Madden as a parent and are a male
Frederic Madden
action filter_type
action intersection
action find_reverse
entity Frederic Madden
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Frederic Madden'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:father resource:Frederic_Madden . ?c property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q5497095
P21 P22
Q502895
USER
Which people have Frederic Madden as father and are a male ?
AND((c(Q502895),P22,Q5497095), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5497095
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q5497095'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P22 resource:Q5497095 . ?k property:P21 resource:Q6581097 }
male Frederic Madden
action filter_type
action intersection
action find_reverse
entity Frederic Madden
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Frederic Madden'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:father resource:Frederic_Madden . ?k property:gender resource:male }
[]
common name
Q18526945
SYSTEM
Frederic Madden
Q18526945
AND((c(Q502895),P22,Q5497095), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5497095
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
Have [ANSWER] have [ANSWER] as father and are a male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q5497095'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P22 resource:Q5497095 . ?k property:P21 resource:Q6581097 }
Frederic Madden
Have Frederic Madden have Frederic Madden as father and are a male
Frederic Madden
action filter_type
action intersection
action find_reverse
entity Frederic Madden
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Frederic Madden'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:father resource:Frederic_Madden . ?k property:gender resource:male }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q3305213
USER
Which painting demonstrates that sex ?
(c(Q3305213),P180,Q18526945)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q18526945']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q3305213 . ?d property:P180 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Frederic Madden']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:painting . ?d property:depicts resource:male }
[]
painting
Q18713957
SYSTEM
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Q18713957
(c(Q3305213),P180,Q18526945)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[ANSWER] demonstrates that sex
[{'concept': 'Q3305213'}, 'P180', 'Q18526945']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q3305213 . ?d property:P180 resource:Q6581097 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Raja Surendra Vikram Shah at the age of 15 with his prime minister demonstrates that sex
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Frederic Madden']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:painting . ?d property:depicts resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q18713957 Q6542162
P17
Q15617994
USER
Is that painting located in Liberty Union High School District ?
(Q18713957,P17,Q6542162)
action is_in
entity Q6542162
action find
entity Q18713957
relation P17
['Q18713957', 'P17', 'Q6542162']
ASK WHERE { resource:Q18713957 property:P17 resource:Q6542162 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister Liberty Union High School District
action is_in
entity Liberty Union High School District
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation country
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'country', 'Liberty Union High School District']
ASK WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:country resource:Liberty_Union_High_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q18713957,P17,Q6542162)
action is_in
entity Q6542162
action find
entity Q18713957
relation P17
[ANSWER]
['Q18713957', 'P17', 'Q6542162']
ASK WHERE { resource:Q18713957 property:P17 resource:Q6542162 }
No
action is_in
entity Liberty Union High School District
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation country
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'country', 'Liberty Union High School District']
ASK WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:country resource:Liberty_Union_High_School_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18526945 Q182436
P106
Q12737077
USER
Is librarian the job of Frederic Madden ?
(Q18526945,P106,Q182436)
action is_in
entity Q182436
action find
entity Q18526945
relation P106
['Q18526945', 'P106', 'Q182436']
ASK WHERE { resource:Q18526945 property:P106 resource:Q182436 }
Frederic Madden librarian
action is_in
entity librarian
action find
entity Frederic Madden
relation occupation
['Frederic Madden', 'occupation', 'librarian']
ASK WHERE { resource:Frederic_Madden property:occupation resource:librarian }
[]
occupation
SYSTEM
YES
(Q18526945,P106,Q182436)
action is_in
entity Q182436
action find
entity Q18526945
relation P106
[ANSWER]
['Q18526945', 'P106', 'Q182436']
ASK WHERE { resource:Q18526945 property:P106 resource:Q182436 }
Yes
action is_in
entity librarian
action find
entity Frederic Madden
relation occupation
['Frederic Madden', 'occupation', 'librarian']
ASK WHERE { resource:Frederic_Madden property:occupation resource:librarian }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1764831
Q12737077
USER
And what about Marietta Gazzaniga?
(Q1764831,P106,c(Q12737077))
action filter_type
action find
entity Q1764831
relation P106
type Q12737077
['Q1764831', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1764831 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Marietta Gazzaniga
action filter_type
action find
entity Marietta Gazzaniga
relation occupation
type occupation
['Marietta Gazzaniga', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Marietta_Gazzaniga property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q2865819 Q177220
SYSTEM
opera singer, singer
Q2865819 Q177220
(Q1764831,P106,c(Q12737077))
action filter_type
action find
entity Q1764831
relation P106
type Q12737077
[ANSWERS]
['Q1764831', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1764831 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
opera singer singer
opera singer singer
action filter_type
action find
entity Marietta Gazzaniga
relation occupation
type occupation
['Marietta Gazzaniga', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Marietta_Gazzaniga property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q177220 Q484876
P106
Q502895
USER
How many people have a job as singer and chief executive officer ?
(c(Q502895),P106,Q177220) (c(Q502895),P106,Q484876)
action count
action intersection
action filter_type
action find_reverse
entity Q177220
relation P106
type Q502895
action filter_type
action find_reverse
entity Q484876
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q177220'] [{'concept': 'Q502895'}, 'P106', 'Q484876']
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P106 resource:Q484876 . ?w rdf:type ontology:Q502895 . ?w property:P106 resource:Q177220 . ?w rdf:type ontology:Q502895 }
singer chief executive officer
action count
action intersection
action filter_type
action find_reverse
entity singer
relation occupation
type common name
action filter_type
action find_reverse
entity chief executive officer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'singer'] [{'concept': 'common name'}, 'occupation', 'chief executive officer']
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:occupation resource:chief_executive_officer . ?w rdf:type ontology:common_name . ?w property:occupation resource:singer . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q7244096 Q20992149
(c(Q502895),P106,Q177220) (c(Q502895),P106,Q484876)
action count
action intersection
action filter_type
action find_reverse
entity Q177220
relation P106
type Q502895
action filter_type
action find_reverse
entity Q484876
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q177220'] [{'concept': 'Q502895'}, 'P106', 'Q484876']
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P106 resource:Q484876 . ?w rdf:type ontology:Q502895 . ?w property:P106 resource:Q177220 . ?w rdf:type ontology:Q502895 }
Prince Jacob Luca Cuoco
2
action count
action intersection
action filter_type
action find_reverse
entity singer
relation occupation
type common name
action filter_type
action find_reverse
entity chief executive officer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'singer'] [{'concept': 'common name'}, 'occupation', 'chief executive officer']
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:occupation resource:chief_executive_officer . ?w rdf:type ontology:common_name . ?w property:occupation resource:singer . ?w rdf:type ontology:common_name }
[]