Simple Question (Direct)
Simple Question
Q3851898
P54
Q1194951
USER
What is Matjaž Cvikl a member of ?
(Q3851898,P54,c(Q1194951))
action filter_type
action find
entity Q3851898
relation P54
type Q1194951
['Q3851898', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q3851898 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Matjaž Cvikl
action filter_type
action find
entity Matjaž Cvikl
relation member of sports team
type national sports team
['Matjaž Cvikl', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Matjaž_Cvikl property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
national sports team
Q172221
SYSTEM
Slovenia national football team
Q172221
(Q3851898,P54,c(Q1194951))
action filter_type
action find
entity Q3851898
relation P54
type Q1194951
Matjaž Cvikl a member of is the [ANSWER]
['Q3851898', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q3851898 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Slovenia national football team
Matjaž Cvikl a member of is the Slovenia national football team
Slovenia national football team
action filter_type
action find
entity Matjaž Cvikl
relation member of sports team
type national sports team
['Matjaž Cvikl', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Matjaž_Cvikl property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3851898
P27
Q15617994
USER
Which administrative territory does Matjaž Cvikl belong to ?
(Q3851898,P27,c(Q15617994))
action filter_type
action find
entity Q3851898
relation P27
type Q15617994
['Q3851898', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q3851898 property:P27 ?g }
Matjaž Cvikl
action filter_type
action find
entity Matjaž Cvikl
relation country of citizenship
type designation for an administrative territorial entity
['Matjaž Cvikl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Matjaž_Cvikl property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q215
SYSTEM
Slovenia
Q215
(Q3851898,P27,c(Q15617994))
action filter_type
action find
entity Q3851898
relation P27
type Q15617994
Matjaž Cvikl belongs to [ANSWER]
['Q3851898', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q3851898 property:P27 ?g }
Slovenia
Matjaž Cvikl belongs to Slovenia
Slovenia
action filter_type
action find
entity Matjaž Cvikl
relation country of citizenship
type designation for an administrative territorial entity
['Matjaž Cvikl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Matjaž_Cvikl property:country_of_citizenship ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q215
P47
Q15617994
USER
Who share the border with that one ?
(Q215,P47,c(Q15617994))
action filter_type
action find
entity Q215
relation P47
type Q15617994
['Q215', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q215 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Slovenia
action filter_type
action find
entity Slovenia
relation shares border with
type designation for an administrative territorial entity
['Slovenia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Slovenia property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q224 Q38
SYSTEM
Hungary, Croatia, Italy
Q28 Q224 Q38
(Q215,P47,c(Q15617994))
action filter_type
action find
entity Q215
relation P47
type Q15617994
[ANSWERS] share the border with that one
['Q215', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q215 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Hungary Croatia Italy
Hungary, Croatia and Italy share the border with that one
Hungary Croatia Italy
action filter_type
action find
entity Slovenia
relation shares border with
type designation for an administrative territorial entity
['Slovenia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Slovenia property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with atmost 12 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 12
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?c ) WHERE { ?t property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?c <= 12 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 12
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?c ) WHERE { ?t property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?c <= 12 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 12
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?c ) WHERE { ?t property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?c <= 12 ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia 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 Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 12
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?c ) WHERE { ?t property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?c <= 12 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215
P1532
Q1194951
USER
Which national sports team represents Slovenia ?
(c(Q1194951),P1532,Q215)
action filter_type
action find_reverse
entity Q215
relation P1532
type Q1194951
[{'concept': 'Q1194951'}, 'P1532', 'Q215']
SELECT DISTINCT ?m WHERE { ?m property:P1532 resource:Q215 . ?m rdf:type ontology:Q1194951 }
Slovenia
action filter_type
action find_reverse
entity Slovenia
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Slovenia']
SELECT DISTINCT ?m WHERE { ?m property:country_for_sport resource:Slovenia . ?m rdf:type ontology:national_sports_team }
[]
national sports team
Q172221
SYSTEM
Slovenia national football team
Q172221
(c(Q1194951),P1532,Q215)
action filter_type
action find_reverse
entity Q215
relation P1532
type Q1194951
And [ANSWER] represents Slovenia
[{'concept': 'Q1194951'}, 'P1532', 'Q215']
SELECT DISTINCT ?m WHERE { ?m property:P1532 resource:Q215 . ?m rdf:type ontology:Q1194951 }
Slovenia national football team
And Slovenia national football team represents Slovenia
Slovenia national football team
action filter_type
action find_reverse
entity Slovenia
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Slovenia']
SELECT DISTINCT ?m WHERE { ?m property:country_for_sport resource:Slovenia . ?m rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172221
P1923
Q1375427
USER
What did that national sports team contest in ?
(c(Q1375427),P1923,Q172221)
action filter_type
action find_reverse
entity Q172221
relation P1923
type Q1375427
[{'concept': 'Q1375427'}, 'P1923', 'Q172221']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1375427 . ?s property:P1923 resource:Q172221 }
Slovenia national football team
action filter_type
action find_reverse
entity Slovenia national football team
relation participating teams
type European Championship
[{'concept': 'European Championship'}, 'participating teams', 'Slovenia national football team']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:European_Championship . ?s property:participating_teams resource:Slovenia_national_football_team }
[]
European Championship
Q131239
SYSTEM
UEFA Euro 2000
Q131239
(c(Q1375427),P1923,Q172221)
action filter_type
action find_reverse
entity Q172221
relation P1923
type Q1375427
That national sports team contested in [ANSWER]
[{'concept': 'Q1375427'}, 'P1923', 'Q172221']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1375427 . ?s property:P1923 resource:Q172221 }
UEFA Euro 2000
That national sports team contested in UEFA Euro 2000
UEFA Euro 2000
action filter_type
action find_reverse
entity Slovenia national football team
relation participating teams
type European Championship
[{'concept': 'European Championship'}, 'participating teams', 'Slovenia national football team']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:European_Championship . ?s property:participating_teams resource:Slovenia_national_football_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q172221 Q27608269
P641
Q349
USER
How many sports were Slovenia national football team or 2014 Indonesia Super Series Premier – Women's singles a part of ?
(Q172221,P641,c(Q349)) (Q27608269,P641,c(Q349))
action count
action union
action filter_type
action find
entity Q172221
relation P641
type Q349
action filter_type
action find
entity Q27608269
relation P641
type Q349
['Q172221', 'P641', {'concept': 'Q349'}] ['Q27608269', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { resource:Q172221 property:P641 ?r . ?r rdf:type ontology:Q349 } UNION { resource:Q27608269 property:P641 ?r . ?r rdf:type ontology:Q349 } }
Slovenia national football team 2014 Indonesia Super Series Premier – Women's singles
action count
action union
action filter_type
action find
entity Slovenia national football team
relation sport
type sport
action filter_type
action find
entity 2014 Indonesia Super Series Premier – Women's singles
relation sport
type sport
['Slovenia national football team', 'sport', {'concept': 'sport'}] ["2014 Indonesia Super Series Premier – Women's singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { resource:Slovenia_national_football_team property:sport ?r . ?r rdf:type ontology:sport } UNION { resource:2014_Indonesia_Super_Series_Premier_–_Women's_singles property:sport ?r . ?r rdf:type ontology:sport } }
[]
sport
SYSTEM
2
Q7291 Q2736
(Q172221,P641,c(Q349)) (Q27608269,P641,c(Q349))
action count
action union
action filter_type
action find
entity Q172221
relation P641
type Q349
action filter_type
action find
entity Q27608269
relation P641
type Q349
[ANSWER]
['Q172221', 'P641', {'concept': 'Q349'}] ['Q27608269', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { resource:Q172221 property:P641 ?r . ?r rdf:type ontology:Q349 } UNION { resource:Q27608269 property:P641 ?r . ?r rdf:type ontology:Q349 } }
badminton association football
2
action count
action union
action filter_type
action find
entity Slovenia national football team
relation sport
type sport
action filter_type
action find
entity 2014 Indonesia Super Series Premier – Women's singles
relation sport
type sport
['Slovenia national football team', 'sport', {'concept': 'sport'}] ["2014 Indonesia Super Series Premier – Women's singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { resource:Slovenia_national_football_team property:sport ?r . ?r rdf:type ontology:sport } UNION { resource:2014_Indonesia_Super_Series_Premier_–_Women's_singles property:sport ?r . ?r rdf:type ontology:sport } }
[]