Simple Question (Direct)
Simple Question
Q6108776
P641
Q349
USER
Which sport did JP du Plessis participate in ?
(Q6108776,P641,c(Q349))
action filter_type
action find
entity Q6108776
relation P641
type Q349
['Q6108776', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6108776 property:P641 ?k . ?k rdf:type ontology:Q349 }
JP du Plessis
action filter_type
action find
entity JP du Plessis
relation sport
type sport
['JP du Plessis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:JP_du_Plessis property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q10962
SYSTEM
rugby league
Q10962
(Q6108776,P641,c(Q349))
action filter_type
action find
entity Q6108776
relation P641
type Q349
JP du Plessis participated in [ANSWER]
['Q6108776', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6108776 property:P641 ?k . ?k rdf:type ontology:Q349 }
rugby league
JP du Plessis participated in rugby league
rugby league
action filter_type
action find
entity JP du Plessis
relation sport
type sport
['JP du Plessis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:JP_du_Plessis property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6108776
P54
Q12973014
USER
Which sports teams are JP du Plessis a member of ?
(Q6108776,P54,c(Q12973014))
action filter_type
action find
entity Q6108776
relation P54
type Q12973014
['Q6108776', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { resource:Q6108776 property:P54 ?n . ?n rdf:type ontology:Q12973014 }
JP du Plessis
action filter_type
action find
entity JP du Plessis
relation member of sports team
type sports team
['JP du Plessis', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { resource:JP_du_Plessis property:member_of_sports_team ?n . ?n rdf:type ontology:sports_team }
[]
sports team
Q596985 Q1300399 Q2300859
SYSTEM
Montpellier Hérault Rugby, Melbourne Rebels, Western Province
Q596985 Q794910 Q1300399 Q2300859
(Q6108776,P54,c(Q12973014))
action filter_type
action find
entity Q6108776
relation P54
type Q12973014
[ANSWERS] are JP du Plessis a member of
['Q6108776', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { resource:Q6108776 property:P54 ?n . ?n rdf:type ontology:Q12973014 }
Montpellier Hérault Rugby Stormers Melbourne Rebels Western Province
Montpellier Hérault Rugby, Melbourne Rebels and Western Province are JP du Plessis a member of
Montpellier Hérault Rugby Melbourne Rebels Western Province
action filter_type
action find
entity JP du Plessis
relation member of sports team
type sports team
['JP du Plessis', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { resource:JP_du_Plessis property:member_of_sports_team ?n . ?n rdf:type ontology:sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q596985
P466
Q1076486
USER
What is occupied by that sports team ?
(c(Q1076486),P466,Q596985)
action filter_type
action find_reverse
entity Q596985
relation P466
type Q1076486
[{'concept': 'Q1076486'}, 'P466', 'Q596985']
SELECT DISTINCT ?y WHERE { ?y property:P466 resource:Q596985 . ?y rdf:type ontology:Q1076486 }
Montpellier Hérault Rugby
action filter_type
action find_reverse
entity Montpellier Hérault Rugby
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Montpellier Hérault Rugby']
SELECT DISTINCT ?y WHERE { ?y property:occupant resource:Montpellier_Hérault_Rugby . ?y rdf:type ontology:sports_venue }
[]
sports venue
Clarification for simple ques.
Q596985
SYSTEM
Did you mean Montpellier Hérault Rugby ?
Q596985 Q1300399 Q2300859
(c(Q1076486),P466,Q596985) (c(Q1076486),P466,Q1300399) (c(Q1076486),P466,Q2300859)
[ANSWER]
[{'concept': 'Q1076486'}, 'P466', 'Q596985'] [{'concept': 'Q1076486'}, 'P466', 'Q1300399'] [{'concept': 'Q1076486'}, 'P466', 'Q2300859']
SELECT DISTINCT ?y WHERE { ?y property:P466 resource:Q596985 . ?y rdf:type ontology:Q1076486 }
Montpellier Hérault Rugby Melbourne Rebels Western Province
Did you mean Montpellier Hérault Rugby ?
Montpellier Hérault Rugby
[{'concept': 'sports venue'}, 'occupant', 'Montpellier Hérault Rugby'] [{'concept': 'sports venue'}, 'occupant', 'Melbourne Rebels'] [{'concept': 'sports venue'}, 'occupant', 'Western Province']
SELECT DISTINCT ?y WHERE { ?y property:occupant resource:Montpellier_Hérault_Rugby . ?y rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1076486),P466,Q596985)
[{'concept': 'Q1076486'}, 'P466', 'Q596985']
[{'concept': 'sports venue'}, 'occupant', 'Montpellier Hérault Rugby']
[]
Q3495916
SYSTEM
Stade Yves-du-Manoir
Q3495916
(c(Q1076486),P466,Q596985)
action filter_type
action find_reverse
entity Q596985
relation P466
type Q1076486
[ANSWER] is occupied by that sports team
[{'concept': 'Q1076486'}, 'P466', 'Q596985']
SELECT DISTINCT ?y WHERE { ?y property:P466 resource:Q596985 . ?y rdf:type ontology:Q1076486 }
Stade Yves-du-Manoir
Stade Yves-du-Manoir is occupied by that sports team
Stade Yves-du-Manoir
action filter_type
action find_reverse
entity Montpellier Hérault Rugby
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Montpellier Hérault Rugby']
SELECT DISTINCT ?y WHERE { ?y property:occupant resource:Montpellier_Hérault_Rugby . ?y rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3495916
P466
Q12973014
USER
Who is an occupant of that sports venue ?
(Q3495916,P466,c(Q12973014))
action filter_type
action find
entity Q3495916
relation P466
type Q12973014
['Q3495916', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ?d WHERE { resource:Q3495916 property:P466 ?d . ?d rdf:type ontology:Q12973014 }
Stade Yves-du-Manoir
action filter_type
action find
entity Stade Yves-du-Manoir
relation occupant
type sports team
['Stade Yves-du-Manoir', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ?d WHERE { resource:Stade_Yves-du-Manoir property:occupant ?d . ?d rdf:type ontology:sports_team }
[]
sports team
Q596985
SYSTEM
Montpellier Hérault Rugby
Q596985
(Q3495916,P466,c(Q12973014))
action filter_type
action find
entity Q3495916
relation P466
type Q12973014
An occupant of that sports venue is [ANSWER]
['Q3495916', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ?d WHERE { resource:Q3495916 property:P466 ?d . ?d rdf:type ontology:Q12973014 }
Montpellier Hérault Rugby
An occupant of that sports venue is Montpellier Hérault Rugby
Montpellier Hérault Rugby
action filter_type
action find
entity Stade Yves-du-Manoir
relation occupant
type sports team
['Stade Yves-du-Manoir', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ?d WHERE { resource:Stade_Yves-du-Manoir property:occupant ?d . ?d rdf:type ontology:sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P641
Q31629 Q12973014
USER
How many types of sport did atleast 1 sports team participate in ?
(c(Q12973014),P641,c(Q31629))
action count
action atleast
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
value 1
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P641 ?j . ?j rdf:type ontology:Q31629 . ?h rdf:type ontology:Q12973014 } GROUP BY ?j } . FILTER ( ?o >= 1 ) }
action count
action atleast
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
value 1
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:sport ?j . ?j rdf:type ontology:type_of_sport . ?h rdf:type ontology:sports_team } GROUP BY ?j } . FILTER ( ?o >= 1 ) }
[]
type of sport sports team
SYSTEM
11
Q29358 Q216613 Q542 Q179687 Q272460 Q3609 Q14554839 Q186222 Q1128216 Q7735 Q48890
(c(Q12973014),P641,c(Q31629))
action count
action atleast
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
value 1
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P641 ?j . ?j rdf:type ontology:Q31629 . ?h rdf:type ontology:Q12973014 } GROUP BY ?j } . FILTER ( ?o >= 1 ) }
orienteering Nordic skiing athletics cross-country skiing Pilates road bicycle racing competitive fencing alpine skiing wheelchair basketball diving college basketball
11
action count
action atleast
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
value 1
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:sport ?j . ?j rdf:type ontology:type_of_sport . ?h rdf:type ontology:sports_team } GROUP BY ?j } . FILTER ( ?o >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q596985
P127
Q502895
USER
Which person does Montpellier Hérault Rugby belong to ?
(Q596985,P127,c(Q502895))
action filter_type
action find
entity Q596985
relation P127
type Q502895
['Q596985', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q596985 property:P127 ?l . ?l rdf:type ontology:Q502895 }
Montpellier Hérault Rugby
action filter_type
action find
entity Montpellier Hérault Rugby
relation owned by
type common name
['Montpellier Hérault Rugby', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Montpellier_Hérault_Rugby property:owned_by ?l . ?l rdf:type ontology:common_name }
[]
common name
Q3319121
SYSTEM
Mohed Altrad
Q3319121
(Q596985,P127,c(Q502895))
action filter_type
action find
entity Q596985
relation P127
type Q502895
Montpellier Hérault Rugby belongs to [ANSWER]
['Q596985', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q596985 property:P127 ?l . ?l rdf:type ontology:Q502895 }
Mohed Altrad
Montpellier Hérault Rugby belongs to Mohed Altrad
Mohed Altrad
action filter_type
action find
entity Montpellier Hérault Rugby
relation owned by
type common name
['Montpellier Hérault Rugby', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Montpellier_Hérault_Rugby property:owned_by ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7122348
Q502895
USER
And how about Pacific Clay?
(Q7122348,P127,c(Q502895))
action filter_type
action find
entity Q7122348
relation P127
type Q502895
['Q7122348', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q7122348 property:P127 ?p }
Pacific Clay
action filter_type
action find
entity Pacific Clay
relation owned by
type common name
['Pacific Clay', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Pacific_Clay property:owned_by ?p }
[]
common name
Q5234550
SYSTEM
David H. Murdock
Q5234550
(Q7122348,P127,c(Q502895))
action filter_type
action find
entity Q7122348
relation P127
type Q502895
[ANSWER]
['Q7122348', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q7122348 property:P127 ?p }
David H. Murdock
David H. Murdock
action filter_type
action find
entity Pacific Clay
relation owned by
type common name
['Pacific Clay', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Pacific_Clay property:owned_by ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5234550 Q30
P27
Q15617994
USER
Is that person an inhabitant of United States of America ?
(Q5234550,P27,Q30)
action is_in
entity Q30
action find
entity Q5234550
relation P27
['Q5234550', 'P27', 'Q30']
ASK WHERE { resource:Q5234550 property:P27 resource:Q30 }
David H. Murdock United States of America
action is_in
entity United States of America
action find
entity David H. Murdock
relation country of citizenship
['David H. Murdock', 'country of citizenship', 'United States of America']
ASK WHERE { resource:David_H._Murdock property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5234550,P27,Q30)
action is_in
entity Q30
action find
entity Q5234550
relation P27
[ANSWER]
['Q5234550', 'P27', 'Q30']
ASK WHERE { resource:Q5234550 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity David H. Murdock
relation country of citizenship
['David H. Murdock', 'country of citizenship', 'United States of America']
ASK WHERE { resource:David_H._Murdock property:country_of_citizenship resource:United_States_of_America }
[]