Simple Question (Direct)
Simple Question
Q5933180
P19
Q56061
USER
Which administrative territory was Hugh de Largie born in ?
(Q5933180,P19,c(Q56061))
action filter_type
action find
entity Q5933180
relation P19
type Q56061
['Q5933180', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q5933180 property:P19 ?t }
Hugh de Largie
action filter_type
action find
entity Hugh de Largie
relation place of birth
type administrative territorial entity
['Hugh de Largie', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Hugh_de_Largie property:place_of_birth ?t }
[]
administrative territorial entity
Q408536
SYSTEM
Airdrie
Q408536
(Q5933180,P19,c(Q56061))
action filter_type
action find
entity Q5933180
relation P19
type Q56061
Hugh de Largie was born in [ANSWER]
['Q5933180', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q5933180 property:P19 ?t }
Airdrie
Hugh de Largie was born in Airdrie
Airdrie
action filter_type
action find
entity Hugh de Largie
relation place of birth
type administrative territorial entity
['Hugh de Largie', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Hugh_de_Largie property:place_of_birth ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5933180
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q408536,P102,c(Q7210356))
action filter_type
action find
entity Q5933180
relation P102
type Q7210356
['Q408536', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q5933180 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Hugh de Largie
action filter_type
action find
entity Hugh de Largie
relation member of political party
type political organization
['Airdrie', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Hugh_de_Largie property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
political organization
Q216082
SYSTEM
Australian Labor Party
Q216082
(Q408536,P102,c(Q7210356))
action filter_type
action find
entity Q5933180
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q408536', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q5933180 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Australian Labor Party
That person is affiliated with Australian Labor Party
Australian Labor Party
action filter_type
action find
entity Hugh de Largie
relation member of political party
type political organization
['Airdrie', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Hugh_de_Largie property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5933180
P106
Q151885
USER
What does Hugh de Largie do for a living ?
(Q5933180,P106,c(Q151885))
action filter_type
action find
entity Q5933180
relation P106
type Q151885
['Q5933180', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?t WHERE { resource:Q5933180 property:P106 ?t . ?t rdf:type ontology:Q151885 }
Hugh de Largie
action filter_type
action find
entity Hugh de Largie
relation occupation
type concept
['Hugh de Largie', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?t WHERE { resource:Hugh_de_Largie property:occupation ?t . ?t rdf:type ontology:concept }
[]
concept
Q15627169
SYSTEM
trade unionist
Q15627169
(Q5933180,P106,c(Q151885))
action filter_type
action find
entity Q5933180
relation P106
type Q151885
Hugh de Largie does for a living a [ANSWER]
['Q5933180', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?t WHERE { resource:Q5933180 property:P106 ?t . ?t rdf:type ontology:Q151885 }
trade unionist
Hugh de Largie does for a living a trade unionist
trade unionist
action filter_type
action find
entity Hugh de Largie
relation occupation
type concept
['Hugh de Largie', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?t WHERE { resource:Hugh_de_Largie property:occupation ?t . ?t rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15627169
P39
Q502895
USER
Who was responsible for occupying the position of that concept ?
(c(Q502895),P39,Q15627169)
action filter_type
action find_reverse
entity Q15627169
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q15627169']
SELECT DISTINCT ?f WHERE { ?f property:P39 resource:Q15627169 . ?f rdf:type ontology:Q502895 }
trade unionist
action filter_type
action find_reverse
entity trade unionist
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'trade unionist']
SELECT DISTINCT ?f WHERE { ?f property:position_held resource:trade_unionist . ?f rdf:type ontology:common_name }
[]
common name
Q17497034
SYSTEM
Paul-Henri Ravel
Q17497034
(c(Q502895),P39,Q15627169)
action filter_type
action find_reverse
entity Q15627169
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of that concept
[{'concept': 'Q502895'}, 'P39', 'Q15627169']
SELECT DISTINCT ?f WHERE { ?f property:P39 resource:Q15627169 . ?f rdf:type ontology:Q502895 }
Paul-Henri Ravel
Paul-Henri Ravel was responsible for occupying the position of that concept
Paul-Henri Ravel
action filter_type
action find_reverse
entity trade unionist
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'trade unionist']
SELECT DISTINCT ?f WHERE { ?f property:position_held resource:trade_unionist . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15627169
P425
Q43229
USER
Who is associated with the field of occupation that concept ?
(Q17497034,P425,c(Q43229))
action filter_type
action find
entity Q15627169
relation P425
type Q43229
['Q17497034', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q15627169 property:P425 ?i . ?i rdf:type ontology:Q43229 }
trade unionist
action filter_type
action find
entity trade unionist
relation field of this occupation
type organization
['Paul-Henri Ravel', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:trade_unionist property:field_of_this_occupation ?i . ?i rdf:type ontology:organization }
[]
organization
Q178790
SYSTEM
trade union
Q178790
(Q17497034,P425,c(Q43229))
action filter_type
action find
entity Q15627169
relation P425
type Q43229
[ANSWER] is associated with the field of occupation that concept
['Q17497034', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q15627169 property:P425 ?i . ?i rdf:type ontology:Q43229 }
trade union
Trade union is associated with the field of occupation that concept
trade union
action filter_type
action find
entity trade unionist
relation field of this occupation
type organization
['Paul-Henri Ravel', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:trade_unionist property:field_of_this_occupation ?i . ?i rdf:type ontology:organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q384730
P466
Q43229 Q1076486 Q483110
USER
Which organizations are occupants of greater number of sports venues and stadia than Obayashi Corporation ?
(c(Q1076486)|c(Q483110),P466,c(Q43229))
action greater
action union
action find_reverse_tuple_counts
relation P466
type Q43229
type Q1076486
action find_reverse_tuple_counts
relation P466
type Q43229
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q384730
relation P466
type Q1076486
type Q483110
[[{'concept': 'Q1076486'}, {'concept': 'Q483110'}], 'P466', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?q ) WHERE { { ?u property:P466 ?y . ?y rdf:type ontology:Q43229 . ?u rdf:type ontology:Q483110 } UNION { ?u property:P466 ?y . ?u rdf:type ontology:Q1076486 . ?y rdf:type ontology:Q43229 } } GROUP BY ?y } . FILTER ( ?q > ?d ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P466 resource:Q384730 . { { ?l rdf:type ontology:Q1076486 } UNION { ?l rdf:type ontology:Q483110 } } } } }
Obayashi Corporation
action greater
action union
action find_reverse_tuple_counts
relation occupant
type organization
type sports venue
action find_reverse_tuple_counts
relation occupant
type organization
type stadium
action count
action filter_multi_types
action find_reverse
entity Obayashi Corporation
relation occupant
type sports venue
type stadium
[[{'concept': 'sports venue'}, {'concept': 'stadium'}], 'occupant', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?q ) WHERE { { ?u property:occupant ?y . ?y rdf:type ontology:organization . ?u rdf:type ontology:stadium } UNION { ?u property:occupant ?y . ?u rdf:type ontology:sports_venue . ?y rdf:type ontology:organization } } GROUP BY ?y } . FILTER ( ?q > ?d ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:occupant resource:Obayashi_Corporation . { { ?l rdf:type ontology:sports_venue } UNION { ?l rdf:type ontology:stadium } } } } }
[]
organization sports venue stadium
Q1422 Q18656 Q494795
SYSTEM
Juventus F.C., Manchester United F.C., Korea Baseball Organization
Q94849 Q18656 Q494795 Q678745 Q2927468 Q569417 Q1422 Q971195 Q920562 Q7631308
(c(Q1076486)|c(Q483110),P466,c(Q43229))
action greater
action union
action find_reverse_tuple_counts
relation P466
type Q43229
type Q1076486
action find_reverse_tuple_counts
relation P466
type Q43229
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q384730
relation P466
type Q1076486
type Q483110
[ANSWERS] are occupants of greater number of sports venues and stadia than Obayashi Corporation
[[{'concept': 'Q1076486'}, {'concept': 'Q483110'}], 'P466', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?q ) WHERE { { ?u property:P466 ?y . ?y rdf:type ontology:Q43229 . ?u rdf:type ontology:Q483110 } UNION { ?u property:P466 ?y . ?u rdf:type ontology:Q1076486 . ?y rdf:type ontology:Q43229 } } GROUP BY ?y } . FILTER ( ?q > ?d ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P466 resource:Q384730 . { { ?l rdf:type ontology:Q1076486 } UNION { ?l rdf:type ontology:Q483110 } } } } }
Odebrecht Manchester United F.C. Korea Baseball Organization Navy Midshipmen Ohio State Buckeyes Anschutz Entertainment Group Juventus F.C. Alabama Crimson Tide Gator Bowl Subiaco Football Club
Juventus F.C., Manchester United F.C. and Korea Baseball Organization are occupants of greater number of sports venues and stadia than Obayashi Corporation
Juventus F.C. Manchester United F.C. Korea Baseball Organization
action greater
action union
action find_reverse_tuple_counts
relation occupant
type organization
type sports venue
action find_reverse_tuple_counts
relation occupant
type organization
type stadium
action count
action filter_multi_types
action find_reverse
entity Obayashi Corporation
relation occupant
type sports venue
type stadium
[[{'concept': 'sports venue'}, {'concept': 'stadium'}], 'occupant', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?q ) WHERE { { ?u property:occupant ?y . ?y rdf:type ontology:organization . ?u rdf:type ontology:stadium } UNION { ?u property:occupant ?y . ?u rdf:type ontology:sports_venue . ?y rdf:type ontology:organization } } GROUP BY ?y } . FILTER ( ?q > ?d ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:occupant resource:Obayashi_Corporation . { { ?l rdf:type ontology:sports_venue } UNION { ?l rdf:type ontology:stadium } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1654229
P466
Q43229 Q1076486 Q483110
USER
And what about Inpex?
(c(Q1076486)|c(Q483110),P466,c(Q43229))
action greater
action union
action find_reverse_tuple_counts
relation P466
type Q43229
type Q1076486
action find_reverse_tuple_counts
relation P466
type Q43229
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q1654229
relation P466
type Q1076486
type Q483110
[[{'concept': 'Q1076486'}, {'concept': 'Q483110'}], 'P466', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { { ?c rdf:type ontology:Q483110 } UNION { ?c rdf:type ontology:Q1076486 } } . ?c property:P466 resource:Q1654229 } } . FILTER ( ?b > ?n ) . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:P466 ?y . ?r rdf:type ontology:Q1076486 . ?y rdf:type ontology:Q43229 } UNION { ?r property:P466 ?y . ?y rdf:type ontology:Q43229 . ?r rdf:type ontology:Q483110 } } GROUP BY ?y } }
Inpex
action greater
action union
action find_reverse_tuple_counts
relation occupant
type organization
type sports venue
action find_reverse_tuple_counts
relation occupant
type organization
type stadium
action count
action filter_multi_types
action find_reverse
entity Inpex
relation occupant
type sports venue
type stadium
[[{'concept': 'sports venue'}, {'concept': 'stadium'}], 'occupant', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { { ?c rdf:type ontology:stadium } UNION { ?c rdf:type ontology:sports_venue } } . ?c property:occupant resource:Inpex } } . FILTER ( ?b > ?n ) . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:occupant ?y . ?r rdf:type ontology:sports_venue . ?y rdf:type ontology:organization } UNION { ?r property:occupant ?y . ?y rdf:type ontology:organization . ?r rdf:type ontology:stadium } } GROUP BY ?y } }
[]
organization sports venue stadium
Q1422 Q18656 Q494795
SYSTEM
Juventus F.C., Manchester United F.C., Korea Baseball Organization
Q94849 Q18656 Q494795 Q678745 Q2927468 Q569417 Q1422 Q971195 Q920562 Q7631308
(c(Q1076486)|c(Q483110),P466,c(Q43229))
action greater
action union
action find_reverse_tuple_counts
relation P466
type Q43229
type Q1076486
action find_reverse_tuple_counts
relation P466
type Q43229
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q1654229
relation P466
type Q1076486
type Q483110
[ANSWERS]
[[{'concept': 'Q1076486'}, {'concept': 'Q483110'}], 'P466', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { { ?c rdf:type ontology:Q483110 } UNION { ?c rdf:type ontology:Q1076486 } } . ?c property:P466 resource:Q1654229 } } . FILTER ( ?b > ?n ) . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:P466 ?y . ?r rdf:type ontology:Q1076486 . ?y rdf:type ontology:Q43229 } UNION { ?r property:P466 ?y . ?y rdf:type ontology:Q43229 . ?r rdf:type ontology:Q483110 } } GROUP BY ?y } }
Odebrecht Manchester United F.C. Korea Baseball Organization Navy Midshipmen Ohio State Buckeyes Anschutz Entertainment Group Juventus F.C. Alabama Crimson Tide Gator Bowl Subiaco Football Club
Juventus F.C. Manchester United F.C. Korea Baseball Organization
action greater
action union
action find_reverse_tuple_counts
relation occupant
type organization
type sports venue
action find_reverse_tuple_counts
relation occupant
type organization
type stadium
action count
action filter_multi_types
action find_reverse
entity Inpex
relation occupant
type sports venue
type stadium
[[{'concept': 'sports venue'}, {'concept': 'stadium'}], 'occupant', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { { ?c rdf:type ontology:stadium } UNION { ?c rdf:type ontology:sports_venue } } . ?c property:occupant resource:Inpex } } . FILTER ( ?b > ?n ) . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:occupant ?y . ?r rdf:type ontology:sports_venue . ?y rdf:type ontology:organization } UNION { ?r property:occupant ?y . ?y rdf:type ontology:organization . ?r rdf:type ontology:stadium } } GROUP BY ?y } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1422
P710
Q13406554
USER
What event was that organization a participant of ?
(c(Q13406554),P710,Q1422)
action filter_type
action find_reverse
entity Q1422
relation P710
type Q13406554
[{'concept': 'Q13406554'}, 'P710', 'Q1422']
SELECT DISTINCT ?y WHERE { ?y property:P710 resource:Q1422 . ?y rdf:type ontology:Q13406554 }
Juventus F.C.
action filter_type
action find_reverse
entity Juventus F.C.
relation participant
type sport competition
[{'concept': 'sport competition'}, 'participant', 'Juventus F.C.']
SELECT DISTINCT ?y WHERE { ?y property:participant resource:Juventus_F.C. . ?y rdf:type ontology:sport_competition }
[]
sport competition
Clarification for simple ques.
Q1422
SYSTEM
Did you mean Juventus F.C. ?
Q1422 Q18656 Q494795
(c(Q13406554),P710,Q1422) (c(Q13406554),P710,Q18656) (c(Q13406554),P710,Q494795)
[ANSWER]
[{'concept': 'Q13406554'}, 'P710', 'Q1422'] [{'concept': 'Q13406554'}, 'P710', 'Q18656'] [{'concept': 'Q13406554'}, 'P710', 'Q494795']
SELECT DISTINCT ?y WHERE { ?y property:P710 resource:Q1422 . ?y rdf:type ontology:Q13406554 }
Juventus F.C. Manchester United F.C. Korea Baseball Organization
Did you mean Juventus F.C. ?
Juventus F.C.
[{'concept': 'sport competition'}, 'participant', 'Juventus F.C.'] [{'concept': 'sport competition'}, 'participant', 'Manchester United F.C.'] [{'concept': 'sport competition'}, 'participant', 'Korea Baseball Organization']
SELECT DISTINCT ?y WHERE { ?y property:participant resource:Juventus_F.C. . ?y rdf:type ontology:sport_competition }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q13406554),P710,Q1422)
[{'concept': 'Q13406554'}, 'P710', 'Q1422']
[{'concept': 'sport competition'}, 'participant', 'Juventus F.C.']
[]
Q13557593
SYSTEM
2015 UEFA Champions League Final
Q13557593
(c(Q13406554),P710,Q1422)
action filter_type
action find_reverse
entity Q1422
relation P710
type Q13406554
What event was that organization a participant of
[{'concept': 'Q13406554'}, 'P710', 'Q1422']
SELECT DISTINCT ?y WHERE { ?y property:P710 resource:Q1422 . ?y rdf:type ontology:Q13406554 }
2015 UEFA Champions League Final
What event was that organization a participant of
2015 UEFA Champions League Final
action filter_type
action find_reverse
entity Juventus F.C.
relation participant
type sport competition
[{'concept': 'sport competition'}, 'participant', 'Juventus F.C.']
SELECT DISTINCT ?y WHERE { ?y property:participant resource:Juventus_F.C. . ?y rdf:type ontology:sport_competition }
[]