Simple Question (Direct)
Simple Question
Q10437491
P735
Q82799
USER
What is forename of Nicky Spooner ?
(Q10437491,P735,c(Q82799))
action filter_type
action find
entity Q10437491
relation P735
type Q82799
['Q10437491', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q10437491 property:P735 ?x . ?x rdf:type ontology:Q82799 }
Nicky Spooner
action filter_type
action find
entity Nicky Spooner
relation given name
type name
['Nicky Spooner', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Nicky_Spooner property:given_name ?x . ?x rdf:type ontology:name }
[]
name
Q600538
SYSTEM
Nicky
Q600538
(Q10437491,P735,c(Q82799))
action filter_type
action find
entity Q10437491
relation P735
type Q82799
Forename of [ANSWER] Spooner is of [ANSWER]
['Q10437491', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q10437491 property:P735 ?x . ?x rdf:type ontology:Q82799 }
Nicky
Forename of Nicky Spooner is of Nicky
Nicky
action filter_type
action find
entity Nicky Spooner
relation given name
type name
['Nicky Spooner', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Nicky_Spooner property:given_name ?x . ?x rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10437491
P641
Q349
USER
What was the sport that Nicky Spooner was a part of ?
(Q10437491,P641,c(Q349))
action filter_type
action find
entity Q10437491
relation P641
type Q349
['Q10437491', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q10437491 property:P641 ?d . ?d rdf:type ontology:Q349 }
Nicky Spooner
action filter_type
action find
entity Nicky Spooner
relation sport
type sport
['Nicky Spooner', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Nicky_Spooner property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q10437491,P641,c(Q349))
action filter_type
action find
entity Q10437491
relation P641
type Q349
The sport that Nicky Spooner was a part of was the [ANSWER]
['Q10437491', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q10437491 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
The sport that Nicky Spooner was a part of was the association football
association football
action filter_type
action find
entity Nicky Spooner
relation sport
type sport
['Nicky Spooner', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Nicky_Spooner property:sport ?d . ?d rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1023431
Q349
USER
And also tell me about Women's CEV Cup 2012–13?
(Q1023431,P641,c(Q349))
action filter_type
action find
entity Q1023431
relation P641
type Q349
['Q1023431', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q1023431 property:P641 ?g . ?g rdf:type ontology:Q349 }
Women's CEV Cup 2012–13
action filter_type
action find
entity Women's CEV Cup 2012–13
relation sport
type sport
["Women's CEV Cup 2012–13", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Women's_CEV_Cup_2012–13 property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q1734
SYSTEM
volleyball
Q1734
(Q1023431,P641,c(Q349))
action filter_type
action find
entity Q1023431
relation P641
type Q349
[ANSWER]
['Q1023431', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q1023431 property:P641 ?g . ?g rdf:type ontology:Q349 }
volleyball
volleyball
action filter_type
action find
entity Women's CEV Cup 2012–13
relation sport
type sport
["Women's CEV Cup 2012–13", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Women's_CEV_Cup_2012–13 property:sport ?g . ?g rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q43229 Q2342494
USER
Which sports do approximately the same number of organizations and collectables belong to as that sport ?
(c(Q43229)|c(Q2342494),P101,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1734
relation P101
type Q43229
type Q2342494
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?t WHERE { { ?t rdf:type ontology:Q349 . ?f rdf:type ontology:Q2342494 . ?f property:P101 ?t } UNION { ?f property:P101 ?t . ?t rdf:type ontology:Q349 . ?f rdf:type ontology:Q43229 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P101 resource:Q1734 . { ?p rdf:type ?h . VALUES ( ?h ) { ( ontology:Q43229 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?z = ?s ) }
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_multi_types
action find_reverse
entity volleyball
relation field of work
type organization
type collectable
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?t WHERE { { ?t rdf:type ontology:sport . ?f rdf:type ontology:collectable . ?f property:field_of_work ?t } UNION { ?f property:field_of_work ?t . ?t rdf:type ontology:sport . ?f rdf:type ontology:organization } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:field_of_work resource:volleyball . { ?p rdf:type ?h . VALUES ( ?h ) { ( ontology:organization ) ( ontology:collectable ) } } } } . FILTER ( ?z = ?s ) }
[]
sport organization collectable
Q809831 Q136851 Q10962
SYSTEM
BASE jumping, curling, rugby league
Q10962 Q136851 Q43450 Q4543 Q170737 Q5375 Q22857 Q14300548 Q1734 Q31920 Q12100 Q8418 Q15991265 Q2215841 Q500050 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q2736 Q177275 Q42486 Q5372 Q2167372 Q130949 Q1497658 Q178678 Q41466 Q328716 Q131359 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q43229)|c(Q2342494),P101,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1734
relation P101
type Q43229
type Q2342494
[ANSWERS] approximately the same number of organizations and collectables belong to as that sport
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?t WHERE { { ?t rdf:type ontology:Q349 . ?f rdf:type ontology:Q2342494 . ?f property:P101 ?t } UNION { ?f property:P101 ?t . ?t rdf:type ontology:Q349 . ?f rdf:type ontology:Q43229 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P101 resource:Q1734 . { ?p rdf:type ?h . VALUES ( ?h ) { ( ontology:Q43229 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?z = ?s ) }
rugby league curling gymnastics beach volleyball long jump cricket climbing skating volleyball swimming fencing handball amateur football cycle sport cross country running archery wingsuit flying water polo BASE jumping tennis bowling association football bobsleigh wrestling basketball fell running skiing memory sport kick boxing ice hockey motorcycle sport professional wrestling Nordic combined boxe winter sport judo bodybuilding sport climbing American football
BASE jumping, curling and rugby league approximately the same number of organizations and collectables belong to as that sport
BASE jumping curling rugby league
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_multi_types
action find_reverse
entity volleyball
relation field of work
type organization
type collectable
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?t WHERE { { ?t rdf:type ontology:sport . ?f rdf:type ontology:collectable . ?f property:field_of_work ?t } UNION { ?f property:field_of_work ?t . ?t rdf:type ontology:sport . ?f rdf:type ontology:organization } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:field_of_work resource:volleyball . { ?p rdf:type ?h . VALUES ( ?h ) { ( ontology:organization ) ( ontology:collectable ) } } } } . FILTER ( ?z = ?s ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are atleast 83 names composed in ?
(c(Q82799),P407,c(Q34770))
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 83
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P407 ?e . ?p rdf:type ontology:Q82799 . ?e rdf:type ontology:Q34770 } GROUP BY ?e } . FILTER ( ?x >= 83 ) }
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 83
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:language_of_work_or_name ?e . ?p rdf:type ontology:name . ?e rdf:type ontology:language } GROUP BY ?e } . FILTER ( ?x >= 83 ) }
[]
language name
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
(c(Q82799),P407,c(Q34770))
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 83
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P407 ?e . ?p rdf:type ontology:Q82799 . ?e rdf:type ontology:Q34770 } GROUP BY ?e } . FILTER ( ?x >= 83 ) }
English Spanish
Which languages are atleast 83 names composed in
English Spanish
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 83
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:language_of_work_or_name ?e . ?p rdf:type ontology:name . ?e rdf:type ontology:language } GROUP BY ?e } . FILTER ( ?x >= 83 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q61065
P366
Q349 Q3084961 Q2235308
USER
How many sports represent the main use of lesser number of product linings and ship types than water sport ?
(c(Q3084961)|c(Q2235308),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q61065
relation P366
type Q3084961
type Q2235308
[[{'concept': 'Q3084961'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { VALUES ( ?t ) { ( ontology:Q3084961 ) ( ontology:Q2235308 ) } . ?o rdf:type ?t } . ?o property:P366 resource:Q61065 } } . FILTER ( ?a < ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?s WHERE { VALUES ( ?k ) { ( ontology:Q3084961 ) ( ontology:Q2235308 ) } . ?l rdf:type ?k } GROUP BY ?s } }
water sport
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity water sport
relation use
type product lining
type ship type
[[{'concept': 'product lining'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { VALUES ( ?t ) { ( ontology:product_lining ) ( ontology:ship_type ) } . ?o rdf:type ?t } . ?o property:use resource:water_sport } } . FILTER ( ?a < ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?s WHERE { VALUES ( ?k ) { ( ontology:product_lining ) ( ontology:ship_type ) } . ?l rdf:type ?k } GROUP BY ?s } }
[]
sport product lining ship type
SYSTEM
21
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q3084961)|c(Q2235308),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q61065
relation P366
type Q3084961
type Q2235308
[ANSWER]
[[{'concept': 'Q3084961'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { VALUES ( ?t ) { ( ontology:Q3084961 ) ( ontology:Q2235308 ) } . ?o rdf:type ?t } . ?o property:P366 resource:Q61065 } } . FILTER ( ?a < ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?s WHERE { VALUES ( ?k ) { ( ontology:Q3084961 ) ( ontology:Q2235308 ) } . ?l rdf:type ?k } GROUP BY ?s } }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running archery gliding greyhound racing bobsleigh floorball association football tennis ice hockey climbing harness racing American football badminton
21
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity water sport
relation use
type product lining
type ship type
[[{'concept': 'product lining'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { VALUES ( ?t ) { ( ontology:product_lining ) ( ontology:ship_type ) } . ?o rdf:type ?t } . ?o property:use resource:water_sport } } . FILTER ( ?a < ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?s WHERE { VALUES ( ?k ) { ( ontology:product_lining ) ( ontology:ship_type ) } . ?l rdf:type ?k } GROUP BY ?s } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1875777
P366
Q349 Q3084961 Q2235308
USER
And what about air racing?
(c(Q3084961)|c(Q2235308),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q1875777
relation P366
type Q3084961
type Q2235308
[[{'concept': 'Q3084961'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?v WHERE { { ?z property:P366 ?v . ?z rdf:type ontology:Q3084961 . ?v rdf:type ontology:Q349 } UNION { ?z property:P366 ?v . ?z rdf:type ontology:Q2235308 . ?v rdf:type ontology:Q349 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P366 resource:Q1875777 . { { ?d rdf:type ontology:Q3084961 } UNION { ?d rdf:type ontology:Q2235308 } } } } . FILTER ( ?y < ?b ) }
air racing
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity air racing
relation use
type product lining
type ship type
[[{'concept': 'product lining'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?v WHERE { { ?z property:use ?v . ?z rdf:type ontology:product_lining . ?v rdf:type ontology:sport } UNION { ?z property:use ?v . ?z rdf:type ontology:ship_type . ?v rdf:type ontology:sport } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:use resource:air_racing . { { ?d rdf:type ontology:product_lining } UNION { ?d rdf:type ontology:ship_type } } } } . FILTER ( ?y < ?b ) }
[]
sport product lining ship type
SYSTEM
21
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q3084961)|c(Q2235308),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q1875777
relation P366
type Q3084961
type Q2235308
[ANSWER]
[[{'concept': 'Q3084961'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?v WHERE { { ?z property:P366 ?v . ?z rdf:type ontology:Q3084961 . ?v rdf:type ontology:Q349 } UNION { ?z property:P366 ?v . ?z rdf:type ontology:Q2235308 . ?v rdf:type ontology:Q349 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P366 resource:Q1875777 . { { ?d rdf:type ontology:Q3084961 } UNION { ?d rdf:type ontology:Q2235308 } } } } . FILTER ( ?y < ?b ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running archery gliding greyhound racing bobsleigh floorball association football tennis ice hockey climbing harness racing American football badminton
21
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity air racing
relation use
type product lining
type ship type
[[{'concept': 'product lining'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?v WHERE { { ?z property:use ?v . ?z rdf:type ontology:product_lining . ?v rdf:type ontology:sport } UNION { ?z property:use ?v . ?z rdf:type ontology:ship_type . ?v rdf:type ontology:sport } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:use resource:air_racing . { { ?d rdf:type ontology:product_lining } UNION { ?d rdf:type ontology:ship_type } } } } . FILTER ( ?y < ?b ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4023934 Q136851
P641
Q349
USER
Which sports were curling or Zbigniew Wyciszkiewicz a part of ?
OR((Q136851,P641,c(Q349)), (Q4023934,P641,c(Q349)))
action filter_type
action union
action find
entity Q136851
relation P641
action find
entity Q4023934
relation P641
type Q349
{'OR': [['Q136851', 'P641', {'concept': 'Q349'}], ['Q4023934', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . { { resource:Q136851 property:P641 ?n } UNION { resource:Q4023934 property:P641 ?n } } }
Zbigniew Wyciszkiewicz curling
action filter_type
action union
action find
entity curling
relation sport
action find
entity Zbigniew Wyciszkiewicz
relation sport
type sport
{'OR': [['curling', 'sport', {'concept': 'sport'}], ['Zbigniew Wyciszkiewicz', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . { { resource:curling property:sport ?n } UNION { resource:Zbigniew_Wyciszkiewicz property:sport ?n } } }
[]
sport
Q5369 Q2736
SYSTEM
baseball, association football
Q5369 Q2736
OR((Q136851,P641,c(Q349)), (Q4023934,P641,c(Q349)))
action filter_type
action union
action find
entity Q136851
relation P641
action find
entity Q4023934
relation P641
type Q349
Were [ANSWERS] were curling or Zbigniew Wyciszkiewicz a part of
{'OR': [['Q136851', 'P641', {'concept': 'Q349'}], ['Q4023934', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . { { resource:Q136851 property:P641 ?n } UNION { resource:Q4023934 property:P641 ?n } } }
baseball association football
Were baseball and association football were curling or Zbigniew Wyciszkiewicz a part of
baseball association football
action filter_type
action union
action find
entity curling
relation sport
action find
entity Zbigniew Wyciszkiewicz
relation sport
type sport
{'OR': [['curling', 'sport', {'concept': 'sport'}], ['Zbigniew Wyciszkiewicz', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . { { resource:curling property:sport ?n } UNION { resource:Zbigniew_Wyciszkiewicz property:sport ?n } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P282
Q9779 Q8192 Q34770
USER
Which languages adopt max number of alphabets and writing systems as the writing system ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action argmax
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?x ) WHERE { { ?j property:P282 ?d . ?j rdf:type ontology:Q34770 . ?d rdf:type ontology:Q9779 } UNION { ?j property:P282 ?d . ?j rdf:type ontology:Q34770 . ?d rdf:type ontology:Q8192 } } GROUP BY ?j } } . FILTER ( ?l = ?y ) . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?l ) WHERE { { ?a property:P282 ?g . ?a rdf:type ontology:Q34770 . ?g rdf:type ontology:Q9779 } UNION { ?a property:P282 ?g . ?a rdf:type ontology:Q34770 . ?g rdf:type ontology:Q8192 } } GROUP BY ?a } }
action argmax
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?x ) WHERE { { ?j property:writing_system ?d . ?j rdf:type ontology:language . ?d rdf:type ontology:alphabet } UNION { ?j property:writing_system ?d . ?j rdf:type ontology:language . ?d rdf:type ontology:writing_system } } GROUP BY ?j } } . FILTER ( ?l = ?y ) . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?l ) WHERE { { ?a property:writing_system ?g . ?a rdf:type ontology:language . ?g rdf:type ontology:alphabet } UNION { ?a property:writing_system ?g . ?a rdf:type ontology:language . ?g rdf:type ontology:writing_system } } GROUP BY ?a } }
[]
alphabet writing system language
Q182695
SYSTEM
Late Old Japanese
Q182695
(c(Q34770),P282,c(Q9779)|c(Q8192))
action argmax
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
[ANSWER] adopt max number of alphabets and writing systems as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?x ) WHERE { { ?j property:P282 ?d . ?j rdf:type ontology:Q34770 . ?d rdf:type ontology:Q9779 } UNION { ?j property:P282 ?d . ?j rdf:type ontology:Q34770 . ?d rdf:type ontology:Q8192 } } GROUP BY ?j } } . FILTER ( ?l = ?y ) . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?l ) WHERE { { ?a property:P282 ?g . ?a rdf:type ontology:Q34770 . ?g rdf:type ontology:Q9779 } UNION { ?a property:P282 ?g . ?a rdf:type ontology:Q34770 . ?g rdf:type ontology:Q8192 } } GROUP BY ?a } }
Late Old Japanese
Late Old Japanese adopt max number of alphabets and writing systems as the writing system
Late Old Japanese
action argmax
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?x ) WHERE { { ?j property:writing_system ?d . ?j rdf:type ontology:language . ?d rdf:type ontology:alphabet } UNION { ?j property:writing_system ?d . ?j rdf:type ontology:language . ?d rdf:type ontology:writing_system } } GROUP BY ?j } } . FILTER ( ?l = ?y ) . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?l ) WHERE { { ?a property:writing_system ?g . ?a rdf:type ontology:language . ?g rdf:type ontology:alphabet } UNION { ?a property:writing_system ?g . ?a rdf:type ontology:language . ?g rdf:type ontology:writing_system } } GROUP BY ?a } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P364
Q34770 Q21114848
USER
How many languages are the original languages of creation of around the same number of magazine genres as that language ?
(c(Q21114848),P364,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action count
action filter_type
action find
entity Q182695
relation P364
type Q34770
[{'concept': 'Q21114848'}, 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Q182695 property:P364 ?t . ?t rdf:type ontology:Q34770 } } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:P364 ?y . ?y rdf:type ontology:Q34770 . ?m rdf:type ontology:Q21114848 } GROUP BY ?y } }
action count
action approx
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action count
action filter_type
action find
entity Late Old Japanese
relation original language of work
type language
[{'concept': 'magazine genre'}, 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Late_Old_Japanese property:original_language_of_work ?t . ?t rdf:type ontology:language } } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:original_language_of_work ?y . ?y rdf:type ontology:language . ?m rdf:type ontology:magazine_genre } GROUP BY ?y } }
[]
language magazine genre
SYSTEM
31
Q132659 Q13414913 Q13211 Q35499 Q35668 Q8785 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q1321 Q33976 Q397 Q10862919 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q21114848),P364,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action count
action filter_type
action find
entity Q182695
relation P364
type Q34770
[ANSWER]
[{'concept': 'Q21114848'}, 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Q182695 property:P364 ?t . ?t rdf:type ontology:Q34770 } } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:P364 ?y . ?y rdf:type ontology:Q34770 . ?m rdf:type ontology:Q21114848 } GROUP BY ?y } }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Armenian Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Spanish Sardinian language Latin Tibetan language Czech Basque classical Chinese Italian Old Norse language Bokmål Wappo language Nynorsk Sumerian Gaulish Late Old Japanese written Chinese Middle High German Written vernacular Chinese
31
action count
action approx
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action count
action filter_type
action find
entity Late Old Japanese
relation original language of work
type language
[{'concept': 'magazine genre'}, 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Late_Old_Japanese property:original_language_of_work ?t . ?t rdf:type ontology:language } } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:original_language_of_work ?y . ?y rdf:type ontology:language . ?m rdf:type ontology:magazine_genre } GROUP BY ?y } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1073579 Q1875777
P366
Q2424752
USER
Which products mainly plays the role of a air racing or anti-submarine warfare ?
OR((c(Q2424752),P366,Q1875777), (c(Q2424752),P366,Q1073579))
action filter_type
action union
action find_reverse
entity Q1875777
relation P366
action find_reverse
entity Q1073579
relation P366
type Q2424752
{'OR': [[{'concept': 'Q2424752'}, 'P366', 'Q1875777'], [{'concept': 'Q2424752'}, 'P366', 'Q1073579']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P366 resource:Q1875777 } UNION { ?s property:P366 resource:Q1073579 } } . ?s rdf:type ontology:Q2424752 }
anti-submarine warfare air racing
action filter_type
action union
action find_reverse
entity air racing
relation use
action find_reverse
entity anti-submarine warfare
relation use
type product
{'OR': [[{'concept': 'product'}, 'use', 'air racing'], [{'concept': 'product'}, 'use', 'anti-submarine warfare']]}
SELECT DISTINCT ?s WHERE { { { ?s property:use resource:air_racing } UNION { ?s property:use resource:anti-submarine_warfare } } . ?s rdf:type ontology:product }
[]
product
Q15143009 Q21685976 Q17476690 Q18176883 Q17375074 Q2716284 Q3606930 Q17407666 Q17412926 Q17489329
SYSTEM
Some of them are Curtiss R-6, AD-3S Skyraider, SH-3D Sea King, AS332F Super Puma, AB 204AS, CH-124 Sea King, AB 212ASW, Ka-27PL, Lynx HAS2, Sea King HAS.1
Q17476684 Q18176883 Q21685976 Q17489329 Q2716284 Q17412926 Q3606930 Q17476690 Q18061094 Q17375074 Q17476691 Q17407666 Q15143009
OR((c(Q2424752),P366,Q1875777), (c(Q2424752),P366,Q1073579))
action filter_type
action union
action find_reverse
entity Q1875777
relation P366
action find_reverse
entity Q1073579
relation P366
type Q2424752
[ANSWERS] mainly play the role of a air racing or anti-submarine warfare
{'OR': [[{'concept': 'Q2424752'}, 'P366', 'Q1875777'], [{'concept': 'Q2424752'}, 'P366', 'Q1073579']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P366 resource:Q1875777 } UNION { ?s property:P366 resource:Q1073579 } } . ?s rdf:type ontology:Q2424752 }
SH-3A Sea King AS332F Super Puma AD-3S Skyraider Sea King HAS.1 CH-124 Sea King Lynx HAS2 AB 212ASW SH-3D Sea King P2V-4 Neptune AB 204AS SH-3H Sea King Ka-27PL Curtiss R-6
Curtiss R-6, AD-3S Skyraider, SH-3D Sea King, AS332F Super Puma, AB 204AS, CH-124 Sea King, AB 212ASW, Ka-27PL, Lynx HAS2 and Sea King HAS.1 mainly play the role of a air racing or anti-submarine warfare
Curtiss R-6 AD-3S Skyraider SH-3D Sea King AS332F Super Puma AB 204AS CH-124 Sea King AB 212ASW Ka-27PL Lynx HAS2 Sea King HAS.1
action filter_type
action union
action find_reverse
entity air racing
relation use
action find_reverse
entity anti-submarine warfare
relation use
type product
{'OR': [[{'concept': 'product'}, 'use', 'air racing'], [{'concept': 'product'}, 'use', 'anti-submarine warfare']]}
SELECT DISTINCT ?s WHERE { { { ?s property:use resource:air_racing } UNION { ?s property:use resource:anti-submarine_warfare } } . ?s rdf:type ontology:product }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3326959 Q1860
P361 P136
Q5962346
USER
Which classification schemes are English a part of or can be considered as genre of Moving On ?
OR((Q1860,P361,c(Q5962346)), (Q3326959,P136,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q3326959
relation P136
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q3326959', 'P136', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q5962346 . { { resource:Q1860 property:P361 ?b } UNION { resource:Q3326959 property:P136 ?b } } }
Moving On English
action filter_type
action union
action find
entity English
relation part of
action find
entity Moving On
relation genre
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Moving On', 'genre', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:classification_scheme . { { resource:English property:part_of ?b } UNION { resource:Moving_On property:genre ?b } } }
[]
classification scheme
Q1346342 Q1366112 Q5329170
SYSTEM
Anglic languages, television drama, Anglo-Frisian languages
Q1346342 Q1366112 Q5329170
OR((Q1860,P361,c(Q5962346)), (Q3326959,P136,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q3326959
relation P136
type Q5962346
[ANSWERS] are English a part of or can be considered as genre of Moving On
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q3326959', 'P136', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q5962346 . { { resource:Q1860 property:P361 ?b } UNION { resource:Q3326959 property:P136 ?b } } }
Anglic languages television drama Anglo-Frisian languages
Anglic languages, television drama and Anglo-Frisian languages are English a part of or can be considered as genre of Moving On
Anglic languages television drama Anglo-Frisian languages
action filter_type
action union
action find
entity English
relation part of
action find
entity Moving On
relation genre
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Moving On', 'genre', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:classification_scheme . { { resource:English property:part_of ?b } UNION { resource:Moving_On property:genre ?b } } }
[]