Simple Question (Direct)
Simple Question
Q5087098
P27
Q15617994
USER
Which administrative territory is the native country of Chase Beeler ?
(Q5087098,P27,c(Q15617994))
action filter_type
action find
entity Q5087098
relation P27
type Q15617994
['Q5087098', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q5087098 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Chase Beeler
action filter_type
action find
entity Chase Beeler
relation country of citizenship
type designation for an administrative territorial entity
['Chase Beeler', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Chase_Beeler property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5087098,P27,c(Q15617994))
action filter_type
action find
entity Q5087098
relation P27
type Q15617994
[ANSWER] is the native country of Chase Beeler
['Q5087098', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q5087098 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
United States of America is the native country of Chase Beeler
United States of America
action filter_type
action find
entity Chase Beeler
relation country of citizenship
type designation for an administrative territorial entity
['Chase Beeler', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Chase_Beeler property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5087098
P106
Q12737077
USER
What is the job of Chase Beeler ?
(Q5087098,P106,c(Q12737077))
action filter_type
action find
entity Q5087098
relation P106
type Q12737077
['Q5087098', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5087098 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Chase Beeler
action filter_type
action find
entity Chase Beeler
relation occupation
type occupation
['Chase Beeler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Chase_Beeler property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q5087098,P106,c(Q12737077))
action filter_type
action find
entity Q5087098
relation P106
type Q12737077
The job of Chase Beeler is an [ANSWER]
['Q5087098', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5087098 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
American football player
The job of Chase Beeler is an American football player
American football player
action filter_type
action find
entity Chase Beeler
relation occupation
type occupation
['Chase Beeler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Chase_Beeler property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5087098
P69
Q163740
USER
Which nonprofit organization is the alma mater of that person ?
(Q19204627,P69,c(Q163740))
action filter_type
action find
entity Q5087098
relation P69
type Q163740
['Q19204627', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { resource:Q5087098 property:P69 ?o . ?o rdf:type ontology:Q163740 }
Chase Beeler
action filter_type
action find
entity Chase Beeler
relation educated at
type nonprofit organization
['American football player', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { resource:Chase_Beeler property:educated_at ?o . ?o rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q41506
SYSTEM
Stanford University
Q41506
(Q19204627,P69,c(Q163740))
action filter_type
action find
entity Q5087098
relation P69
type Q163740
[ANSWER] is the alma mater of that person
['Q19204627', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { resource:Q5087098 property:P69 ?o . ?o rdf:type ontology:Q163740 }
Stanford University
Stanford University is the alma mater of that person
Stanford University
action filter_type
action find
entity Chase Beeler
relation educated at
type nonprofit organization
['American football player', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { resource:Chase_Beeler property:educated_at ?o . ?o rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41506
P276
Q838948
USER
What is located at that nonprofit organization ?
(c(Q838948),P276,Q41506)
action filter_type
action find_reverse
entity Q41506
relation P276
type Q838948
[{'concept': 'Q838948'}, 'P276', 'Q41506']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q41506 . ?v rdf:type ontology:Q838948 }
Stanford University
action filter_type
action find_reverse
entity Stanford University
relation location
type work of art
[{'concept': 'work of art'}, 'location', 'Stanford University']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Stanford_University . ?v rdf:type ontology:work_of_art }
[]
work of art
Q2003287
SYSTEM
The Gates of Hell
Q2003287
(c(Q838948),P276,Q41506)
action filter_type
action find_reverse
entity Q41506
relation P276
type Q838948
[ANSWER] is located at that nonprofit organization
[{'concept': 'Q838948'}, 'P276', 'Q41506']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q41506 . ?v rdf:type ontology:Q838948 }
The Gates of Hell
The Gates of Hell is located at that nonprofit organization
The Gates of Hell
action filter_type
action find_reverse
entity Stanford University
relation location
type work of art
[{'concept': 'work of art'}, 'location', 'Stanford University']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Stanford_University . ?v rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2003287 Q5440655
P144
Q223393
USER
Does The Gates of Hell extend upon Federalist No. 77 ?
(Q2003287,P144,Q5440655)
action is_in
entity Q5440655
action find
entity Q2003287
relation P144
['Q2003287', 'P144', 'Q5440655']
ASK WHERE { resource:Q2003287 property:P144 resource:Q5440655 }
The Gates of Hell Federalist No. 77
action is_in
entity Federalist No. 77
action find
entity The Gates of Hell
relation based on
['The Gates of Hell', 'based on', 'Federalist No. 77']
ASK WHERE { resource:The_Gates_of_Hell property:based_on resource:Federalist_No._77 }
[]
literary genre
SYSTEM
NO
(Q2003287,P144,Q5440655)
action is_in
entity Q5440655
action find
entity Q2003287
relation P144
[ANSWER]
['Q2003287', 'P144', 'Q5440655']
ASK WHERE { resource:Q2003287 property:P144 resource:Q5440655 }
No
action is_in
entity Federalist No. 77
action find
entity The Gates of Hell
relation based on
['The Gates of Hell', 'based on', 'Federalist No. 77']
ASK WHERE { resource:The_Gates_of_Hell property:based_on resource:Federalist_No._77 }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have a diplomatic relationship with United States of America ?
(Q30,P530,c(Q15617994)) (Q30,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q30
relation P530
type Q15617994
action filter_type
action find
entity Q30
relation P530
type Q1048835
['Q30', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { resource:Q30 property:P530 ?h . ?h rdf:type ontology:Q1048835 } UNION { resource:Q30 property:P530 ?h . ?h rdf:type ontology:Q15617994 } }
United States of America
action count
action union
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { resource:United_States_of_America property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } UNION { resource:United_States_of_America property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
20
Q805 Q953 Q801 Q1011 Q183 Q408 Q668 Q403 Q414 Q159 Q222 Q155 Q148 Q796 Q347 Q17 Q16 Q37 Q889 Q38
(Q30,P530,c(Q15617994)) (Q30,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q30
relation P530
type Q15617994
action filter_type
action find
entity Q30
relation P530
type Q1048835
[ANSWER]
['Q30', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { resource:Q30 property:P530 ?h . ?h rdf:type ontology:Q1048835 } UNION { resource:Q30 property:P530 ?h . ?h rdf:type ontology:Q15617994 } }
Yemen Zambia Israel Cape Verde Germany Australia India Serbia Argentina Russia Albania Brazil People's Republic of China Iraq Liechtenstein Japan Canada Lithuania Afghanistan Italy
20
action count
action union
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { resource:United_States_of_America property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } UNION { resource:United_States_of_America property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q838948 Q234460 Q502895
USER
How many works of art are atmost 2 texts or people a component of ?
(c(Q234460)|c(Q502895),P361,c(Q838948))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
action find_reverse_tuple_counts
relation P361
type Q838948
type Q502895
value 2
[[{'concept': 'Q234460'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?q ) WHERE { { ?j property:P361 ?h . ?j rdf:type ontology:Q234460 . ?h rdf:type ontology:Q838948 } UNION { ?j rdf:type ontology:Q502895 . ?h rdf:type ontology:Q838948 . ?j property:P361 ?h } } GROUP BY ?h } . FILTER ( ?q <= 2 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation part of
type work of art
type text
action find_reverse_tuple_counts
relation part of
type work of art
type common name
value 2
[[{'concept': 'text'}, {'concept': 'common name'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?q ) WHERE { { ?j property:part_of ?h . ?j rdf:type ontology:text . ?h rdf:type ontology:work_of_art } UNION { ?j rdf:type ontology:common_name . ?h rdf:type ontology:work_of_art . ?j property:part_of ?h } } GROUP BY ?h } . FILTER ( ?q <= 2 ) }
[]
work of art text common name
SYSTEM
129
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q234460)|c(Q502895),P361,c(Q838948))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
action find_reverse_tuple_counts
relation P361
type Q838948
type Q502895
value 2
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?q ) WHERE { { ?j property:P361 ?h . ?j rdf:type ontology:Q234460 . ?h rdf:type ontology:Q838948 } UNION { ?j rdf:type ontology:Q502895 . ?h rdf:type ontology:Q838948 . ?j property:P361 ?h } } GROUP BY ?h } . FILTER ( ?q <= 2 ) }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Seven Wonders of the Ancient World Hamlet Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Playing for Keeps Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
129
action count
action atmost
action union
action find_reverse_tuple_counts
relation part of
type work of art
type text
action find_reverse_tuple_counts
relation part of
type work of art
type common name
value 2
[[{'concept': 'text'}, {'concept': 'common name'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?q ) WHERE { { ?j property:part_of ?h . ?j rdf:type ontology:text . ?h rdf:type ontology:work_of_art } UNION { ?j rdf:type ontology:common_name . ?h rdf:type ontology:work_of_art . ?j property:part_of ?h } } GROUP BY ?h } . FILTER ( ?q <= 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q32
P85
Q7725634 Q484692 Q15617994
USER
How many administrative territories have approximately the same number of literary works and hymns as their anthem as Luxembourg ?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q32
relation P85
type Q7725634
type Q484692
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { VALUES ( ?n ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?v rdf:type ?n } . resource:Q32 property:P85 ?v } } . FILTER ( ?w = ?l ) }
Luxembourg
action count
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Luxembourg
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:literary_work ) ( ontology:hymn ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { VALUES ( ?n ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?v rdf:type ?n } . resource:Luxembourg property:anthem ?v } } . FILTER ( ?w = ?l ) }
[]
literary work hymn designation for an administrative territorial entity
SYSTEM
181
Q702 Q804 Q801 Q707 Q709 Q811 Q805 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q800 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q813 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q155 Q792 Q790 Q4628 Q779011 Q794 Q954 Q889 Q884 Q881 Q739 Q826 Q796 Q241 Q244 Q1019 Q153136 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1044 Q1042 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q783 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q760 Q574 Q874 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q817 Q810 Q770 Q1014 Q1016 Q1011 Q945 Q678 Q29 Q1039 Q672 Q822 Q298 Q863 Q869 Q953
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q32
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { VALUES ( ?n ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?v rdf:type ?n } . resource:Q32 property:P85 ?v } } . FILTER ( ?w = ?l ) }
Federated States of Micronesia Panama Israel Flevoland Marshall Islands Nicaragua Yemen Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Costa Rica Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Kyrgyzstan Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece Brazil El Salvador Haiti Faroe Islands Principality of Montenegro Iran Zimbabwe Afghanistan South Korea Vietnam Colombia Maldives Iraq Cuba Barbados Madagascar Habsburg Empire Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Sierra Leone Seychelles Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Honduras Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar Saint Lucia East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Kuwait Jordan Friesland Liberia Libya Cape Verde Togo Tonga Spain Sao Tomé and Príncipe Tuvalu Lebanon Chile Tajikistan Thailand Zambia
181
action count
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Luxembourg
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:literary_work ) ( ontology:hymn ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { VALUES ( ?n ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?v rdf:type ?n } . resource:Luxembourg property:anthem ?v } } . FILTER ( ?w = ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q38
P85
Q7725634 Q484692 Q15617994
USER
And also tell me about Italy?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q38
relation P85
type Q7725634
type Q484692
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?a WHERE { VALUES ( ?y ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?z rdf:type ?y } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Q38 property:P85 ?k . { { ?k rdf:type ontology:Q7725634 } UNION { ?k rdf:type ontology:Q484692 } } } } . FILTER ( ?i = ?s ) }
Italy
action count
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Italy
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?a WHERE { VALUES ( ?y ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?z rdf:type ?y } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Italy property:anthem ?k . { { ?k rdf:type ontology:literary_work } UNION { ?k rdf:type ontology:hymn } } } } . FILTER ( ?i = ?s ) }
[]
literary work hymn designation for an administrative territorial entity
SYSTEM
181
Q702 Q804 Q801 Q707 Q709 Q811 Q805 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q800 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q813 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q155 Q792 Q790 Q4628 Q779011 Q794 Q954 Q889 Q884 Q881 Q739 Q826 Q796 Q241 Q244 Q1019 Q153136 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1044 Q1042 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q783 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q760 Q574 Q874 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q817 Q810 Q770 Q1014 Q1016 Q1011 Q945 Q678 Q29 Q1039 Q672 Q822 Q298 Q863 Q869 Q953
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q38
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?a WHERE { VALUES ( ?y ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?z rdf:type ?y } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Q38 property:P85 ?k . { { ?k rdf:type ontology:Q7725634 } UNION { ?k rdf:type ontology:Q484692 } } } } . FILTER ( ?i = ?s ) }
Federated States of Micronesia Panama Israel Flevoland Marshall Islands Nicaragua Yemen Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Costa Rica Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Kyrgyzstan Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece Brazil El Salvador Haiti Faroe Islands Principality of Montenegro Iran Zimbabwe Afghanistan South Korea Vietnam Colombia Maldives Iraq Cuba Barbados Madagascar Habsburg Empire Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Sierra Leone Seychelles Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Honduras Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar Saint Lucia East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Kuwait Jordan Friesland Liberia Libya Cape Verde Togo Tonga Spain Sao Tomé and Príncipe Tuvalu Lebanon Chile Tajikistan Thailand Zambia
181
action count
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Italy
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?a WHERE { VALUES ( ?y ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?z rdf:type ?y } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Italy property:anthem ?k . { { ?k rdf:type ontology:literary_work } UNION { ?k rdf:type ontology:hymn } } } } . FILTER ( ?i = ?s ) }
[]