Simple Question (Direct)
Simple Question
Q3731707
P54
Q1194951
USER
Which national sports team is Erik Just Olsen a member of ?
(Q3731707,P54,c(Q1194951))
action filter_type
action find
entity Q3731707
relation P54
type Q1194951
['Q3731707', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q3731707 property:P54 ?u . ?u rdf:type ontology:Q1194951 }
Erik Just Olsen
action filter_type
action find
entity Erik Just Olsen
relation member of sports team
type national sports team
['Erik Just Olsen', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:Erik_Just_Olsen property:member_of_sports_team ?u . ?u rdf:type ontology:national_sports_team }
[]
national sports team
Q184387
SYSTEM
Norway national football team
Q184387
(Q3731707,P54,c(Q1194951))
action filter_type
action find
entity Q3731707
relation P54
type Q1194951
The [ANSWER] is Erik Just Olsen a member of
['Q3731707', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q3731707 property:P54 ?u . ?u rdf:type ontology:Q1194951 }
Norway national football team
The Norway national football team is Erik Just Olsen a member of
Norway national football team
action filter_type
action find
entity Erik Just Olsen
relation member of sports team
type national sports team
['Erik Just Olsen', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:Erik_Just_Olsen property:member_of_sports_team ?u . ?u rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3731707
P734
Q82799
USER
Who has the surname Erik Just Olsen ?
(Q3731707,P734,c(Q82799))
action filter_type
action find
entity Q3731707
relation P734
type Q82799
['Q3731707', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q3731707 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Erik Just Olsen
action filter_type
action find
entity Erik Just Olsen
relation family name
type name
['Erik Just Olsen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Erik_Just_Olsen property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q12042571
SYSTEM
Olsen
Q12042571
(Q3731707,P734,c(Q82799))
action filter_type
action find
entity Q3731707
relation P734
type Q82799
[ANSWER] has the surname Erik Just [ANSWER]
['Q3731707', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q3731707 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Olsen
Olsen has the surname Erik Just Olsen
Olsen
action filter_type
action find
entity Erik Just Olsen
relation family name
type name
['Erik Just Olsen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Erik_Just_Olsen property:family_name ?p . ?p rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3731707
P106
Q12737077
USER
What does that person do for a living ?
(Q12042571,P106,c(Q12737077))
action filter_type
action find
entity Q3731707
relation P106
type Q12737077
['Q12042571', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3731707 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Erik Just Olsen
action filter_type
action find
entity Erik Just Olsen
relation occupation
type occupation
['Olsen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Erik_Just_Olsen property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q12042571,P106,c(Q12737077))
action filter_type
action find
entity Q3731707
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q12042571', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3731707 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Erik Just Olsen
relation occupation
type occupation
['Olsen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Erik_Just_Olsen property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3731707
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q3731707
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3731707 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Erik Just Olsen
action filter_type
action find
entity Erik Just Olsen
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Erik_Just_Olsen property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q3731707
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3731707 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Norway
Norway is that person a civilian of
Norway
action filter_type
action find
entity Erik Just Olsen
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Erik_Just_Olsen property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q502895 Q838948 Q11424
USER
How many people are atleast 3 works of art or films a fork of ?
(c(Q838948)|c(Q11424),P144,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
value 3
[[{'concept': 'Q838948'}, {'concept': 'Q11424'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) ?z WHERE { VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q11424 ) } . ?e rdf:type ?b } GROUP BY ?z } . FILTER ( ?r >= 3 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation based on
type common name
type work of art
action find_reverse_tuple_counts
relation based on
type common name
type film
value 3
[[{'concept': 'work of art'}, {'concept': 'film'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) ?z WHERE { VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:film ) } . ?e rdf:type ?b } GROUP BY ?z } . FILTER ( ?r >= 3 ) }
[]
common name work of art film
SYSTEM
3
Q313048 Q12014160 Q5968600
(c(Q838948)|c(Q11424),P144,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
value 3
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q11424'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) ?z WHERE { VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q11424 ) } . ?e rdf:type ?b } GROUP BY ?z } . FILTER ( ?r >= 3 ) }
Bob Kane Huh Young-man Jeffrey Reddick
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation based on
type common name
type work of art
action find_reverse_tuple_counts
relation based on
type common name
type film
value 3
[[{'concept': 'work of art'}, {'concept': 'film'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) ?z WHERE { VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:film ) } . ?e rdf:type ?b } GROUP BY ?z } . FILTER ( ?r >= 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3545968 Q20
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Norway or are Sumberejo located in ?
OR((Q20,P530,c(Q15617994)), (Q3545968,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20
relation P530
action find
entity Q3545968
relation P17
type Q15617994
{'OR': [['Q20', 'P530', {'concept': 'Q15617994'}], ['Q3545968', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q20 property:P530 ?w } UNION { resource:Q3545968 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Sumberejo Norway
action filter_type
action union
action find
entity Norway
relation diplomatic relation
action find
entity Sumberejo
relation country
type designation for an administrative territorial entity
{'OR': [['Norway', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Sumberejo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Norway property:diplomatic_relation ?w } UNION { resource:Sumberejo property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q252
SYSTEM
Italy, Indonesia
Q38 Q252
OR((Q20,P530,c(Q15617994)), (Q3545968,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20
relation P530
action find
entity Q3545968
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Norway or are Sumberejo located in
{'OR': [['Q20', 'P530', {'concept': 'Q15617994'}], ['Q3545968', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q20 property:P530 ?w } UNION { resource:Q3545968 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Italy Indonesia
Italy and Indonesia have diplomatic relationships with Norway or are Sumberejo located in
Italy Indonesia
action filter_type
action union
action find
entity Norway
relation diplomatic relation
action find
entity Sumberejo
relation country
type designation for an administrative territorial entity
{'OR': [['Norway', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Sumberejo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Norway property:diplomatic_relation ?w } UNION { resource:Sumberejo property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q754
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with more number of administrative territories than Trinidad and Tobago ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q754
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Q754 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?c > ?w ) }
Trinidad and Tobago
action greater
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 Trinidad and Tobago
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Trinidad_and_Tobago property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c > ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q754
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with more number of administrative territories than Trinidad and Tobago
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Q754 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?c > ?w ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan 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 Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic relations with more number of administrative territories than Trinidad and Tobago
Italy Brazil United States of America
action greater
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 Trinidad and Tobago
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Trinidad_and_Tobago property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q796
P530
Q15617994 Q15617994
USER
And also tell me about Iraq?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q796
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?k ) WHERE { ?u property:P530 ?c . ?u rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P530 resource:Q796 . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?v ) }
Iraq
action greater
action find_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_reverse
entity Iraq
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 ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?k ) WHERE { ?u property:diplomatic_relation ?c . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:diplomatic_relation resource:Iraq . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?v ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q142 Q145 Q148 Q403 Q159 Q43 Q155 Q30 Q38 Q17 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q796
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?k ) WHERE { ?u property:P530 ?c . ?u rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P530 resource:Q796 . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?v ) }
Israel Yemen India France United Kingdom People's Republic of China Serbia Russia Turkey Brazil United States of America Italy Japan Egypt Libya Cape Verde Zambia
Italy Brazil United States of America
action greater
action find_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_reverse
entity Iraq
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 ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?k ) WHERE { ?u property:diplomatic_relation ?c . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:diplomatic_relation resource:Iraq . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q155 Q17012
P1532
Q6979593
USER
How many national association football teams represent Brazil or Guadeloupe ?
(c(Q6979593),P1532,Q155) (c(Q6979593),P1532,Q17012)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q17012
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q155'] [{'concept': 'Q6979593'}, 'P1532', 'Q17012']
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { ?d property:P1532 resource:Q155 . ?d rdf:type ontology:Q6979593 } UNION { ?d property:P1532 resource:Q17012 . ?d rdf:type ontology:Q6979593 } }
Brazil Guadeloupe
action count
action union
action filter_type
action find_reverse
entity Brazil
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Guadeloupe
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Brazil'] [{'concept': 'national association football team'}, 'country for sport', 'Guadeloupe']
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { ?d property:country_for_sport resource:Brazil . ?d rdf:type ontology:national_association_football_team } UNION { ?d property:country_for_sport resource:Guadeloupe . ?d rdf:type ontology:national_association_football_team } }
[]
national association football team
SYSTEM
5
Q23013382 Q757014 Q899189 Q3590230 Q16845544
(c(Q6979593),P1532,Q155) (c(Q6979593),P1532,Q17012)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q17012
relation P1532
type Q6979593
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', 'Q155'] [{'concept': 'Q6979593'}, 'P1532', 'Q17012']
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { ?d property:P1532 resource:Q155 . ?d rdf:type ontology:Q6979593 } UNION { ?d property:P1532 resource:Q17012 . ?d rdf:type ontology:Q6979593 } }
Brazil women's national under-17 football team Brazil women's national football team Brazil Olympic football team Guadeloupe women's national football team Brazil women's national under-20 football team
5
action count
action union
action filter_type
action find_reverse
entity Brazil
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Guadeloupe
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Brazil'] [{'concept': 'national association football team'}, 'country for sport', 'Guadeloupe']
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { ?d property:country_for_sport resource:Brazil . ?d rdf:type ontology:national_association_football_team } UNION { ?d property:country_for_sport resource:Guadeloupe . ?d rdf:type ontology:national_association_football_team } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q778
P530
Q15617994 Q1048835
USER
Which political territories have ambassadorial relations with around the same number of administrative territories as The Bahamas ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?b ) WHERE { ?j rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 . ?j property:P530 ?t } GROUP BY ?j } . FILTER ( ?b = ?o ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { resource:Q778 property:P530 ?x . ?x rdf:type ontology:Q1048835 } } }
The Bahamas
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?b ) WHERE { ?j rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?t } GROUP BY ?j } . FILTER ( ?b = ?o ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { resource:The_Bahamas property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[ANSWERS] have ambassadorial relations with around the same number of administrative territories as The Bahamas
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?b ) WHERE { ?j rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 . ?j property:P530 ?t } GROUP BY ?j } . FILTER ( ?b = ?o ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { resource:Q778 property:P530 ?x . ?x rdf:type ontology:Q1048835 } } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have ambassadorial relations with around the same number of administrative territories as The Bahamas
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?b ) WHERE { ?j rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?t } GROUP BY ?j } . FILTER ( ?b = ?o ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { resource:The_Bahamas property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q40
P530
Q15617994 Q1048835
USER
And what about Austria?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?m ) WHERE { ?s rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 . ?i property:P530 ?s } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:Q1048835 . resource:Q40 property:P530 ?l } } . FILTER ( ?m = ?u ) }
Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?m ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity . ?i property:diplomatic_relation ?s } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Austria property:diplomatic_relation ?l } } . FILTER ( ?m = ?u ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?m ) WHERE { ?s rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 . ?i property:P530 ?s } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:Q1048835 . resource:Q40 property:P530 ?l } } . FILTER ( ?m = ?u ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?m ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity . ?i property:diplomatic_relation ?s } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Austria property:diplomatic_relation ?l } } . FILTER ( ?m = ?u ) }
[]