Simple Question (Direct)
Simple Question
Q6249071
P54
Q12973014
USER
What is John Mohardt a member of ?
(Q6249071,P54,c(Q12973014))
action filter_type
action find
entity Q6249071
relation P54
type Q12973014
['Q6249071', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12973014 . resource:Q6249071 property:P54 ?q }
John Mohardt
action filter_type
action find
entity John Mohardt
relation member of sports team
type sports team
['John Mohardt', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sports_team . resource:John_Mohardt property:member_of_sports_team ?q }
[]
sports team
Q650855
SYSTEM
Detroit Tigers
Q650855
(Q6249071,P54,c(Q12973014))
action filter_type
action find
entity Q6249071
relation P54
type Q12973014
John Mohardt a member of is the [ANSWER]
['Q6249071', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12973014 . resource:Q6249071 property:P54 ?q }
Detroit Tigers
John Mohardt a member of is the Detroit Tigers
Detroit Tigers
action filter_type
action find
entity John Mohardt
relation member of sports team
type sports team
['John Mohardt', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sports_team . resource:John_Mohardt property:member_of_sports_team ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q650855
P466
Q811430
USER
Which constructions are occupied by that sports team ?
(c(Q811430),P466,Q650855)
action filter_type
action find_reverse
entity Q650855
relation P466
type Q811430
[{'concept': 'Q811430'}, 'P466', 'Q650855']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q811430 . ?m property:P466 resource:Q650855 }
Detroit Tigers
action filter_type
action find_reverse
entity Detroit Tigers
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'Detroit Tigers']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:construction . ?m property:occupant resource:Detroit_Tigers }
[]
construction
Q1750255 Q868482
SYSTEM
Tiger Stadium, Comerica Park
Q1750255 Q868482
(c(Q811430),P466,Q650855)
action filter_type
action find_reverse
entity Q650855
relation P466
type Q811430
[ANSWERS] are occupied by that sports team
[{'concept': 'Q811430'}, 'P466', 'Q650855']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q811430 . ?m property:P466 resource:Q650855 }
Tiger Stadium Comerica Park
Tiger Stadium and Comerica Park are occupied by that sports team
Tiger Stadium Comerica Park
action filter_type
action find_reverse
entity Detroit Tigers
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'Detroit Tigers']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:construction . ?m property:occupant resource:Detroit_Tigers }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q650855
P710
Q500834
USER
Which tournament has Detroit Tigers as its participant ?
(c(Q500834),P710,Q650855)
action filter_type
action find_reverse
entity Q650855
relation P710
type Q500834
[{'concept': 'Q500834'}, 'P710', 'Q650855']
SELECT DISTINCT ?b WHERE { ?b property:P710 resource:Q650855 . ?b rdf:type ontology:Q500834 }
Detroit Tigers
action filter_type
action find_reverse
entity Detroit Tigers
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', 'Detroit Tigers']
SELECT DISTINCT ?b WHERE { ?b property:participant resource:Detroit_Tigers . ?b rdf:type ontology:tournament }
[]
tournament
Q1190373
SYSTEM
2012 World Series
Q1190373
(c(Q500834),P710,Q650855)
action filter_type
action find_reverse
entity Q650855
relation P710
type Q500834
[ANSWER] has Detroit Tigers as its participant
[{'concept': 'Q500834'}, 'P710', 'Q650855']
SELECT DISTINCT ?b WHERE { ?b property:P710 resource:Q650855 . ?b rdf:type ontology:Q500834 }
2012 World Series
2012 World Series has Detroit Tigers as its participant
2012 World Series
action filter_type
action find_reverse
entity Detroit Tigers
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', 'Detroit Tigers']
SELECT DISTINCT ?b WHERE { ?b property:participant resource:Detroit_Tigers . ?b rdf:type ontology:tournament }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1750255
P1435
Q2065736
USER
Which cultural property gives the heritage status of Tiger Stadium ?
(Q1750255,P1435,c(Q2065736))
action filter_type
action find
entity Q1750255
relation P1435
type Q2065736
['Q1750255', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2065736 . resource:Q1750255 property:P1435 ?x }
Tiger Stadium
action filter_type
action find
entity Tiger Stadium
relation heritage status
type cultural property
['Tiger Stadium', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:cultural_property . resource:Tiger_Stadium property:heritage_status ?x }
[]
cultural property
Q19558910
SYSTEM
place listed on the National Register of Historic Places
Q19558910
(Q1750255,P1435,c(Q2065736))
action filter_type
action find
entity Q1750255
relation P1435
type Q2065736
[ANSWER] gives the heritage status of Tiger Stadium
['Q1750255', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2065736 . resource:Q1750255 property:P1435 ?x }
place listed on the National Register of Historic Places
Place listed on the National Register of Historic Places gives the heritage status of Tiger Stadium
place listed on the National Register of Historic Places
action filter_type
action find
entity Tiger Stadium
relation heritage status
type cultural property
['Tiger Stadium', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:cultural_property . resource:Tiger_Stadium property:heritage_status ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7742932
Q2065736
USER
And how about James Cardinal Gibbons Memorial Statue?
(Q7742932,P1435,c(Q2065736))
action filter_type
action find
entity Q7742932
relation P1435
type Q2065736
['Q7742932', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2065736 . resource:Q7742932 property:P1435 ?p }
James Cardinal Gibbons Memorial Statue
action filter_type
action find
entity James Cardinal Gibbons Memorial Statue
relation heritage status
type cultural property
['James Cardinal Gibbons Memorial Statue', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:cultural_property . resource:James_Cardinal_Gibbons_Memorial_Statue property:heritage_status ?p }
[]
cultural property
Q19558910
SYSTEM
place listed on the National Register of Historic Places
Q19558910
(Q7742932,P1435,c(Q2065736))
action filter_type
action find
entity Q7742932
relation P1435
type Q2065736
[ANSWER]
['Q7742932', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2065736 . resource:Q7742932 property:P1435 ?p }
place listed on the National Register of Historic Places
place listed on the National Register of Historic Places
action filter_type
action find
entity James Cardinal Gibbons Memorial Statue
relation heritage status
type cultural property
['James Cardinal Gibbons Memorial Statue', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:cultural_property . resource:James_Cardinal_Gibbons_Memorial_Statue property:heritage_status ?p }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1784241
P641
Q349 Q500834
USER
Which sports were greater number of tournaments a part of than korbball ?
(c(Q500834),P641,c(Q349))
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_type
action find
entity Q1784241
relation P641
type Q349
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?z ) WHERE { ?o rdf:type ontology:Q349 . ?a rdf:type ontology:Q500834 . ?a property:P641 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q1784241 property:P641 ?v . ?v rdf:type ontology:Q349 } } . FILTER ( ?z > ?b ) }
korbball
action greater
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_type
action find
entity korbball
relation sport
type sport
[{'concept': 'tournament'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?z ) WHERE { ?o rdf:type ontology:sport . ?a rdf:type ontology:tournament . ?a property:sport ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:korbball property:sport ?v . ?v rdf:type ontology:sport } } . FILTER ( ?z > ?b ) }
[]
sport tournament
Q213711 Q606060 Q2701632
SYSTEM
hurling, women's association football, muggle quidditch
Q10962 Q1109032 Q133201 Q847 Q601972 Q5372 Q5375 Q5377 Q5369 Q8418 Q41466 Q221635 Q1455 Q1081491 Q213711 Q606060 Q134211 Q1734 Q2701632 Q1875777 Q2736 Q17988507 Q3341285
(c(Q500834),P641,c(Q349))
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_type
action find
entity Q1784241
relation P641
type Q349
[ANSWERS] were greater number of tournaments a part of than korbball
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?z ) WHERE { ?o rdf:type ontology:Q349 . ?a rdf:type ontology:Q500834 . ?a property:P641 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q1784241 property:P641 ?v . ?v rdf:type ontology:Q349 } } . FILTER ( ?z > ?b ) }
rugby league college football squash tennis Camogie basketball cricket golf baseball handball ice hockey track cycling field hockey football hurling women's association football polo volleyball muggle quidditch air racing association football women's tennis cue sports
Hurling, women's association football and muggle quidditch were greater number of tournaments a part of than korbball
hurling women's association football muggle quidditch
action greater
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_type
action find
entity korbball
relation sport
type sport
[{'concept': 'tournament'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?z ) WHERE { ?o rdf:type ontology:sport . ?a rdf:type ontology:tournament . ?a property:sport ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:korbball property:sport ?v . ?v rdf:type ontology:sport } } . FILTER ( ?z > ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q809831
P641
Q349 Q500834
USER
And how about BASE jumping?
(c(Q500834),P641,c(Q349))
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_type
action find
entity Q809831
relation P641
type Q349
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ontology:Q500834 . ?u rdf:type ontology:Q349 . ?p property:P641 ?u } GROUP BY ?u } . FILTER ( ?b > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q809831 property:P641 ?t . ?t rdf:type ontology:Q349 } } }
BASE jumping
action greater
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_type
action find
entity BASE jumping
relation sport
type sport
[{'concept': 'tournament'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ontology:tournament . ?u rdf:type ontology:sport . ?p property:sport ?u } GROUP BY ?u } . FILTER ( ?b > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:BASE_jumping property:sport ?t . ?t rdf:type ontology:sport } } }
[]
sport tournament
Q213711 Q606060 Q2701632
SYSTEM
hurling, women's association football, muggle quidditch
Q10962 Q1109032 Q133201 Q847 Q601972 Q5372 Q5375 Q5377 Q5369 Q8418 Q41466 Q221635 Q1455 Q1081491 Q213711 Q606060 Q134211 Q1734 Q2701632 Q1875777 Q2736 Q17988507 Q3341285
(c(Q500834),P641,c(Q349))
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_type
action find
entity Q809831
relation P641
type Q349
[ANSWERS]
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ontology:Q500834 . ?u rdf:type ontology:Q349 . ?p property:P641 ?u } GROUP BY ?u } . FILTER ( ?b > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q809831 property:P641 ?t . ?t rdf:type ontology:Q349 } } }
rugby league college football squash tennis Camogie basketball cricket golf baseball handball ice hockey track cycling field hockey football hurling women's association football polo volleyball muggle quidditch air racing association football women's tennis cue sports
hurling women's association football muggle quidditch
action greater
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_type
action find
entity BASE jumping
relation sport
type sport
[{'concept': 'tournament'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ontology:tournament . ?u rdf:type ontology:sport . ?p property:sport ?u } GROUP BY ?u } . FILTER ( ?b > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:BASE_jumping property:sport ?t . ?t rdf:type ontology:sport } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P921
Q349 Q838948 Q2342494
USER
Which sports were the main subjects in the work around the same number of works of art and collectables as that sport ?
(c(Q838948)|c(Q2342494),P921,c(Q349))
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P921 ?y } UNION { ?x property:P921 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { { ?z property:main_subject ?y } UNION { ?x property:main_subject ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
sport work of art collectable
Comparative|More/Less|Mult. entity type|Clarification
Q606060
SYSTEM
Did you mean women's association football ?
(c(Q838948)|c(Q2342494),P921,c(Q349))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P921 ?y } UNION { ?x property:P921 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
Did you mean women's association football ?
women's association football
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { { ?z property:main_subject ?y } UNION { ?x property:main_subject ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q838948)|c(Q2342494),P921,c(Q349))
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q349'}]
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'sport'}]
[]
Q136851 Q1148620 Q606060
SYSTEM
curling, Finswimming, women's association football
Q10962 Q136851 Q1109032 Q2887217 Q5375 Q5377 Q188966 Q1734 Q31920 Q2215841 Q36908 Q207703 Q159992 Q3341285 Q108429 Q191051 Q1148620 Q1622659 Q3177899 Q32112 Q3930 Q847 Q41466 Q41323 Q8031140 Q46241 Q328716 Q131359 Q114466 Q22857 Q1194269 Q11420 Q124100 Q606060 Q105674 Q7291
(c(Q838948)|c(Q2342494),P921,c(Q349))
[ANSWERS] were the main subjects in the work around the same number of works of art and collectables as that sport
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P921 ?y } UNION { ?x property:P921 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
rugby league curling college football women's basketball cricket golf contract bridge volleyball swimming cycle sport mountaineering rodeo surfing cue sports archery windsurfing Finswimming hockey bowling boxing table tennis tennis ice hockey American football women's cricket drag racing motorcycle sport professional wrestling mixed martial arts climbing harness racing judo bodybuilding women's association football running badminton
Curling, Finswimming and women's association football were the main subjects in the work around the same number of works of art and collectables as that sport
curling Finswimming women's association football
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { { ?z property:main_subject ?y } UNION { ?x property:main_subject ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q39715
P366
Q811430 Q56061 Q18142
USER
How many constructions are considered as the main functionality of approximately the same number of administrative territories and tower blocks as lighthouse ?
(c(Q56061)|c(Q18142),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q56061
action find_reverse_tuple_counts
relation P366
type Q811430
type Q18142
action count
action filter_multi_types
action find_reverse
entity Q39715
relation P366
type Q56061
type Q18142
[[{'concept': 'Q56061'}, {'concept': 'Q18142'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { FILTER ( ?j = ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P366 resource:Q39715 . { VALUES ( ?f ) { ( ontology:Q56061 ) ( ontology:Q18142 ) } . ?e rdf:type ?f } } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?d WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:Q56061 ) ( ontology:Q18142 ) } } GROUP BY ?d } }
lighthouse
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type administrative territorial entity
action find_reverse_tuple_counts
relation use
type construction
type tower block
action count
action filter_multi_types
action find_reverse
entity lighthouse
relation use
type administrative territorial entity
type tower block
[[{'concept': 'administrative territorial entity'}, {'concept': 'tower block'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { FILTER ( ?j = ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:use resource:lighthouse . { VALUES ( ?f ) { ( ontology:administrative_territorial_entity ) ( ontology:tower_block ) } . ?e rdf:type ?f } } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?d WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:administrative_territorial_entity ) ( ontology:tower_block ) } } GROUP BY ?d } }
[]
construction administrative territorial entity tower block
SYSTEM
13
Q4989906 Q494829 Q1362225 Q12518 Q1370598 Q174782 Q148319 Q1195942 Q190157 Q641226 Q18674739 Q39715 Q335261
(c(Q56061)|c(Q18142),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q56061
action find_reverse_tuple_counts
relation P366
type Q811430
type Q18142
action count
action filter_multi_types
action find_reverse
entity Q39715
relation P366
type Q56061
type Q18142
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q18142'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { FILTER ( ?j = ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P366 resource:Q39715 . { VALUES ( ?f ) { ( ontology:Q56061 ) ( ontology:Q18142 ) } . ?e rdf:type ?f } } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?d WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:Q56061 ) ( ontology:Q18142 ) } } GROUP BY ?d } }
monument bus station warehouse tower place of worship square planetarium fire station transmitter arena event venue lighthouse ornament
13
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type administrative territorial entity
action find_reverse_tuple_counts
relation use
type construction
type tower block
action count
action filter_multi_types
action find_reverse
entity lighthouse
relation use
type administrative territorial entity
type tower block
[[{'concept': 'administrative territorial entity'}, {'concept': 'tower block'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { FILTER ( ?j = ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:use resource:lighthouse . { VALUES ( ?f ) { ( ontology:administrative_territorial_entity ) ( ontology:tower_block ) } . ?e rdf:type ?f } } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?d WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:administrative_territorial_entity ) ( ontology:tower_block ) } } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q114466
P641
Q349 Q13406554 Q18608583
USER
Which sports were around the same number of sport competitions or recurring sporting events a part of as mixed martial arts ?
(c(Q13406554)|c(Q18608583),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q114466
relation P641
type Q13406554
type Q18608583
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?w ) WHERE { { ?s rdf:type ontology:Q349 . ?y rdf:type ontology:Q13406554 . ?y property:P641 ?s } UNION { ?y property:P641 ?s . ?s rdf:type ontology:Q349 . ?y rdf:type ontology:Q18608583 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:P641 resource:Q114466 . { { ?d rdf:type ontology:Q18608583 } UNION { ?d rdf:type ontology:Q13406554 } } } } . FILTER ( ?w = ?k ) }
mixed martial arts
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity mixed martial arts
relation sport
type sport competition
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?w ) WHERE { { ?s rdf:type ontology:sport . ?y rdf:type ontology:sport_competition . ?y property:sport ?s } UNION { ?y property:sport ?s . ?s rdf:type ontology:sport . ?y rdf:type ontology:recurring_sporting_event } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:sport resource:mixed_martial_arts . { { ?d rdf:type ontology:recurring_sporting_event } UNION { ?d rdf:type ontology:sport_competition } } } } . FILTER ( ?w = ?k ) }
[]
sport sport competition recurring sporting event
Q809831 Q1295867 Q206763
SYSTEM
BASE jumping, pesäpallo, floorball
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q847 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5375 Q5377 Q206989 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q13406554)|c(Q18608583),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q114466
relation P641
type Q13406554
type Q18608583
[ANSWERS] were around the same number of sport competitions or recurring sporting events a part of as mixed martial arts
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?w ) WHERE { { ?s rdf:type ontology:Q349 . ?y rdf:type ontology:Q13406554 . ?y property:P641 ?s } UNION { ?y property:P641 ?s . ?s rdf:type ontology:Q349 . ?y rdf:type ontology:Q18608583 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:P641 resource:Q114466 . { { ?d rdf:type ontology:Q18608583 } UNION { ?d rdf:type ontology:Q13406554 } } } } . FILTER ( ?w = ?k ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport tennis equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing dancesport Kabaddi curling women's basketball rallying rallycross cricket golf shooting sport canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
BASE jumping, pesäpallo and floorball were around the same number of sport competitions or recurring sporting events a part of as mixed martial arts
BASE jumping pesäpallo floorball
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity mixed martial arts
relation sport
type sport competition
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?w ) WHERE { { ?s rdf:type ontology:sport . ?y rdf:type ontology:sport_competition . ?y property:sport ?s } UNION { ?y property:sport ?s . ?s rdf:type ontology:sport . ?y rdf:type ontology:recurring_sporting_event } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:sport resource:mixed_martial_arts . { { ?d rdf:type ontology:recurring_sporting_event } UNION { ?d rdf:type ontology:sport_competition } } } } . FILTER ( ?w = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q809831
P138
Q811430
USER
Which construction is the origin of BASE jumping ?
(Q809831,P138,c(Q811430))
action filter_type
action find
entity Q809831
relation P138
type Q811430
['Q809831', 'P138', {'concept': 'Q811430'}]
SELECT DISTINCT ?w WHERE { resource:Q809831 property:P138 ?w . ?w rdf:type ontology:Q811430 }
BASE jumping
action filter_type
action find
entity BASE jumping
relation named after
type construction
['BASE jumping', 'named after', {'concept': 'construction'}]
SELECT DISTINCT ?w WHERE { resource:BASE_jumping property:named_after ?w . ?w rdf:type ontology:construction }
[]
construction
Q41176
SYSTEM
building
Q41176
(Q809831,P138,c(Q811430))
action filter_type
action find
entity Q809831
relation P138
type Q811430
[ANSWER] is the origin of BASE jumping
['Q809831', 'P138', {'concept': 'Q811430'}]
SELECT DISTINCT ?w WHERE { resource:Q809831 property:P138 ?w . ?w rdf:type ontology:Q811430 }
building
Building is the origin of BASE jumping
building
action filter_type
action find
entity BASE jumping
relation named after
type construction
['BASE jumping', 'named after', {'concept': 'construction'}]
SELECT DISTINCT ?w WHERE { resource:BASE_jumping property:named_after ?w . ?w rdf:type ontology:construction }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1598183
Q811430
USER
And what about Russian yacht Livadia?
(Q1598183,P138,c(Q811430))
action filter_type
action find
entity Q1598183
relation P138
type Q811430
['Q1598183', 'P138', {'concept': 'Q811430'}]
SELECT DISTINCT ?j WHERE { resource:Q1598183 property:P138 ?j . ?j rdf:type ontology:Q811430 }
Russian yacht Livadia
action filter_type
action find
entity Russian yacht Livadia
relation named after
type construction
['Russian yacht Livadia', 'named after', {'concept': 'construction'}]
SELECT DISTINCT ?j WHERE { resource:Russian_yacht_Livadia property:named_after ?j . ?j rdf:type ontology:construction }
[]
construction
Q1055311
SYSTEM
Livadia Palace
Q1055311
(Q1598183,P138,c(Q811430))
action filter_type
action find
entity Q1598183
relation P138
type Q811430
[ANSWER]
['Q1598183', 'P138', {'concept': 'Q811430'}]
SELECT DISTINCT ?j WHERE { resource:Q1598183 property:P138 ?j . ?j rdf:type ontology:Q811430 }
Livadia Palace
Livadia Palace
action filter_type
action find
entity Russian yacht Livadia
relation named after
type construction
['Russian yacht Livadia', 'named after', {'concept': 'construction'}]
SELECT DISTINCT ?j WHERE { resource:Russian_yacht_Livadia property:named_after ?j . ?j rdf:type ontology:construction }
[]