Simple Question (Direct)
Simple Question
Q7407698
P106
Q12737077
USER
What does Sam Jepp do for a living ?
(Q7407698,P106,c(Q12737077))
action filter_type
action find
entity Q7407698
relation P106
type Q12737077
['Q7407698', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q7407698 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Sam Jepp
action filter_type
action find
entity Sam Jepp
relation occupation
type occupation
['Sam Jepp', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Sam_Jepp property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7407698,P106,c(Q12737077))
action filter_type
action find
entity Q7407698
relation P106
type Q12737077
[ANSWER] Sam Jepp does for a living
['Q7407698', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q7407698 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
association football player
Association football player Sam Jepp does for a living
association football player
action filter_type
action find
entity Sam Jepp
relation occupation
type occupation
['Sam Jepp', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Sam_Jepp property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7407698
P19
Q56061
USER
Which administrative territory was Sam Jepp born at ?
(Q7407698,P19,c(Q56061))
action filter_type
action find
entity Q7407698
relation P19
type Q56061
['Q7407698', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q7407698 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Sam Jepp
action filter_type
action find
entity Sam Jepp
relation place of birth
type administrative territorial entity
['Sam Jepp', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Sam_Jepp property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q646980
SYSTEM
Aldershot
Q646980
(Q7407698,P19,c(Q56061))
action filter_type
action find
entity Q7407698
relation P19
type Q56061
Sam Jepp was born in [ANSWER]
['Q7407698', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q7407698 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Aldershot
Sam Jepp was born in Aldershot
Aldershot
action filter_type
action find
entity Sam Jepp
relation place of birth
type administrative territorial entity
['Sam Jepp', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Sam_Jepp property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q646980
P551
Q502895
USER
Who lives in that administrative territory ?
(c(Q502895),P551,Q646980)
action filter_type
action find_reverse
entity Q646980
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q646980']
SELECT DISTINCT ?r WHERE { ?r property:P551 resource:Q646980 . ?r rdf:type ontology:Q502895 }
Aldershot
action filter_type
action find_reverse
entity Aldershot
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Aldershot']
SELECT DISTINCT ?r WHERE { ?r property:residence resource:Aldershot . ?r rdf:type ontology:common_name }
[]
common name
Q26247352 Q26247404 Q6307756
SYSTEM
John Edward Lloyd, Maude Jane Soward, Juliana Horatia Ewing
Q26247352 Q26247404 Q6307756
(c(Q502895),P551,Q646980)
action filter_type
action find_reverse
entity Q646980
relation P551
type Q502895
[ANSWERS] live in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q646980']
SELECT DISTINCT ?r WHERE { ?r property:P551 resource:Q646980 . ?r rdf:type ontology:Q502895 }
John Edward Lloyd Maude Jane Soward Juliana Horatia Ewing
John Edward Lloyd, Maude Jane Soward and Juliana Horatia Ewing live in that administrative territory
John Edward Lloyd Maude Jane Soward Juliana Horatia Ewing
action filter_type
action find_reverse
entity Aldershot
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Aldershot']
SELECT DISTINCT ?r WHERE { ?r property:residence resource:Aldershot . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6307756
P921
Q191067
USER
Which article is Juliana Horatia Ewing a main subject of ?
(c(Q191067),P921,Q6307756)
action filter_type
action find_reverse
entity Q6307756
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q6307756']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q6307756 . ?m rdf:type ontology:Q191067 }
Juliana Horatia Ewing
action filter_type
action find_reverse
entity Juliana Horatia Ewing
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Juliana Horatia Ewing']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:Juliana_Horatia_Ewing . ?m rdf:type ontology:article }
[]
article
Q19097718
SYSTEM
Ewing, Juliana Horatia (DNB00)
Q19097718
(c(Q191067),P921,Q6307756)
action filter_type
action find_reverse
entity Q6307756
relation P921
type Q191067
[ANSWER] is Juliana Horatia Ewing a main subject of
[{'concept': 'Q191067'}, 'P921', 'Q6307756']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q6307756 . ?m rdf:type ontology:Q191067 }
Ewing, Juliana Horatia (DNB00)
Ewing, Juliana Horatia (DNB00) is Juliana Horatia Ewing a main subject of
Ewing, Juliana Horatia (DNB00)
action filter_type
action find_reverse
entity Juliana Horatia Ewing
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Juliana Horatia Ewing']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:Juliana_Horatia_Ewing . ?m rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19097718
P1433
Q5292
USER
Which encyclopedia was that article published in ?
(Q19097718,P1433,c(Q5292))
action filter_type
action find
entity Q19097718
relation P1433
type Q5292
['Q19097718', 'P1433', {'concept': 'Q5292'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q5292 . resource:Q19097718 property:P1433 ?u }
Ewing, Juliana Horatia (DNB00)
action filter_type
action find
entity Ewing, Juliana Horatia (DNB00)
relation published in
type encyclopedia
['Ewing, Juliana Horatia (DNB00)', 'published in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:encyclopedia . resource:Ewing,_Juliana_Horatia_(DNB00) property:published_in ?u }
[]
encyclopedia
Q15987216
SYSTEM
Dictionary of National Biography (1885-1900)
Q15987216
(Q19097718,P1433,c(Q5292))
action filter_type
action find
entity Q19097718
relation P1433
type Q5292
That article was published in [ANSWER]
['Q19097718', 'P1433', {'concept': 'Q5292'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q5292 . resource:Q19097718 property:P1433 ?u }
Dictionary of National Biography (1885-1900)
That article was published in Dictionary of National Biography (1885-1900)
Dictionary of National Biography (1885-1900)
action filter_type
action find
entity Ewing, Juliana Horatia (DNB00)
relation published in
type encyclopedia
['Ewing, Juliana Horatia (DNB00)', 'published in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:encyclopedia . resource:Ewing,_Juliana_Horatia_(DNB00) property:published_in ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q15987216 Q19070365
P1433
Q191067
USER
Does that encyclopedia have Whithorne, Peter (DNB00) ?
(Q19070365,P1433,Q15987216)
action is_in
entity Q15987216
action find
entity Q19070365
relation P1433
['Q19070365', 'P1433', 'Q15987216']
ASK WHERE { resource:Q19070365 property:P1433 resource:Q15987216 }
Dictionary of National Biography (1885-1900) Whithorne, Peter (DNB00)
action is_in
entity Dictionary of National Biography (1885-1900)
action find
entity Whithorne, Peter (DNB00)
relation published in
['Whithorne, Peter (DNB00)', 'published in', 'Dictionary of National Biography (1885-1900)']
ASK WHERE { resource:Whithorne,_Peter_(DNB00) property:published_in resource:Dictionary_of_National_Biography_(1885-1900) }
[]
article
SYSTEM
YES
(Q19070365,P1433,Q15987216)
action is_in
entity Q15987216
action find
entity Q19070365
relation P1433
[ANSWER]
['Q19070365', 'P1433', 'Q15987216']
ASK WHERE { resource:Q19070365 property:P1433 resource:Q15987216 }
Yes
action is_in
entity Dictionary of National Biography (1885-1900)
action find
entity Whithorne, Peter (DNB00)
relation published in
['Whithorne, Peter (DNB00)', 'published in', 'Dictionary of National Biography (1885-1900)']
ASK WHERE { resource:Whithorne,_Peter_(DNB00) property:published_in resource:Dictionary_of_National_Biography_(1885-1900) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q5292 Q502895 Q43229
USER
How many encyclopedias are exactly 1 people or organizations mentioned in ?
(c(Q502895)|c(Q43229),P248,c(Q5292))
action count
action equal
action union
action find_reverse_tuple_counts
relation P248
type Q5292
type Q502895
action find_reverse_tuple_counts
relation P248
type Q5292
type Q43229
value 1
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P248', {'concept': 'Q5292'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?t WHERE { VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } . ?g rdf:type ?w } GROUP BY ?t } . FILTER ( ?y = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation stated in
type encyclopedia
type common name
action find_reverse_tuple_counts
relation stated in
type encyclopedia
type organization
value 1
[[{'concept': 'common name'}, {'concept': 'organization'}], 'stated in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?t WHERE { VALUES ( ?w ) { ( ontology:common_name ) ( ontology:organization ) } . ?g rdf:type ?w } GROUP BY ?t } . FILTER ( ?y = 1 ) }
[]
encyclopedia common name organization
SYSTEM
3
Q4426485 Q803722 Q19180675
(c(Q502895)|c(Q43229),P248,c(Q5292))
action count
action equal
action union
action find_reverse_tuple_counts
relation P248
type Q5292
type Q502895
action find_reverse_tuple_counts
relation P248
type Q5292
type Q43229
value 1
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P248', {'concept': 'Q5292'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?t WHERE { VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } . ?g rdf:type ?w } GROUP BY ?t } . FILTER ( ?y = 1 ) }
Soviet Encyclopedic Dictionary Baidu Baike Small Brockhaus and Efron Encyclopedic Dictionary
3
action count
action equal
action union
action find_reverse_tuple_counts
relation stated in
type encyclopedia
type common name
action find_reverse_tuple_counts
relation stated in
type encyclopedia
type organization
value 1
[[{'concept': 'common name'}, {'concept': 'organization'}], 'stated in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?t WHERE { VALUES ( ?w ) { ( ontology:common_name ) ( ontology:organization ) } . ?g rdf:type ?w } GROUP BY ?t } . FILTER ( ?y = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6307756
P21
Q290
USER
Which sex does Juliana Horatia Ewing possess ?
(Q6307756,P21,c(Q290))
action filter_type
action find
entity Q6307756
relation P21
type Q290
['Q6307756', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q6307756 property:P21 ?r . ?r rdf:type ontology:Q290 }
Juliana Horatia Ewing
action filter_type
action find
entity Juliana Horatia Ewing
relation gender
type sex
['Juliana Horatia Ewing', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Juliana_Horatia_Ewing property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q6307756,P21,c(Q290))
action filter_type
action find
entity Q6307756
relation P21
type Q290
Juliana Horatia Ewing possesses a [ANSWER]
['Q6307756', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q6307756 property:P21 ?r . ?r rdf:type ontology:Q290 }
female
Juliana Horatia Ewing possesses a female
female
action filter_type
action find
entity Juliana Horatia Ewing
relation gender
type sex
['Juliana Horatia Ewing', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Juliana_Horatia_Ewing property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5861942
Q290
USER
And also tell me about Filemón Posse?
(Q5861942,P21,c(Q290))
action filter_type
action find
entity Q5861942
relation P21
type Q290
['Q5861942', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5861942 property:P21 ?m . ?m rdf:type ontology:Q290 }
Filemón Posse
action filter_type
action find
entity Filemón Posse
relation gender
type sex
['Filemón Posse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Filemón_Posse property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5861942,P21,c(Q290))
action filter_type
action find
entity Q5861942
relation P21
type Q290
[ANSWER]
['Q5861942', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5861942 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Filemón Posse
relation gender
type sex
['Filemón Posse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Filemón_Posse property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5861942
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q5861942
relation P39
type Q12737077
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q5861942 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Filemón Posse
action filter_type
action find
entity Filemón Posse
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Filemón_Posse property:position_held ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q18229570
SYSTEM
Member of the Argentine Chamber of Deputies
Q18229570
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q5861942
relation P39
type Q12737077
[ANSWER]
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q5861942 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Member of the Argentine Chamber of Deputies
Member of the Argentine Chamber of Deputies
Member of the Argentine Chamber of Deputies
action filter_type
action find
entity Filemón Posse
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Filemón_Posse property:position_held ?l . ?l rdf:type ontology:occupation }
[]