Simple Question (Direct)
Simple Question
Q1428004
P1344
Q328539
USER
Which German Open Badminton Championships did Flemming Delfs take part in ?
(Q1428004,P1344,c(Q328539))
action filter_type
action find
entity Q1428004
relation P1344
type Q328539
['Q1428004', 'P1344', {'concept': 'Q328539'}]
SELECT DISTINCT ?y WHERE { resource:Q1428004 property:P1344 ?y . ?y rdf:type ontology:Q328539 }
Flemming Delfs
action filter_type
action find
entity Flemming Delfs
relation participant of
type German Open Badminton Championships
['Flemming Delfs', 'participant of', {'concept': 'German Open Badminton Championships'}]
SELECT DISTINCT ?y WHERE { resource:Flemming_Delfs property:participant_of ?y . ?y rdf:type ontology:German_Open_Badminton_Championships }
[]
German Open Badminton Championships
Q27570321
SYSTEM
1975 German Open Badminton Championships – Men's singles
Q27570321
(Q1428004,P1344,c(Q328539))
action filter_type
action find
entity Q1428004
relation P1344
type Q328539
Flemming Delfs took part in [ANSWER]
['Q1428004', 'P1344', {'concept': 'Q328539'}]
SELECT DISTINCT ?y WHERE { resource:Q1428004 property:P1344 ?y . ?y rdf:type ontology:Q328539 }
1975 German Open Badminton Championships – Men's singles
Flemming Delfs took part in 1975 German Open Badminton Championships – Men's singles
1975 German Open Badminton Championships – Men's singles
action filter_type
action find
entity Flemming Delfs
relation participant of
type German Open Badminton Championships
['Flemming Delfs', 'participant of', {'concept': 'German Open Badminton Championships'}]
SELECT DISTINCT ?y WHERE { resource:Flemming_Delfs property:participant_of ?y . ?y rdf:type ontology:German_Open_Badminton_Championships }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27570321
P641
Q349
USER
Which sport was that German Open Badminton Championships a part of ?
(Q27570321,P641,c(Q349))
action filter_type
action find
entity Q27570321
relation P641
type Q349
['Q27570321', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q349 . resource:Q27570321 property:P641 ?g }
1975 German Open Badminton Championships – Men's singles
action filter_type
action find
entity 1975 German Open Badminton Championships – Men's singles
relation sport
type sport
["1975 German Open Badminton Championships – Men's singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport . resource:1975_German_Open_Badminton_Championships_–_Men's_singles property:sport ?g }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q27570321,P641,c(Q349))
action filter_type
action find
entity Q27570321
relation P641
type Q349
[ANSWER] was that German Open [ANSWER] Championships a part of
['Q27570321', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q349 . resource:Q27570321 property:P641 ?g }
badminton
Badminton was that German Open Badminton Championships a part of
badminton
action filter_type
action find
entity 1975 German Open Badminton Championships – Men's singles
relation sport
type sport
["1975 German Open Badminton Championships – Men's singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport . resource:1975_German_Open_Badminton_Championships_–_Men's_singles property:sport ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20950396
Q349
USER
And how about 2016 Major League Baseball season?
(Q20950396,P641,c(Q349))
action filter_type
action find
entity Q20950396
relation P641
type Q349
['Q20950396', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q20950396 property:P641 ?p }
2016 Major League Baseball season
action filter_type
action find
entity 2016 Major League Baseball season
relation sport
type sport
['2016 Major League Baseball season', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:2016_Major_League_Baseball_season property:sport ?p }
[]
sport
Q5369
SYSTEM
baseball
Q5369
(Q20950396,P641,c(Q349))
action filter_type
action find
entity Q20950396
relation P641
type Q349
[ANSWER]
['Q20950396', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q20950396 property:P641 ?p }
baseball
baseball
action filter_type
action find
entity 2016 Major League Baseball season
relation sport
type sport
['2016 Major League Baseball season', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:2016_Major_League_Baseball_season property:sport ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q20027951 Q2235308
USER
How many people were the team members of atleast 1 aircraft power classes and ship types ?
(c(Q20027951)|c(Q2235308),P1029,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
value 1
[[{'concept': 'Q20027951'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?k ) WHERE { { ?h rdf:type ontology:Q20027951 . ?b rdf:type ontology:Q502895 . ?h property:P1029 ?b } UNION { ?h property:P1029 ?b . ?b rdf:type ontology:Q502895 . ?h rdf:type ontology:Q2235308 } } GROUP BY ?b } . FILTER ( ?k >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
value 1
[[{'concept': 'aircraft power class'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?k ) WHERE { { ?h rdf:type ontology:aircraft_power_class . ?b rdf:type ontology:common_name . ?h property:crew_member ?b } UNION { ?h property:crew_member ?b . ?b rdf:type ontology:common_name . ?h rdf:type ontology:ship_type } } GROUP BY ?b } . FILTER ( ?k >= 1 ) }
[]
common name aircraft power class ship type
SYSTEM
6
Q14623220 Q4103224 Q17478723 Q70468 Q334084 Q294555
(c(Q20027951)|c(Q2235308),P1029,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
value 1
[ANSWER]
[[{'concept': 'Q20027951'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?k ) WHERE { { ?h rdf:type ontology:Q20027951 . ?b rdf:type ontology:Q502895 . ?h property:P1029 ?b } UNION { ?h property:P1029 ?b . ?b rdf:type ontology:Q502895 . ?h rdf:type ontology:Q2235308 } } GROUP BY ?b } . FILTER ( ?k >= 1 ) }
Adolf Schönberg Theodore Van Kirk Hans-Kurt von Bremen Otto von Bülow Thomas Grenville Paul Tibbets
6
action count
action atleast
action union
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
value 1
[[{'concept': 'aircraft power class'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?k ) WHERE { { ?h rdf:type ontology:aircraft_power_class . ?b rdf:type ontology:common_name . ?h property:crew_member ?b } UNION { ?h property:crew_member ?b . ?b rdf:type ontology:common_name . ?h rdf:type ontology:ship_type } } GROUP BY ?b } . FILTER ( ?k >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5369
P417
Q502895
USER
Which person is the patron saint of baseball ?
(Q5369,P417,c(Q502895))
action filter_type
action find
entity Q5369
relation P417
type Q502895
['Q5369', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q5369 property:P417 ?a }
baseball
action filter_type
action find
entity baseball
relation patron saint
type common name
['baseball', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:baseball property:patron_saint ?a }
[]
common name
Q153024
SYSTEM
Rita of Cascia
Q153024
(Q5369,P417,c(Q502895))
action filter_type
action find
entity Q5369
relation P417
type Q502895
[ANSWER] is the patron saint of baseball
['Q5369', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q5369 property:P417 ?a }
Rita of Cascia
Rita of Cascia is the patron saint of baseball
Rita of Cascia
action filter_type
action find
entity baseball
relation patron saint
type common name
['baseball', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:baseball property:patron_saint ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5369
P144
Q349
USER
Which sport is based on that one ?
(c(Q349),P144,Q153024)
action filter_type
action find_reverse
entity Q5369
relation P144
type Q349
[{'concept': 'Q349'}, 'P144', 'Q153024']
SELECT DISTINCT ?m WHERE { ?m property:P144 resource:Q5369 . ?m rdf:type ontology:Q349 }
baseball
action filter_type
action find_reverse
entity baseball
relation based on
type sport
[{'concept': 'sport'}, 'based on', 'Rita of Cascia']
SELECT DISTINCT ?m WHERE { ?m property:based_on resource:baseball . ?m rdf:type ontology:sport }
[]
sport
Q1295867
SYSTEM
pesäpallo
Q1295867
(c(Q349),P144,Q153024)
action filter_type
action find_reverse
entity Q5369
relation P144
type Q349
[ANSWER] is based on that one
[{'concept': 'Q349'}, 'P144', 'Q153024']
SELECT DISTINCT ?m WHERE { ?m property:P144 resource:Q5369 . ?m rdf:type ontology:Q349 }
pesäpallo
Pesäpallo is based on that one
pesäpallo
action filter_type
action find_reverse
entity baseball
relation based on
type sport
[{'concept': 'sport'}, 'based on', 'Rita of Cascia']
SELECT DISTINCT ?m WHERE { ?m property:based_on resource:baseball . ?m rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1295867
P641
Q151885 Q618123
USER
How many concepts and geographical objects are associated with playing pesäpallo ?
(c(Q151885),P641,Q1295867) (c(Q618123),P641,Q1295867)
action count
action union
action filter_type
action find_reverse
entity Q1295867
relation P641
type Q151885
action filter_type
action find_reverse
entity Q1295867
relation P641
type Q618123
[{'concept': 'Q151885'}, 'P641', 'Q1295867'] [{'concept': 'Q618123'}, 'P641', 'Q1295867']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:Q151885 ) ( ontology:Q618123 ) } }
pesäpallo
action count
action union
action filter_type
action find_reverse
entity pesäpallo
relation sport
type concept
action filter_type
action find_reverse
entity pesäpallo
relation sport
type geographical object
[{'concept': 'concept'}, 'sport', 'pesäpallo'] [{'concept': 'geographical object'}, 'sport', 'pesäpallo']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:concept ) ( ontology:geographical_object ) } }
[]
concept geographical object
SYSTEM
1 concepts and 4 geographical objects
Q11884947 Q18681075 Q474947 Q18667447 Q11870887
(c(Q151885),P641,Q1295867) (c(Q618123),P641,Q1295867)
action count
action union
action filter_type
action find_reverse
entity Q1295867
relation P641
type Q151885
action filter_type
action find_reverse
entity Q1295867
relation P641
type Q618123
[ANSWER]
[{'concept': 'Q151885'}, 'P641', 'Q1295867'] [{'concept': 'Q618123'}, 'P641', 'Q1295867']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:Q151885 ) ( ontology:Q618123 ) } }
Nurmon Jymy Suomen Pesäpalloliitto Football Association of Finland pesäpallo player Kempeleen Kiri
1 concepts and 4 geographical objects
action count
action union
action filter_type
action find_reverse
entity pesäpallo
relation sport
type concept
action filter_type
action find_reverse
entity pesäpallo
relation sport
type geographical object
[{'concept': 'concept'}, 'sport', 'pesäpallo'] [{'concept': 'geographical object'}, 'sport', 'pesäpallo']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:concept ) ( ontology:geographical_object ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1295867
P425
Q151885
USER
Which concept does that sport belong to ?
action filter_type
action find_reverse
entity Q1295867
relation P425
type Q151885
SELECT DISTINCT ?k WHERE { ?k property:P425 resource:Q1295867 . ?k rdf:type ontology:Q151885 }
pesäpallo
action filter_type
action find_reverse
entity pesäpallo
relation field of this occupation
type concept
SELECT DISTINCT ?k WHERE { ?k property:field_of_this_occupation resource:pesäpallo . ?k rdf:type ontology:concept }
[]
concept
Q18667447
SYSTEM
pesäpallo player
Q18667447
action filter_type
action find_reverse
entity Q1295867
relation P425
type Q151885
That sport belongs to [ANSWER]
SELECT DISTINCT ?k WHERE { ?k property:P425 resource:Q1295867 . ?k rdf:type ontology:Q151885 }
pesäpallo player
That sport belongs to pesäpallo player
pesäpallo player
action filter_type
action find_reverse
entity pesäpallo
relation field of this occupation
type concept
SELECT DISTINCT ?k WHERE { ?k property:field_of_this_occupation resource:pesäpallo . ?k rdf:type ontology:concept }
[]