Simple Question (Direct)
Simple Question
Q6140362
P641
Q349
USER
Which sport was Koken Kato a part of ?
(Q6140362,P641,c(Q349))
action filter_type
action find
entity Q6140362
relation P641
type Q349
['Q6140362', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6140362 property:P641 ?k . ?k rdf:type ontology:Q349 }
Koken Kato
action filter_type
action find
entity Koken Kato
relation sport
type sport
['Koken Kato', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Koken_Kato property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6140362,P641,c(Q349))
action filter_type
action find
entity Q6140362
relation P641
type Q349
The [ANSWER] was Koken Kato a part of
['Q6140362', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6140362 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
The association football was Koken Kato a part of
association football
action filter_type
action find
entity Koken Kato
relation sport
type sport
['Koken Kato', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Koken_Kato property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6140362
P734
Q82799
USER
Who has the surname that person ?
(Q2736,P734,c(Q82799))
action filter_type
action find
entity Q6140362
relation P734
type Q82799
['Q2736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q6140362 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Koken Kato
action filter_type
action find
entity Koken Kato
relation family name
type name
['association football', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Koken_Kato property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q15985375
SYSTEM
Kato
Q15985375
(Q2736,P734,c(Q82799))
action filter_type
action find
entity Q6140362
relation P734
type Q82799
[ANSWER] has the surname that person
['Q2736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q6140362 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Kato
Kato has the surname that person
Kato
action filter_type
action find
entity Koken Kato
relation family name
type name
['association football', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Koken_Kato property:family_name ?f . ?f rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q22857
P366
Q349 Q8205328 Q39546
USER
How many sports are recognized as the main use of lesser number of artefacts or tools than climbing ?
(c(Q8205328)|c(Q39546),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q22857
relation P366
type Q8205328
type Q39546
[[{'concept': 'Q8205328'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:P366 resource:Q22857 . { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:Q39546 ) ( ontology:Q8205328 ) } } } } . FILTER ( ?m < ?b ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ?r . VALUES ( ?r ) { ( ontology:Q39546 ) ( ontology:Q8205328 ) } } GROUP BY ?e } }
climbing
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity climbing
relation use
type artefact
type tool
[[{'concept': 'artefact'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:use resource:climbing . { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:tool ) ( ontology:artefact ) } } } } . FILTER ( ?m < ?b ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ?r . VALUES ( ?r ) { ( ontology:tool ) ( ontology:artefact ) } } GROUP BY ?e } }
[]
sport artefact tool
SYSTEM
20
Q7856 Q5372 Q8418 Q1734 Q206989 Q183018 Q36908 Q500050 Q1875777 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q8205328)|c(Q39546),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q22857
relation P366
type Q8205328
type Q39546
[ANSWER]
[[{'concept': 'Q8205328'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:P366 resource:Q22857 . { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:Q39546 ) ( ontology:Q8205328 ) } } } } . FILTER ( ?m < ?b ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ?r . VALUES ( ?r ) { ( ontology:Q39546 ) ( ontology:Q8205328 ) } } GROUP BY ?e } }
rallying basketball handball volleyball shooting sport bandy mountaineering cross country running air racing gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey harness racing American football badminton
20
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity climbing
relation use
type artefact
type tool
[[{'concept': 'artefact'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:use resource:climbing . { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:tool ) ( ontology:artefact ) } } } } . FILTER ( ?m < ?b ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ?r . VALUES ( ?r ) { ( ontology:tool ) ( ontology:artefact ) } } GROUP BY ?e } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q14300548
P366
Q349 Q8205328 Q39546
USER
And what about skating?
(c(Q8205328)|c(Q39546),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q14300548
relation P366
type Q8205328
type Q39546
[[{'concept': 'Q8205328'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?z WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:Q8205328 ) ( ontology:Q39546 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P366 resource:Q14300548 . { { ?d rdf:type ontology:Q39546 } UNION { ?d rdf:type ontology:Q8205328 } } } } . FILTER ( ?t < ?j ) }
skating
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity skating
relation use
type artefact
type tool
[[{'concept': 'artefact'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?z WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:artefact ) ( ontology:tool ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:use resource:skating . { { ?d rdf:type ontology:tool } UNION { ?d rdf:type ontology:artefact } } } } . FILTER ( ?t < ?j ) }
[]
sport artefact tool
SYSTEM
20
Q7856 Q5372 Q8418 Q1734 Q206989 Q183018 Q36908 Q500050 Q1875777 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q8205328)|c(Q39546),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q14300548
relation P366
type Q8205328
type Q39546
[ANSWER]
[[{'concept': 'Q8205328'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?z WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:Q8205328 ) ( ontology:Q39546 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P366 resource:Q14300548 . { { ?d rdf:type ontology:Q39546 } UNION { ?d rdf:type ontology:Q8205328 } } } } . FILTER ( ?t < ?j ) }
rallying basketball handball volleyball shooting sport bandy mountaineering cross country running air racing gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey harness racing American football badminton
20
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity skating
relation use
type artefact
type tool
[[{'concept': 'artefact'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?z WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:artefact ) ( ontology:tool ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:use resource:skating . { { ?d rdf:type ontology:tool } UNION { ?d rdf:type ontology:artefact } } } } . FILTER ( ?t < ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q847
P366
Q349 Q811979 Q2235308
USER
Which sports represent the main use of greater number of architectural structures and ship types than tennis ?
(c(Q811979)|c(Q2235308),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q847
relation P366
type Q811979
type Q2235308
[[{'concept': 'Q811979'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?v WHERE { VALUES ( ?y ) { ( ontology:Q2235308 ) ( ontology:Q811979 ) } . ?q rdf:type ?y } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:P366 resource:Q847 . { { ?m rdf:type ontology:Q811979 } UNION { ?m rdf:type ontology:Q2235308 } } } } . FILTER ( ?p > ?s ) }
tennis
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity tennis
relation use
type architectural structure
type ship type
[[{'concept': 'architectural structure'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?v WHERE { VALUES ( ?y ) { ( ontology:ship_type ) ( ontology:architectural_structure ) } . ?q rdf:type ?y } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:use resource:tennis . { { ?m rdf:type ontology:architectural_structure } UNION { ?m rdf:type ontology:ship_type } } } } . FILTER ( ?p > ?s ) }
[]
sport architectural structure ship type
Q206763 Q8418 Q5372
SYSTEM
floorball, handball, basketball
Q5372 Q8418 Q1734 Q624161 Q1345388 Q206763 Q61065
(c(Q811979)|c(Q2235308),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q847
relation P366
type Q811979
type Q2235308
[ANSWERS] represent the main use of greater number of architectural structures and ship types than tennis
[[{'concept': 'Q811979'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?v WHERE { VALUES ( ?y ) { ( ontology:Q2235308 ) ( ontology:Q811979 ) } . ?q rdf:type ?y } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:P366 resource:Q847 . { { ?m rdf:type ontology:Q811979 } UNION { ?m rdf:type ontology:Q2235308 } } } } . FILTER ( ?p > ?s ) }
basketball handball volleyball gliding greyhound racing floorball water sport
Floorball, handball and basketball represent the main use of greater number of architectural structures and ship types than tennis
floorball handball basketball
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity tennis
relation use
type architectural structure
type ship type
[[{'concept': 'architectural structure'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?v WHERE { VALUES ( ?y ) { ( ontology:ship_type ) ( ontology:architectural_structure ) } . ?q rdf:type ?y } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:use resource:tennis . { { ?m rdf:type ontology:architectural_structure } UNION { ?m rdf:type ontology:ship_type } } } } . FILTER ( ?p > ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q7856
P366
Q349 Q811979 Q2235308
USER
And what about rallying?
(c(Q811979)|c(Q2235308),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q7856
relation P366
type Q811979
type Q2235308
[[{'concept': 'Q811979'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?k WHERE { VALUES ( ?j ) { ( ontology:Q2235308 ) ( ontology:Q811979 ) } . ?n rdf:type ?j } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P366 resource:Q7856 . { ?m rdf:type ?z . VALUES ( ?z ) { ( ontology:Q811979 ) ( ontology:Q2235308 ) } } } } . FILTER ( ?q > ?l ) }
rallying
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity rallying
relation use
type architectural structure
type ship type
[[{'concept': 'architectural structure'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?k WHERE { VALUES ( ?j ) { ( ontology:ship_type ) ( ontology:architectural_structure ) } . ?n rdf:type ?j } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:use resource:rallying . { ?m rdf:type ?z . VALUES ( ?z ) { ( ontology:architectural_structure ) ( ontology:ship_type ) } } } } . FILTER ( ?q > ?l ) }
[]
sport architectural structure ship type
Q206763 Q8418 Q5372
SYSTEM
floorball, handball, basketball
Q5372 Q8418 Q1734 Q624161 Q1345388 Q206763 Q61065
(c(Q811979)|c(Q2235308),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q7856
relation P366
type Q811979
type Q2235308
[ANSWERS]
[[{'concept': 'Q811979'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?k WHERE { VALUES ( ?j ) { ( ontology:Q2235308 ) ( ontology:Q811979 ) } . ?n rdf:type ?j } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P366 resource:Q7856 . { ?m rdf:type ?z . VALUES ( ?z ) { ( ontology:Q811979 ) ( ontology:Q2235308 ) } } } } . FILTER ( ?q > ?l ) }
basketball handball volleyball gliding greyhound racing floorball water sport
floorball handball basketball
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity rallying
relation use
type architectural structure
type ship type
[[{'concept': 'architectural structure'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?k WHERE { VALUES ( ?j ) { ( ontology:ship_type ) ( ontology:architectural_structure ) } . ?n rdf:type ?j } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:use resource:rallying . { ?m rdf:type ?z . VALUES ( ?z ) { ( ontology:architectural_structure ) ( ontology:ship_type ) } } } } . FILTER ( ?q > ?l ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q43229 Q502895
USER
Which sports are the fields of work of more number of organizations and people than that sport ?
(c(Q43229)|c(Q502895),P101,c(Q349))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { ?b property:Q627436 ?y . VALUES ( ?b ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { ?b property:field_of_work ?y . VALUES ( ?b ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]
sport organization common name
Comparative|More/Less|Mult. entity type|Clarification
Q206763
SYSTEM
Did you mean floorball ?
(c(Q43229)|c(Q502895),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { ?b property:Q627436 ?y . VALUES ( ?b ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
Did you mean floorball ?
floorball
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { ?b property:field_of_work ?y . VALUES ( ?b ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
No, I meant basketball. Could you tell me the answer for that?
(c(Q43229)|c(Q502895),P101,c(Q349))
Q5372
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
[]
Q10962 Q4543 Q170737
SYSTEM
rugby league, beach volleyball, long jump
Q10962 Q43450 Q4543 Q170737 Q5375 Q1734 Q31920 Q500050 Q2736 Q201965 Q124100 Q41323
(c(Q43229)|c(Q502895),P101,c(Q349))
[ANSWERS] are the fields of work of more number of organizations and people than that sport
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
rugby league gymnastics beach volleyball long jump cricket volleyball swimming cross country running association football Nordic combined bodybuilding American football
Rugby league, beach volleyball and long jump are the fields of work of more number of organizations and people than that sport
rugby league beach volleyball long jump
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7856
P366
Q349 Q3084961 Q8205328
USER
How many sports are recognized as the main use of more number of product linings or artefacts than rallying ?
(c(Q3084961)|c(Q8205328),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action count
action filter_multi_types
action find_reverse
entity Q7856
relation P366
type Q3084961
type Q8205328
[[{'concept': 'Q3084961'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q3084961 ) ( ontology:Q8205328 ) } . ?q rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P366 resource:Q7856 . { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:Q8205328 ) ( ontology:Q3084961 ) } } } } . FILTER ( ?v > ?j ) }
rallying
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type artefact
action count
action filter_multi_types
action find_reverse
entity rallying
relation use
type product lining
type artefact
[[{'concept': 'product lining'}, {'concept': 'artefact'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?l WHERE { VALUES ( ?h ) { ( ontology:product_lining ) ( ontology:artefact ) } . ?q rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:use resource:rallying . { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:artefact ) ( ontology:product_lining ) } } } } . FILTER ( ?v > ?j ) }
[]
sport product lining artefact
SYSTEM
3
Q14300548 Q1875777 Q108429
(c(Q3084961)|c(Q8205328),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action count
action filter_multi_types
action find_reverse
entity Q7856
relation P366
type Q3084961
type Q8205328
[ANSWER]
[[{'concept': 'Q3084961'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q3084961 ) ( ontology:Q8205328 ) } . ?q rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P366 resource:Q7856 . { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:Q8205328 ) ( ontology:Q3084961 ) } } } } . FILTER ( ?v > ?j ) }
skating air racing archery
3
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type artefact
action count
action filter_multi_types
action find_reverse
entity rallying
relation use
type product lining
type artefact
[[{'concept': 'product lining'}, {'concept': 'artefact'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?l WHERE { VALUES ( ?h ) { ( ontology:product_lining ) ( ontology:artefact ) } . ?q rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:use resource:rallying . { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:artefact ) ( ontology:product_lining ) } } } } . FILTER ( ?v > ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1194269
P366
Q349 Q3084961 Q8205328
USER
And what about harness racing?
(c(Q3084961)|c(Q8205328),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action count
action filter_multi_types
action find_reverse
entity Q1194269
relation P366
type Q3084961
type Q8205328
[[{'concept': 'Q3084961'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?k WHERE { ?p rdf:type ?v . VALUES ( ?v ) { ( ontology:Q8205328 ) ( ontology:Q3084961 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P366 resource:Q1194269 . { { ?y rdf:type ontology:Q8205328 } UNION { ?y rdf:type ontology:Q3084961 } } } } . FILTER ( ?m > ?r ) }
harness racing
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type artefact
action count
action filter_multi_types
action find_reverse
entity harness racing
relation use
type product lining
type artefact
[[{'concept': 'product lining'}, {'concept': 'artefact'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?k WHERE { ?p rdf:type ?v . VALUES ( ?v ) { ( ontology:artefact ) ( ontology:product_lining ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:use resource:harness_racing . { { ?y rdf:type ontology:artefact } UNION { ?y rdf:type ontology:product_lining } } } } . FILTER ( ?m > ?r ) }
[]
sport product lining artefact
SYSTEM
3
Q14300548 Q1875777 Q108429
(c(Q3084961)|c(Q8205328),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action count
action filter_multi_types
action find_reverse
entity Q1194269
relation P366
type Q3084961
type Q8205328
[ANSWER]
[[{'concept': 'Q3084961'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?k WHERE { ?p rdf:type ?v . VALUES ( ?v ) { ( ontology:Q8205328 ) ( ontology:Q3084961 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P366 resource:Q1194269 . { { ?y rdf:type ontology:Q8205328 } UNION { ?y rdf:type ontology:Q3084961 } } } } . FILTER ( ?m > ?r ) }
skating air racing archery
3
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type artefact
action count
action filter_multi_types
action find_reverse
entity harness racing
relation use
type product lining
type artefact
[[{'concept': 'product lining'}, {'concept': 'artefact'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?k WHERE { ?p rdf:type ?v . VALUES ( ?v ) { ( ontology:artefact ) ( ontology:product_lining ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:use resource:harness_racing . { { ?y rdf:type ontology:artefact } UNION { ?y rdf:type ontology:product_lining } } } } . FILTER ( ?m > ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10962
P101
Q502895
USER
Which people have his/her area as rugby league ?
(c(Q502895),P101,Q10962)
action filter_type
action find_reverse
entity Q10962
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q10962']
SELECT DISTINCT ?v WHERE { ?v property:P101 resource:Q10962 . ?v rdf:type ontology:Q502895 }
rugby league
action filter_type
action find_reverse
entity rugby league
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'rugby league']
SELECT DISTINCT ?v WHERE { ?v property:field_of_work resource:rugby_league . ?v rdf:type ontology:common_name }
[]
common name
Q6141195 Q6701930
SYSTEM
James Peters, Luke Duffy
Q6141195 Q6701930
(c(Q502895),P101,Q10962)
action filter_type
action find_reverse
entity Q10962
relation P101
type Q502895
[ANSWERS] have his/her area as rugby league
[{'concept': 'Q502895'}, 'P101', 'Q10962']
SELECT DISTINCT ?v WHERE { ?v property:P101 resource:Q10962 . ?v rdf:type ontology:Q502895 }
James Peters Luke Duffy
James Peters and Luke Duffy have his/her area as rugby league
James Peters Luke Duffy
action filter_type
action find_reverse
entity rugby league
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'rugby league']
SELECT DISTINCT ?v WHERE { ?v property:field_of_work resource:rugby_league . ?v rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6141195
P21
Q290
USER
Which sex does that person possess ?
(Q6141195,P21,c(Q290))
action filter_type
action find
entity Q6141195
relation P21
type Q290
['Q6141195', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q6141195 property:P21 ?j . ?j rdf:type ontology:Q290 }
James Peters
action filter_type
action find
entity James Peters
relation gender
type sex
['James Peters', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:James_Peters property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q6141195
SYSTEM
Did you mean James Peters ?
Q6141195 Q6701930
(Q6141195,P21,c(Q290)) (Q6701930,P21,c(Q290))
[ANSWER]
['Q6141195', 'P21', {'concept': 'Q290'}] ['Q6701930', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q6141195 property:P21 ?j . ?j rdf:type ontology:Q290 }
James Peters Luke Duffy
Did you mean James Peters ?
James Peters
['James Peters', 'gender', {'concept': 'sex'}] ['Luke Duffy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:James_Peters property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
Yes
(Q6141195,P21,c(Q290))
['Q6141195', 'P21', {'concept': 'Q290'}]
['James Peters', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q6141195,P21,c(Q290))
action filter_type
action find
entity Q6141195
relation P21
type Q290
That person possesses a [ANSWER]
['Q6141195', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q6141195 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity James Peters
relation gender
type sex
['James Peters', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:James_Peters property:gender ?j . ?j rdf:type ontology:sex }
[]