Simple Question (Direct)
Simple Question
Q3703254
P106
Q12737077
USER
Which occupation has David Martin as his/her 's career ?
(Q3703254,P106,c(Q12737077))
action filter_type
action find
entity Q3703254
relation P106
type Q12737077
['Q3703254', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3703254 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
David Martin
action filter_type
action find
entity David Martin
relation occupation
type occupation
['David Martin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:David_Martin property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3703254,P106,c(Q12737077))
action filter_type
action find
entity Q3703254
relation P106
type Q12737077
Player [ANSWER] has David Martin as his/her 's career
['Q3703254', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3703254 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
Player association football player has David Martin as his/her 's career
association football player
action filter_type
action find
entity David Martin
relation occupation
type occupation
['David Martin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:David_Martin property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3703254
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q937857,P54,c(Q1194951))
action filter_type
action find
entity Q3703254
relation P54
type Q1194951
['Q937857', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { resource:Q3703254 property:P54 ?v . ?v rdf:type ontology:Q1194951 }
David Martin
action filter_type
action find
entity David Martin
relation member of sports team
type national sports team
['association football player', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { resource:David_Martin property:member_of_sports_team ?v . ?v rdf:type ontology:national_sports_team }
[]
national sports team
Q190978
SYSTEM
Northern Ireland national football team
Q190978
(Q937857,P54,c(Q1194951))
action filter_type
action find
entity Q3703254
relation P54
type Q1194951
' [ANSWER] is that person a member of
['Q937857', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { resource:Q3703254 property:P54 ?v . ?v rdf:type ontology:Q1194951 }
Northern Ireland national football team
' Northern Ireland national football team is that person a member of
Northern Ireland national football team
action filter_type
action find
entity David Martin
relation member of sports team
type national sports team
['association football player', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { resource:David_Martin property:member_of_sports_team ?v . ?v rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3703254
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q190978,P27,c(Q15617994))
action filter_type
action find
entity Q3703254
relation P27
type Q15617994
['Q190978', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q3703254 property:P27 ?y }
David Martin
action filter_type
action find
entity David Martin
relation country of citizenship
type designation for an administrative territorial entity
['Northern Ireland national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:David_Martin property:country_of_citizenship ?y }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q190978,P27,c(Q15617994))
action filter_type
action find
entity Q3703254
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q190978', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q3703254 property:P27 ?y }
United Kingdom
United Kingdom is that person a civilian of
United Kingdom
action filter_type
action find
entity David Martin
relation country of citizenship
type designation for an administrative territorial entity
['Northern Ireland national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:David_Martin property:country_of_citizenship ?y }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11569910 Q3703254
P734 P735
Q82799
USER
Which names have the surname David Martin or are Momo Katase known by ?
OR((Q3703254,P734,c(Q82799)), (Q11569910,P735,c(Q82799)))
action filter_type
action union
action find
entity Q3703254
relation P734
action find
entity Q11569910
relation P735
type Q82799
{'OR': [['Q3703254', 'P734', {'concept': 'Q82799'}], ['Q11569910', 'P735', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q3703254 property:P734 ?s } UNION { resource:Q11569910 property:P735 ?s } } . ?s rdf:type ontology:Q82799 }
Momo Katase David Martin
action filter_type
action union
action find
entity David Martin
relation family name
action find
entity Momo Katase
relation given name
type name
{'OR': [['David Martin', 'family name', {'concept': 'name'}], ['Momo Katase', 'given name', {'concept': 'name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:David_Martin property:family_name ?s } UNION { resource:Momo_Katase property:given_name ?s } } . ?s rdf:type ontology:name }
[]
name
Q17124798 Q17744604
SYSTEM
Momo, Martin
Q17124798 Q17744604
OR((Q3703254,P734,c(Q82799)), (Q11569910,P735,c(Q82799)))
action filter_type
action union
action find
entity Q3703254
relation P734
action find
entity Q11569910
relation P735
type Q82799
[ANSWERS] have the surname David Martin or are Momo Katase known by
{'OR': [['Q3703254', 'P734', {'concept': 'Q82799'}], ['Q11569910', 'P735', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q3703254 property:P734 ?s } UNION { resource:Q11569910 property:P735 ?s } } . ?s rdf:type ontology:Q82799 }
Momo Martin
Momo and Martin have the surname David Martin or are Momo Katase known by
Momo Martin
action filter_type
action union
action find
entity David Martin
relation family name
action find
entity Momo Katase
relation given name
type name
{'OR': [['David Martin', 'family name', {'concept': 'name'}], ['Momo Katase', 'given name', {'concept': 'name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:David_Martin property:family_name ?s } UNION { resource:Momo_Katase property:given_name ?s } } . ?s rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16264296 Q3703254
P734
Q82799
USER
Which names are associated with David Martin or Yoshinori Ihara ?
OR((Q3703254,P734,c(Q82799)), (Q16264296,P734,c(Q82799)))
action filter_type
action union
action find
entity Q3703254
relation P734
action find
entity Q16264296
relation P734
type Q82799
{'OR': [['Q3703254', 'P734', {'concept': 'Q82799'}], ['Q16264296', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . { { resource:Q3703254 property:P734 ?t } UNION { resource:Q16264296 property:P734 ?t } } }
Yoshinori Ihara David Martin
action filter_type
action union
action find
entity David Martin
relation family name
action find
entity Yoshinori Ihara
relation family name
type name
{'OR': [['David Martin', 'family name', {'concept': 'name'}], ['Yoshinori Ihara', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . { { resource:David_Martin property:family_name ?t } UNION { resource:Yoshinori_Ihara property:family_name ?t } } }
[]
name
Q23600458 Q17744604
SYSTEM
Ihara, Martin
Q23600458 Q17744604
OR((Q3703254,P734,c(Q82799)), (Q16264296,P734,c(Q82799)))
action filter_type
action union
action find
entity Q3703254
relation P734
action find
entity Q16264296
relation P734
type Q82799
[ANSWERS] are associated with David Martin or Yoshinori Ihara
{'OR': [['Q3703254', 'P734', {'concept': 'Q82799'}], ['Q16264296', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . { { resource:Q3703254 property:P734 ?t } UNION { resource:Q16264296 property:P734 ?t } } }
Ihara Martin
Ihara and Martin are associated with David Martin or Yoshinori Ihara
Ihara Martin
action filter_type
action union
action find
entity David Martin
relation family name
action find
entity Yoshinori Ihara
relation family name
type name
{'OR': [['David Martin', 'family name', {'concept': 'name'}], ['Yoshinori Ihara', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . { { resource:David_Martin property:family_name ?t } UNION { resource:Yoshinori_Ihara property:family_name ?t } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q83931
P180
Q82799 Q3305213 Q340169
USER
How many names are expressed in around the same number of paintings and medias as locust ?
(c(Q3305213)|c(Q340169),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q83931
relation P180
type Q3305213
type Q340169
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P180 resource:Q83931 . { { ?p rdf:type ontology:Q3305213 } UNION { ?p rdf:type ontology:Q340169 } } } } . FILTER ( ?u = ?g ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?n WHERE { { ?t property:P180 ?n . ?t rdf:type ontology:Q3305213 . ?n rdf:type ontology:Q82799 } UNION { ?t property:P180 ?n . ?n rdf:type ontology:Q82799 . ?t rdf:type ontology:Q340169 } } GROUP BY ?n } }
locust
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity locust
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:depicts resource:locust . { { ?p rdf:type ontology:painting } UNION { ?p rdf:type ontology:media } } } } . FILTER ( ?u = ?g ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?n WHERE { { ?t property:depicts ?n . ?t rdf:type ontology:painting . ?n rdf:type ontology:name } UNION { ?t property:depicts ?n . ?n rdf:type ontology:name . ?t rdf:type ontology:media } } GROUP BY ?n } }
[]
name painting media
SYSTEM
52
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q3305213)|c(Q340169),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q83931
relation P180
type Q3305213
type Q340169
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P180 resource:Q83931 . { { ?p rdf:type ontology:Q3305213 } UNION { ?p rdf:type ontology:Q340169 } } } } . FILTER ( ?u = ?g ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?n WHERE { { ?t property:P180 ?n . ?t rdf:type ontology:Q3305213 . ?n rdf:type ontology:Q82799 } UNION { ?t property:P180 ?n . ?n rdf:type ontology:Q82799 . ?t rdf:type ontology:Q340169 } } GROUP BY ?n } }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
52
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity locust
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:depicts resource:locust . { { ?p rdf:type ontology:painting } UNION { ?p rdf:type ontology:media } } } } . FILTER ( ?u = ?g ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?n WHERE { { ?t property:depicts ?n . ?t rdf:type ontology:painting . ?n rdf:type ontology:name } UNION { ?t property:depicts ?n . ?n rdf:type ontology:name . ?t rdf:type ontology:media } } GROUP BY ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3703254
P21
Q290
USER
Which sex does David Martin have ?
(Q3703254,P21,c(Q290))
action filter_type
action find
entity Q3703254
relation P21
type Q290
['Q3703254', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q3703254 property:P21 ?b . ?b rdf:type ontology:Q290 }
David Martin
action filter_type
action find
entity David Martin
relation gender
type sex
['David Martin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:David_Martin property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3703254,P21,c(Q290))
action filter_type
action find
entity Q3703254
relation P21
type Q290
David Martin has a [ANSWER]
['Q3703254', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q3703254 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
David Martin has a male
male
action filter_type
action find
entity David Martin
relation gender
type sex
['David Martin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:David_Martin property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4359036
Q290
USER
And how about Jean Baptiste Robert van Velde de Melroy et Sart-Bomal?
(Q4359036,P21,c(Q290))
action filter_type
action find
entity Q4359036
relation P21
type Q290
['Q4359036', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q4359036 property:P21 ?i . ?i rdf:type ontology:Q290 }
Jean Baptiste Robert van Velde de Melroy et Sart-Bomal
action filter_type
action find
entity Jean Baptiste Robert van Velde de Melroy et Sart-Bomal
relation gender
type sex
['Jean Baptiste Robert van Velde de Melroy et Sart-Bomal', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Jean_Baptiste_Robert_van_Velde_de_Melroy_et_Sart-Bomal property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4359036,P21,c(Q290))
action filter_type
action find
entity Q4359036
relation P21
type Q290
[ANSWER]
['Q4359036', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q4359036 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Jean Baptiste Robert van Velde de Melroy et Sart-Bomal
relation gender
type sex
['Jean Baptiste Robert van Velde de Melroy et Sart-Bomal', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Jean_Baptiste_Robert_van_Velde_de_Melroy_et_Sart-Bomal property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q190978
P1532
Q56061
USER
Which administrative territory did Northern Ireland national football team play for ?
(Q190978,P1532,c(Q56061))
action filter_type
action find
entity Q190978
relation P1532
type Q56061
['Q190978', 'P1532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q190978 property:P1532 ?z . ?z rdf:type ontology:Q56061 }
Northern Ireland national football team
action filter_type
action find
entity Northern Ireland national football team
relation country for sport
type administrative territorial entity
['Northern Ireland national football team', 'country for sport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Northern_Ireland_national_football_team property:country_for_sport ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q26
SYSTEM
Northern Ireland
Q26
(Q190978,P1532,c(Q56061))
action filter_type
action find
entity Q190978
relation P1532
type Q56061
[ANSWER] national football team played in [ANSWER]
['Q190978', 'P1532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q190978 property:P1532 ?z . ?z rdf:type ontology:Q56061 }
Northern Ireland
Northern Ireland national football team played in Northern Ireland
Northern Ireland
action filter_type
action find
entity Northern Ireland national football team
relation country for sport
type administrative territorial entity
['Northern Ireland national football team', 'country for sport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Northern_Ireland_national_football_team property:country_for_sport ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26
P551
Q502895
USER
Who lives in that administrative territory ?
(c(Q502895),P551,Q26)
action filter_type
action find_reverse
entity Q26
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q26']
SELECT DISTINCT ?l WHERE { ?l property:P551 resource:Q26 . ?l rdf:type ontology:Q502895 }
Northern Ireland
action filter_type
action find_reverse
entity Northern Ireland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Northern Ireland']
SELECT DISTINCT ?l WHERE { ?l property:residence resource:Northern_Ireland . ?l rdf:type ontology:common_name }
[]
common name
Q6376874
SYSTEM
Kathleen O'Toole
Q6376874
(c(Q502895),P551,Q26)
action filter_type
action find_reverse
entity Q26
relation P551
type Q502895
[ANSWER] lives in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q26']
SELECT DISTINCT ?l WHERE { ?l property:P551 resource:Q26 . ?l rdf:type ontology:Q502895 }
Kathleen O'Toole
Kathleen O'Toole lives in that administrative territory
Kathleen O'Toole
action filter_type
action find_reverse
entity Northern Ireland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Northern Ireland']
SELECT DISTINCT ?l WHERE { ?l property:residence resource:Northern_Ireland . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26
P38
Q8142
USER
What is accepted as the currency of that administrative territory ?
(Q6376874,P38,c(Q8142))
action filter_type
action find
entity Q26
relation P38
type Q8142
['Q6376874', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q8142 . resource:Q26 property:P38 ?f }
Northern Ireland
action filter_type
action find
entity Northern Ireland
relation currency
type currency
["Kathleen O'Toole", 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:currency . resource:Northern_Ireland property:currency ?f }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q6376874,P38,c(Q8142))
action filter_type
action find
entity Q26
relation P38
type Q8142
[ANSWER] is accepted as the currency of that administrative territory
['Q6376874', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q8142 . resource:Q26 property:P38 ?f }
pound sterling
Pound sterling is accepted as the currency of that administrative territory
pound sterling
action filter_type
action find
entity Northern Ireland
relation currency
type currency
["Kathleen O'Toole", 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:currency . resource:Northern_Ireland property:currency ?f }
[]