Simple Question (Direct)
Simple Question
Q5219630
P27
Q15617994
USER
Which administrative territory is Danilo Ribeiro an inhabitant of ?
(Q5219630,P27,c(Q15617994))
action filter_type
action find
entity Q5219630
relation P27
type Q15617994
['Q5219630', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q5219630 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Danilo Ribeiro
action filter_type
action find
entity Danilo Ribeiro
relation country of citizenship
type designation for an administrative territorial entity
['Danilo Ribeiro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Danilo_Ribeiro property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q5219630,P27,c(Q15617994))
action filter_type
action find
entity Q5219630
relation P27
type Q15617994
[ANSWER] is Danilo Ribeiro an inhabitant of
['Q5219630', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q5219630 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Brazil
Brazil is Danilo Ribeiro an inhabitant of
Brazil
action filter_type
action find
entity Danilo Ribeiro
relation country of citizenship
type designation for an administrative territorial entity
['Danilo Ribeiro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Danilo_Ribeiro property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155
P740
Q43229
USER
Which organization was formed at that administrative territory ?
(c(Q43229),P740,Q155)
action filter_type
action find_reverse
entity Q155
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q155']
SELECT DISTINCT ?d WHERE { ?d property:P740 resource:Q155 . ?d rdf:type ontology:Q43229 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Brazil']
SELECT DISTINCT ?d WHERE { ?d property:location_of_formation resource:Brazil . ?d rdf:type ontology:organization }
[]
organization
Q7832454
SYSTEM
Traffic Group
Q7832454
(c(Q43229),P740,Q155)
action filter_type
action find_reverse
entity Q155
relation P740
type Q43229
[ANSWER] was formed at that administrative territory
[{'concept': 'Q43229'}, 'P740', 'Q155']
SELECT DISTINCT ?d WHERE { ?d property:P740 resource:Q155 . ?d rdf:type ontology:Q43229 }
Traffic Group
Traffic Group was formed at that administrative territory
Traffic Group
action filter_type
action find_reverse
entity Brazil
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Brazil']
SELECT DISTINCT ?d WHERE { ?d property:location_of_formation resource:Brazil . ?d rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7832454
P159
Q56061
USER
Which administrative territory is the headquarter location of that organization ?
(Q7832454,P159,c(Q56061))
action filter_type
action find
entity Q7832454
relation P159
type Q56061
['Q7832454', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q7832454 property:P159 ?j . ?j rdf:type ontology:Q56061 }
Traffic Group
action filter_type
action find
entity Traffic Group
relation headquarters location
type administrative territorial entity
['Traffic Group', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Traffic_Group property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q174
SYSTEM
São Paulo
Q174
(Q7832454,P159,c(Q56061))
action filter_type
action find
entity Q7832454
relation P159
type Q56061
[ANSWER] is the headquarter location of that organization
['Q7832454', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q7832454 property:P159 ?j . ?j rdf:type ontology:Q56061 }
São Paulo
São Paulo is the headquarter location of that organization
São Paulo
action filter_type
action find
entity Traffic Group
relation headquarters location
type administrative territorial entity
['Traffic Group', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Traffic_Group property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P466
Q43229 Q811979 Q1076486
USER
Which organizations are an occupants of exactly 2 architectural structures and sports venues ?
(c(Q811979)|c(Q1076486),P466,c(Q43229))
action equal
action union
action find_reverse_tuple_counts
relation P466
type Q43229
type Q811979
action find_reverse_tuple_counts
relation P466
type Q43229
type Q1076486
value 2
[[{'concept': 'Q811979'}, {'concept': 'Q1076486'}], 'P466', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?f ) WHERE { { ?r property:P466 ?y . ?y rdf:type ontology:Q43229 . ?r rdf:type ontology:Q811979 } UNION { ?r rdf:type ontology:Q1076486 . ?y rdf:type ontology:Q43229 . ?r property:P466 ?y } } GROUP BY ?y } . FILTER ( ?f = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation occupant
type organization
type architectural structure
action find_reverse_tuple_counts
relation occupant
type organization
type sports venue
value 2
[[{'concept': 'architectural structure'}, {'concept': 'sports venue'}], 'occupant', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?f ) WHERE { { ?r property:occupant ?y . ?y rdf:type ontology:organization . ?r rdf:type ontology:architectural_structure } UNION { ?r rdf:type ontology:sports_venue . ?y rdf:type ontology:organization . ?r property:occupant ?y } } GROUP BY ?y } . FILTER ( ?f = 2 ) }
[]
organization architectural structure sports venue
Q18656 Q151521 Q678745
SYSTEM
Manchester United F.C., Texas A&M Aggies, Navy Midshipmen
Q151521 Q18656 Q678745 Q4884328
(c(Q811979)|c(Q1076486),P466,c(Q43229))
action equal
action union
action find_reverse_tuple_counts
relation P466
type Q43229
type Q811979
action find_reverse_tuple_counts
relation P466
type Q43229
type Q1076486
value 2
[ANSWERS] are an occupants of exactly 2 architectural structures and sports venues
[[{'concept': 'Q811979'}, {'concept': 'Q1076486'}], 'P466', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?f ) WHERE { { ?r property:P466 ?y . ?y rdf:type ontology:Q43229 . ?r rdf:type ontology:Q811979 } UNION { ?r rdf:type ontology:Q1076486 . ?y rdf:type ontology:Q43229 . ?r property:P466 ?y } } GROUP BY ?y } . FILTER ( ?f = 2 ) }
Texas A&M Aggies Manchester United F.C. Navy Midshipmen Belmont Bruins
Manchester United F.C., Texas A&M Aggies and Navy Midshipmen are an occupants of exactly 2 architectural structures and sports venues
Manchester United F.C. Texas A&M Aggies Navy Midshipmen
action equal
action union
action find_reverse_tuple_counts
relation occupant
type organization
type architectural structure
action find_reverse_tuple_counts
relation occupant
type organization
type sports venue
value 2
[[{'concept': 'architectural structure'}, {'concept': 'sports venue'}], 'occupant', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?f ) WHERE { { ?r property:occupant ?y . ?y rdf:type ontology:organization . ?r rdf:type ontology:architectural_structure } UNION { ?r rdf:type ontology:sports_venue . ?y rdf:type ontology:organization . ?r property:occupant ?y } } GROUP BY ?y } . FILTER ( ?f = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18656
P115
Q1076486
USER
Which sports venue is the ground of Manchester United F.C. ?
(Q18656,P115,c(Q1076486))
action filter_type
action find
entity Q18656
relation P115
type Q1076486
['Q18656', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?p WHERE { resource:Q18656 property:P115 ?p . ?p rdf:type ontology:Q1076486 }
Manchester United F.C.
action filter_type
action find
entity Manchester United F.C.
relation home venue
type sports venue
['Manchester United F.C.', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?p WHERE { resource:Manchester_United_F.C. property:home_venue ?p . ?p rdf:type ontology:sports_venue }
[]
sports venue
Q83457
SYSTEM
Old Trafford
Q83457
(Q18656,P115,c(Q1076486))
action filter_type
action find
entity Q18656
relation P115
type Q1076486
[ANSWER] is the ground of Manchester United F.C.
['Q18656', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?p WHERE { resource:Q18656 property:P115 ?p . ?p rdf:type ontology:Q1076486 }
Old Trafford
Old Trafford is the ground of Manchester United F.C.
Old Trafford
action filter_type
action find
entity Manchester United F.C.
relation home venue
type sports venue
['Manchester United F.C.', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?p WHERE { resource:Manchester_United_F.C. property:home_venue ?p . ?p rdf:type ontology:sports_venue }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18656
P108
Q502895
USER
What are the name of people who works for Manchester United F.C. ?
(c(Q502895),P108,Q18656)
action filter_type
action find_reverse
entity Q18656
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q18656']
SELECT DISTINCT ?p WHERE { ?p property:P108 resource:Q18656 . ?p rdf:type ontology:Q502895 }
Manchester United F.C.
action filter_type
action find_reverse
entity Manchester United F.C.
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Manchester United F.C.']
SELECT DISTINCT ?p WHERE { ?p property:employer resource:Manchester_United_F.C. . ?p rdf:type ontology:common_name }
[]
common name
Q44980 Q79983 Q2062526
SYSTEM
Alex Ferguson, José Mourinho, Ricky Sbragia
Q2062526 Q1677196 Q79983 Q207431 Q44980 Q7823639
(c(Q502895),P108,Q18656)
action filter_type
action find_reverse
entity Q18656
relation P108
type Q502895
The name of people works for Manchester United F.C. are Ferguson [ANSWERS]
[{'concept': 'Q502895'}, 'P108', 'Q18656']
SELECT DISTINCT ?p WHERE { ?p property:P108 resource:Q18656 . ?p rdf:type ontology:Q502895 }
Ricky Sbragia Jack Robson José Mourinho Louis van Gaal Alex Ferguson Tony Walmsley
The name of people works for Manchester United F.C. are Ferguson Alex Ferguson, José Mourinho and Ricky Sbragia
Alex Ferguson José Mourinho Ricky Sbragia
action filter_type
action find_reverse
entity Manchester United F.C.
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Manchester United F.C.']
SELECT DISTINCT ?p WHERE { ?p property:employer resource:Manchester_United_F.C. . ?p rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q44980
P69
Q3914
USER
Which school was that person educated at ?
(Q44980,P69,c(Q3914))
action filter_type
action find
entity Q44980
relation P69
type Q3914
['Q44980', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3914 . resource:Q44980 property:P69 ?p }
Alex Ferguson
action filter_type
action find
entity Alex Ferguson
relation educated at
type school
['Alex Ferguson', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:school . resource:Alex_Ferguson property:educated_at ?p }
[]
school
Clarification for simple ques.
Q2062526
SYSTEM
Did you mean Ricky Sbragia ?
Q44980 Q79983 Q2062526
(Q44980,P69,c(Q3914)) (Q79983,P69,c(Q3914)) (Q2062526,P69,c(Q3914))
[ANSWER]
['Q44980', 'P69', {'concept': 'Q3914'}] ['Q79983', 'P69', {'concept': 'Q3914'}] ['Q2062526', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3914 . resource:Q44980 property:P69 ?p }
Alex Ferguson José Mourinho Ricky Sbragia
Did you mean Ricky Sbragia ?
Ricky Sbragia
['Alex Ferguson', 'educated at', {'concept': 'school'}] ['José Mourinho', 'educated at', {'concept': 'school'}] ['Ricky Sbragia', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:school . resource:Alex_Ferguson property:educated_at ?p }
[]
Simple Question (Coreferenced)
USER
No, I meant Alex Ferguson. Could you tell me the answer for that?
(Q44980,P69,c(Q3914))
Q44980
['Q44980', 'P69', {'concept': 'Q3914'}]
['Alex Ferguson', 'educated at', {'concept': 'school'}]
[]
Q5588563
SYSTEM
Govan High School
Q5588563
(Q44980,P69,c(Q3914))
action filter_type
action find
entity Q44980
relation P69
type Q3914
That person was educated at [ANSWER]
['Q44980', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3914 . resource:Q44980 property:P69 ?p }
Govan High School
That person was educated at Govan High School
Govan High School
action filter_type
action find
entity Alex Ferguson
relation educated at
type school
['Alex Ferguson', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:school . resource:Alex_Ferguson property:educated_at ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q83457
P800
Q502895
USER
How many people have Old Trafford as a notable work ?
(c(Q502895),P800,Q83457)
action count
action filter_type
action find_reverse
entity Q83457
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q83457']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P800 resource:Q83457 . ?u rdf:type ontology:Q502895 }
Old Trafford
action count
action filter_type
action find_reverse
entity Old Trafford
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Old Trafford']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:notable_work resource:Old_Trafford . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q344137
(c(Q502895),P800,Q83457)
action count
action filter_type
action find_reverse
entity Q83457
relation P800
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q83457']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P800 resource:Q83457 . ?u rdf:type ontology:Q502895 }
Archibald Leitch
1
action count
action filter_type
action find_reverse
entity Old Trafford
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Old Trafford']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:notable_work resource:Old_Trafford . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2635720
P84
Q502895
USER
Who architected Rochester Cathedral ?
(Q2635720,P84,c(Q502895))
action filter_type
action find
entity Q2635720
relation P84
type Q502895
['Q2635720', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q2635720 property:P84 ?q }
Rochester Cathedral
action filter_type
action find
entity Rochester Cathedral
relation architect
type common name
['Rochester Cathedral', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Rochester_Cathedral property:architect ?q }
[]
common name
Q3198512
SYSTEM
Gundulf
Q3198512
(Q2635720,P84,c(Q502895))
action filter_type
action find
entity Q2635720
relation P84
type Q502895
[ANSWER] architected Rochester Cathedral
['Q2635720', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q2635720 property:P84 ?q }
Gundulf
Gundulf architected Rochester Cathedral
Gundulf
action filter_type
action find
entity Rochester Cathedral
relation architect
type common name
['Rochester Cathedral', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Rochester_Cathedral property:architect ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2635720
P119
Q502895
USER
Which people have that church as his/her tomb ?
(c(Q502895),P119,Q3198512)
action filter_type
action find_reverse
entity Q2635720
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q3198512']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P119 resource:Q2635720 }
Rochester Cathedral
action filter_type
action find_reverse
entity Rochester Cathedral
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Gundulf']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_burial resource:Rochester_Cathedral }
[]
common name
Q7329845 Q4887328
SYSTEM
Richard Watts, Benedict of Sausetun
Q7329845 Q4887328
(c(Q502895),P119,Q3198512)
action filter_type
action find_reverse
entity Q2635720
relation P119
type Q502895
[ANSWERS] have that church as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q3198512']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P119 resource:Q2635720 }
Richard Watts Benedict of Sausetun
Richard Watts and Benedict of Sausetun have that church as his/her tomb
Richard Watts Benedict of Sausetun
action filter_type
action find_reverse
entity Rochester Cathedral
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Gundulf']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_burial resource:Rochester_Cathedral }
[]