Simple Question (Direct)
Simple Question
Q6385196
P641
Q349
USER
What was the sport that Keith Webber was a part of ?
(Q6385196,P641,c(Q349))
action filter_type
action find
entity Q6385196
relation P641
type Q349
['Q6385196', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q6385196 property:P641 ?q . ?q rdf:type ontology:Q349 }
Keith Webber
action filter_type
action find
entity Keith Webber
relation sport
type sport
['Keith Webber', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Keith_Webber property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6385196,P641,c(Q349))
action filter_type
action find
entity Q6385196
relation P641
type Q349
The sport that Keith Webber was a part of was [ANSWER]
['Q6385196', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q6385196 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
The sport that Keith Webber was a part of was association football
association football
action filter_type
action find
entity Keith Webber
relation sport
type sport
['Keith Webber', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Keith_Webber property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6385196
P1196
Q1931388
USER
What situation did Keith Webber die in ?
(Q6385196,P1196,c(Q1931388))
action filter_type
action find
entity Q6385196
relation P1196
type Q1931388
['Q6385196', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?r WHERE { resource:Q6385196 property:P1196 ?r . ?r rdf:type ontology:Q1931388 }
Keith Webber
action filter_type
action find
entity Keith Webber
relation manner of death
type cause of death
['Keith Webber', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?r WHERE { resource:Keith_Webber property:manner_of_death ?r . ?r rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q6385196,P1196,c(Q1931388))
action filter_type
action find
entity Q6385196
relation P1196
type Q1931388
Keith Webber died from [ANSWER]
['Q6385196', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?r WHERE { resource:Q6385196 property:P1196 ?r . ?r rdf:type ontology:Q1931388 }
natural causes
Keith Webber died from natural causes
natural causes
action filter_type
action find
entity Keith Webber
relation manner of death
type cause of death
['Keith Webber', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?r WHERE { resource:Keith_Webber property:manner_of_death ?r . ?r rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6385196
P19
Q56061
USER
Where was that person born ?
(Q3739104,P19,c(Q56061))
action filter_type
action find
entity Q6385196
relation P19
type Q56061
['Q3739104', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q6385196 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Keith Webber
action filter_type
action find
entity Keith Webber
relation place of birth
type administrative territorial entity
['natural causes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Keith_Webber property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q10690
SYSTEM
Cardiff
Q10690
(Q3739104,P19,c(Q56061))
action filter_type
action find
entity Q6385196
relation P19
type Q56061
That person was born in [ANSWER]
['Q3739104', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q6385196 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Cardiff
That person was born in Cardiff
Cardiff
action filter_type
action find
entity Keith Webber
relation place of birth
type administrative territorial entity
['natural causes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Keith_Webber property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10690
P47
Q56061
USER
Which administrative territory is adjacent to that one ?
(Q10690,P47,c(Q56061))
action filter_type
action find
entity Q10690
relation P47
type Q56061
['Q10690', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q10690 property:P47 ?b . ?b rdf:type ontology:Q56061 }
Cardiff
action filter_type
action find
entity Cardiff
relation shares border with
type administrative territorial entity
['Cardiff', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Cardiff property:shares_border_with ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2330789
SYSTEM
Llantrisant
Q2330789
(Q10690,P47,c(Q56061))
action filter_type
action find
entity Q10690
relation P47
type Q56061
Is [ANSWER] is adjacent to that one
['Q10690', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q10690 property:P47 ?b . ?b rdf:type ontology:Q56061 }
Llantrisant
Is Llantrisant is adjacent to that one
Llantrisant
action filter_type
action find
entity Cardiff
relation shares border with
type administrative territorial entity
['Cardiff', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Cardiff property:shares_border_with ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q9187
Q56061
USER
And how about Carmagnola?
(Q9187,P47,c(Q56061))
action filter_type
action find
entity Q9187
relation P47
type Q56061
['Q9187', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q9187 property:P47 ?q . ?q rdf:type ontology:Q56061 }
Carmagnola
action filter_type
action find
entity Carmagnola
relation shares border with
type administrative territorial entity
['Carmagnola', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Carmagnola property:shares_border_with ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q9182
SYSTEM
Carignano
Q9182
(Q9187,P47,c(Q56061))
action filter_type
action find
entity Q9187
relation P47
type Q56061
[ANSWER]
['Q9187', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q9187 property:P47 ?q . ?q rdf:type ontology:Q56061 }
Carignano
Carignano
action filter_type
action find
entity Carmagnola
relation shares border with
type administrative territorial entity
['Carmagnola', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Carmagnola property:shares_border_with ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have exactly 3 administrative territories as their registry harbour ?
(c(Q2235308),P532,c(Q56061))
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?o ) WHERE { ?t rdf:type ontology:Q56061 . ?y rdf:type ontology:Q2235308 . ?y property:P532 ?t } GROUP BY ?y } . FILTER ( ?o = 3 ) }
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?o ) WHERE { ?t rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:ship_type . ?y property:port_of_registry ?t } GROUP BY ?y } . FILTER ( ?o = 3 ) }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWER] have exactly 3 administrative territories as their registry harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?o ) WHERE { ?t rdf:type ontology:Q56061 . ?y rdf:type ontology:Q2235308 . ?y property:P532 ?t } GROUP BY ?y } . FILTER ( ?o = 3 ) }
MS Arrow
MS Arrow have exactly 3 administrative territories as their registry harbour
MS Arrow
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?o ) WHERE { ?t rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:ship_type . ?y property:port_of_registry ?t } GROUP BY ?y } . FILTER ( ?o = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q502895 Q18608583
USER
Which sports did atleast 316 people or recurring sporting events participate in ?
(c(Q502895)|c(Q18608583),P641,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 316
[[{'concept': 'Q502895'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?o WHERE { { ?h property:P641 ?o . ?o rdf:type ontology:Q349 . ?h rdf:type ontology:Q502895 } UNION { ?h property:P641 ?o . ?o rdf:type ontology:Q349 . ?h rdf:type ontology:Q18608583 } } GROUP BY ?o } . FILTER ( ?f >= 316 ) }
action atleast
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 316
[[{'concept': 'common name'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?o WHERE { { ?h property:sport ?o . ?o rdf:type ontology:sport . ?h rdf:type ontology:common_name } UNION { ?h property:sport ?o . ?o rdf:type ontology:sport . ?h rdf:type ontology:recurring_sporting_event } } GROUP BY ?o } . FILTER ( ?f >= 316 ) }
[]
sport common name recurring sporting event
Q10962 Q7707 Q108429
SYSTEM
rugby league, water polo, archery
Q10962 Q12100 Q7707 Q108429 Q133201 Q847 Q83462 Q11420 Q41323 Q7291 Q7856 Q5372 Q5375 Q5377 Q206989 Q5369 Q8418 Q41466 Q221635 Q1455 Q2215841 Q61465 Q3930 Q213934 Q201965 Q134211 Q1734 Q31920 Q177275 Q32112 Q2736
(c(Q502895)|c(Q18608583),P641,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 316
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?o WHERE { { ?h property:P641 ?o . ?o rdf:type ontology:Q349 . ?h rdf:type ontology:Q502895 } UNION { ?h property:P641 ?o . ?o rdf:type ontology:Q349 . ?h rdf:type ontology:Q18608583 } } GROUP BY ?o } . FILTER ( ?f >= 316 ) }
rugby league fencing water polo archery squash tennis weightlifting judo American football badminton rallying basketball cricket golf shooting sport baseball handball ice hockey track cycling field hockey cycle sport rhythmic gymnastics table tennis canoeing and kayaking Nordic combined polo volleyball swimming bobsleigh boxing association football
Which sports atleast 316 people or recurred sporting events participate in
rugby league water polo archery
action atleast
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 316
[[{'concept': 'common name'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?o WHERE { { ?h property:sport ?o . ?o rdf:type ontology:sport . ?h rdf:type ontology:common_name } UNION { ?h property:sport ?o . ?o rdf:type ontology:sport . ?h rdf:type ontology:recurring_sporting_event } } GROUP BY ?o } . FILTER ( ?f >= 316 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q10962 Q7707 Q108429
P425
Q12737077
USER
Which occupations do rugby league, water polo and archery belong to ?
(c(Q12737077),P425,Q10962) (c(Q12737077),P425,Q7707) (c(Q12737077),P425,Q108429)
action union
action filter_type
action find_reverse
entity Q10962
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q7707
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q108429
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q10962'] [{'concept': 'Q12737077'}, 'P425', 'Q7707'] [{'concept': 'Q12737077'}, 'P425', 'Q108429']
SELECT DISTINCT ?l WHERE { { ?l property:P425 resource:Q7707 . ?l rdf:type ontology:Q12737077 } UNION { ?l rdf:type ontology:Q12737077 . ?l property:P425 resource:Q10962 } }
rugby league water polo archery
action union
action filter_type
action find_reverse
entity rugby league
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity water polo
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity archery
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'rugby league'] [{'concept': 'occupation'}, 'field of this occupation', 'water polo'] [{'concept': 'occupation'}, 'field of this occupation', 'archery']
SELECT DISTINCT ?l WHERE { { ?l property:field_of_this_occupation resource:water_polo . ?l rdf:type ontology:occupation } UNION { ?l rdf:type ontology:occupation . ?l property:field_of_this_occupation resource:rugby_league } }
[]
occupation
Q13382355 Q14373094 Q13382191
SYSTEM
archer, rugby league player, water polo referee
Q14373094 Q13382191 Q17524364 Q13382355
(c(Q12737077),P425,Q10962) (c(Q12737077),P425,Q7707) (c(Q12737077),P425,Q108429)
action union
action filter_type
action find_reverse
entity Q10962
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q7707
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q108429
relation P425
type Q12737077
[ANSWERS] rugby league, water polo and archery belong to
[{'concept': 'Q12737077'}, 'P425', 'Q10962'] [{'concept': 'Q12737077'}, 'P425', 'Q7707'] [{'concept': 'Q12737077'}, 'P425', 'Q108429']
SELECT DISTINCT ?l WHERE { { ?l property:P425 resource:Q7707 . ?l rdf:type ontology:Q12737077 } UNION { ?l rdf:type ontology:Q12737077 . ?l property:P425 resource:Q10962 } }
rugby league player water polo referee water polo player archer
Archer, rugby league player and water polo referee rugby league, water polo and archery belong to
archer rugby league player water polo referee
action union
action filter_type
action find_reverse
entity rugby league
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity water polo
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity archery
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'rugby league'] [{'concept': 'occupation'}, 'field of this occupation', 'water polo'] [{'concept': 'occupation'}, 'field of this occupation', 'archery']
SELECT DISTINCT ?l WHERE { { ?l property:field_of_this_occupation resource:water_polo . ?l rdf:type ontology:occupation } UNION { ?l rdf:type ontology:occupation . ?l property:field_of_this_occupation resource:rugby_league } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q108429
P417
Q502895
USER
Which person is the patron saint of archery ?
(Q108429,P417,c(Q502895))
action filter_type
action find
entity Q108429
relation P417
type Q502895
['Q108429', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q108429 property:P417 ?p . ?p rdf:type ontology:Q502895 }
archery
action filter_type
action find
entity archery
relation patron saint
type common name
['archery', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:archery property:patron_saint ?p . ?p rdf:type ontology:common_name }
[]
common name
Q149727
SYSTEM
Saint Giles
Q149727
(Q108429,P417,c(Q502895))
action filter_type
action find
entity Q108429
relation P417
type Q502895
[ANSWER] is the patron saint of archery
['Q108429', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q108429 property:P417 ?p . ?p rdf:type ontology:Q502895 }
Saint Giles
Saint Giles is the patron saint of archery
Saint Giles
action filter_type
action find
entity archery
relation patron saint
type common name
['archery', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:archery property:patron_saint ?p . ?p rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q149727 Q6813250 Q1524
P19
Q56061
USER
Was Saint Giles born at Melness and Athens ?
(Q149727,P19,Q6813250) (Q149727,P19,Q1524)
action is_in
entity Q149727
action intersection
action find_reverse
entity Q6813250
relation P19
action find_reverse
entity Q1524
relation P19
['Q149727', 'P19', 'Q6813250'] ['Q149727', 'P19', 'Q1524']
ASK WHERE { resource:Q149727 property:P19 resource:Q6813250 . resource:Q149727 property:P19 resource:Q1524 }
Saint Giles Melness Athens
action is_in
entity Saint Giles
action intersection
action find_reverse
entity Melness
relation place of birth
action find_reverse
entity Athens
relation place of birth
['Saint Giles', 'place of birth', 'Melness'] ['Saint Giles', 'place of birth', 'Athens']
ASK WHERE { resource:Saint_Giles property:place_of_birth resource:Melness . resource:Saint_Giles property:place_of_birth resource:Athens }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q149727,P19,Q6813250) (Q149727,P19,Q1524)
action is_in
entity Q149727
action intersection
action find_reverse
entity Q6813250
relation P19
action find_reverse
entity Q1524
relation P19
[ANSWER]
['Q149727', 'P19', 'Q6813250'] ['Q149727', 'P19', 'Q1524']
ASK WHERE { resource:Q149727 property:P19 resource:Q6813250 . resource:Q149727 property:P19 resource:Q1524 }
NO and YES respectively
action is_in
entity Saint Giles
action intersection
action find_reverse
entity Melness
relation place of birth
action find_reverse
entity Athens
relation place of birth
['Saint Giles', 'place of birth', 'Melness'] ['Saint Giles', 'place of birth', 'Athens']
ASK WHERE { resource:Saint_Giles property:place_of_birth resource:Melness . resource:Saint_Giles property:place_of_birth resource:Athens }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1796747 Q10690
P361 P190
Q56061
USER
Which administrative territories are twin cities of Cardiff or are Diocese of Gloucester a part of ?
OR((Q10690,P190,c(Q56061)), (Q1796747,P361,c(Q56061)))
action filter_type
action union
action find
entity Q10690
relation P190
action find
entity Q1796747
relation P361
type Q56061
{'OR': [['Q10690', 'P190', {'concept': 'Q56061'}], ['Q1796747', 'P361', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1796747 property:P361 ?b } UNION { resource:Q10690 property:P190 ?b } } . ?b rdf:type ontology:Q56061 }
Diocese of Gloucester Cardiff
action filter_type
action union
action find
entity Cardiff
relation sister city
action find
entity Diocese of Gloucester
relation part of
type administrative territorial entity
{'OR': [['Cardiff', 'sister city', {'concept': 'administrative territorial entity'}], ['Diocese of Gloucester', 'part of', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Diocese_of_Gloucester property:part_of ?b } UNION { resource:Cardiff property:sister_city ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3519 Q1022 Q12191 Q185289 Q134279 Q2113985
SYSTEM
Bari, Stuttgart, Nantes, Pernik, Luhansk, Province of Canterbury
Q3519 Q1022 Q12191 Q185289 Q134279 Q2113985
OR((Q10690,P190,c(Q56061)), (Q1796747,P361,c(Q56061)))
action filter_type
action union
action find
entity Q10690
relation P190
action find
entity Q1796747
relation P361
type Q56061
[ANSWERS] are twin cities of Cardiff or are Diocese of Gloucester a part of
{'OR': [['Q10690', 'P190', {'concept': 'Q56061'}], ['Q1796747', 'P361', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1796747 property:P361 ?b } UNION { resource:Q10690 property:P190 ?b } } . ?b rdf:type ontology:Q56061 }
Bari Stuttgart Nantes Pernik Luhansk Province of Canterbury
Bari, Stuttgart, Nantes, Pernik, Luhansk and Province of Canterbury are twin cities of Cardiff or are Diocese of Gloucester a part of
Bari Stuttgart Nantes Pernik Luhansk Province of Canterbury
action filter_type
action union
action find
entity Cardiff
relation sister city
action find
entity Diocese of Gloucester
relation part of
type administrative territorial entity
{'OR': [['Cardiff', 'sister city', {'concept': 'administrative territorial entity'}], ['Diocese of Gloucester', 'part of', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Diocese_of_Gloucester property:part_of ?b } UNION { resource:Cardiff property:sister_city ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q134279
P138
Q502895
USER
Which person is the origin of that administrative territory ?
(Q134279,P138,c(Q502895))
action filter_type
action find
entity Q134279
relation P138
type Q502895
['Q134279', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q134279 property:P138 ?c . ?c rdf:type ontology:Q502895 }
Luhansk
action filter_type
action find
entity Luhansk
relation named after
type common name
['Luhansk', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Luhansk property:named_after ?c . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2113985
SYSTEM
Did you mean Province of Canterbury ?
Q3519 Q1022 Q12191 Q185289 Q134279 Q2113985
(Q3519,P138,c(Q502895)) (Q1022,P138,c(Q502895)) (Q12191,P138,c(Q502895)) (Q185289,P138,c(Q502895)) (Q134279,P138,c(Q502895)) (Q2113985,P138,c(Q502895))
[ANSWER]
['Q3519', 'P138', {'concept': 'Q502895'}] ['Q1022', 'P138', {'concept': 'Q502895'}] ['Q12191', 'P138', {'concept': 'Q502895'}] ['Q185289', 'P138', {'concept': 'Q502895'}] ['Q134279', 'P138', {'concept': 'Q502895'}] ['Q2113985', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q134279 property:P138 ?c . ?c rdf:type ontology:Q502895 }
Bari Stuttgart Nantes Pernik Luhansk Province of Canterbury
Did you mean Province of Canterbury ?
Province of Canterbury
['Bari', 'named after', {'concept': 'common name'}] ['Stuttgart', 'named after', {'concept': 'common name'}] ['Nantes', 'named after', {'concept': 'common name'}] ['Pernik', 'named after', {'concept': 'common name'}] ['Luhansk', 'named after', {'concept': 'common name'}] ['Province of Canterbury', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Luhansk property:named_after ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Luhansk. Could you tell me the answer for that?
(Q134279,P138,c(Q502895))
Q134279
['Q134279', 'P138', {'concept': 'Q502895'}]
['Luhansk', 'named after', {'concept': 'common name'}]
[]
Q186185
SYSTEM
Kliment Voroshilov
Q186185
(Q134279,P138,c(Q502895))
action filter_type
action find
entity Q134279
relation P138
type Q502895
[ANSWER] is the origin of that administrative territory
['Q134279', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q134279 property:P138 ?c . ?c rdf:type ontology:Q502895 }
Kliment Voroshilov
Kliment Voroshilov is the origin of that administrative territory
Kliment Voroshilov
action filter_type
action find
entity Luhansk
relation named after
type common name
['Luhansk', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Luhansk property:named_after ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
How many television programs did atmost 6 people dub for ?
(c(Q15416),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 6
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?d ) WHERE { ?j property:P725 ?e . ?j rdf:type ontology:Q15416 . ?e rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?d <= 6 ) }
action count
action atmost
action find_tuple_counts
relation voice actor
type television program
type common name
value 6
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?d ) WHERE { ?j property:voice_actor ?e . ?j rdf:type ontology:television_program . ?e rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?d <= 6 ) }
[]
common name television program
SYSTEM
79
Q1280574 Q4049303 Q715723 Q1135343 Q613823 Q689114 Q467722 Q239937 Q1857269 Q1195326 Q5227700 Q4773554 Q4120156 Q962161 Q1617715 Q696310 Q15176855 Q472309 Q2573191 Q2581704 Q917980 Q3547706 Q845452 Q307507 Q483943 Q3596105 Q757148 Q3106852 Q25059 Q1284240 Q14493917 Q749629 Q10913555 Q1315951 Q1361413 Q543203 Q128969 Q2455207 Q2452999 Q2275664 Q702039 Q7496805 Q962132 Q18579178 Q20669175 Q1050091 Q699760 Q1146803 Q2140751 Q1002254 Q4033639 Q550555 Q20899576 Q1640364 Q483106 Q3098248 Q633432 Q12019559 Q18558839 Q1072208 Q304290 Q1215573 Q2619211 Q1140254 Q1317932 Q5139461 Q18559016 Q430369 Q1494222 Q452374 Q18575654 Q2339582 Q15039539 Q3492143 Q5976198 Q1353486 Q1143800 Q331031 Q45035
(c(Q15416),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 6
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?d ) WHERE { ?j property:P725 ?e . ?j rdf:type ontology:Q15416 . ?e rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?d <= 6 ) }
The Adventures of Tweeny Witches Seraphim Call Urusei Yatsura Wish Upon the Pleiades Ghost Hound Digimon Adventure The Puppy's Further Adventures Pokémon Rio: Rainbow Gate! LOG HORIZON Tenchi in Tokyo Mi cola D.I.C.E. Eureka Seven The Wonderful Galaxy of Oz Hamtaro Wizard Barristers: Benmashi Cecil Princess of Thieves Onegai My Melody Willo the Wisp Witch Hunter Robin Uchūsen Sagittarius Project Blue Earth SOS H2O: Footprints in the Sand Anohana: The Flower We Saw That Day Popeye the Sailor Rocko's Modern Life Todd McFarlane's Spawn Penguin Drum Burst Angel Galileo Donna Kid vs. Kat The Melancholy of Haruhi Suzumiya Psycho-Pass Night Raid 1931 Chip 'n Dale Rescue Rangers Calimero Mnemosyne Remi, Nobody's Girl Kim Possible: A Sitch in Time The Story of Pollyanna, Girl of Love Shima Shima Tora no Shimajirō Pink Panther and Pals Kabaneri of the Iron Fortress Hana Yori Dango Dastardly and Muttley in Their Flying Machines Saiyuki Cuéntame cómo pasó Boogiepop Phantom Wacky Races Akahori Gedou Hour Rabuge Gravity Falls Shimmer and Shine Wild Arms: Twilight Venom Freezing Stratos 4 The Emperor's New School Free! Soul Eater Not! The Wonderful Adventures of Nils Rugrats The Proud Family Tsuritama Transformers: Animated Negima!? Engage Planet Kiss Dum Berserk The Critic Garfield in the Rough Ah My Buddha Trigun Trapp Family Story The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos I Am the Greatest: The Adventures of Muhammad Ali Marumo no Okite Postman Pat Dora the Explorer Renkin 3-kyū Magical? Pokān
79
action count
action atmost
action find_tuple_counts
relation voice actor
type television program
type common name
value 6
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?d ) WHERE { ?j property:voice_actor ?e . ?j rdf:type ontology:television_program . ?e rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?d <= 6 ) }
[]