Simple Question (Direct)
Simple Question
Q19538809
P735
Q82799
USER
What is the firstname of Chris McClaren ?
(Q19538809,P735,c(Q82799))
action filter_type
action find
entity Q19538809
relation P735
type Q82799
['Q19538809', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q19538809 property:P735 ?l . ?l rdf:type ontology:Q82799 }
Chris McClaren
action filter_type
action find
entity Chris McClaren
relation given name
type name
['Chris McClaren', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Chris_McClaren property:given_name ?l . ?l rdf:type ontology:name }
[]
name
Q339346
SYSTEM
Chris
Q339346
(Q19538809,P735,c(Q82799))
action filter_type
action find
entity Q19538809
relation P735
type Q82799
The firstname of [ANSWER] McClaren is the [ANSWER]
['Q19538809', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q19538809 property:P735 ?l . ?l rdf:type ontology:Q82799 }
Chris
The firstname of Chris McClaren is the Chris
Chris
action filter_type
action find
entity Chris McClaren
relation given name
type name
['Chris McClaren', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Chris_McClaren property:given_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19538809
P106
Q12737077
USER
What is the profession of that person ?
(Q339346,P106,c(Q12737077))
action filter_type
action find
entity Q19538809
relation P106
type Q12737077
['Q339346', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q19538809 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Chris McClaren
action filter_type
action find
entity Chris McClaren
relation occupation
type occupation
['Chris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Chris_McClaren property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q339346,P106,c(Q12737077))
action filter_type
action find
entity Q19538809
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q339346', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q19538809 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Chris McClaren
relation occupation
type occupation
['Chris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Chris_McClaren property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q937857 Q3341898
P106
Q502895
USER
Does Nimeño I have career as that occupation ?
(Q3341898,P106,Q937857)
action is_in
entity Q3341898
action find
entity Q937857
relation P106
['Q3341898', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q3341898 }
association football player Nimeño I
action is_in
entity Nimeño I
action find
entity association football player
relation occupation
['Nimeño I', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Nimeño_I }
[]
common name
SYSTEM
NO
(Q3341898,P106,Q937857)
action is_in
entity Q3341898
action find
entity Q937857
relation P106
[ANSWER]
['Q3341898', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q3341898 }
No
action is_in
entity Nimeño I
action find
entity association football player
relation occupation
['Nimeño I', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Nimeño_I }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q874405 Q151885 Q82799
USER
How many names are a component of approximately 1 social groups or concepts ?
(c(Q82799),P361,c(Q874405)|c(Q151885))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q151885
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?m ) WHERE { VALUES ( ?v ) { ( ontology:Q151885 ) ( ontology:Q874405 ) } . ?e rdf:type ?v } GROUP BY ?u } }
action count
action approx
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type concept
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?m ) WHERE { VALUES ( ?v ) { ( ontology:concept ) ( ontology:social_group ) } . ?e rdf:type ?v } GROUP BY ?u } }
[]
social group concept name
SYSTEM
4
Q1058384 Q1557998 Q746990 Q876933
(c(Q82799),P361,c(Q874405)|c(Q151885))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q151885
value 1
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?m ) WHERE { VALUES ( ?v ) { ( ontology:Q151885 ) ( ontology:Q874405 ) } . ?e rdf:type ?v } GROUP BY ?u } }
hakham Gyalwang Drukpa Brahman magi
4
action count
action approx
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type concept
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?m ) WHERE { VALUES ( ?v ) { ( ontology:concept ) ( ontology:social_group ) } . ?e rdf:type ?v } GROUP BY ?u } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q838948 Q17335294
USER
How many names are expressed in exactly 3 works of art and coats of arms ?
(c(Q838948)|c(Q17335294),P180,c(Q82799))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
value 3
[[{'concept': 'Q838948'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { FILTER ( ?k = 3 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?h WHERE { ?c rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q17335294 ) } } GROUP BY ?h } }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
value 3
[[{'concept': 'work of art'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { FILTER ( ?k = 3 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?h WHERE { ?c rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?h } }
[]
name work of art flag or coat of arms
SYSTEM
4
Q3736439 Q7368 Q8331 Q3537778
(c(Q838948)|c(Q17335294),P180,c(Q82799))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
value 3
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { FILTER ( ?k = 3 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?h WHERE { ?c rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q17335294 ) } } GROUP BY ?h } }
duck Ovis aries fox donkeys
4
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
value 3
[[{'concept': 'work of art'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { FILTER ( ?k = 3 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?h WHERE { ?c rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?h } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6441193 Q19538809
P641
Q349
USER
Which sports were Chris McClaren or Kubay Quaiyan a part of ?
OR((Q19538809,P641,c(Q349)), (Q6441193,P641,c(Q349)))
action filter_type
action union
action find
entity Q19538809
relation P641
action find
entity Q6441193
relation P641
type Q349
{'OR': [['Q19538809', 'P641', {'concept': 'Q349'}], ['Q6441193', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q19538809 property:P641 ?b } UNION { resource:Q6441193 property:P641 ?b } } . ?b rdf:type ontology:Q349 }
Kubay Quaiyan Chris McClaren
action filter_type
action union
action find
entity Chris McClaren
relation sport
action find
entity Kubay Quaiyan
relation sport
type sport
{'OR': [['Chris McClaren', 'sport', {'concept': 'sport'}], ['Kubay Quaiyan', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Chris_McClaren property:sport ?b } UNION { resource:Kubay_Quaiyan property:sport ?b } } . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q19538809,P641,c(Q349)), (Q6441193,P641,c(Q349)))
action filter_type
action union
action find
entity Q19538809
relation P641
action find
entity Q6441193
relation P641
type Q349
Team [ANSWER] was Chris McClaren or Kubay Quaiyan a part of
{'OR': [['Q19538809', 'P641', {'concept': 'Q349'}], ['Q6441193', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q19538809 property:P641 ?b } UNION { resource:Q6441193 property:P641 ?b } } . ?b rdf:type ontology:Q349 }
association football
Team association football was Chris McClaren or Kubay Quaiyan a part of
association football
action filter_type
action union
action find
entity Chris McClaren
relation sport
action find
entity Kubay Quaiyan
relation sport
type sport
{'OR': [['Chris McClaren', 'sport', {'concept': 'sport'}], ['Kubay Quaiyan', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Chris_McClaren property:sport ?b } UNION { resource:Kubay_Quaiyan property:sport ?b } } . ?b rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19538809
P19
Q56061
USER
Where was Chris McClaren born ?
(Q19538809,P19,c(Q56061))
action filter_type
action find
entity Q19538809
relation P19
type Q56061
['Q19538809', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q19538809 property:P19 ?a }
Chris McClaren
action filter_type
action find
entity Chris McClaren
relation place of birth
type administrative territorial entity
['Chris McClaren', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Chris_McClaren property:place_of_birth ?a }
[]
administrative territorial entity
Q23154
SYSTEM
Bristol
Q23154
(Q19538809,P19,c(Q56061))
action filter_type
action find
entity Q19538809
relation P19
type Q56061
Chris McClaren was born in [ANSWER]
['Q19538809', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q19538809 property:P19 ?a }
Bristol
Chris McClaren was born in Bristol
Bristol
action filter_type
action find
entity Chris McClaren
relation place of birth
type administrative territorial entity
['Chris McClaren', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Chris_McClaren property:place_of_birth ?a }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q23154 Q36433 Q1479
P190
Q56061
USER
Is that administrative territory a sister city of Porto and Bordeaux ?
(Q23154,P190,Q36433) (Q23154,P190,Q1479)
action is_in
entity Q23154
action intersection
action find_reverse
entity Q36433
relation P190
action find_reverse
entity Q1479
relation P190
['Q23154', 'P190', 'Q36433'] ['Q23154', 'P190', 'Q1479']
ASK WHERE { resource:Q23154 property:P190 resource:Q1479 . resource:Q23154 property:P190 resource:Q36433 }
Bristol Porto Bordeaux
action is_in
entity Bristol
action intersection
action find_reverse
entity Porto
relation sister city
action find_reverse
entity Bordeaux
relation sister city
['Bristol', 'sister city', 'Porto'] ['Bristol', 'sister city', 'Bordeaux']
ASK WHERE { resource:Bristol property:sister_city resource:Bordeaux . resource:Bristol property:sister_city resource:Porto }
[]
administrative territorial entity
SYSTEM
YES
(Q23154,P190,Q36433) (Q23154,P190,Q1479)
action is_in
entity Q23154
action intersection
action find_reverse
entity Q36433
relation P190
action find_reverse
entity Q1479
relation P190
[ANSWER]
['Q23154', 'P190', 'Q36433'] ['Q23154', 'P190', 'Q1479']
ASK WHERE { resource:Q23154 property:P190 resource:Q1479 . resource:Q23154 property:P190 resource:Q36433 }
Yes
action is_in
entity Bristol
action intersection
action find_reverse
entity Porto
relation sister city
action find_reverse
entity Bordeaux
relation sister city
['Bristol', 'sister city', 'Porto'] ['Bristol', 'sister city', 'Bordeaux']
ASK WHERE { resource:Bristol property:sister_city resource:Bordeaux . resource:Bristol property:sister_city resource:Porto }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q19538809 Q2736 Q7082029
P641
Q349
USER
Is Chris McClaren known to play association football and Category:Events in athletics (track and field) ?
(Q19538809,P641,Q2736) (Q19538809,P641,Q7082029)
action is_in
entity Q19538809
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q7082029
relation P641
['Q19538809', 'P641', 'Q2736'] ['Q19538809', 'P641', 'Q7082029']
ASK WHERE { resource:Q19538809 property:P641 resource:Q2736 . resource:Q19538809 property:P641 resource:Q7082029 }
Chris McClaren association football Category:Events in athletics (track and field)
action is_in
entity Chris McClaren
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity Category:Events in athletics (track and field)
relation sport
['Chris McClaren', 'sport', 'association football'] ['Chris McClaren', 'sport', 'Category:Events in athletics (track and field)']
ASK WHERE { resource:Chris_McClaren property:sport resource:association_football . resource:Chris_McClaren property:sport resource:Category:Events_in_athletics_(track_and_field) }
[]
sport
SYSTEM
YES and NO respectively
(Q19538809,P641,Q2736) (Q19538809,P641,Q7082029)
action is_in
entity Q19538809
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q7082029
relation P641
[ANSWER]
['Q19538809', 'P641', 'Q2736'] ['Q19538809', 'P641', 'Q7082029']
ASK WHERE { resource:Q19538809 property:P641 resource:Q2736 . resource:Q19538809 property:P641 resource:Q7082029 }
YES and NO respectively
action is_in
entity Chris McClaren
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity Category:Events in athletics (track and field)
relation sport
['Chris McClaren', 'sport', 'association football'] ['Chris McClaren', 'sport', 'Category:Events in athletics (track and field)']
ASK WHERE { resource:Chris_McClaren property:sport resource:association_football . resource:Chris_McClaren property:sport resource:Category:Events_in_athletics_(track_and_field) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q339346 Q2403
P1750
Q186081
USER
Is March 15 linked with Chris ?
(Q339346,P1750,Q2403)
action is_in
entity Q2403
action find
entity Q339346
relation P1750
['Q339346', 'P1750', 'Q2403']
ASK WHERE { resource:Q339346 property:P1750 resource:Q2403 }
Chris March 15
action is_in
entity March 15
action find
entity Chris
relation name day
['Chris', 'name day', 'March 15']
ASK WHERE { resource:Chris property:name_day resource:March_15 }
[]
time interval
SYSTEM
YES
(Q339346,P1750,Q2403)
action is_in
entity Q2403
action find
entity Q339346
relation P1750
[ANSWER]
['Q339346', 'P1750', 'Q2403']
ASK WHERE { resource:Q339346 property:P1750 resource:Q2403 }
Yes
action is_in
entity March 15
action find
entity Chris
relation name day
['Chris', 'name day', 'March 15']
ASK WHERE { resource:Chris property:name_day resource:March_15 }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1773201
Q186081
USER
And how about Sunniva?
(Q1773201,P1750,c(Q186081))
action filter_type
action find
entity Q1773201
relation P1750
type Q186081
['Q1773201', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q186081 . resource:Q1773201 property:P1750 ?z }
Sunniva
action filter_type
action find
entity Sunniva
relation name day
type time interval
['Sunniva', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:time_interval . resource:Sunniva property:name_day ?z }
[]
time interval
Q2692
SYSTEM
July 8
Q2692
(Q1773201,P1750,c(Q186081))
action filter_type
action find
entity Q1773201
relation P1750
type Q186081
[ANSWER]
['Q1773201', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q186081 . resource:Q1773201 property:P1750 ?z }
July 8
July 8
action filter_type
action find
entity Sunniva
relation name day
type time interval
['Sunniva', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:time_interval . resource:Sunniva property:name_day ?z }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2692 Q121 Q16638021
P361
Q5151
USER
Is that time interval a part of July and February 1881 ?
(Q2692,P361,Q121) (Q2692,P361,Q16638021)
action is_in
entity Q2692
action intersection
action find_reverse
entity Q121
relation P361
action find_reverse
entity Q16638021
relation P361
['Q2692', 'P361', 'Q121'] ['Q2692', 'P361', 'Q16638021']
ASK WHERE { resource:Q2692 property:P361 resource:Q121 . resource:Q2692 property:P361 resource:Q16638021 }
July 8 July February 1881
action is_in
entity July 8
action intersection
action find_reverse
entity July
relation part of
action find_reverse
entity February 1881
relation part of
['July 8', 'part of', 'July'] ['July 8', 'part of', 'February 1881']
ASK WHERE { resource:July_8 property:part_of resource:July . resource:July_8 property:part_of resource:February_1881 }
[]
month
SYSTEM
YES and NO respectively
(Q2692,P361,Q121) (Q2692,P361,Q16638021)
action is_in
entity Q2692
action intersection
action find_reverse
entity Q121
relation P361
action find_reverse
entity Q16638021
relation P361
[ANSWER]
['Q2692', 'P361', 'Q121'] ['Q2692', 'P361', 'Q16638021']
ASK WHERE { resource:Q2692 property:P361 resource:Q121 . resource:Q2692 property:P361 resource:Q16638021 }
YES and NO respectively
action is_in
entity July 8
action intersection
action find_reverse
entity July
relation part of
action find_reverse
entity February 1881
relation part of
['July 8', 'part of', 'July'] ['July 8', 'part of', 'February 1881']
ASK WHERE { resource:July_8 property:part_of resource:July . resource:July_8 property:part_of resource:February_1881 }
[]