Simple Question (Direct)
Simple Question
Q3786825
P54
Q1194951
USER
Which national sports team is Horst Borcherding a member of ?
(Q3786825,P54,c(Q1194951))
action filter_type
action find
entity Q3786825
relation P54
type Q1194951
['Q3786825', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q3786825 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Horst Borcherding
action filter_type
action find
entity Horst Borcherding
relation member of sports team
type national sports team
['Horst Borcherding', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Horst_Borcherding property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
national sports team
Q156975
SYSTEM
Saarland national football team
Q156975
(Q3786825,P54,c(Q1194951))
action filter_type
action find
entity Q3786825
relation P54
type Q1194951
The [ANSWER] is Horst Borcherding a member of
['Q3786825', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q3786825 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Saarland national football team
The Saarland national football team is Horst Borcherding a member of
Saarland national football team
action filter_type
action find
entity Horst Borcherding
relation member of sports team
type national sports team
['Horst Borcherding', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Horst_Borcherding property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3786825
P641
Q349
USER
What did Horst Borcherding participate in ?
(Q3786825,P641,c(Q349))
action filter_type
action find
entity Q3786825
relation P641
type Q349
['Q3786825', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q3786825 property:P641 ?h . ?h rdf:type ontology:Q349 }
Horst Borcherding
action filter_type
action find
entity Horst Borcherding
relation sport
type sport
['Horst Borcherding', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Horst_Borcherding property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3786825,P641,c(Q349))
action filter_type
action find
entity Q3786825
relation P641
type Q349
Horst Borcherding participated in [ANSWER]
['Q3786825', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q3786825 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
Horst Borcherding participated in association football
association football
action filter_type
action find
entity Horst Borcherding
relation sport
type sport
['Horst Borcherding', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Horst_Borcherding property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3786825
P20
Q486972
USER
Where did the expiration of that person occur ?
(Q2736,P20,c(Q486972))
action filter_type
action find
entity Q3786825
relation P20
type Q486972
['Q2736', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { resource:Q3786825 property:P20 ?s . ?s rdf:type ontology:Q486972 }
Horst Borcherding
action filter_type
action find
entity Horst Borcherding
relation place of death
type human settlement
['association football', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { resource:Horst_Borcherding property:place_of_death ?s . ?s rdf:type ontology:human_settlement }
[]
human settlement
Q2916
SYSTEM
Osnabrück
Q2916
(Q2736,P20,c(Q486972))
action filter_type
action find
entity Q3786825
relation P20
type Q486972
The expiration of that person occurred in [ANSWER]
['Q2736', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { resource:Q3786825 property:P20 ?s . ?s rdf:type ontology:Q486972 }
Osnabrück
The expiration of that person occurred in Osnabrück
Osnabrück
action filter_type
action find
entity Horst Borcherding
relation place of death
type human settlement
['association football', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { resource:Horst_Borcherding property:place_of_death ?s . ?s rdf:type ontology:human_settlement }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q389654
P641
Q349 Q502895 Q500834
USER
Which sports did more number of people or tournaments participate in than Greco-Roman wrestling ?
(c(Q502895)|c(Q500834),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q389654
relation P641
type Q502895
type Q500834
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?p WHERE { { ?w property:P641 ?p . ?w rdf:type ontology:Q500834 . ?p rdf:type ontology:Q349 } UNION { ?w property:P641 ?p . ?p rdf:type ontology:Q349 . ?w rdf:type ontology:Q502895 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P641 resource:Q389654 . { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:Q502895 ) ( ontology:Q500834 ) } } } } . FILTER ( ?o > ?n ) }
Greco-Roman wrestling
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity Greco-Roman wrestling
relation sport
type common name
type tournament
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?p WHERE { { ?w property:sport ?p . ?w rdf:type ontology:tournament . ?p rdf:type ontology:sport } UNION { ?w property:sport ?p . ?p rdf:type ontology:sport . ?w rdf:type ontology:common_name } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:sport resource:Greco-Roman_wrestling . { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:common_name ) ( ontology:tournament ) } } } } . FILTER ( ?o > ?n ) }
[]
sport common name tournament
Q136851 Q213711 Q10962
SYSTEM
curling, hurling, rugby league
Q10962 Q4543 Q170737 Q12100 Q500050 Q7707 Q108429 Q171038 Q133201 Q847 Q902378 Q601972 Q83462 Q328716 Q22857 Q11420 Q41323 Q7291 Q136851 Q7856 Q5372 Q5375 Q5377 Q206989 Q5369 Q8418 Q40561 Q42486 Q2483334 Q41466 Q213796 Q43450 Q221635 Q1455 Q2215841 Q61465 Q185851 Q213711 Q3930 Q130949 Q213934 Q26787631 Q201965 Q134211 Q1734 Q31920 Q1748406 Q177275 Q32112 Q2736 Q159992 Q124100
(c(Q502895)|c(Q500834),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q389654
relation P641
type Q502895
type Q500834
[ANSWERS] more number of people or tournaments participated in than Greco-Roman wrestling
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?p WHERE { { ?w property:P641 ?p . ?w rdf:type ontology:Q500834 . ?p rdf:type ontology:Q349 } UNION { ?w property:P641 ?p . ?p rdf:type ontology:Q349 . ?w rdf:type ontology:Q502895 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P641 resource:Q389654 . { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:Q502895 ) ( ontology:Q500834 ) } } } } . FILTER ( ?o > ?n ) }
rugby league beach volleyball long jump fencing cross country running water polo archery softball squash tennis equestrian sport Camogie weightlifting motorcycle sport climbing judo American football badminton curling rallying basketball cricket golf shooting sport baseball handball sumo wrestling Valencian pilota ice hockey powerlifting gymnastics track cycling field hockey cycle sport rhythmic gymnastics lacrosse hurling table tennis skiing canoeing and kayaking K-1 Nordic combined polo volleyball swimming roller hockey (quad) bobsleigh boxing association football surfing bodybuilding
Curling, hurling and rugby league more number of people or tournaments participated in than Greco-Roman wrestling
curling hurling rugby league
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity Greco-Roman wrestling
relation sport
type common name
type tournament
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?p WHERE { { ?w property:sport ?p . ?w rdf:type ontology:tournament . ?p rdf:type ontology:sport } UNION { ?w property:sport ?p . ?p rdf:type ontology:sport . ?w rdf:type ontology:common_name } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:sport resource:Greco-Roman_wrestling . { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:common_name ) ( ontology:tournament ) } } } } . FILTER ( ?o > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q327742
P641
Q349 Q502895 Q500834
USER
And how about relay race?
(c(Q502895)|c(Q500834),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q327742
relation P641
type Q502895
type Q500834
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z property:P641 resource:Q327742 . { VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q500834 ) } . ?z rdf:type ?q } } } . FILTER ( ?b > ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?m WHERE { { ?t rdf:type ontology:Q502895 . ?m rdf:type ontology:Q349 . ?t property:P641 ?m } UNION { ?t property:P641 ?m . ?m rdf:type ontology:Q349 . ?t rdf:type ontology:Q500834 } } GROUP BY ?m } }
relay race
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity relay race
relation sport
type common name
type tournament
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z property:sport resource:relay_race . { VALUES ( ?q ) { ( ontology:common_name ) ( ontology:tournament ) } . ?z rdf:type ?q } } } . FILTER ( ?b > ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?m WHERE { { ?t rdf:type ontology:common_name . ?m rdf:type ontology:sport . ?t property:sport ?m } UNION { ?t property:sport ?m . ?m rdf:type ontology:sport . ?t rdf:type ontology:tournament } } GROUP BY ?m } }
[]
sport common name tournament
Q206763 Q136851 Q204632
SYSTEM
floorball, curling, Gaelic football
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q7707 Q108429 Q171038 Q191051 Q17163326 Q206763 Q133201 Q847 Q902378 Q601972 Q83462 Q3372565 Q328716 Q131359 Q22857 Q11420 Q41323 Q7291 Q136851 Q7856 Q599204 Q5372 Q5375 Q5377 Q206989 Q5369 Q8418 Q74542 Q1758324 Q40561 Q42486 Q2483334 Q2922870 Q41466 Q204632 Q627165 Q213796 Q182570 Q989473 Q2497700 Q105674 Q215862 Q212845 Q1757181 Q43450 Q2284014 Q221635 Q2413978 Q1455 Q2215841 Q36908 Q1081491 Q389654 Q61465 Q185851 Q213711 Q271277 Q376040 Q5465793 Q3930 Q130949 Q20856109 Q213934 Q838781 Q26787631 Q201965 Q1541373 Q606060 Q134211 Q1734 Q31920 Q2701632 Q1875777 Q1358925 Q1748406 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q2736 Q159992 Q3341285 Q210778 Q124100 Q2440459 Q429006
(c(Q502895)|c(Q500834),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q327742
relation P641
type Q502895
type Q500834
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z property:P641 resource:Q327742 . { VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q500834 ) } . ?z rdf:type ?q } } } . FILTER ( ?b > ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?m WHERE { { ?t rdf:type ontology:Q502895 . ?m rdf:type ontology:Q349 . ?t property:P641 ?m } UNION { ?t property:P641 ?m . ?m rdf:type ontology:Q349 . ?t rdf:type ontology:Q500834 } } GROUP BY ?m } }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running water polo archery softball windsurfing motorcycle racing floorball squash tennis equestrian sport Camogie weightlifting Kettlebell lifting motorcycle sport professional wrestling climbing judo American football badminton curling rallying rallycross basketball cricket golf shooting sport baseball handball para-alpine skiing stock car racing sumo wrestling Valencian pilota boxe ice hockey Gaelic football Harri-jasotze powerlifting discus throw international draughts Aizkolaritza running motocross Basque pelota paralympic athletics gymnastics Contact sport track cycling paralympic swimming field hockey cycle sport mountaineering football Greco-Roman wrestling rhythmic gymnastics lacrosse hurling Savate wakeboarding CP football table tennis skiing canoeing canoeing and kayaking eventing K-1 Nordic combined sport climbing women's association football polo volleyball swimming muggle quidditch air racing speed skiing roller hockey (quad) bandy hockey Chilean rodeo pankration bobsleigh boxing association football surfing cue sports beach soccer bodybuilding wheelchair fencing Duathlon
floorball curling Gaelic football
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity relay race
relation sport
type common name
type tournament
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z property:sport resource:relay_race . { VALUES ( ?q ) { ( ontology:common_name ) ( ontology:tournament ) } . ?z rdf:type ?q } } } . FILTER ( ?b > ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?m WHERE { { ?t rdf:type ontology:common_name . ?m rdf:type ontology:sport . ?t property:sport ?m } UNION { ?t property:sport ?m . ?m rdf:type ontology:sport . ?t rdf:type ontology:tournament } } GROUP BY ?m } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q204632
P425
Q151885
USER
Which concept has that sport as thier field of occupation ?
(c(Q151885),P425,Q204632)
action filter_type
action find_reverse
entity Q204632
relation P425
type Q151885
[{'concept': 'Q151885'}, 'P425', 'Q204632']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q151885 . ?v property:P425 resource:Q204632 }
Gaelic football
action filter_type
action find_reverse
entity Gaelic football
relation field of this occupation
type concept
[{'concept': 'concept'}, 'field of this occupation', 'Gaelic football']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:concept . ?v property:field_of_this_occupation resource:Gaelic_football }
[]
concept
Clarification for simple ques.
Q204632
SYSTEM
Did you mean Gaelic football ?
Q206763 Q136851 Q204632
(c(Q151885),P425,Q206763) (c(Q151885),P425,Q136851) (c(Q151885),P425,Q204632)
[ANSWER]
[{'concept': 'Q151885'}, 'P425', 'Q206763'] [{'concept': 'Q151885'}, 'P425', 'Q136851'] [{'concept': 'Q151885'}, 'P425', 'Q204632']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q151885 . ?v property:P425 resource:Q204632 }
floorball curling Gaelic football
Did you mean Gaelic football ?
Gaelic football
[{'concept': 'concept'}, 'field of this occupation', 'floorball'] [{'concept': 'concept'}, 'field of this occupation', 'curling'] [{'concept': 'concept'}, 'field of this occupation', 'Gaelic football']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:concept . ?v property:field_of_this_occupation resource:Gaelic_football }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q151885),P425,Q204632)
[{'concept': 'Q151885'}, 'P425', 'Q204632']
[{'concept': 'concept'}, 'field of this occupation', 'Gaelic football']
[]
Q17351861
SYSTEM
Gaelic football player
Q17351861
(c(Q151885),P425,Q204632)
action filter_type
action find_reverse
entity Q204632
relation P425
type Q151885
[ANSWER] has that sport as thier field of occupation
[{'concept': 'Q151885'}, 'P425', 'Q204632']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q151885 . ?v property:P425 resource:Q204632 }
Gaelic football player
Gaelic football player has that sport as thier field of occupation
Gaelic football player
action filter_type
action find_reverse
entity Gaelic football
relation field of this occupation
type concept
[{'concept': 'concept'}, 'field of this occupation', 'Gaelic football']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:concept . ?v property:field_of_this_occupation resource:Gaelic_football }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q204632
P495
Q15617994
USER
What is the origin of Gaelic football ?
(Q204632,P495,c(Q15617994))
action filter_type
action find
entity Q204632
relation P495
type Q15617994
['Q204632', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q204632 property:P495 ?g }
Gaelic football
action filter_type
action find
entity Gaelic football
relation country of origin
type designation for an administrative territorial entity
['Gaelic football', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gaelic_football property:country_of_origin ?g }
[]
designation for an administrative territorial entity
Q27
SYSTEM
Ireland
Q27
(Q204632,P495,c(Q15617994))
action filter_type
action find
entity Q204632
relation P495
type Q15617994
The origin of Gaelic football is in [ANSWER]
['Q204632', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q204632 property:P495 ?g }
Ireland
The origin of Gaelic football is in Ireland
Ireland
action filter_type
action find
entity Gaelic football
relation country of origin
type designation for an administrative territorial entity
['Gaelic football', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gaelic_football property:country_of_origin ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q204632
P641
Q502895 Q618123
USER
How many people or geographical objects play Gaelic football ?
(c(Q502895),P641,Q204632) (c(Q618123),P641,Q204632)
action count
action union
action filter_type
action find_reverse
entity Q204632
relation P641
type Q502895
action filter_type
action find_reverse
entity Q204632
relation P641
type Q618123
[{'concept': 'Q502895'}, 'P641', 'Q204632'] [{'concept': 'Q618123'}, 'P641', 'Q204632']
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { ?o property:P641 resource:Q204632 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P641 resource:Q204632 . ?o rdf:type ontology:Q618123 } }
Gaelic football
action count
action union
action filter_type
action find_reverse
entity Gaelic football
relation sport
type common name
action filter_type
action find_reverse
entity Gaelic football
relation sport
type geographical object
[{'concept': 'common name'}, 'sport', 'Gaelic football'] [{'concept': 'geographical object'}, 'sport', 'Gaelic football']
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { ?o property:sport resource:Gaelic_football . ?o rdf:type ontology:common_name } UNION { ?o property:sport resource:Gaelic_football . ?o rdf:type ontology:geographical_object } }
[]
common name geographical object
SYSTEM
8
Q7017090 Q4851720 Q5025491 Q5381712 Q5170841 Q8077879 Q5120021 Q1778454
(c(Q502895),P641,Q204632) (c(Q618123),P641,Q204632)
action count
action union
action filter_type
action find_reverse
entity Q204632
relation P641
type Q502895
action filter_type
action find_reverse
entity Q204632
relation P641
type Q618123
[ANSWER]
[{'concept': 'Q502895'}, 'P641', 'Q204632'] [{'concept': 'Q618123'}, 'P641', 'Q204632']
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { ?o property:P641 resource:Q204632 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P641 resource:Q204632 . ?o rdf:type ontology:Q618123 } }
Newbridge GAC Ballincollig GAA Cambridge Parnells Eoin Cotter Cork senior football team Éamonn Fitzmaurice Cillian O'Connor Kildare GAA
8
action count
action union
action filter_type
action find_reverse
entity Gaelic football
relation sport
type common name
action filter_type
action find_reverse
entity Gaelic football
relation sport
type geographical object
[{'concept': 'common name'}, 'sport', 'Gaelic football'] [{'concept': 'geographical object'}, 'sport', 'Gaelic football']
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { ?o property:sport resource:Gaelic_football . ?o rdf:type ontology:common_name } UNION { ?o property:sport resource:Gaelic_football . ?o rdf:type ontology:geographical_object } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q389654
P21 P641
Q502895
USER
Which people play Greco-Roman wrestling and are a male ?
AND((c(Q502895),P641,Q389654), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q389654
relation P641
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q389654'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P641 resource:Q389654 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
male Greco-Roman wrestling
action filter_type
action intersection
action find_reverse
entity Greco-Roman wrestling
relation sport
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'Greco-Roman wrestling'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:sport resource:Greco-Roman_wrestling . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]
common name
Q376982 Q20742393 Q16169936 Q4762200 Q2416148 Q1379873 Q20742164 Q15727658 Q375829 Q138024
SYSTEM
Some of them are Ferenc Tóth, Rif Gaynanov, Aristeas of Stratonicea, Angel Kerezov, Vladimir Turchinsky, Oliver Hassler, Harutyun Khachatryan Pogosovich, Viktor Lőrincz, Davor Štefanek, Valeriu Bularca
Q375829 Q3018378 Q138024 Q3379420 Q1379873 Q15727658 Q3368391 Q337260 Q376982 Q20742393 Q16169936 Q14475700 Q19402536 Q2416148 Q4762200 Q20742164 Q2002273
AND((c(Q502895),P641,Q389654), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q389654
relation P641
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] play Greco-Roman wrestling and are a male
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q389654'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P641 resource:Q389654 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
Davor Štefanek David Martinetti Valeriu Bularca Sixto Barrera Oliver Hassler Viktor Lőrincz Aage Eriksen Lino Ventura Ferenc Tóth Rif Gaynanov Aristeas of Stratonicea Sanjay Kumar Raúl Pérez Miranda Vladimir Turchinsky Angel Kerezov Harutyun Khachatryan Pogosovich Yrjö Saarela
Ferenc Tóth, Rif Gaynanov, Aristeas of Stratonicea, Angel Kerezov, Vladimir Turchinsky, Oliver Hassler, Harutyun Khachatryan Pogosovich, Viktor Lőrincz, Davor Štefanek and Valeriu Bularca play Greco-Roman wrestling and are a male
Ferenc Tóth Rif Gaynanov Aristeas of Stratonicea Angel Kerezov Vladimir Turchinsky Oliver Hassler Harutyun Khachatryan Pogosovich Viktor Lőrincz Davor Štefanek Valeriu Bularca
action filter_type
action intersection
action find_reverse
entity Greco-Roman wrestling
relation sport
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'Greco-Roman wrestling'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:sport resource:Greco-Roman_wrestling . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P20
Q56061
USER
How many administrative territories did that person expire ?
(Q376982,P20,c(Q56061))
['Q376982', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15628695 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
['Ferenc Tóth', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ferenc_Tóth property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q16169936
SYSTEM
Did you mean Aristeas of Stratonicea ?
(Q376982,P20,c(Q56061)) (Q20742393,P20,c(Q56061)) (Q16169936,P20,c(Q56061)) (Q4762200,P20,c(Q56061)) (Q2416148,P20,c(Q56061)) (Q1379873,P20,c(Q56061)) (Q20742164,P20,c(Q56061)) (Q15727658,P20,c(Q56061)) (Q375829,P20,c(Q56061)) (Q138024,P20,c(Q56061))
[ANSWER]
['Q376982', 'P20', {'concept': 'Q56061'}] ['Q20742393', 'P20', {'concept': 'Q56061'}] ['Q16169936', 'P20', {'concept': 'Q56061'}] ['Q4762200', 'P20', {'concept': 'Q56061'}] ['Q2416148', 'P20', {'concept': 'Q56061'}] ['Q1379873', 'P20', {'concept': 'Q56061'}] ['Q20742164', 'P20', {'concept': 'Q56061'}] ['Q15727658', 'P20', {'concept': 'Q56061'}] ['Q375829', 'P20', {'concept': 'Q56061'}] ['Q138024', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15628695 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Aristeas of Stratonicea ?
Aristeas of Stratonicea
['Ferenc Tóth', 'place of death', {'concept': 'administrative territorial entity'}] ['Rif Gaynanov', 'place of death', {'concept': 'administrative territorial entity'}] ['Aristeas of Stratonicea', 'place of death', {'concept': 'administrative territorial entity'}] ['Angel Kerezov', 'place of death', {'concept': 'administrative territorial entity'}] ['Vladimir Turchinsky', 'place of death', {'concept': 'administrative territorial entity'}] ['Oliver Hassler', 'place of death', {'concept': 'administrative territorial entity'}] ['Harutyun Khachatryan Pogosovich', 'place of death', {'concept': 'administrative territorial entity'}] ['Viktor Lőrincz', 'place of death', {'concept': 'administrative territorial entity'}] ['Davor Štefanek', 'place of death', {'concept': 'administrative territorial entity'}] ['Valeriu Bularca', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ferenc_Tóth property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Ferenc Tóth. Could you tell me the answer for that?
(Q376982,P20,c(Q56061))
Q376982
['Q376982', 'P20', {'concept': 'Q56061'}]
['Ferenc Tóth', 'place of death', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1
Q1781
(Q376982,P20,c(Q56061))
[ANSWER]
['Q376982', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15628695 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
Budapest
1
['Ferenc Tóth', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ferenc_Tóth property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q376982
P19
Q56061
USER
Which administrative territory is the birthplace of Ferenc Tóth ?
(Q376982,P19,c(Q56061))
action filter_type
action find
entity Q376982
relation P19
type Q56061
['Q376982', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q376982 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Ferenc Tóth
action filter_type
action find
entity Ferenc Tóth
relation place of birth
type administrative territorial entity
['Ferenc Tóth', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ferenc_Tóth property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q81581
SYSTEM
Szeged
Q81581
(Q376982,P19,c(Q56061))
action filter_type
action find
entity Q376982
relation P19
type Q56061
[ANSWER] is the birthplace of Ferenc Tóth
['Q376982', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q376982 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Szeged
Szeged is the birthplace of Ferenc Tóth
Szeged
action filter_type
action find
entity Ferenc Tóth
relation place of birth
type administrative territorial entity
['Ferenc Tóth', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ferenc_Tóth property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]