Simple Question (Direct)
Simple Question
Q16979863
P21
Q290
USER
Which sex does Bojan Čečarić belong to ?
(Q16979863,P21,c(Q290))
action filter_type
action find
entity Q16979863
relation P21
type Q290
['Q16979863', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q16979863 property:P21 ?d }
Bojan Čečarić
action filter_type
action find
entity Bojan Čečarić
relation gender
type sex
['Bojan Čečarić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Bojan_Čečarić property:gender ?d }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16979863,P21,c(Q290))
action filter_type
action find
entity Q16979863
relation P21
type Q290
Bojan Čečarić belongs to [ANSWER]
['Q16979863', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q16979863 property:P21 ?d }
male
Bojan Čečarić belongs to male
male
action filter_type
action find
entity Bojan Čečarić
relation gender
type sex
['Bojan Čečarić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Bojan_Čečarić property:gender ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16979863
P641
Q349
USER
Which sport did Bojan Čečarić participate in ?
(Q16979863,P641,c(Q349))
action filter_type
action find
entity Q16979863
relation P641
type Q349
['Q16979863', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q16979863 property:P641 ?p }
Bojan Čečarić
action filter_type
action find
entity Bojan Čečarić
relation sport
type sport
['Bojan Čečarić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Bojan_Čečarić property:sport ?p }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16979863,P641,c(Q349))
action filter_type
action find
entity Q16979863
relation P641
type Q349
Bojan Čečarić participated in [ANSWER]
['Q16979863', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q16979863 property:P641 ?p }
association football
Bojan Čečarić participated in association football
association football
action filter_type
action find
entity Bojan Čečarić
relation sport
type sport
['Bojan Čečarić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Bojan_Čečarić property:sport ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16979863
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q16979863
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q16979863 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Bojan Čečarić
action filter_type
action find
entity Bojan Čečarić
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Bojan_Čečarić property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q16979863
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q16979863 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Bojan Čečarić
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Bojan_Čečarić property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16979863
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q16979863
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q16979863 property:P19 ?i }
Bojan Čečarić
action filter_type
action find
entity Bojan Čečarić
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Bojan_Čečarić property:place_of_birth ?i }
[]
administrative territorial entity
Q917500
SYSTEM
Nova Pazova
Q917500
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q16979863
relation P19
type Q56061
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q16979863 property:P19 ?i }
Nova Pazova
That person was born in Nova Pazova
Nova Pazova
action filter_type
action find
entity Bojan Čečarić
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Bojan_Čečarić property:place_of_birth ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q917500
P159
Q874405
USER
Which social group has its HQ location at that administrative territory ?
(c(Q874405),P159,Q917500)
action filter_type
action find_reverse
entity Q917500
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q917500']
SELECT DISTINCT ?n WHERE { ?n property:P159 resource:Q917500 . ?n rdf:type ontology:Q874405 }
Nova Pazova
action filter_type
action find_reverse
entity Nova Pazova
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Nova Pazova']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location resource:Nova_Pazova . ?n rdf:type ontology:social_group }
[]
social group
Q1007888
SYSTEM
Artistic Society Mladost Nova Pazova
Q1007888
(c(Q874405),P159,Q917500)
action filter_type
action find_reverse
entity Q917500
relation P159
type Q874405
[ANSWER] has its HQ location at that administrative territory
[{'concept': 'Q874405'}, 'P159', 'Q917500']
SELECT DISTINCT ?n WHERE { ?n property:P159 resource:Q917500 . ?n rdf:type ontology:Q874405 }
Artistic Society Mladost Nova Pazova
Artistic Society Mladost Nova Pazova has its HQ location at that administrative territory
Artistic Society Mladost Nova Pazova
action filter_type
action find_reverse
entity Nova Pazova
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Nova Pazova']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location resource:Nova_Pazova . ?n rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16979863
P27
Q15617994
USER
Which administrative territory is Bojan Čečarić a civilian of ?
(Q16979863,P27,c(Q15617994))
action filter_type
action find
entity Q16979863
relation P27
type Q15617994
['Q16979863', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q16979863 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Bojan Čečarić
action filter_type
action find
entity Bojan Čečarić
relation country of citizenship
type designation for an administrative territorial entity
['Bojan Čečarić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Bojan_Čečarić property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q16979863,P27,c(Q15617994))
action filter_type
action find
entity Q16979863
relation P27
type Q15617994
[ANSWER] is Bojan Čečarić a civilian of
['Q16979863', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q16979863 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Serbia
Serbia is Bojan Čečarić a civilian of
Serbia
action filter_type
action find
entity Bojan Čečarić
relation country of citizenship
type designation for an administrative territorial entity
['Bojan Čečarić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Bojan_Čečarić property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the origin of approximately the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q403
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q403 property:P495 ?l } } . FILTER ( ?h = ?d ) . { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P495 ?z . ?z rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q2031291 } GROUP BY ?z } }
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Serbia
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Serbia property:country_of_origin ?l } } . FILTER ( ?h = ?d ) . { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:release } GROUP BY ?z } }
[]
designation for an administrative territorial entity release
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q403
relation P495
type Q15617994
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q403 property:P495 ?l } } . FILTER ( ?h = ?d ) . { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P495 ?z . ?z rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q2031291 } GROUP BY ?z } }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Serbia
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Serbia property:country_of_origin ?l } } . FILTER ( ?h = ?d ) . { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:release } GROUP BY ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q917500
P17
Q15617994
USER
Which administrative territory is Nova Pazova present in ?
(Q917500,P17,c(Q15617994))
action filter_type
action find
entity Q917500
relation P17
type Q15617994
['Q917500', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q917500 property:P17 ?i }
Nova Pazova
action filter_type
action find
entity Nova Pazova
relation country
type designation for an administrative territorial entity
['Nova Pazova', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nova_Pazova property:country ?i }
[]
designation for an administrative territorial entity
Q224
SYSTEM
Croatia
Q224
(Q917500,P17,c(Q15617994))
action filter_type
action find
entity Q917500
relation P17
type Q15617994
Nova Pazova is in [ANSWER]
['Q917500', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q917500 property:P17 ?i }
Croatia
Nova Pazova is in Croatia
Croatia
action filter_type
action find
entity Nova Pazova
relation country
type designation for an administrative territorial entity
['Nova Pazova', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nova_Pazova property:country ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q224
P1532
Q6979593
USER
Who play for that administrative territory ?
(c(Q6979593),P1532,Q224)
action filter_type
action find_reverse
entity Q224
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q224']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q6979593 . ?m property:P1532 resource:Q224 }
Croatia
action filter_type
action find_reverse
entity Croatia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Croatia']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:national_association_football_team . ?m property:country_for_sport resource:Croatia }
[]
national association football team
Q19576999 Q1055369 Q19577000
SYSTEM
Croatia women's national under-17 football team, Croatia women's national football team, Croatia women's national under-19 football team
Q19576999 Q1055369 Q19577000
(c(Q6979593),P1532,Q224)
action filter_type
action find_reverse
entity Q224
relation P1532
type Q6979593
[ANSWERS] play for that administrative territory
[{'concept': 'Q6979593'}, 'P1532', 'Q224']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q6979593 . ?m property:P1532 resource:Q224 }
Croatia women's national under-17 football team Croatia women's national football team Croatia women's national under-19 football team
Croatia women's national under-17 football team, Croatia women's national football team and Croatia women's national under-19 football team play for that administrative territory
Croatia women's national under-17 football team Croatia women's national football team Croatia women's national under-19 football team
action filter_type
action find_reverse
entity Croatia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Croatia']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:national_association_football_team . ?m property:country_for_sport resource:Croatia }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q781
P1532
Q1048835 Q6979593
USER
Which political territories do around the same number of national association football teams play for as Antigua and Barbuda ?
(c(Q6979593),P1532,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P1532
type Q1048835
type Q6979593
action count
action filter_type
action find
entity Q781
relation P1532
type Q1048835
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?o ) WHERE { ?z rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q6979593 . ?j property:P1532 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:Q1048835 . resource:Q781 property:P1532 ?u } } . FILTER ( ?o = ?a ) }
Antigua and Barbuda
action approx
action find_reverse_tuple_counts
relation country for sport
type political territorial entity
type national association football team
action count
action filter_type
action find
entity Antigua and Barbuda
relation country for sport
type political territorial entity
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?o ) WHERE { ?z rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:national_association_football_team . ?j property:country_for_sport ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Antigua_and_Barbuda property:country_for_sport ?u } } . FILTER ( ?o = ?a ) }
[]
political territorial entity national association football team
Q40 Q5705 Q1000
SYSTEM
Austria, Catalonia, Gabon
Q1000 Q769 Q685 Q763 Q766 Q5720 Q13353 Q781 Q5705 Q5785 Q3995 Q18221 Q778 Q691 Q757 Q4040 Q40 Q23635 Q25305
(c(Q6979593),P1532,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P1532
type Q1048835
type Q6979593
action count
action filter_type
action find
entity Q781
relation P1532
type Q1048835
[ANSWERS] around the same number of national association football teams play for as Antigua and Barbuda
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?o ) WHERE { ?z rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q6979593 . ?j property:P1532 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:Q1048835 . resource:Q781 property:P1532 ?u } } . FILTER ( ?o = ?a ) }
Gabon Grenada Solomon Islands Saint Kitts and Nevis Jamaica Valencian Country Montserrat Antigua and Barbuda Catalonia Cayman Islands Basque Country Turks and Caicos Islands The Bahamas Papua New Guinea Saint Vincent and the Grenadines Aragon Austria Bermuda British Virgin Islands
Austria, Catalonia and Gabon around the same number of national association football teams play for as Antigua and Barbuda
Austria Catalonia Gabon
action approx
action find_reverse_tuple_counts
relation country for sport
type political territorial entity
type national association football team
action count
action filter_type
action find
entity Antigua and Barbuda
relation country for sport
type political territorial entity
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?o ) WHERE { ?z rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:national_association_football_team . ?j property:country_for_sport ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Antigua_and_Barbuda property:country_for_sport ?u } } . FILTER ( ?o = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q183
P1532
Q1048835 Q6979593
USER
And how about Germany?
(c(Q6979593),P1532,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P1532
type Q1048835
type Q6979593
action count
action filter_type
action find
entity Q183
relation P1532
type Q1048835
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P1532 ?p . ?p rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q6979593 } GROUP BY ?p } . FILTER ( ?f = ?y ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q183 property:P1532 ?d . ?d rdf:type ontology:Q1048835 } } }
Germany
action approx
action find_reverse_tuple_counts
relation country for sport
type political territorial entity
type national association football team
action count
action filter_type
action find
entity Germany
relation country for sport
type political territorial entity
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:country_for_sport ?p . ?p rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:national_association_football_team } GROUP BY ?p } . FILTER ( ?f = ?y ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Germany property:country_for_sport ?d . ?d rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity national association football team
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q1000 Q183 Q664 Q16 Q35 Q408 Q25228
(c(Q6979593),P1532,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P1532
type Q1048835
type Q6979593
action count
action filter_type
action find
entity Q183
relation P1532
type Q1048835
[ANSWERS]
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P1532 ?p . ?p rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q6979593 } GROUP BY ?p } . FILTER ( ?f = ?y ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q183 property:P1532 ?d . ?d rdf:type ontology:Q1048835 } } }
Gabon Germany New Zealand Canada Denmark Australia Anguilla
Germany Australia Denmark
action approx
action find_reverse_tuple_counts
relation country for sport
type political territorial entity
type national association football team
action count
action filter_type
action find
entity Germany
relation country for sport
type political territorial entity
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:country_for_sport ?p . ?p rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:national_association_football_team } GROUP BY ?p } . FILTER ( ?f = ?y ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Germany property:country_for_sport ?d . ?d rdf:type ontology:political_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many administrative territories are known to have diplomatic connections with atmost 1 political territory ?
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?d ) WHERE { ?l property:P530 ?u . ?l rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?l } . FILTER ( ?d <= 1 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?d ) WHERE { ?l property:diplomatic_relation ?u . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?l } . FILTER ( ?d <= 1 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
77
Q702 Q805 Q262 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?d ) WHERE { ?l property:P530 ?u . ?l rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?l } . FILTER ( ?d <= 1 ) }
Federated States of Micronesia Yemen Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
77
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?d ) WHERE { ?l property:diplomatic_relation ?u . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?l } . FILTER ( ?d <= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q35
P530
Q1048835 Q1048835
USER
How many political territories are known to have diplomatic connections with greater number of political territories than Denmark ?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w rdf:type ontology:Q1048835 . resource:Q35 property:P530 ?w } } . FILTER ( ?k > ?h ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?k ) WHERE { ?a property:P530 ?y . ?a rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 } GROUP BY ?a } }
Denmark
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Denmark property:diplomatic_relation ?w } } . FILTER ( ?k > ?h ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?k ) WHERE { ?a property:diplomatic_relation ?y . ?a rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?a } }
[]
political territorial entity political territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w rdf:type ontology:Q1048835 . resource:Q35 property:P530 ?w } } . FILTER ( ?k > ?h ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?k ) WHERE { ?a property:P530 ?y . ?a rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 } GROUP BY ?a } }
Germany Australia Canada
3
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Denmark property:diplomatic_relation ?w } } . FILTER ( ?k > ?h ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?k ) WHERE { ?a property:diplomatic_relation ?y . ?a rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?a } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q769
P530
Q1048835 Q1048835
USER
And how about Grenada?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { FILTER ( ?q > ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q769 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?q ) WHERE { ?t property:P530 ?x . ?t rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1048835 } GROUP BY ?t } }
Grenada
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { FILTER ( ?q > ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Grenada property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?q ) WHERE { ?t property:diplomatic_relation ?x . ?t rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?t } }
[]
political territorial entity political territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { FILTER ( ?q > ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q769 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?q ) WHERE { ?t property:P530 ?x . ?t rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1048835 } GROUP BY ?t } }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { FILTER ( ?q > ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Grenada property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?q ) WHERE { ?t property:diplomatic_relation ?x . ?t rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?t } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1000
P530
Q15617994 Q1048835 Q1048835
USER
How many political territories are known to have diplomatic connections with more number of administrative territories or political territories than Gabon ?
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q1000
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q1000 property:P530 ?r . { { ?r rdf:type ontology:Q15617994 } UNION { ?r rdf:type ontology:Q1048835 } } } } . FILTER ( ?b > ?u ) }
Gabon
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Gabon
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Gabon property:diplomatic_relation ?r . { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?b > ?u ) }
[]
designation for an administrative territorial entity political territorial entity political territorial entity
SYSTEM
7
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q1000
relation P530
type Q15617994
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q1000 property:P530 ?r . { { ?r rdf:type ontology:Q15617994 } UNION { ?r rdf:type ontology:Q1048835 } } } } . FILTER ( ?b > ?u ) }
Austria Germany Australia Denmark Canada New Zealand Jamaica
7
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Gabon
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Gabon property:diplomatic_relation ?r . { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?b > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q769
P530
Q15617994 Q1048835 Q1048835
USER
And how about Grenada?
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q769
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?b ) WHERE { { ?g property:P530 ?m . ?g rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } UNION { ?g property:P530 ?m . ?m rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q1048835 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?o rdf:type ?w } . resource:Q769 property:P530 ?o } } . FILTER ( ?b > ?t ) }
Grenada
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Grenada
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?b ) WHERE { { ?g property:diplomatic_relation ?m . ?g rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:political_territorial_entity } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?o rdf:type ?w } . resource:Grenada property:diplomatic_relation ?o } } . FILTER ( ?b > ?t ) }
[]
designation for an administrative territorial entity political territorial entity political territorial entity
SYSTEM
7
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q769
relation P530
type Q15617994
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?b ) WHERE { { ?g property:P530 ?m . ?g rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } UNION { ?g property:P530 ?m . ?m rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q1048835 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?o rdf:type ?w } . resource:Q769 property:P530 ?o } } . FILTER ( ?b > ?t ) }
Austria Germany Australia Denmark Canada New Zealand Jamaica
7
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Grenada
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?b ) WHERE { { ?g property:diplomatic_relation ?m . ?g rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:political_territorial_entity } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?o rdf:type ?w } . resource:Grenada property:diplomatic_relation ?o } } . FILTER ( ?b > ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P85
Q7725634
USER
Which literary work is the anthem for Germany ?
(Q183,P85,c(Q7725634))
action filter_type
action find
entity Q183
relation P85
type Q7725634
['Q183', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?z WHERE { resource:Q183 property:P85 ?z . ?z rdf:type ontology:Q7725634 }
Germany
action filter_type
action find
entity Germany
relation anthem
type literary work
['Germany', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?z WHERE { resource:Germany property:anthem ?z . ?z rdf:type ontology:literary_work }
[]
literary work
Q44042
SYSTEM
Das Lied der Deutschen
Q44042
(Q183,P85,c(Q7725634))
action filter_type
action find
entity Q183
relation P85
type Q7725634
[ANSWER] is the anthem for Germany
['Q183', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?z WHERE { resource:Q183 property:P85 ?z . ?z rdf:type ontology:Q7725634 }
Das Lied der Deutschen
Das Lied der Deutschen is the anthem for Germany
Das Lied der Deutschen
action filter_type
action find
entity Germany
relation anthem
type literary work
['Germany', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?z WHERE { resource:Germany property:anthem ?z . ?z rdf:type ontology:literary_work }
[]