Simple Question (Direct)
Simple Question
Q3218110
P21
Q290
USER
Which sex does Larry Terry have ?
(Q3218110,P21,c(Q290))
action filter_type
action find
entity Q3218110
relation P21
type Q290
['Q3218110', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3218110 property:P21 ?v . ?v rdf:type ontology:Q290 }
Larry Terry
action filter_type
action find
entity Larry Terry
relation gender
type sex
['Larry Terry', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Larry_Terry property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3218110,P21,c(Q290))
action filter_type
action find
entity Q3218110
relation P21
type Q290
Larry Terry has a [ANSWER]
['Q3218110', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3218110 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
Larry Terry has a male
male
action filter_type
action find
entity Larry Terry
relation gender
type sex
['Larry Terry', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Larry_Terry property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3218110
P106
Q12737077
USER
What does that person do for a living ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q3218110
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3218110 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Larry Terry
action filter_type
action find
entity Larry Terry
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Larry_Terry property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q3218110
relation P106
type Q12737077
That person does a [ANSWER] for a living
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3218110 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
basketball player
That person does a basketball player for a living
basketball player
action filter_type
action find
entity Larry Terry
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Larry_Terry property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3218110
P54
Q12973014
USER
Which sports team is that person a member of ?
(Q3665646,P54,c(Q12973014))
action filter_type
action find
entity Q3218110
relation P54
type Q12973014
['Q3665646', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12973014 . resource:Q3218110 property:P54 ?w }
Larry Terry
action filter_type
action find
entity Larry Terry
relation member of sports team
type sports team
['basketball player', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sports_team . resource:Larry_Terry property:member_of_sports_team ?w }
[]
sports team
Q274570
SYSTEM
Élan Chalon
Q274570
(Q3665646,P54,c(Q12973014))
action filter_type
action find
entity Q3218110
relation P54
type Q12973014
[ANSWER] is that person a member of
['Q3665646', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12973014 . resource:Q3218110 property:P54 ?w }
Élan Chalon
Élan Chalon is that person a member of
Élan Chalon
action filter_type
action find
entity Larry Terry
relation member of sports team
type sports team
['basketball player', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sports_team . resource:Larry_Terry property:member_of_sports_team ?w }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q274570 Q142 Q9472
P17
Q15617994
USER
Is Élan Chalon present in France and Mompantero ?
(Q274570,P17,Q142) (Q274570,P17,Q9472)
action is_in
entity Q274570
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q9472
relation P17
['Q274570', 'P17', 'Q142'] ['Q274570', 'P17', 'Q9472']
ASK WHERE { resource:Q274570 property:P17 resource:Q142 . resource:Q274570 property:P17 resource:Q9472 }
Élan Chalon France Mompantero
action is_in
entity Élan Chalon
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Mompantero
relation country
['Élan Chalon', 'country', 'France'] ['Élan Chalon', 'country', 'Mompantero']
ASK WHERE { resource:Élan_Chalon property:country resource:France . resource:Élan_Chalon property:country resource:Mompantero }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q274570,P17,Q142) (Q274570,P17,Q9472)
action is_in
entity Q274570
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q9472
relation P17
[ANSWER]
['Q274570', 'P17', 'Q142'] ['Q274570', 'P17', 'Q9472']
ASK WHERE { resource:Q274570 property:P17 resource:Q142 . resource:Q274570 property:P17 resource:Q9472 }
YES and NO respectively
action is_in
entity Élan Chalon
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Mompantero
relation country
['Élan Chalon', 'country', 'France'] ['Élan Chalon', 'country', 'Mompantero']
ASK WHERE { resource:Élan_Chalon property:country resource:France . resource:Élan_Chalon property:country resource:Mompantero }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q274570
P641
Q349
USER
What did that sports team participate in ?
action filter_type
action find
entity Q274570
relation P641
type Q349
SELECT DISTINCT ?h WHERE { resource:Q274570 property:P641 ?h . ?h rdf:type ontology:Q349 }
Élan Chalon
action filter_type
action find
entity Élan Chalon
relation sport
type sport
SELECT DISTINCT ?h WHERE { resource:Élan_Chalon property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
action filter_type
action find
entity Q274570
relation P641
type Q349
That sports team participated in [ANSWER]
SELECT DISTINCT ?h WHERE { resource:Q274570 property:P641 ?h . ?h rdf:type ontology:Q349 }
basketball
That sports team participated in basketball
basketball
action filter_type
action find
entity Élan Chalon
relation sport
type sport
SELECT DISTINCT ?h WHERE { resource:Élan_Chalon property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q274570
P466
Q811979
USER
Which architectural structure is occupied by that sports team ?
(c(Q811979),P466,Q5372)
action filter_type
action find_reverse
entity Q274570
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q5372']
SELECT DISTINCT ?z WHERE { ?z property:P466 resource:Q274570 . ?z rdf:type ontology:Q811979 }
Élan Chalon
action filter_type
action find_reverse
entity Élan Chalon
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'basketball']
SELECT DISTINCT ?z WHERE { ?z property:occupant resource:Élan_Chalon . ?z rdf:type ontology:architectural_structure }
[]
architectural structure
Q3221561
SYSTEM
Le Colisée
Q3221561
(c(Q811979),P466,Q5372)
action filter_type
action find_reverse
entity Q274570
relation P466
type Q811979
[ANSWER] is occupied by that sports team
[{'concept': 'Q811979'}, 'P466', 'Q5372']
SELECT DISTINCT ?z WHERE { ?z property:P466 resource:Q274570 . ?z rdf:type ontology:Q811979 }
Le Colisée
Le Colisée is occupied by that sports team
Le Colisée
action filter_type
action find_reverse
entity Élan Chalon
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'basketball']
SELECT DISTINCT ?z WHERE { ?z property:occupant resource:Élan_Chalon . ?z rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3270339
P137
Q874405 Q811979
USER
Which social groups operates approximately the same number of architectural structures as Agenția Spațială Română ?
(c(Q811979),P137,c(Q874405))
action approx
action find_reverse_tuple_counts
relation P137
type Q874405
type Q811979
action count
action filter_type
action find
entity Q3270339
relation P137
type Q874405
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:P137 ?i . ?i rdf:type ontology:Q874405 . ?b rdf:type ontology:Q811979 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q3270339 property:P137 ?a . ?a rdf:type ontology:Q874405 } } . FILTER ( ?r = ?e ) }
Agenția Spațială Română
action approx
action find_reverse_tuple_counts
relation operator
type social group
type architectural structure
action count
action filter_type
action find
entity Agenția Spațială Română
relation operator
type social group
[{'concept': 'architectural structure'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:operator ?i . ?i rdf:type ontology:social_group . ?b rdf:type ontology:architectural_structure } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Agenția_Spațială_Română property:operator ?a . ?a rdf:type ontology:social_group } } . FILTER ( ?r = ?e ) }
[]
social group architectural structure
Q49653 Q7660181 Q7817
SYSTEM
ARD, Sydney Trains, World Health Organization
Q16996252 Q3488642 Q848890 Q785982 Q18561936 Q530087 Q980703 Q3537114 Q7894247 Q3488362 Q15706542 Q3270339 Q3276327 Q12177622 Q82574 Q11773243 Q1851405 Q49653 Q1154782 Q849730 Q986332 Q1619003 Q4303247 Q5760006 Q2226397 Q194166 Q572596 Q1424026 Q1765275 Q4970119 Q17019365 Q13408174 Q3246355 Q7437933 Q26925656 Q1186424 Q7988225 Q1583495 Q3177526 Q6670863 Q553927 Q1427829 Q8055767 Q5330408 Q7072743 Q6971538 Q3244480 Q17510471 Q5359399 Q1548380 Q682520 Q4922087 Q6269240 Q7055281 Q2991162 Q6955406 Q7010235 Q3246267 Q937756 Q1665150 Q295309 Q6208022 Q1960989 Q1377135 Q3826459 Q7915590 Q4826950 Q2925763 Q965133 Q407622 Q1504968 Q764847 Q698082 Q4650892 Q392496 Q6978050 Q2406946 Q795271 Q7101949 Q5916359 Q1069376 Q5124432 Q157031 Q6805545 Q6458663 Q737478 Q1376524 Q23936122 Q11153049 Q1043546 Q751860 Q1808041 Q838895 Q7660181 Q846656 Q4809254 Q1108347 Q1270805 Q6670591 Q6825146 Q11153052 Q3537922 Q7570387 Q388593 Q1009519 Q1148422 Q393618 Q570460 Q5260355 Q7817
(c(Q811979),P137,c(Q874405))
action approx
action find_reverse_tuple_counts
relation P137
type Q874405
type Q811979
action count
action filter_type
action find
entity Q3270339
relation P137
type Q874405
[ANSWERS] operate approximately the same number of architectural structures as Agenția Spațială Română
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:P137 ?i . ?i rdf:type ontology:Q874405 . ?b rdf:type ontology:Q811979 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q3270339 property:P137 ?a . ?a rdf:type ontology:Q874405 } } . FILTER ( ?r = ?e ) }
Lewisham and Greenwich NHS Trust Royal Astronomical Society of Canada Hisatsu Orange Railway United States Army Forces Command Nottingham City Museums and Galleries ATAC Instituto Antártico Argentino Kagoshima City Transportation Bureau Universities Allied for Essential Medicines Société générale de chemins de fer et de transports automobiles Georgia Ports Authority Agenția Spațială Română Ohmi Railway Metropolitan Washington Airports Authority First ScotRail Hellenic Civil Aviation Authority Met Office ARD DOSAAF Soviet space program EIRIN London Tramlink Finnish Maritime Administration Highways England BELNET consortium Iranian Space Agency Soviet Naval Aviation Swedish Sea Rescue Society British Institute of Organ Studies Transport for Edinburgh Indian Naval Air Arm British Transport Commission Scottish Region of British Railways Korean Polar Research Institute Television New Zealand Western Region of British Railways Observatorio Astronómico de Canarias Jersey Heritage London Transport Executive Marubeni Mars Society Yorkshire Wildlife Trust Eastern Region of British Railways ONDA National Coal Board London Transport Board College Baseball Foundation Sapporo City Transportation Bureau Palyam Transport for London Thai Red Cross Society Jisc North Eastern Region of British Railways Government of Australia NSW Trains New Mexico Spaceport Authority London Transport Executive Eclipse Foundation Institute of Cetacean Research AMSAT Jodrell Bank Centre for Astrophysics NIGCOMSAT Tokyo Metropolitan Bureau of Transportation London Regional Transport Soviet Armed Forces Autorite Portuaire Nationale British Trust for Ornithology Sohu Air National Guard Réseaux IP Européens Network Coordination Centre European Science Foundation Deutsche Reichsbahn ACT Territory and Municipal Services Directorate Agence métropolitaine de transport National Research Foundation of South Africa Teuchos Center Club alpin français Organization for Transformative Works Houston Airport System Chemins de fer de l'État Civil Aviation Authority of the Philippines foundation Media Standards Trust LIGO Scientific Collaboration First Capital Connect European Cyclists' Federation Jenolan Caves Reserve Trust Shenzhen Metro No.3 Line Investment Company Limited Carmelites of Mary Immaculate ASTRON Gemeente Vervoerbedrijf Government Flying Service Sydney Trains United Nations Relief and Works Agency for Palestine Refugees in the Near East Associated Universities, Inc. National Institute for Space Research Din l-Art Ħelwa London Midland Region of British Railways Metropolitan Nashville Airport Authority Shenzhen Metro Co.,Ltd Transports de l'Agglomération de Montpellier Southern Region of British Railways Metrovías Agency for Cultural Affairs United States Board on Geographic Names Discovery Committee Answers in Genesis Department of Infrastructure World Health Organization
ARD, Sydney Trains and World Health Organization operate approximately the same number of architectural structures as Agenția Spațială Română
ARD Sydney Trains World Health Organization
action approx
action find_reverse_tuple_counts
relation operator
type social group
type architectural structure
action count
action filter_type
action find
entity Agenția Spațială Română
relation operator
type social group
[{'concept': 'architectural structure'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:operator ?i . ?i rdf:type ontology:social_group . ?b rdf:type ontology:architectural_structure } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Agenția_Spațială_Română property:operator ?a . ?a rdf:type ontology:social_group } } . FILTER ( ?r = ?e ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7660181
P126
Q83620
USER
Which thoroughfares are that social group responsible for ?
(c(Q83620),P126,Q7660181)
action filter_type
action find_reverse
entity Q7660181
relation P126
type Q83620
[{'concept': 'Q83620'}, 'P126', 'Q7660181']
SELECT DISTINCT ?l WHERE { ?l property:P126 resource:Q7660181 . ?l rdf:type ontology:Q83620 }
Sydney Trains
action filter_type
action find_reverse
entity Sydney Trains
relation maintained by
type thoroughfare
[{'concept': 'thoroughfare'}, 'maintained by', 'Sydney Trains']
SELECT DISTINCT ?l WHERE { ?l property:maintained_by resource:Sydney_Trains . ?l rdf:type ontology:thoroughfare }
[]
thoroughfare
Clarification for simple ques.
Q7817
SYSTEM
Did you mean World Health Organization ?
Q49653 Q7660181 Q7817
(c(Q83620),P126,Q49653) (c(Q83620),P126,Q7660181) (c(Q83620),P126,Q7817)
[ANSWER]
[{'concept': 'Q83620'}, 'P126', 'Q49653'] [{'concept': 'Q83620'}, 'P126', 'Q7660181'] [{'concept': 'Q83620'}, 'P126', 'Q7817']
SELECT DISTINCT ?l WHERE { ?l property:P126 resource:Q7660181 . ?l rdf:type ontology:Q83620 }
ARD Sydney Trains World Health Organization
Did you mean World Health Organization ?
World Health Organization
[{'concept': 'thoroughfare'}, 'maintained by', 'ARD'] [{'concept': 'thoroughfare'}, 'maintained by', 'Sydney Trains'] [{'concept': 'thoroughfare'}, 'maintained by', 'World Health Organization']
SELECT DISTINCT ?l WHERE { ?l property:maintained_by resource:Sydney_Trains . ?l rdf:type ontology:thoroughfare }
[]
Simple Question (Coreferenced)
USER
No, I meant Sydney Trains. Could you tell me the answer for that?
(c(Q83620),P126,Q7660181)
Q7660181
[{'concept': 'Q83620'}, 'P126', 'Q7660181']
[{'concept': 'thoroughfare'}, 'maintained by', 'Sydney Trains']
[]
Q11467303 Q5187750 Q5330513
SYSTEM
Old Main South railway line, Cronulla railway line, Eastern Suburbs railway line
Q7056726 Q11465032 Q11467303 Q5328614 Q20026797 Q6736183 Q5330513 Q5187750 Q7331054 Q11444216 Q7427195 Q7420634 Q5383902 Q5041326
(c(Q83620),P126,Q7660181)
action filter_type
action find_reverse
entity Q7660181
relation P126
type Q83620
That social group are the [ANSWERS]
[{'concept': 'Q83620'}, 'P126', 'Q7660181']
SELECT DISTINCT ?l WHERE { ?l property:P126 resource:Q7660181 . ?l rdf:type ontology:Q83620 }
North Shore railway line Illawarra railway line Old Main South railway line East Hills railway line Bankstown railway line Main Suburban railway line Eastern Suburbs railway line Cronulla railway line Richmond railway line New Southern railway line Olympic Park railway line South West railway line Epping to Chatswood railway line Carlingford Line
That social group are the Old Main South railway line, Cronulla railway line and Eastern Suburbs railway line
Old Main South railway line Cronulla railway line Eastern Suburbs railway line
action filter_type
action find_reverse
entity Sydney Trains
relation maintained by
type thoroughfare
[{'concept': 'thoroughfare'}, 'maintained by', 'Sydney Trains']
SELECT DISTINCT ?l WHERE { ?l property:maintained_by resource:Sydney_Trains . ?l rdf:type ontology:thoroughfare }
[]