Simple Question (Direct)
Simple Question
Q6200029
P641
Q349
USER
What did Jimmy Dunn participate in ?
(Q6200029,P641,c(Q349))
action filter_type
action find
entity Q6200029
relation P641
type Q349
['Q6200029', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q6200029 property:P641 ?q . ?q rdf:type ontology:Q349 }
Jimmy Dunn
action filter_type
action find
entity Jimmy Dunn
relation sport
type sport
['Jimmy Dunn', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Jimmy_Dunn property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6200029,P641,c(Q349))
action filter_type
action find
entity Q6200029
relation P641
type Q349
Jimmy Dunn participated in [ANSWER]
['Q6200029', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q6200029 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
Jimmy Dunn participated in association football
association football
action filter_type
action find
entity Jimmy Dunn
relation sport
type sport
['Jimmy Dunn', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Jimmy_Dunn property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6200029
P106
Q12737077
USER
Which occupation is the profession of Jimmy Dunn ?
(Q6200029,P106,c(Q12737077))
action filter_type
action find
entity Q6200029
relation P106
type Q12737077
['Q6200029', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q6200029 property:P106 ?f }
Jimmy Dunn
action filter_type
action find
entity Jimmy Dunn
relation occupation
type occupation
['Jimmy Dunn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Jimmy_Dunn property:occupation ?f }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6200029,P106,c(Q12737077))
action filter_type
action find
entity Q6200029
relation P106
type Q12737077
The [ANSWER] is the profession of Jimmy Dunn
['Q6200029', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q6200029 property:P106 ?f }
association football player
The association football player is the profession of Jimmy Dunn
association football player
action filter_type
action find
entity Jimmy Dunn
relation occupation
type occupation
['Jimmy Dunn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Jimmy_Dunn property:occupation ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6200029
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q6200029
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q6200029 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Jimmy Dunn
action filter_type
action find
entity Jimmy Dunn
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jimmy_Dunn property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q38022
SYSTEM
St. Louis
Q38022
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q6200029
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q6200029 property:P19 ?a . ?a rdf:type ontology:Q56061 }
St. Louis
St. Louis is the birthplace of that person
St. Louis
action filter_type
action find
entity Jimmy Dunn
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jimmy_Dunn property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q490
P417
Q1445650 Q502895 Q56061
USER
How many administrative territories have greater number of holidays or people as their patron saint than Milan ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q490
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Q490 property:P417 ?s . { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?c ) WHERE { { ?d property:P417 ?z . ?d rdf:type ontology:Q56061 . ?z rdf:type ontology:Q1445650 } UNION { ?d rdf:type ontology:Q56061 . ?z rdf:type ontology:Q502895 . ?d property:P417 ?z } } GROUP BY ?d } }
Milan
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Milan
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Milan property:patron_saint ?s . { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:common_name ) ( ontology:holiday ) } } } } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?c ) WHERE { { ?d property:patron_saint ?z . ?d rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:holiday } UNION { ?d rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:common_name . ?d property:patron_saint ?z } } GROUP BY ?d } }
[]
holiday common name administrative territorial entity
SYSTEM
2
Q39519 Q220
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q490
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Q490 property:P417 ?s . { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?c ) WHERE { { ?d property:P417 ?z . ?d rdf:type ontology:Q56061 . ?z rdf:type ontology:Q1445650 } UNION { ?d rdf:type ontology:Q56061 . ?z rdf:type ontology:Q502895 . ?d property:P417 ?z } } GROUP BY ?d } }
Brinzio Rome
2
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Milan
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Milan property:patron_saint ?s . { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:common_name ) ( ontology:holiday ) } } } } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?c ) WHERE { { ?d property:patron_saint ?z . ?d rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:holiday } UNION { ?d rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:common_name . ?d property:patron_saint ?z } } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q491588
P417
Q1445650 Q502895 Q56061
USER
And what about Camporeale?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q491588
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?l WHERE { VALUES ( ?m ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?h rdf:type ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q491588 property:P417 ?w . { { ?w rdf:type ontology:Q1445650 } UNION { ?w rdf:type ontology:Q502895 } } } } . FILTER ( ?x > ?y ) }
Camporeale
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Camporeale
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?l WHERE { VALUES ( ?m ) { ( ontology:holiday ) ( ontology:common_name ) } . ?h rdf:type ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Camporeale property:patron_saint ?w . { { ?w rdf:type ontology:holiday } UNION { ?w rdf:type ontology:common_name } } } } . FILTER ( ?x > ?y ) }
[]
holiday common name administrative territorial entity
SYSTEM
2
Q39519 Q220
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q491588
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?l WHERE { VALUES ( ?m ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?h rdf:type ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q491588 property:P417 ?w . { { ?w rdf:type ontology:Q1445650 } UNION { ?w rdf:type ontology:Q502895 } } } } . FILTER ( ?x > ?y ) }
Brinzio Rome
2
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Camporeale
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?l WHERE { VALUES ( ?m ) { ( ontology:holiday ) ( ontology:common_name ) } . ?h rdf:type ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Camporeale property:patron_saint ?w . { { ?w rdf:type ontology:holiday } UNION { ?w rdf:type ontology:common_name } } } } . FILTER ( ?x > ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38022
P6
Q502895
USER
Which people are the head of government of St. Louis ?
(Q38022,P6,c(Q502895))
action filter_type
action find
entity Q38022
relation P6
type Q502895
['Q38022', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q38022 property:P6 ?f }
St. Louis
action filter_type
action find
entity St. Louis
relation head of government
type common name
['St. Louis', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:St._Louis property:head_of_government ?f }
[]
common name
Q4722044 Q7299198 Q5500993
SYSTEM
Alfonso J. Cervantes, Raymond Tucker, Freeman Bosley, Jr.
Q6133619 Q6253085 Q7931703 Q5500993 Q5724312 Q4734679 Q5481036 Q4722044 Q7926032 Q5126564 Q6282486 Q4893111 Q8007429 Q7299198
(Q38022,P6,c(Q502895))
action filter_type
action find
entity Q38022
relation P6
type Q502895
[ANSWERS]
['Q38022', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q38022 property:P6 ?f }
James F. Conway John Poelker Vincent C. Schoemehl Freeman Bosley, Jr. Henry Kiel Aloys P. Kaufmann Francis G. Slay Alfonso J. Cervantes Victor J. Miller Clarence Harmon Joseph Darst Bernard F. Dickmann William D. Becker Raymond Tucker
Alfonso J. Cervantes, Raymond Tucker and Freeman Bosley, Jr. are the head of government of St. Louis
Alfonso J. Cervantes Raymond Tucker Freeman Bosley, Jr.
action filter_type
action find
entity St. Louis
relation head of government
type common name
['St. Louis', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:St._Louis property:head_of_government ?f }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38022
P6
Q56061
USER
Do St. Louis have those people as their administrative leader ?
(Q38022,P6,Q4722044) (Q38022,P6,Q7299198) (Q38022,P6,Q5500993)
action is_in
entity prev_answer
action find
entity Q38022
relation P6
['Q38022', 'P6', 'Q4722044'] ['Q38022', 'P6', 'Q7299198'] ['Q38022', 'P6', 'Q5500993']
ASK WHERE { resource:Q38022 property:P6 ?u . VALUES ( ?u ) { ( resource:Q6133619 ) ( resource:Q6253085 ) ( resource:Q7931703 ) } }
St. Louis
action is_in
entity prev_answer
action find
entity St. Louis
relation head of government
['St. Louis', 'head of government', 'Alfonso J. Cervantes'] ['St. Louis', 'head of government', 'Raymond Tucker'] ['St. Louis', 'head of government', 'Freeman Bosley, Jr.']
ASK WHERE { resource:St._Louis property:head_of_government ?u . VALUES ( ?u ) { ( resource:James_F._Conway ) ( resource:John_Poelker ) ( resource:Vincent_C._Schoemehl ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q38022,P6,Q4722044) (Q38022,P6,Q7299198) (Q38022,P6,Q5500993)
action is_in
entity prev_answer
action find
entity Q38022
relation P6
[ANSWER]
['Q38022', 'P6', 'Q4722044'] ['Q38022', 'P6', 'Q7299198'] ['Q38022', 'P6', 'Q5500993']
ASK WHERE { resource:Q38022 property:P6 ?u . VALUES ( ?u ) { ( resource:Q6133619 ) ( resource:Q6253085 ) ( resource:Q7931703 ) } }
Yes
action is_in
entity prev_answer
action find
entity St. Louis
relation head of government
['St. Louis', 'head of government', 'Alfonso J. Cervantes'] ['St. Louis', 'head of government', 'Raymond Tucker'] ['St. Louis', 'head of government', 'Freeman Bosley, Jr.']
ASK WHERE { resource:St._Louis property:head_of_government ?u . VALUES ( ?u ) { ( resource:James_F._Conway ) ( resource:John_Poelker ) ( resource:Vincent_C._Schoemehl ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7299198 Q30
P27
Q15617994
USER
Is Raymond Tucker an inhabitant of United States of America ?
(Q7299198,P27,Q30)
action is_in
entity Q30
action find
entity Q7299198
relation P27
['Q7299198', 'P27', 'Q30']
ASK WHERE { resource:Q7299198 property:P27 resource:Q30 }
Raymond Tucker United States of America
action is_in
entity United States of America
action find
entity Raymond Tucker
relation country of citizenship
['Raymond Tucker', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Raymond_Tucker property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q7299198,P27,Q30)
action is_in
entity Q30
action find
entity Q7299198
relation P27
[ANSWER]
['Q7299198', 'P27', 'Q30']
ASK WHERE { resource:Q7299198 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Raymond Tucker
relation country of citizenship
['Raymond Tucker', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Raymond_Tucker property:country_of_citizenship resource:United_States_of_America }
[]