Simple Question (Direct)
Simple Question
Q6384679
P641
Q349
USER
What was the sport that Keith MacRae was a part of ?
(Q6384679,P641,c(Q349))
action filter_type
action find
entity Q6384679
relation P641
type Q349
['Q6384679', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q6384679 property:P641 ?q . ?q rdf:type ontology:Q349 }
Keith MacRae
action filter_type
action find
entity Keith MacRae
relation sport
type sport
['Keith MacRae', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Keith_MacRae property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6384679,P641,c(Q349))
action filter_type
action find
entity Q6384679
relation P641
type Q349
The sport that Keith MacRae was a part of was [ANSWER]
['Q6384679', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q6384679 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
The sport that Keith MacRae was a part of was association football
association football
action filter_type
action find
entity Keith MacRae
relation sport
type sport
['Keith MacRae', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Keith_MacRae property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6384679
P54
Q12973014
USER
Which sports team is that person a member of ?
(Q2736,P54,c(Q12973014))
action filter_type
action find
entity Q6384679
relation P54
type Q12973014
['Q2736', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12973014 . resource:Q6384679 property:P54 ?v }
Keith MacRae
action filter_type
action find
entity Keith MacRae
relation member of sports team
type sports team
['association football', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sports_team . resource:Keith_MacRae property:member_of_sports_team ?v }
[]
sports team
Q7437735
SYSTEM
Scottish Football League XI
Q7437735
(Q2736,P54,c(Q12973014))
action filter_type
action find
entity Q6384679
relation P54
type Q12973014
The [ANSWER] is that person a member of
['Q2736', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12973014 . resource:Q6384679 property:P54 ?v }
Scottish Football League XI
The Scottish Football League XI is that person a member of
Scottish Football League XI
action filter_type
action find
entity Keith MacRae
relation member of sports team
type sports team
['association football', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sports_team . resource:Keith_MacRae property:member_of_sports_team ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7437735 Q17411167
P54
Q502895
USER
Does Tara Flanagan play for that sports team ?
(Q17411167,P54,Q7437735)
action is_in
entity Q17411167
action find
entity Q7437735
relation P54
['Q17411167', 'P54', 'Q7437735']
ASK WHERE { resource:Q7437735 property:P54 resource:Q17411167 }
Scottish Football League XI Tara Flanagan
action is_in
entity Tara Flanagan
action find
entity Scottish Football League XI
relation member of sports team
['Tara Flanagan', 'member of sports team', 'Scottish Football League XI']
ASK WHERE { resource:Scottish_Football_League_XI property:member_of_sports_team resource:Tara_Flanagan }
[]
common name
SYSTEM
NO
(Q17411167,P54,Q7437735)
action is_in
entity Q17411167
action find
entity Q7437735
relation P54
[ANSWER]
['Q17411167', 'P54', 'Q7437735']
ASK WHERE { resource:Q7437735 property:P54 resource:Q17411167 }
No
action is_in
entity Tara Flanagan
action find
entity Scottish Football League XI
relation member of sports team
['Tara Flanagan', 'member of sports team', 'Scottish Football League XI']
ASK WHERE { resource:Scottish_Football_League_XI property:member_of_sports_team resource:Tara_Flanagan }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7291
P366
Q349 Q811979 Q2424752
USER
How many sports are the main uses of more number of architectural structures or products than badminton ?
(c(Q811979)|c(Q2424752),P366,c(Q349))
action count
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 Q2424752
action count
action filter_multi_types
action find_reverse
entity Q7291
relation P366
type Q811979
type Q2424752
[[{'concept': 'Q811979'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?x WHERE { VALUES ( ?y ) { ( ontology:Q811979 ) ( ontology:Q2424752 ) } . ?c rdf:type ?y } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2424752 ) ( ontology:Q811979 ) } } . ?h property:P366 resource:Q7291 } } . FILTER ( ?r > ?u ) }
badminton
action count
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 product
action count
action filter_multi_types
action find_reverse
entity badminton
relation use
type architectural structure
type product
[[{'concept': 'architectural structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?x WHERE { VALUES ( ?y ) { ( ontology:architectural_structure ) ( ontology:product ) } . ?c rdf:type ?y } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:product ) ( ontology:architectural_structure ) } } . ?h property:use resource:badminton } } . FILTER ( ?r > ?u ) }
[]
sport architectural structure product
SYSTEM
7
Q5372 Q8418 Q1734 Q1875777 Q624161 Q1345388 Q206763
(c(Q811979)|c(Q2424752),P366,c(Q349))
action count
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 Q2424752
action count
action filter_multi_types
action find_reverse
entity Q7291
relation P366
type Q811979
type Q2424752
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?x WHERE { VALUES ( ?y ) { ( ontology:Q811979 ) ( ontology:Q2424752 ) } . ?c rdf:type ?y } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2424752 ) ( ontology:Q811979 ) } } . ?h property:P366 resource:Q7291 } } . FILTER ( ?r > ?u ) }
basketball handball volleyball air racing gliding greyhound racing floorball
7
action count
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 product
action count
action filter_multi_types
action find_reverse
entity badminton
relation use
type architectural structure
type product
[[{'concept': 'architectural structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?x WHERE { VALUES ( ?y ) { ( ontology:architectural_structure ) ( ontology:product ) } . ?c rdf:type ?y } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:product ) ( ontology:architectural_structure ) } } . ?h property:use resource:badminton } } . FILTER ( ?r > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q14300548
P366
Q349 Q811979 Q2424752
USER
And what about skating?
(c(Q811979)|c(Q2424752),P366,c(Q349))
action count
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 Q2424752
action count
action filter_multi_types
action find_reverse
entity Q14300548
relation P366
type Q811979
type Q2424752
[[{'concept': 'Q811979'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?a WHERE { { ?a rdf:type ontology:Q349 . ?r rdf:type ontology:Q811979 . ?r property:P366 ?a } UNION { ?r property:P366 ?a . ?a rdf:type ontology:Q349 . ?r rdf:type ontology:Q2424752 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:P366 resource:Q14300548 . { { ?b rdf:type ontology:Q811979 } UNION { ?b rdf:type ontology:Q2424752 } } } } . FILTER ( ?o > ?n ) }
skating
action count
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 product
action count
action filter_multi_types
action find_reverse
entity skating
relation use
type architectural structure
type product
[[{'concept': 'architectural structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?a WHERE { { ?a rdf:type ontology:sport . ?r rdf:type ontology:architectural_structure . ?r property:use ?a } UNION { ?r property:use ?a . ?a rdf:type ontology:sport . ?r rdf:type ontology:product } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:use resource:skating . { { ?b rdf:type ontology:architectural_structure } UNION { ?b rdf:type ontology:product } } } } . FILTER ( ?o > ?n ) }
[]
sport architectural structure product
SYSTEM
7
Q5372 Q8418 Q1734 Q1875777 Q624161 Q1345388 Q206763
(c(Q811979)|c(Q2424752),P366,c(Q349))
action count
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 Q2424752
action count
action filter_multi_types
action find_reverse
entity Q14300548
relation P366
type Q811979
type Q2424752
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?a WHERE { { ?a rdf:type ontology:Q349 . ?r rdf:type ontology:Q811979 . ?r property:P366 ?a } UNION { ?r property:P366 ?a . ?a rdf:type ontology:Q349 . ?r rdf:type ontology:Q2424752 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:P366 resource:Q14300548 . { { ?b rdf:type ontology:Q811979 } UNION { ?b rdf:type ontology:Q2424752 } } } } . FILTER ( ?o > ?n ) }
basketball handball volleyball air racing gliding greyhound racing floorball
7
action count
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 product
action count
action filter_multi_types
action find_reverse
entity skating
relation use
type architectural structure
type product
[[{'concept': 'architectural structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?a WHERE { { ?a rdf:type ontology:sport . ?r rdf:type ontology:architectural_structure . ?r property:use ?a } UNION { ?r property:use ?a . ?a rdf:type ontology:sport . ?r rdf:type ontology:product } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:use resource:skating . { { ?b rdf:type ontology:architectural_structure } UNION { ?b rdf:type ontology:product } } } } . FILTER ( ?o > ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6384679
P19
Q56061
USER
Where was Keith MacRae born ?
(Q6384679,P19,c(Q56061))
action filter_type
action find
entity Q6384679
relation P19
type Q56061
['Q6384679', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q6384679 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Keith MacRae
action filter_type
action find
entity Keith MacRae
relation place of birth
type administrative territorial entity
['Keith MacRae', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Keith_MacRae property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4093
SYSTEM
Glasgow
Q4093
(Q6384679,P19,c(Q56061))
action filter_type
action find
entity Q6384679
relation P19
type Q56061
Keith MacRae was born in [ANSWER]
['Q6384679', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q6384679 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Glasgow
Keith MacRae was born in Glasgow
Glasgow
action filter_type
action find
entity Keith MacRae
relation place of birth
type administrative territorial entity
['Keith MacRae', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Keith_MacRae property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q4093 Q1614846
P19
Q502895
USER
Was Hervé Pinoteau born at that administrative territory ?
(Q1614846,P19,Q4093)
action is_in
entity Q1614846
action find
entity Q4093
relation P19
['Q1614846', 'P19', 'Q4093']
ASK WHERE { resource:Q4093 property:P19 resource:Q1614846 }
Glasgow Hervé Pinoteau
action is_in
entity Hervé Pinoteau
action find
entity Glasgow
relation place of birth
['Hervé Pinoteau', 'place of birth', 'Glasgow']
ASK WHERE { resource:Glasgow property:place_of_birth resource:Hervé_Pinoteau }
[]
common name
SYSTEM
NO
(Q1614846,P19,Q4093)
action is_in
entity Q1614846
action find
entity Q4093
relation P19
[ANSWER]
['Q1614846', 'P19', 'Q4093']
ASK WHERE { resource:Q4093 property:P19 resource:Q1614846 }
No
action is_in
entity Hervé Pinoteau
action find
entity Glasgow
relation place of birth
['Hervé Pinoteau', 'place of birth', 'Glasgow']
ASK WHERE { resource:Glasgow property:place_of_birth resource:Hervé_Pinoteau }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7437735 Q2736 Q17988507
P641
Q349
USER
Does Scottish Football League XI play association football and women's tennis ?
(Q7437735,P641,Q2736) (Q7437735,P641,Q17988507)
action is_in
entity Q7437735
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q17988507
relation P641
['Q7437735', 'P641', 'Q2736'] ['Q7437735', 'P641', 'Q17988507']
ASK WHERE { resource:Q7437735 property:P641 resource:Q2736 . resource:Q7437735 property:P641 resource:Q17988507 }
Scottish Football League XI association football women's tennis
action is_in
entity Scottish Football League XI
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity women's tennis
relation sport
['Scottish Football League XI', 'sport', 'association football'] ['Scottish Football League XI', 'sport', "women's tennis"]
ASK WHERE { resource:Scottish_Football_League_XI property:sport resource:association_football . resource:Scottish_Football_League_XI property:sport resource:women's_tennis }
[]
sport
SYSTEM
YES and NO respectively
(Q7437735,P641,Q2736) (Q7437735,P641,Q17988507)
action is_in
entity Q7437735
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q17988507
relation P641
[ANSWER]
['Q7437735', 'P641', 'Q2736'] ['Q7437735', 'P641', 'Q17988507']
ASK WHERE { resource:Q7437735 property:P641 resource:Q2736 . resource:Q7437735 property:P641 resource:Q17988507 }
YES and NO respectively
action is_in
entity Scottish Football League XI
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity women's tennis
relation sport
['Scottish Football League XI', 'sport', 'association football'] ['Scottish Football League XI', 'sport', "women's tennis"]
ASK WHERE { resource:Scottish_Football_League_XI property:sport resource:association_football . resource:Scottish_Football_League_XI property:sport resource:women's_tennis }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4093
P291
Q2342494
USER
What was published in Glasgow ?
(c(Q2342494),P291,Q4093)
action filter_type
action find_reverse
entity Q4093
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q4093']
SELECT DISTINCT ?q WHERE { ?q property:P291 resource:Q4093 . ?q rdf:type ontology:Q2342494 }
Glasgow
action filter_type
action find_reverse
entity Glasgow
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Glasgow']
SELECT DISTINCT ?q WHERE { ?q property:place_of_publication resource:Glasgow . ?q rdf:type ontology:collectable }
[]
collectable
Q25343231
SYSTEM
The Bishops of Scotland
Q25343231
(c(Q2342494),P291,Q4093)
action filter_type
action find_reverse
entity Q4093
relation P291
type Q2342494
The [ANSWER] was published in Glasgow
[{'concept': 'Q2342494'}, 'P291', 'Q4093']
SELECT DISTINCT ?q WHERE { ?q property:P291 resource:Q4093 . ?q rdf:type ontology:Q2342494 }
The Bishops of Scotland
The The Bishops of Scotland was published in Glasgow
The Bishops of Scotland
action filter_type
action find_reverse
entity Glasgow
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Glasgow']
SELECT DISTINCT ?q WHERE { ?q property:place_of_publication resource:Glasgow . ?q rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25343231
P136
Q2342494
USER
What is the genre of that one ?
(Q25343231,P136,c(Q2342494))
action filter_type
action find
entity Q25343231
relation P136
type Q2342494
['Q25343231', 'P136', {'concept': 'Q2342494'}]
SELECT DISTINCT ?w WHERE { resource:Q25343231 property:P136 ?w . ?w rdf:type ontology:Q2342494 }
The Bishops of Scotland
action filter_type
action find
entity The Bishops of Scotland
relation genre
type collectable
['The Bishops of Scotland', 'genre', {'concept': 'collectable'}]
SELECT DISTINCT ?w WHERE { resource:The_Bishops_of_Scotland property:genre ?w . ?w rdf:type ontology:collectable }
[]
collectable
Q20540385
SYSTEM
non-fiction book
Q20540385
(Q25343231,P136,c(Q2342494))
action filter_type
action find
entity Q25343231
relation P136
type Q2342494
The genre of that one is a [ANSWER]
['Q25343231', 'P136', {'concept': 'Q2342494'}]
SELECT DISTINCT ?w WHERE { resource:Q25343231 property:P136 ?w . ?w rdf:type ontology:Q2342494 }
non-fiction book
The genre of that one is a non-fiction book
non-fiction book
action filter_type
action find
entity The Bishops of Scotland
relation genre
type collectable
['The Bishops of Scotland', 'genre', {'concept': 'collectable'}]
SELECT DISTINCT ?w WHERE { resource:The_Bishops_of_Scotland property:genre ?w . ?w rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q20540385 Q1225072
P136
Q2342494
USER
Does A Critique of Pure Tolerance have that one as genre ?
(Q1225072,P136,Q20540385)
action is_in
entity Q1225072
action find
entity Q20540385
relation P136
['Q1225072', 'P136', 'Q20540385']
ASK WHERE { resource:Q20540385 property:P136 resource:Q1225072 }
non-fiction book A Critique of Pure Tolerance
action is_in
entity A Critique of Pure Tolerance
action find
entity non-fiction book
relation genre
['A Critique of Pure Tolerance', 'genre', 'non-fiction book']
ASK WHERE { resource:non-fiction_book property:genre resource:A_Critique_of_Pure_Tolerance }
[]
collectable
SYSTEM
NO
(Q1225072,P136,Q20540385)
action is_in
entity Q1225072
action find
entity Q20540385
relation P136
[ANSWER]
['Q1225072', 'P136', 'Q20540385']
ASK WHERE { resource:Q20540385 property:P136 resource:Q1225072 }
No
action is_in
entity A Critique of Pure Tolerance
action find
entity non-fiction book
relation genre
['A Critique of Pure Tolerance', 'genre', 'non-fiction book']
ASK WHERE { resource:non-fiction_book property:genre resource:A_Critique_of_Pure_Tolerance }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6522562
P144
Q7725634 Q502895 Q2342494
USER
How many collectables are based on lesser number of literary works and people than Lenin ?
(c(Q2342494),P144,c(Q7725634)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P144
type Q2342494
type Q7725634
action find_tuple_counts
relation P144
type Q2342494
type Q502895
action count
action filter_multi_types
action find
entity Q6522562
relation P144
type Q7725634
type Q502895
[{'concept': 'Q2342494'}, 'P144', [{'concept': 'Q7725634'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?h ) WHERE { VALUES ( ?s ) { ( ontology:Q7725634 ) ( ontology:Q502895 ) } . ?q rdf:type ?s } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q6522562 property:P144 ?y . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q7725634 } } } } . FILTER ( ?h < ?u ) }
Lenin
action count
action less
action union
action find_tuple_counts
relation based on
type collectable
type literary work
action find_tuple_counts
relation based on
type collectable
type common name
action count
action filter_multi_types
action find
entity Lenin
relation based on
type literary work
type common name
[{'concept': 'collectable'}, 'based on', [{'concept': 'literary work'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?h ) WHERE { VALUES ( ?s ) { ( ontology:literary_work ) ( ontology:common_name ) } . ?q rdf:type ?s } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Lenin property:based_on ?y . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:literary_work } } } } . FILTER ( ?h < ?u ) }
[]
literary work common name collectable
SYSTEM
73
Q5385376 Q24717823 Q175020 Q26214657 Q1613936 Q23163 Q19476471 Q11513252 Q1213312 Q896294 Q7734234 Q8057612 Q16466017 Q7762604 Q7631568 Q12040379 Q7578765 Q137869 Q7601035 Q6129984 Q1106479 Q18147989 Q1192034 Q1171108 Q16062408 Q4795644 Q15145790 Q896822 Q4656004 Q2659311 Q5979550 Q3497005 Q8071845 Q19816697 Q5439453 Q26706229 Q5291021 Q4582141 Q6005315 Q4759455 Q10625094 Q11306262 Q169976 Q4189809 Q20949795 Q15096441 Q4502764 Q16154898 Q7755492 Q3611744 Q3563423 Q2756027 Q4657060 Q7773608 Q4317887 Q3735626 Q5241061 Q20952594 Q3831442 Q4795656 Q21203529 Q19867018 Q1605815 Q13423107 Q3107329 Q5515499 Q1187056 Q23682789 Q16953491 Q7172413 Q2316049 Q1788243 Q19816576
(c(Q2342494),P144,c(Q7725634)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P144
type Q2342494
type Q7725634
action find_tuple_counts
relation P144
type Q2342494
type Q502895
action count
action filter_multi_types
action find
entity Q6522562
relation P144
type Q7725634
type Q502895
[ANSWER]
[{'concept': 'Q2342494'}, 'P144', [{'concept': 'Q7725634'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?h ) WHERE { VALUES ( ?s ) { ( ontology:Q7725634 ) ( ontology:Q502895 ) } . ?q rdf:type ?s } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q6522562 property:P144 ?y . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q7725634 } } } } . FILTER ( ?h < ?u ) }
Erec y Enide Shakuntala Asterix Conquers Rome Rajmala Bored of the Rings A Scientific Romance Gweledigaethau y Bardd Cwsc Blade Runner The Heathens of Kummerow Cycle of Hatred The Fish That Saved Pittsburgh You Will Go to the Moon Serenity The Scorch Trials Submarine: A Guided Tour Inside a Nuclear Warship Nanobook Spock, Messiah! Germinal Star Trek James Bond and Moonraker An Inconvenient Truth Pictorum aliquot celebrium Germaniae inferioris effigies Star Wars Episode II: Attack of the Clones The Barsac Mission Long Way Down Around the World in 80 Days Shorter Oxford English Dictionary World of Warcraft: Beyond the Dark Portal A Colder War Pride and Prejudice and Zombies I Want a Dog Star Wars Episode I: The Phantom Menace Zij-i Ilkhani Washington Stamp Fearless Grzimeks Enzyklopädie Dominion 1985 Immortal Android Karenina The bible of Peter Fjellstedt Samkok Northern Lights Star Wars Episode III: Revenge of the Sith Epitome of Astronomy Nightfall Halloween A Boy Scout Around the World The Other Log of Phileas Fogg Alien The Three Princes of Serendip Fingersmith A Glimpse of Hell The Warriors Nightbringer Black Coffee Legacy of Blood Ephemeris or Almanack based on Coppernican principles The Lexicon: An Unauthorized Guide to Harry Potter Fiction and Related Materials Around the World in Seventy-Two Days Welcome to Night Vale Baldur's Gate II: The Throne of Bhaal The Eyre Affair 1001 Vrouwen uit de Nederlandse geschiedenis The Hitchhiker's Guide to the Galaxy Gabriel's Inferno The Tailor of Panama Poems The 34th Rule Peter & Max: A Fables Novel Revised Version The Unknown Soldier Franklin Stamp
73
action count
action less
action union
action find_tuple_counts
relation based on
type collectable
type literary work
action find_tuple_counts
relation based on
type collectable
type common name
action count
action filter_multi_types
action find
entity Lenin
relation based on
type literary work
type common name
[{'concept': 'collectable'}, 'based on', [{'concept': 'literary work'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?h ) WHERE { VALUES ( ?s ) { ( ontology:literary_work ) ( ontology:common_name ) } . ?q rdf:type ?s } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Lenin property:based_on ?y . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:literary_work } } } } . FILTER ( ?h < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q4686701
P144
Q7725634 Q502895 Q2342494
USER
And how about Adversary in the House?
(c(Q2342494),P144,c(Q7725634)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P144
type Q2342494
type Q7725634
action find_tuple_counts
relation P144
type Q2342494
type Q502895
action count
action filter_multi_types
action find
entity Q4686701
relation P144
type Q7725634
type Q502895
[{'concept': 'Q2342494'}, 'P144', [{'concept': 'Q7725634'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?x WHERE { { ?x property:P144 ?y . ?x rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q7725634 } UNION { ?x property:P144 ?y . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q2342494 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q4686701 property:P144 ?g . { { ?g rdf:type ontology:Q7725634 } UNION { ?g rdf:type ontology:Q502895 } } } } . FILTER ( ?s < ?i ) }
Adversary in the House
action count
action less
action union
action find_tuple_counts
relation based on
type collectable
type literary work
action find_tuple_counts
relation based on
type collectable
type common name
action count
action filter_multi_types
action find
entity Adversary in the House
relation based on
type literary work
type common name
[{'concept': 'collectable'}, 'based on', [{'concept': 'literary work'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?x WHERE { { ?x property:based_on ?y . ?x rdf:type ontology:collectable . ?y rdf:type ontology:literary_work } UNION { ?x property:based_on ?y . ?y rdf:type ontology:common_name . ?x rdf:type ontology:collectable } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Adversary_in_the_House property:based_on ?g . { { ?g rdf:type ontology:literary_work } UNION { ?g rdf:type ontology:common_name } } } } . FILTER ( ?s < ?i ) }
[]
literary work common name collectable
SYSTEM
73
Q5385376 Q24717823 Q175020 Q26214657 Q1613936 Q23163 Q19476471 Q11513252 Q1213312 Q896294 Q7734234 Q8057612 Q16466017 Q7762604 Q7631568 Q12040379 Q7578765 Q137869 Q7601035 Q6129984 Q1106479 Q18147989 Q1192034 Q1171108 Q16062408 Q4795644 Q15145790 Q896822 Q4656004 Q2659311 Q5979550 Q3497005 Q8071845 Q19816697 Q5439453 Q26706229 Q5291021 Q4582141 Q6005315 Q4759455 Q10625094 Q11306262 Q169976 Q4189809 Q20949795 Q15096441 Q4502764 Q16154898 Q7755492 Q3611744 Q3563423 Q2756027 Q4657060 Q7773608 Q4317887 Q3735626 Q5241061 Q20952594 Q3831442 Q4795656 Q21203529 Q19867018 Q1605815 Q13423107 Q3107329 Q5515499 Q1187056 Q23682789 Q16953491 Q7172413 Q2316049 Q1788243 Q19816576
(c(Q2342494),P144,c(Q7725634)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P144
type Q2342494
type Q7725634
action find_tuple_counts
relation P144
type Q2342494
type Q502895
action count
action filter_multi_types
action find
entity Q4686701
relation P144
type Q7725634
type Q502895
[ANSWER]
[{'concept': 'Q2342494'}, 'P144', [{'concept': 'Q7725634'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?x WHERE { { ?x property:P144 ?y . ?x rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q7725634 } UNION { ?x property:P144 ?y . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q2342494 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q4686701 property:P144 ?g . { { ?g rdf:type ontology:Q7725634 } UNION { ?g rdf:type ontology:Q502895 } } } } . FILTER ( ?s < ?i ) }
Erec y Enide Shakuntala Asterix Conquers Rome Rajmala Bored of the Rings A Scientific Romance Gweledigaethau y Bardd Cwsc Blade Runner The Heathens of Kummerow Cycle of Hatred The Fish That Saved Pittsburgh You Will Go to the Moon Serenity The Scorch Trials Submarine: A Guided Tour Inside a Nuclear Warship Nanobook Spock, Messiah! Germinal Star Trek James Bond and Moonraker An Inconvenient Truth Pictorum aliquot celebrium Germaniae inferioris effigies Star Wars Episode II: Attack of the Clones The Barsac Mission Long Way Down Around the World in 80 Days Shorter Oxford English Dictionary World of Warcraft: Beyond the Dark Portal A Colder War Pride and Prejudice and Zombies I Want a Dog Star Wars Episode I: The Phantom Menace Zij-i Ilkhani Washington Stamp Fearless Grzimeks Enzyklopädie Dominion 1985 Immortal Android Karenina The bible of Peter Fjellstedt Samkok Northern Lights Star Wars Episode III: Revenge of the Sith Epitome of Astronomy Nightfall Halloween A Boy Scout Around the World The Other Log of Phileas Fogg Alien The Three Princes of Serendip Fingersmith A Glimpse of Hell The Warriors Nightbringer Black Coffee Legacy of Blood Ephemeris or Almanack based on Coppernican principles The Lexicon: An Unauthorized Guide to Harry Potter Fiction and Related Materials Around the World in Seventy-Two Days Welcome to Night Vale Baldur's Gate II: The Throne of Bhaal The Eyre Affair 1001 Vrouwen uit de Nederlandse geschiedenis The Hitchhiker's Guide to the Galaxy Gabriel's Inferno The Tailor of Panama Poems The 34th Rule Peter & Max: A Fables Novel Revised Version The Unknown Soldier Franklin Stamp
73
action count
action less
action union
action find_tuple_counts
relation based on
type collectable
type literary work
action find_tuple_counts
relation based on
type collectable
type common name
action count
action filter_multi_types
action find
entity Adversary in the House
relation based on
type literary work
type common name
[{'concept': 'collectable'}, 'based on', [{'concept': 'literary work'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?x WHERE { { ?x property:based_on ?y . ?x rdf:type ontology:collectable . ?y rdf:type ontology:literary_work } UNION { ?x property:based_on ?y . ?y rdf:type ontology:common_name . ?x rdf:type ontology:collectable } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Adversary_in_the_House property:based_on ?g . { { ?g rdf:type ontology:literary_work } UNION { ?g rdf:type ontology:common_name } } } } . FILTER ( ?s < ?i ) }
[]