Simple Question (Direct)
Simple Question
Q5670090
P734
Q82799
USER
Which name is associated with Harry Johnson ?
(Q5670090,P734,c(Q82799))
action filter_type
action find
entity Q5670090
relation P734
type Q82799
['Q5670090', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q5670090 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Harry Johnson
action filter_type
action find
entity Harry Johnson
relation family name
type name
['Harry Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Harry_Johnson property:family_name ?z . ?z rdf:type ontology:name }
[]
name
Q1158485
SYSTEM
Johnson
Q1158485
(Q5670090,P734,c(Q82799))
action filter_type
action find
entity Q5670090
relation P734
type Q82799
[ANSWER] is associated with Harry [ANSWER]
['Q5670090', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q5670090 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Johnson
Johnson is associated with Harry Johnson
Johnson
action filter_type
action find
entity Harry Johnson
relation family name
type name
['Harry Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Harry_Johnson property:family_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1158485
P407
Q34770
USER
Which language is that name composed in ?
(Q1158485,P407,c(Q34770))
action filter_type
action find
entity Q1158485
relation P407
type Q34770
['Q1158485', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q1158485 property:P407 ?c . ?c rdf:type ontology:Q34770 }
Johnson
action filter_type
action find
entity Johnson
relation language of work or name
type language
['Johnson', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Johnson property:language_of_work_or_name ?c . ?c rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1158485,P407,c(Q34770))
action filter_type
action find
entity Q1158485
relation P407
type Q34770
That name is composed of [ANSWER]
['Q1158485', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q1158485 property:P407 ?c . ?c rdf:type ontology:Q34770 }
English
That name is composed of English
English
action filter_type
action find
entity Johnson
relation language of work or name
type language
['Johnson', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Johnson property:language_of_work_or_name ?c . ?c rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P361
Q5962346
USER
How many classification schemes are that language a component of ?
(Q1860,P361,c(Q5962346))
action count
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q1860 property:P361 ?f . ?f rdf:type ontology:Q5962346 }
action count
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:English property:part_of ?f . ?f rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
2
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action count
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWER]
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q1860 property:P361 ?f . ?f rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
2
action count
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:English property:part_of ?f . ?f rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1586526
Q5962346
USER
And what about Naunet?
(Q1586526,P361,c(Q5962346))
action count
action filter_type
action find
entity Q1586526
relation P361
type Q5962346
['Q1586526', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q1586526 property:P361 ?s . ?s rdf:type ontology:Q5962346 }
Naunet
action count
action filter_type
action find
entity Naunet
relation part of
type classification scheme
['Naunet', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Naunet property:part_of ?s . ?s rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
1
(Q1586526,P361,c(Q5962346))
action count
action filter_type
action find
entity Q1586526
relation P361
type Q5962346
[ANSWER]
['Q1586526', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q1586526 property:P361 ?s . ?s rdf:type ontology:Q5962346 }
1
action count
action filter_type
action find
entity Naunet
relation part of
type classification scheme
['Naunet', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Naunet property:part_of ?s . ?s rdf:type ontology:classification_scheme }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1586526
P21
Q290
USER
What is the sex of that fictional character ?
action filter_type
action find
entity Q1586526
relation P21
type Q290
SELECT DISTINCT ?j WHERE { resource:Q1586526 property:P21 ?j . ?j rdf:type ontology:Q290 }
Naunet
action filter_type
action find
entity Naunet
relation gender
type sex
SELECT DISTINCT ?j WHERE { resource:Naunet property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
action filter_type
action find
entity Q1586526
relation P21
type Q290
The sex of that fictional character is the [ANSWER]
SELECT DISTINCT ?j WHERE { resource:Q1586526 property:P21 ?j . ?j rdf:type ontology:Q290 }
female
The sex of that fictional character is the female
female
action filter_type
action find
entity Naunet
relation gender
type sex
SELECT DISTINCT ?j WHERE { resource:Naunet property:gender ?j . ?j rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q24461006
P21
Q502895
USER
Does Bernard Rogan Ross have the gender as that sex ?
(Q24461006,P21,Q6581072)
action is_in
entity Q24461006
action find
entity Q6581072
relation P21
['Q24461006', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q24461006 }
female Bernard Rogan Ross
action is_in
entity Bernard Rogan Ross
action find
entity female
relation gender
['Bernard Rogan Ross', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Bernard_Rogan_Ross }
[]
common name
SYSTEM
NO
(Q24461006,P21,Q6581072)
action is_in
entity Q24461006
action find
entity Q6581072
relation P21
[ANSWER]
['Q24461006', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q24461006 }
No
action is_in
entity Bernard Rogan Ross
action find
entity female
relation gender
['Bernard Rogan Ross', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Bernard_Rogan_Ross }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6581072
P180
Q811430 Q3305213
USER
How many constructions or paintings depict female ?
(c(Q811430),P180,Q6581072) (c(Q3305213),P180,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q811430
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q3305213
[{'concept': 'Q811430'}, 'P180', 'Q6581072'] [{'concept': 'Q3305213'}, 'P180', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:P180 resource:Q6581072 . ?b rdf:type ontology:Q811430 } UNION { ?b property:P180 resource:Q6581072 . ?b rdf:type ontology:Q3305213 } }
female
action count
action union
action filter_type
action find_reverse
entity female
relation depicts
type construction
action filter_type
action find_reverse
entity female
relation depicts
type painting
[{'concept': 'construction'}, 'depicts', 'female'] [{'concept': 'painting'}, 'depicts', 'female']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:depicts resource:female . ?b rdf:type ontology:construction } UNION { ?b property:depicts resource:female . ?b rdf:type ontology:painting } }
[]
construction painting
SYSTEM
2
Q18346971 Q707669
(c(Q811430),P180,Q6581072) (c(Q3305213),P180,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q811430
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q3305213
[ANSWER]
[{'concept': 'Q811430'}, 'P180', 'Q6581072'] [{'concept': 'Q3305213'}, 'P180', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:P180 resource:Q6581072 . ?b rdf:type ontology:Q811430 } UNION { ?b property:P180 resource:Q6581072 . ?b rdf:type ontology:Q3305213 } }
Resurrection Bavaria
2
action count
action union
action filter_type
action find_reverse
entity female
relation depicts
type construction
action filter_type
action find_reverse
entity female
relation depicts
type painting
[{'concept': 'construction'}, 'depicts', 'female'] [{'concept': 'painting'}, 'depicts', 'female']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:depicts resource:female . ?b rdf:type ontology:construction } UNION { ?b property:depicts resource:female . ?b rdf:type ontology:painting } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5670090
P19
Q56061
USER
Which administrative territory was Harry Johnson born in ?
(Q5670090,P19,c(Q56061))
action filter_type
action find
entity Q5670090
relation P19
type Q56061
['Q5670090', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q5670090 property:P19 ?v }
Harry Johnson
action filter_type
action find
entity Harry Johnson
relation place of birth
type administrative territorial entity
['Harry Johnson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Harry_Johnson property:place_of_birth ?v }
[]
administrative territorial entity
Q7962191
SYSTEM
Walker
Q7962191
(Q5670090,P19,c(Q56061))
action filter_type
action find
entity Q5670090
relation P19
type Q56061
Harry Johnson was born to [ANSWER]
['Q5670090', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q5670090 property:P19 ?v }
Walker
Harry Johnson was born to Walker
Walker
action filter_type
action find
entity Harry Johnson
relation place of birth
type administrative territorial entity
['Harry Johnson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Harry_Johnson property:place_of_birth ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7962191
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
(Q7962191,P17,c(Q15617994))
action filter_type
action find
entity Q7962191
relation P17
type Q15617994
['Q7962191', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q7962191 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Walker
action filter_type
action find
entity Walker
relation country
type designation for an administrative territorial entity
['Walker', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Walker property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7962191,P17,c(Q15617994))
action filter_type
action find
entity Q7962191
relation P17
type Q15617994
That administrative territory is the [ANSWER]
['Q7962191', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q7962191 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
United Kingdom
That administrative territory is the United Kingdom
United Kingdom
action filter_type
action find
entity Walker
relation country
type designation for an administrative territorial entity
['Walker', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Walker property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P35
Q502895
USER
Who are the heads of state of that administrative territory ?
(Q145,P35,c(Q502895))
action filter_type
action find
entity Q145
relation P35
type Q502895
['Q145', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q145 property:P35 ?n . ?n rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation head of state
type common name
['United Kingdom', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:United_Kingdom property:head_of_state ?n . ?n rdf:type ontology:common_name }
[]
common name
Q9682 Q280856 Q269412
SYSTEM
Elizabeth II, George VI, George V
Q590227 Q269412 Q280856 Q9682
(Q145,P35,c(Q502895))
action filter_type
action find
entity Q145
relation P35
type Q502895
The heads of state of that administrative territory are Queen [ANSWERS]
['Q145', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q145 property:P35 ?n . ?n rdf:type ontology:Q502895 }
Edward VIII George V George VI Elizabeth II
The heads of state of that administrative territory are Queen Elizabeth II, George VI and George V
Elizabeth II George VI George V
action filter_type
action find
entity United Kingdom
relation head of state
type common name
['United Kingdom', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:United_Kingdom property:head_of_state ?n . ?n rdf:type ontology:common_name }
[]