Simple Question (Direct)
Simple Question
Q464847
P1344
Q18608583
USER
Which recurring sporting events did Olga Dovgun compete in ?
(Q464847,P1344,c(Q18608583))
action filter_type
action find
entity Q464847
relation P1344
type Q18608583
['Q464847', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q18608583 . resource:Q464847 property:P1344 ?y }
Olga Dovgun
action filter_type
action find
entity Olga Dovgun
relation participant of
type recurring sporting event
['Olga Dovgun', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:recurring_sporting_event . resource:Olga_Dovgun property:participant_of ?y }
[]
recurring sporting event
Q244322 Q329679 Q494906
SYSTEM
2010 Asian Games, 2006 Asian Games, 2002 Asian Games
Q494906 Q729664 Q244322 Q329679
(Q464847,P1344,c(Q18608583))
action filter_type
action find
entity Q464847
relation P1344
type Q18608583
Olga Dovgun competed in [ANSWERS]
['Q464847', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q18608583 . resource:Q464847 property:P1344 ?y }
2002 Asian Games 1998 Asian Games 2010 Asian Games 2006 Asian Games
Olga Dovgun competed in 2010 Asian Games, 2006 Asian Games and 2002 Asian Games
2010 Asian Games 2006 Asian Games 2002 Asian Games
action filter_type
action find
entity Olga Dovgun
relation participant of
type recurring sporting event
['Olga Dovgun', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:recurring_sporting_event . resource:Olga_Dovgun property:participant_of ?y }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q244322 Q329679 Q494906
P361
Q18608583
USER
What are a component of 2010 Asian Games, 2006 Asian Games and 2002 Asian Games ?
(c(Q18608583),P361,Q244322) (c(Q18608583),P361,Q329679) (c(Q18608583),P361,Q494906)
action union
action filter_type
action find_reverse
entity Q244322
relation P361
type Q18608583
action filter_type
action find_reverse
entity Q329679
relation P361
type Q18608583
action filter_type
action find_reverse
entity Q494906
relation P361
type Q18608583
[{'concept': 'Q18608583'}, 'P361', 'Q244322'] [{'concept': 'Q18608583'}, 'P361', 'Q329679'] [{'concept': 'Q18608583'}, 'P361', 'Q494906']
SELECT DISTINCT ?s WHERE { VALUES ( ?f ) { ( resource:Q244322 ) ( resource:Q329679 ) } . ?s property:P361 ?f }
2010 Asian Games 2006 Asian Games 2002 Asian Games
action union
action filter_type
action find_reverse
entity 2010 Asian Games
relation part of
type recurring sporting event
action filter_type
action find_reverse
entity 2006 Asian Games
relation part of
type recurring sporting event
action filter_type
action find_reverse
entity 2002 Asian Games
relation part of
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'part of', '2010 Asian Games'] [{'concept': 'recurring sporting event'}, 'part of', '2006 Asian Games'] [{'concept': 'recurring sporting event'}, 'part of', '2002 Asian Games']
SELECT DISTINCT ?s WHERE { VALUES ( ?f ) { ( resource:2010_Asian_Games ) ( resource:2006_Asian_Games ) } . ?s property:part_of ?f }
[]
recurring sporting event
Q16162632 Q729930 Q729814
SYSTEM
Badminton at the 2014 Asian Games, Badminton at the 2010 Asian Games, Badminton at the 2006 Asian Games
Q16162632 Q5365448 Q729930 Q729814 Q7372019 Q562600 Q7372013
(c(Q18608583),P361,Q244322) (c(Q18608583),P361,Q329679) (c(Q18608583),P361,Q494906)
action union
action filter_type
action find_reverse
entity Q244322
relation P361
type Q18608583
action filter_type
action find_reverse
entity Q329679
relation P361
type Q18608583
action filter_type
action find_reverse
entity Q494906
relation P361
type Q18608583
A component of 2010 Asian Games , 2006 Asian Games and 2002 Asian Games are [ANSWERS]
[{'concept': 'Q18608583'}, 'P361', 'Q244322'] [{'concept': 'Q18608583'}, 'P361', 'Q329679'] [{'concept': 'Q18608583'}, 'P361', 'Q494906']
SELECT DISTINCT ?s WHERE { VALUES ( ?f ) { ( resource:Q244322 ) ( resource:Q329679 ) } . ?s property:P361 ?f }
Badminton at the 2014 Asian Games Rowing at the 2010 Asian Games Badminton at the 2010 Asian Games Badminton at the 2006 Asian Games Rowing at the 2006 Asian Games Badminton at the 2002 Asian Games Rowing at the 2002 Asian Games
A component of 2010 Asian Games , 2006 Asian Games and 2002 Asian Games are Badminton at the 2014 Asian Games, Badminton at the 2010 Asian Games and Badminton at the 2006 Asian Games
Badminton at the 2014 Asian Games Badminton at the 2010 Asian Games Badminton at the 2006 Asian Games
action union
action filter_type
action find_reverse
entity 2010 Asian Games
relation part of
type recurring sporting event
action filter_type
action find_reverse
entity 2006 Asian Games
relation part of
type recurring sporting event
action filter_type
action find_reverse
entity 2002 Asian Games
relation part of
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'part of', '2010 Asian Games'] [{'concept': 'recurring sporting event'}, 'part of', '2006 Asian Games'] [{'concept': 'recurring sporting event'}, 'part of', '2002 Asian Games']
SELECT DISTINCT ?s WHERE { VALUES ( ?f ) { ( resource:2010_Asian_Games ) ( resource:2006_Asian_Games ) } . ?s property:part_of ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q244322
P466
Q483110
USER
Which stadium is inhabited by 2010 Asian Games ?
(c(Q483110),P466,Q244322)
action filter_type
action find_reverse
entity Q244322
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q244322']
SELECT DISTINCT ?v WHERE { ?v property:P466 resource:Q244322 . ?v rdf:type ontology:Q483110 }
2010 Asian Games
action filter_type
action find_reverse
entity 2010 Asian Games
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', '2010 Asian Games']
SELECT DISTINCT ?v WHERE { ?v property:occupant resource:2010_Asian_Games . ?v rdf:type ontology:stadium }
[]
stadium
Q401470
SYSTEM
Guangdong Olympic Stadium
Q401470
(c(Q483110),P466,Q244322)
action filter_type
action find_reverse
entity Q244322
relation P466
type Q483110
[ANSWER] is inhabited by 2010 Asian Games
[{'concept': 'Q483110'}, 'P466', 'Q244322']
SELECT DISTINCT ?v WHERE { ?v property:P466 resource:Q244322 . ?v rdf:type ontology:Q483110 }
Guangdong Olympic Stadium
Guangdong Olympic Stadium is inhabited by 2010 Asian Games
Guangdong Olympic Stadium
action filter_type
action find_reverse
entity 2010 Asian Games
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', '2010 Asian Games']
SELECT DISTINCT ?v WHERE { ?v property:occupant resource:2010_Asian_Games . ?v rdf:type ontology:stadium }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P115
Q483110 Q12973014
USER
How many sports teams have atleast 2 stadia as their home field ?
(c(Q12973014),P115,c(Q483110))
action count
action atleast
action find_tuple_counts
relation P115
type Q12973014
type Q483110
value 2
[{'concept': 'Q12973014'}, 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?l ) WHERE { ?p rdf:type ontology:Q12973014 . ?v rdf:type ontology:Q483110 . ?p property:P115 ?v } GROUP BY ?p } . FILTER ( ?l >= 2 ) }
action count
action atleast
action find_tuple_counts
relation home venue
type sports team
type stadium
value 2
[{'concept': 'sports team'}, 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?l ) WHERE { ?p rdf:type ontology:sports_team . ?v rdf:type ontology:stadium . ?p property:home_venue ?v } GROUP BY ?p } . FILTER ( ?l >= 2 ) }
[]
stadium sports team
SYSTEM
6
Q8025768 Q583259 Q5916414 Q213417 Q4938454 Q12872831
(c(Q12973014),P115,c(Q483110))
action count
action atleast
action find_tuple_counts
relation P115
type Q12973014
type Q483110
value 2
[ANSWER]
[{'concept': 'Q12973014'}, 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?l ) WHERE { ?p rdf:type ontology:Q12973014 . ?v rdf:type ontology:Q483110 . ?p property:P115 ?v } GROUP BY ?p } . FILTER ( ?l >= 2 ) }
Winnipeg Maroons Las Vegas 51s Houston Buffaloes New York Yankees Boise Hawks AEZ Zakakiou
6
action count
action atleast
action find_tuple_counts
relation home venue
type sports team
type stadium
value 2
[{'concept': 'sports team'}, 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?l ) WHERE { ?p rdf:type ontology:sports_team . ?v rdf:type ontology:stadium . ?p property:home_venue ?v } GROUP BY ?p } . FILTER ( ?l >= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q244322
P17
Q15617994
USER
Which administrative territory does 2010 Asian Games belong to ?
(Q244322,P17,c(Q15617994))
action filter_type
action find
entity Q244322
relation P17
type Q15617994
['Q244322', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q244322 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
2010 Asian Games
action filter_type
action find
entity 2010 Asian Games
relation country
type designation for an administrative territorial entity
['2010 Asian Games', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:2010_Asian_Games property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q244322,P17,c(Q15617994))
action filter_type
action find
entity Q244322
relation P17
type Q15617994
2010 Asian Games belongs to the [ANSWER]
['Q244322', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q244322 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
People's Republic of China
2010 Asian Games belongs to the People's Republic of China
People's Republic of China
action filter_type
action find
entity 2010 Asian Games
relation country
type designation for an administrative territorial entity
['2010 Asian Games', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:2010_Asian_Games property:country ?f . ?f 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 diplomatic relations with around 20 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 20
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?j ) WHERE { ?q property:P530 ?d . ?q rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?j = 20 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 20
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?j ) WHERE { ?q property:diplomatic_relation ?d . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?j = 20 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
6
Q801 Q805 Q142 Q148 Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 20
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?j ) WHERE { ?q property:P530 ?d . ?q rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?j = 20 ) }
Israel Yemen France People's Republic of China Russia United States of America
6
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 20
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?j ) WHERE { ?q property:diplomatic_relation ?d . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?j = 20 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q34020
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with around the same number of administrative territories as Niue ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q34020
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?e ) WHERE { ?n rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?x property:P530 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q34020 property:P530 ?k } } . FILTER ( ?e = ?h ) }
Niue
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Niue
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?e ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Niue property:diplomatic_relation ?k } } . FILTER ( ?e = ?h ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 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 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q34020
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with around the same number of administrative territories as Niue
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?e ) WHERE { ?n rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?x property:P530 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q34020 property:P530 ?k } } . FILTER ( ?e = ?h ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 Central African Republic Switzerland Colombia 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 Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau 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 Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland have diplomatic relationships with around the same number of administrative territories as Niue
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Niue
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?e ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Niue property:diplomatic_relation ?k } } . FILTER ( ?e = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q711
P530
Q15617994 Q15617994
USER
And also tell me about Mongolia?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q711
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P530 ?t . ?h rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q711 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?f = ?w ) }
Mongolia
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Mongolia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:diplomatic_relation ?t . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Mongolia property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f = ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 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 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q114 Q117 Q754 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 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q711
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P530 ?t . ?h rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q711 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?f = ?w ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati 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 Central African Republic Switzerland Colombia 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 Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 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 Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Mongolia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:diplomatic_relation ?t . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Mongolia property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f = ?w ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q561553 Q711
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Mongolia and do Rolan Gusev belong to ?
AND((Q711,P530,c(Q15617994)), (Q561553,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q711
relation P530
action find
entity Q561553
relation P27
type Q15617994
{'AND': [['Q711', 'P530', {'concept': 'Q15617994'}], ['Q561553', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q561553 property:P27 ?k . resource:Q711 property:P530 ?k . ?k rdf:type ontology:Q15617994 }
Rolan Gusev Mongolia
action filter_type
action intersection
action find
entity Mongolia
relation diplomatic relation
action find
entity Rolan Gusev
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Mongolia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Rolan Gusev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Rolan_Gusev property:country_of_citizenship ?k . resource:Mongolia property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
AND((Q711,P530,c(Q15617994)), (Q561553,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q711
relation P530
action find
entity Q561553
relation P27
type Q15617994
[ANSWER] holds diplomatic relationship with Mongolia and do Rolan Gusev belong to
{'AND': [['Q711', 'P530', {'concept': 'Q15617994'}], ['Q561553', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q561553 property:P27 ?k . resource:Q711 property:P530 ?k . ?k rdf:type ontology:Q15617994 }
Russia
Russia holds diplomatic relationship with Mongolia and do Rolan Gusev belong to
Russia
action filter_type
action intersection
action find
entity Mongolia
relation diplomatic relation
action find
entity Rolan Gusev
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Mongolia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Rolan Gusev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Rolan_Gusev property:country_of_citizenship ?k . resource:Mongolia property:diplomatic_relation ?k . ?k 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 ambassadorial relations with around 58 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 58
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { FILTER ( ?s = 58 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?s ) WHERE { ?j property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?j } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 58
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { FILTER ( ?s = 58 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?s ) WHERE { ?j property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
1
Q155
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 58
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { FILTER ( ?s = 58 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?s ) WHERE { ?j property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?j } }
Brazil
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 58
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { FILTER ( ?s = 58 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?s ) WHERE { ?j property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q34266 Q230
P27
Q502895
USER
Which people are a native of Georgia and Russian Empire ?
AND((c(Q502895),P27,Q230), (c(Q502895),P27,Q34266))
action filter_type
action intersection
action find_reverse
entity Q230
relation P27
action find_reverse
entity Q34266
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q230'], [{'concept': 'Q502895'}, 'P27', 'Q34266']]}
SELECT DISTINCT ?b WHERE { ?b property:P27 resource:Q34266 . ?b property:P27 resource:Q230 . ?b rdf:type ontology:Q502895 }
Russian Empire Georgia
action filter_type
action intersection
action find_reverse
entity Georgia
relation country of citizenship
action find_reverse
entity Russian Empire
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Georgia'], [{'concept': 'common name'}, 'country of citizenship', 'Russian Empire']]}
SELECT DISTINCT ?b WHERE { ?b property:country_of_citizenship resource:Russian_Empire . ?b property:country_of_citizenship resource:Georgia . ?b rdf:type ontology:common_name }
[]
common name
Q132387 Q1358801 Q1358620 Q3651265 Q1609161 Q4449255 Q559418 Q259900 Q4279545 Q2846854
SYSTEM
Some of them are Irakli Tsereteli, Kamo, Peter Bagrationi, Elene Akhvlediani, Ivane Andronikashvili, Vakhtang Tabliashvili, Alexander von Zagareli, Nato Vachnadze, Evgeni Kharadze, Andria Apakidze
Q1358620 Q4449255 Q3651265 Q995555 Q259900 Q1609161 Q1358801 Q2846854 Q4279545 Q132387 Q529252 Q559418
AND((c(Q502895),P27,Q230), (c(Q502895),P27,Q34266))
action filter_type
action intersection
action find_reverse
entity Q230
relation P27
action find_reverse
entity Q34266
relation P27
type Q502895
[ANSWERS] are a native of Georgia and Russian Empire
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q230'], [{'concept': 'Q502895'}, 'P27', 'Q34266']]}
SELECT DISTINCT ?b WHERE { ?b property:P27 resource:Q34266 . ?b property:P27 resource:Q230 . ?b rdf:type ontology:Q502895 }
Peter Bagrationi Vakhtang Tabliashvili Elene Akhvlediani David Kandelaki Nato Vachnadze Ivane Andronikashvili Kamo Andria Apakidze Evgeni Kharadze Irakli Tsereteli Mikhail Sabinin Alexander von Zagareli
Irakli Tsereteli, Kamo, Peter Bagrationi, Elene Akhvlediani, Ivane Andronikashvili, Vakhtang Tabliashvili, Alexander von Zagareli, Nato Vachnadze, Evgeni Kharadze and Andria Apakidze are a native of Georgia and Russian Empire
Irakli Tsereteli Kamo Peter Bagrationi Elene Akhvlediani Ivane Andronikashvili Vakhtang Tabliashvili Alexander von Zagareli Nato Vachnadze Evgeni Kharadze Andria Apakidze
action filter_type
action intersection
action find_reverse
entity Georgia
relation country of citizenship
action find_reverse
entity Russian Empire
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Georgia'], [{'concept': 'common name'}, 'country of citizenship', 'Russian Empire']]}
SELECT DISTINCT ?b WHERE { ?b property:country_of_citizenship resource:Russian_Empire . ?b property:country_of_citizenship resource:Georgia . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q500834 Q18608583
USER
Which people were recognized as the statistical leader of exactly 2 tournaments and recurring sporting events ?
(c(Q500834)|c(Q18608583),P3279,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
value 2
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?n ) WHERE { VALUES ( ?k ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } . ?i rdf:type ?k } GROUP BY ?h } . FILTER ( ?n = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
value 2
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?n ) WHERE { VALUES ( ?k ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } . ?i rdf:type ?k } GROUP BY ?h } . FILTER ( ?n = 2 ) }
[]
common name tournament recurring sporting event
Q314071 Q193108 Q384894
SYSTEM
Luis Scola, Tony Parker, Giorgos Kolokithas
Q314071 Q1773788 Q4142118 Q193108 Q384894
(c(Q500834)|c(Q18608583),P3279,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
value 2
[ANSWERS] were recognized as the statistical leader of exactly 2 tournaments and recurring sporting events
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?n ) WHERE { VALUES ( ?k ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } . ?i rdf:type ?k } GROUP BY ?h } . FILTER ( ?n = 2 ) }
Luis Scola Mieczysław Młynarski Atanas Golomeev Tony Parker Giorgos Kolokithas
Luis Scola, Tony Parker and Giorgos Kolokithas were recognized as the statistical leader of exactly 2 tournaments and recurring sporting events
Luis Scola Tony Parker Giorgos Kolokithas
action equal
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
value 2
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?n ) WHERE { VALUES ( ?k ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } . ?i rdf:type ?k } GROUP BY ?h } . FILTER ( ?n = 2 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q170035
P725
Q502895 Q1001378
USER
Which cinematic techniques did around the same number of people do the dubbing for as Ratatouille ?
(c(Q1001378),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q170035
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?o ) WHERE { ?g property:P725 ?v . ?g rdf:type ontology:Q1001378 . ?v rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q170035 property:P725 ?n . ?n rdf:type ontology:Q1001378 } } . FILTER ( ?o = ?r ) }
Ratatouille
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Ratatouille
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?o ) WHERE { ?g property:voice_actor ?v . ?g rdf:type ontology:cinematic_technique . ?v rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Ratatouille property:voice_actor ?n . ?n rdf:type ontology:cinematic_technique } } . FILTER ( ?o = ?r ) }
[]
common name cinematic technique
Q104905 Q6144664 Q15728879
SYSTEM
WALL•E, Inside Out, My Little Pony: Equestria Girls 2 – Rainbow Rocks
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q562140 Q6144664 Q221679 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q246283 Q908816 Q244434 Q3623997 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q4243413 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q170035
relation P725
type Q1001378
[ANSWERS] around the same number of people did the dubbing for as Ratatouille
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?o ) WHERE { ?g property:P725 ?v . ?g rdf:type ontology:Q1001378 . ?v rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q170035 property:P725 ?n . ?n rdf:type ontology:Q1001378 } } . FILTER ( ?o = ?r ) }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Inside Out Meet the Robinsons Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story Ku! Kin-dza-dza WALL•E Laura's Star Surf's Up
WALL•E, Inside Out and My Little Pony: Equestria Girls 2 – Rainbow Rocks around the same number of people did the dubbing for as Ratatouille
WALL•E Inside Out My Little Pony: Equestria Girls 2 – Rainbow Rocks
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Ratatouille
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?o ) WHERE { ?g property:voice_actor ?v . ?g rdf:type ontology:cinematic_technique . ?v rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Ratatouille property:voice_actor ?n . ?n rdf:type ontology:cinematic_technique } } . FILTER ( ?o = ?r ) }
[]