Simple Question (Direct)
Simple Question
Q463321
P27
Q15617994
USER
Which administrative territory is the native country of Jamil Walker Smith ?
(Q463321,P27,c(Q15617994))
action filter_type
action find
entity Q463321
relation P27
type Q15617994
['Q463321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q463321 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Jamil Walker Smith
action filter_type
action find
entity Jamil Walker Smith
relation country of citizenship
type designation for an administrative territorial entity
['Jamil Walker Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Jamil_Walker_Smith property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q463321,P27,c(Q15617994))
action filter_type
action find
entity Q463321
relation P27
type Q15617994
[ANSWER] is the native country of Jamil Walker Smith
['Q463321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q463321 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
United States of America is the native country of Jamil Walker Smith
United States of America
action filter_type
action find
entity Jamil Walker Smith
relation country of citizenship
type designation for an administrative territorial entity
['Jamil Walker Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Jamil_Walker_Smith property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P85
Q484692
USER
Which hymn is the anthem for that administrative territory ?
(Q30,P85,c(Q484692))
action filter_type
action find
entity Q30
relation P85
type Q484692
['Q30', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?t WHERE { resource:Q30 property:P85 ?t . ?t rdf:type ontology:Q484692 }
United States of America
action filter_type
action find
entity United States of America
relation anthem
type hymn
['United States of America', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?t WHERE { resource:United_States_of_America property:anthem ?t . ?t rdf:type ontology:hymn }
[]
hymn
Q44696
SYSTEM
The Star-Spangled Banner
Q44696
(Q30,P85,c(Q484692))
action filter_type
action find
entity Q30
relation P85
type Q484692
Banner [ANSWER] is the anthem for that administrative territory
['Q30', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?t WHERE { resource:Q30 property:P85 ?t . ?t rdf:type ontology:Q484692 }
The Star-Spangled Banner
Banner The Star-Spangled Banner is the anthem for that administrative territory
The Star-Spangled Banner
action filter_type
action find
entity United States of America
relation anthem
type hymn
['United States of America', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?t WHERE { resource:United_States_of_America property:anthem ?t . ?t rdf:type ontology:hymn }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relations with approximately 40 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 40
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?k ) WHERE { ?x rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 . ?x property:P530 ?p } GROUP BY ?x } . FILTER ( ?k = 40 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 40
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?k ) WHERE { ?x rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?p } GROUP BY ?x } . FILTER ( ?k = 40 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 40
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?k ) WHERE { ?x rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 . ?x property:P530 ?p } GROUP BY ?x } . FILTER ( ?k = 40 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 40
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?k ) WHERE { ?x rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?p } GROUP BY ?x } . FILTER ( ?k = 40 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q155 Q30
P27
Q502895
USER
Which people are a citizen of United States of America and Brazil ?
AND((c(Q502895),P27,Q30), (c(Q502895),P27,Q155))
action filter_type
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q155
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q30'], [{'concept': 'Q502895'}, 'P27', 'Q155']]}
SELECT DISTINCT ?o WHERE { ?o property:P27 resource:Q155 . ?o property:P27 resource:Q30 . ?o rdf:type ontology:Q502895 }
Brazil United States of America
action filter_type
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Brazil
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United States of America'], [{'concept': 'common name'}, 'country of citizenship', 'Brazil']]}
SELECT DISTINCT ?o WHERE { ?o property:country_of_citizenship resource:Brazil . ?o property:country_of_citizenship resource:United_States_of_America . ?o rdf:type ontology:common_name }
[]
common name
Q3808676 Q84359 Q5701990 Q2075846 Q2087375 Q53420 Q7811766 Q3056260 Q2160288 Q27653531
SYSTEM
Some of them are Joe Nunez, Benny Feilhaber, Helen Caldwell, Larry Taylor, Carlos Metidieri, Bob Falkenburg, Henry Sobel, Eric Ehrmann, Isadora Williams, Thomas Kuc
Q16146619 Q5307152 Q552997 Q2160288 Q6224756 Q10298722 Q3808697 Q27653531 Q3301766 Q235983 Q818048 Q154824 Q3056260 Q16887700 Q258140 Q10317645 Q2087375 Q230827 Q231091 Q44158 Q461279 Q7351865 Q382945 Q459814 Q4909513 Q6306436 Q6950299 Q84359 Q2075846 Q5701990 Q53420 Q7807409 Q5516097 Q522260 Q6291861 Q469262 Q751231 Q7811766 Q16106487 Q465318 Q4750328 Q668755 Q3808676 Q15831425 Q817074 Q721684 Q8075940
AND((c(Q502895),P27,Q30), (c(Q502895),P27,Q155))
action filter_type
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q155
relation P27
type Q502895
[ANSWERS] are a citizen of United States of America and Brazil
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q30'], [{'concept': 'Q502895'}, 'P27', 'Q155']]}
SELECT DISTINCT ?o WHERE { ?o property:P27 resource:Q155 . ?o property:P27 resource:Q30 . ?o rdf:type ontology:Q502895 }
Goncalino Almeida Drew Correa Lateef Crowder Dos Santos Isadora Williams John Cain Carter Hugh Clarence Tucker Joe Shipp Thomas Kuc Mauro Refosco Henry Taube Benny Blanco Norman Borlaug Eric Ehrmann Madeleine M. Joullié Bebel Gilberto Letícia Bufoni Carlos Metidieri Jordana Brewster Morena Baccarin Dave Bautista Leah Fortune Roberto Refinetti Affonso Beato Marshall Brickman Bill Hudson Julia Goldani Telles Mônica da Silva Benny Feilhaber Larry Taylor Helen Caldwell Bob Falkenburg Timothy Mulholland Gabrielle Rose Fabrizio Moretti José Carlos Souza Charlie Byrd Alfredo Ernest Novak Henry Sobel Regina Vater Dorothy Stang Ana Carolina da Fonseca Bob Burnquist Joe Nunez John Merven Carrère Benedito Domingos Vito Coscia Walter Afanasieff Zyon Cavalera
Joe Nunez, Benny Feilhaber, Helen Caldwell, Larry Taylor, Carlos Metidieri, Bob Falkenburg, Henry Sobel, Eric Ehrmann, Isadora Williams and Thomas Kuc are a citizen of United States of America and Brazil
Joe Nunez Benny Feilhaber Helen Caldwell Larry Taylor Carlos Metidieri Bob Falkenburg Henry Sobel Eric Ehrmann Isadora Williams Thomas Kuc
action filter_type
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Brazil
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United States of America'], [{'concept': 'common name'}, 'country of citizenship', 'Brazil']]}
SELECT DISTINCT ?o WHERE { ?o property:country_of_citizenship resource:Brazil . ?o property:country_of_citizenship resource:United_States_of_America . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
Which works had their voice dubbing done by atmost 10 people ?
(c(Q386724),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 10
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?i <= 10 ) . { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?i ) WHERE { ?y property:P725 ?g . ?y rdf:type ontology:Q386724 . ?g rdf:type ontology:Q502895 } GROUP BY ?y } }
action atmost
action find_tuple_counts
relation voice actor
type work
type common name
value 10
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?i <= 10 ) . { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?i ) WHERE { ?y property:voice_actor ?g . ?y rdf:type ontology:work . ?g rdf:type ontology:common_name } GROUP BY ?y } }
[]
common name work
Q13516675 Q10864091 Q27627540
SYSTEM
Sakura Trick, Isshūkan Friends, Doctor Strange (Doctor Extraño)
Q10864091 Q27627540 Q24175397 Q26715049 Q25858085 Q13516675 Q26829863
(c(Q386724),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 10
[ANSWERS] had their voice dubbing done by atmost 10 people
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?i <= 10 ) . { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?i ) WHERE { ?y property:P725 ?g . ?y rdf:type ontology:Q386724 . ?g rdf:type ontology:Q502895 } GROUP BY ?y } }
Isshūkan Friends Doctor Strange (Doctor Extraño) Capitán América: El primer vengador Peter y el dragón Alicia a través del espejo Sakura Trick Angry Birds: La película
Sakura Trick, Isshūkan Friends and Doctor Strange (Doctor Extraño) had their voice dubbing done by atmost 10 people
Sakura Trick Isshūkan Friends Doctor Strange (Doctor Extraño)
action atmost
action find_tuple_counts
relation voice actor
type work
type common name
value 10
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?i <= 10 ) . { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?i ) WHERE { ?y property:voice_actor ?g . ?y rdf:type ontology:work . ?g rdf:type ontology:common_name } GROUP BY ?y } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P47
Q1048835 Q15617994
USER
How many political territories and administrative territories share the border with United States of America ?
(Q30,P47,c(Q1048835)) (Q30,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q30
relation P47
type Q1048835
action filter_type
action find
entity Q30
relation P47
type Q15617994
['Q30', 'P47', {'concept': 'Q1048835'}] ['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { VALUES ( ?y ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?k rdf:type ?y }
United States of America
action count
action union
action filter_type
action find
entity United States of America
relation shares border with
type political territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'political territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { VALUES ( ?y ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?y }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2 political territories and 12 administrative territories
Q717 Q702 Q804 Q159 Q683 Q96 Q778 Q786 Q241 Q17 Q16 Q710 Q678 Q790
(Q30,P47,c(Q1048835)) (Q30,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q30
relation P47
type Q1048835
action filter_type
action find
entity Q30
relation P47
type Q15617994
[ANSWER]
['Q30', 'P47', {'concept': 'Q1048835'}] ['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { VALUES ( ?y ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?k rdf:type ?y }
Venezuela Federated States of Micronesia Panama Russia Samoa Mexico The Bahamas Dominican Republic Cuba Japan Canada Kiribati Tonga Haiti
2 political territories and 12 administrative territories
action count
action union
action filter_type
action find
entity United States of America
relation shares border with
type political territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'political territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { VALUES ( ?y ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?y }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18128311 Q2087375
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Carlos Metidieri or Jack Stacey ?
OR((Q2087375,P27,c(Q15617994)), (Q18128311,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2087375
relation P27
action find
entity Q18128311
relation P27
type Q15617994
{'OR': [['Q2087375', 'P27', {'concept': 'Q15617994'}], ['Q18128311', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q18128311 property:P27 ?d } UNION { resource:Q2087375 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Jack Stacey Carlos Metidieri
action filter_type
action union
action find
entity Carlos Metidieri
relation country of citizenship
action find
entity Jack Stacey
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Carlos Metidieri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jack Stacey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Jack_Stacey property:country_of_citizenship ?d } UNION { resource:Carlos_Metidieri property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q30 Q145
SYSTEM
Brazil, United States of America, United Kingdom
Q155 Q30 Q145
OR((Q2087375,P27,c(Q15617994)), (Q18128311,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2087375
relation P27
action find
entity Q18128311
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Carlos Metidieri or Jack Stacey
{'OR': [['Q2087375', 'P27', {'concept': 'Q15617994'}], ['Q18128311', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q18128311 property:P27 ?d } UNION { resource:Q2087375 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Brazil United States of America United Kingdom
Brazil, United States of America and United Kingdom are the countries of citizenship of Carlos Metidieri or Jack Stacey
Brazil United States of America United Kingdom
action filter_type
action union
action find
entity Carlos Metidieri
relation country of citizenship
action find
entity Jack Stacey
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Carlos Metidieri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jack Stacey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Jack_Stacey property:country_of_citizenship ?d } UNION { resource:Carlos_Metidieri property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18128311
P641
Q349
USER
Which sport was Jack Stacey a part of ?
(Q18128311,P641,c(Q349))
action filter_type
action find
entity Q18128311
relation P641
type Q349
['Q18128311', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q18128311 property:P641 ?m . ?m rdf:type ontology:Q349 }
Jack Stacey
action filter_type
action find
entity Jack Stacey
relation sport
type sport
['Jack Stacey', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Jack_Stacey property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q18128311,P641,c(Q349))
action filter_type
action find
entity Q18128311
relation P641
type Q349
Which sport was Jack Stacey a part of
['Q18128311', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q18128311 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
Which sport was Jack Stacey a part of
association football
action filter_type
action find
entity Jack Stacey
relation sport
type sport
['Jack Stacey', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Jack_Stacey property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5387296
Q349
USER
And also tell me about Eric Potts?
(Q5387296,P641,c(Q349))
action filter_type
action find
entity Q5387296
relation P641
type Q349
['Q5387296', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q5387296 property:P641 ?f . ?f rdf:type ontology:Q349 }
Eric Potts
action filter_type
action find
entity Eric Potts
relation sport
type sport
['Eric Potts', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Eric_Potts property:sport ?f . ?f rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5387296,P641,c(Q349))
action filter_type
action find
entity Q5387296
relation P641
type Q349
[ANSWER]
['Q5387296', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q5387296 property:P641 ?f . ?f rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Eric Potts
relation sport
type sport
['Eric Potts', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Eric_Potts property:sport ?f . ?f rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q349 Q2342494
USER
Which sports do around the same number of collectables belong to as that sport ?
(c(Q2342494),P101,c(Q349))
action approx
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_type
action find
entity Q2736
relation P101
type Q349
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:P101 ?z . ?z rdf:type ontology:Q349 . ?m rdf:type ontology:Q2342494 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Q2736 property:P101 ?a . ?a rdf:type ontology:Q349 } } . FILTER ( ?u = ?v ) }
action approx
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_type
action find
entity association football
relation field of work
type sport
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:field_of_work ?z . ?z rdf:type ontology:sport . ?m rdf:type ontology:collectable } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:association_football property:field_of_work ?a . ?a rdf:type ontology:sport } } . FILTER ( ?u = ?v ) }
[]
sport 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 Q114466 Q328716 Q131359 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q2342494),P101,c(Q349))
action approx
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_type
action find
entity Q2736
relation P101
type Q349
[ANSWERS] around the same number of collectables belong to as that sport
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:P101 ?z . ?z rdf:type ontology:Q349 . ?m rdf:type ontology:Q2342494 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Q2736 property:P101 ?a . ?a rdf:type ontology:Q349 } } . FILTER ( ?u = ?v ) }
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 mixed martial arts motorcycle sport professional wrestling Nordic combined boxe winter sport judo bodybuilding sport climbing American football
BASE jumping, curling and rugby league around the same number of collectables belong to as that sport
BASE jumping curling rugby league
action approx
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_type
action find
entity association football
relation field of work
type sport
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:field_of_work ?z . ?z rdf:type ontology:sport . ?m rdf:type ontology:collectable } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:association_football property:field_of_work ?a . ?a rdf:type ontology:sport } } . FILTER ( ?u = ?v ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q2342494 Q502895
USER
Which sports do lesser number of collectables or people belong to than that sport ?
(c(Q2342494)|c(Q502895),P101,c(Q349))
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'collectable'}, {'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:collectable . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]
sport collectable common name
Comparative|More/Less|Mult. entity type|Clarification
Q809831
SYSTEM
Did you mean BASE jumping ?
(c(Q2342494)|c(Q502895),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
Did you mean BASE jumping ?
BASE jumping
[[{'concept': 'collectable'}, {'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:collectable . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
No, I meant curling. Could you tell me the answer for that?
(c(Q2342494)|c(Q502895),P101,c(Q349))
Q136851
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
[]
Q14300548 Q130949 Q114466
SYSTEM
skating, skiing, mixed martial arts
Q14300548 Q130949 Q114466 Q131359
(c(Q2342494)|c(Q502895),P101,c(Q349))
[ANSWERS] lesser number of collectables or people belong to than that sport
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
skating skiing mixed martial arts professional wrestling
Skating, skiing and mixed martial arts lesser number of collectables or people belong to than that sport
skating skiing mixed martial arts
[[{'concept': 'collectable'}, {'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:collectable . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]