Simple Question (Direct)
Simple Question
Q21034423
P364
Q34770
USER
Which language was used originally for the creation of Truman ?
(Q21034423,P364,c(Q34770))
action filter_type
action find
entity Q21034423
relation P364
type Q34770
['Q21034423', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q21034423 property:P364 ?o . ?o rdf:type ontology:Q34770 }
Truman
action filter_type
action find
entity Truman
relation original language of work
type language
['Truman', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Truman property:original_language_of_work ?o . ?o rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q21034423,P364,c(Q34770))
action filter_type
action find
entity Q21034423
relation P364
type Q34770
[ANSWER] was used originally for the creation of Truman
['Q21034423', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q21034423 property:P364 ?o . ?o rdf:type ontology:Q34770 }
Spanish
Spanish was used originally for the creation of Truman
Spanish
action filter_type
action find
entity Truman
relation original language of work
type language
['Truman', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Truman property:original_language_of_work ?o . ?o rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21034423
P495
Q15617994
USER
What are the countries of origin of Truman ?
(Q21034423,P495,c(Q15617994))
action filter_type
action find
entity Q21034423
relation P495
type Q15617994
['Q21034423', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q21034423 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
Truman
action filter_type
action find
entity Truman
relation country of origin
type designation for an administrative territorial entity
['Truman', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Truman property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q414
SYSTEM
Spain, Argentina
Q29 Q414
(Q21034423,P495,c(Q15617994))
action filter_type
action find
entity Q21034423
relation P495
type Q15617994
The countries of origin of Truman are [ANSWERS]
['Q21034423', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q21034423 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
Spain Argentina
The countries of origin of Truman are Spain and Argentina
Spain Argentina
action filter_type
action find
entity Truman
relation country of origin
type designation for an administrative territorial entity
['Truman', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Truman property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q29 Q414
P463
Q43229
USER
What were those administrative territories a member of ?
(Q29,P463,c(Q43229)) (Q414,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
['Q29', 'P463', {'concept': 'Q43229'}] ['Q414', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q43229 . VALUES ( ?w ) { ( resource:Q29 ) ( resource:Q414 ) } . ?w property:P463 ?v }
Spain Argentina
action filter_type
action find
entity prev_answer
relation member of
type organization
['Spain', 'member of', {'concept': 'organization'}] ['Argentina', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:organization . VALUES ( ?w ) { ( resource:Spain ) ( resource:Argentina ) } . ?w property:member_of ?v }
[]
organization
Q151991 Q7825 Q7825
SYSTEM
European Southern Observatory for 1st, World Trade Organization for 2nd, 3rd
Q340195 Q191384 Q899770 Q41550 Q656801 Q151991 Q7825 Q827525 Q340195 Q191384 Q899770 Q10941699 Q656801 Q7825 Q827525
(Q29,P463,c(Q43229)) (Q414,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
[ANSWERS]
['Q29', 'P463', {'concept': 'Q43229'}] ['Q414', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q43229 . VALUES ( ?w ) { ( resource:Q29 ) ( resource:Q414 ) } . ?w property:P463 ?v }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory World Trade Organization International Development Association African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Pacific Alliance Group International Finance Corporation World Trade Organization International Development Association
Those administrative territories a member of were the European Southern Observatory, World Trade Organization and World Trade Organization
European Southern Observatory World Trade Organization World Trade Organization
action filter_type
action find
entity prev_answer
relation member of
type organization
['Spain', 'member of', {'concept': 'organization'}] ['Argentina', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:organization . VALUES ( ?w ) { ( resource:Spain ) ( resource:Argentina ) } . ?w property:member_of ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P937
Q502895
USER
Which people have Spain as their work location ?
(c(Q502895),P937,Q29)
action filter_type
action find_reverse
entity Q29
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q29']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P937 resource:Q29 }
Spain
action filter_type
action find_reverse
entity Spain
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Spain']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:work_location resource:Spain }
[]
common name
Q17479789 Q26709650 Q972592
SYSTEM
Vicente Urrabieta, Antoine Boudet, Gaetano Brunetti
Q17479789 Q6108700 Q26709650 Q21029538 Q972592 Q512863
(c(Q502895),P937,Q29)
action filter_type
action find_reverse
entity Q29
relation P937
type Q502895
[ANSWERS] have Spain as their work location
[{'concept': 'Q502895'}, 'P937', 'Q29']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P937 resource:Q29 }
Vicente Urrabieta Richard Sargent Antoine Boudet Teófilo Rufflé Gaetano Brunetti Juan de Flandes
Vicente Urrabieta, Antoine Boudet and Gaetano Brunetti have Spain as their work location
Vicente Urrabieta Antoine Boudet Gaetano Brunetti
action filter_type
action find_reverse
entity Spain
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Spain']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:work_location resource:Spain }
[]
Clarification
Simple Question|Single Entity|Indirect
Q26709650
P1066
Q502895
USER
Who taught that one ?
(Q26709650,P1066,c(Q502895))
action filter_type
action find
entity Q26709650
relation P1066
type Q502895
['Q26709650', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q26709650 property:P1066 ?v }
Antoine Boudet
action filter_type
action find
entity Antoine Boudet
relation student of
type common name
['Antoine Boudet', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Antoine_Boudet property:student_of ?v }
[]
common name
Clarification for simple ques.
Q26709650
SYSTEM
Did you mean Antoine Boudet ?
Q17479789 Q26709650 Q972592
(Q17479789,P1066,c(Q502895)) (Q26709650,P1066,c(Q502895)) (Q972592,P1066,c(Q502895))
[ANSWER]
['Q17479789', 'P1066', {'concept': 'Q502895'}] ['Q26709650', 'P1066', {'concept': 'Q502895'}] ['Q972592', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q26709650 property:P1066 ?v }
Vicente Urrabieta Antoine Boudet Gaetano Brunetti
Did you mean Antoine Boudet ?
Antoine Boudet
['Vicente Urrabieta', 'student of', {'concept': 'common name'}] ['Antoine Boudet', 'student of', {'concept': 'common name'}] ['Gaetano Brunetti', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Antoine_Boudet property:student_of ?v }
[]
Simple Question (Coreferenced)
USER
Yes
(Q26709650,P1066,c(Q502895))
['Q26709650', 'P1066', {'concept': 'Q502895'}]
['Antoine Boudet', 'student of', {'concept': 'common name'}]
[]
Q26709655
SYSTEM
Louis Billaine
Q26709655
(Q26709650,P1066,c(Q502895))
action filter_type
action find
entity Q26709650
relation P1066
type Q502895
[ANSWER] taught that one
['Q26709650', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q26709650 property:P1066 ?v }
Louis Billaine
Louis Billaine taught that one
Louis Billaine
action filter_type
action find
entity Antoine Boudet
relation student of
type common name
['Antoine Boudet', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Antoine_Boudet property:student_of ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q26709655 Q18353305
P1066
Q502895
USER
Was Alejandro Olivares advised by that one ?
(Q18353305,P1066,Q26709655)
action is_in
entity Q18353305
action find
entity Q26709655
relation P1066
['Q18353305', 'P1066', 'Q26709655']
ASK WHERE { resource:Q26709655 property:P1066 resource:Q18353305 }
Louis Billaine Alejandro Olivares
action is_in
entity Alejandro Olivares
action find
entity Louis Billaine
relation student of
['Alejandro Olivares', 'student of', 'Louis Billaine']
ASK WHERE { resource:Louis_Billaine property:student_of resource:Alejandro_Olivares }
[]
common name
SYSTEM
NO
(Q18353305,P1066,Q26709655)
action is_in
entity Q18353305
action find
entity Q26709655
relation P1066
[ANSWER]
['Q18353305', 'P1066', 'Q26709655']
ASK WHERE { resource:Q26709655 property:P1066 resource:Q18353305 }
No
action is_in
entity Alejandro Olivares
action find
entity Louis Billaine
relation student of
['Alejandro Olivares', 'student of', 'Louis Billaine']
ASK WHERE { resource:Louis_Billaine property:student_of resource:Alejandro_Olivares }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?q ) { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?n } } . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?m = ?q ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?q ) { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?n } } . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?m = ?q ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?q ) { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?n } } . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?m = ?q ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?q ) { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?n } } . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?m = ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q151991
P159
Q15617994
USER
Where is the headquarter of European Southern Observatory located ?
(Q151991,P159,c(Q15617994))
action filter_type
action find
entity Q151991
relation P159
type Q15617994
['Q151991', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q151991 property:P159 ?k . ?k rdf:type ontology:Q15617994 }
European Southern Observatory
action filter_type
action find
entity European Southern Observatory
relation headquarters location
type designation for an administrative territorial entity
['European Southern Observatory', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:European_Southern_Observatory property:headquarters_location ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q264620
SYSTEM
Garching bei München
Q264620
(Q151991,P159,c(Q15617994))
action filter_type
action find
entity Q151991
relation P159
type Q15617994
The headquarter of European Southern Observatory is located in [ANSWER]
['Q151991', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q151991 property:P159 ?k . ?k rdf:type ontology:Q15617994 }
Garching bei München
The headquarter of European Southern Observatory is located in Garching bei München
Garching bei München
action filter_type
action find
entity European Southern Observatory
relation headquarters location
type designation for an administrative territorial entity
['European Southern Observatory', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:European_Southern_Observatory property:headquarters_location ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q264620
P17
Q1048835
USER
Which political territory is that administrative territory a part of ?
(Q264620,P17,c(Q1048835))
action filter_type
action find
entity Q264620
relation P17
type Q1048835
['Q264620', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q264620 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
Garching bei München
action filter_type
action find
entity Garching bei München
relation country
type political territorial entity
['Garching bei München', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Garching_bei_München property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q264620,P17,c(Q1048835))
action filter_type
action find
entity Q264620
relation P17
type Q1048835
[ANSWER] is that administrative territory a part of
['Q264620', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q264620 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
Germany
Germany is that administrative territory a part of
Germany
action filter_type
action find
entity Garching bei München
relation country
type political territorial entity
['Garching bei München', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Garching_bei_München property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relationships with atmost 5 political territories ?
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 5
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?x <= 5 ) . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?k } }
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 5
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?x <= 5 ) . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?k } }
[]
designation for an administrative territorial entity political territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 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(Q1048835),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 5
[ANSWERS] have diplomatic relationships with atmost 5 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?x <= 5 ) . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?k } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal 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 Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America 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
Brazil, United States of America and Georgia have diplomatic relationships with atmost 5 political territories
Brazil United States of America Georgia
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 5
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?x <= 5 ) . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?k } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q34379 Q386724 Q340169
USER
Which musical instruments are demonstrated in around 1 works or medias ?
(c(Q386724)|c(Q340169),P180,c(Q34379))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q386724
action find_reverse_tuple_counts
relation P180
type Q34379
type Q340169
value 1
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?t WHERE { { ?p property:P180 ?t . ?t rdf:type ontology:Q34379 . ?p rdf:type ontology:Q386724 } UNION { ?t rdf:type ontology:Q34379 . ?p rdf:type ontology:Q340169 . ?p property:P180 ?t } } GROUP BY ?t } . FILTER ( ?g = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work
action find_reverse_tuple_counts
relation depicts
type musical instrument
type media
value 1
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?t WHERE { { ?p property:depicts ?t . ?t rdf:type ontology:musical_instrument . ?p rdf:type ontology:work } UNION { ?t rdf:type ontology:musical_instrument . ?p rdf:type ontology:media . ?p property:depicts ?t } } GROUP BY ?t } . FILTER ( ?g = 1 ) }
[]
musical instrument work media
Q201129 Q1141589 Q80019
SYSTEM
lyre, Crotales, double bass
Q201129 Q1141589 Q80019 Q8355
(c(Q386724)|c(Q340169),P180,c(Q34379))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q386724
action find_reverse_tuple_counts
relation P180
type Q34379
type Q340169
value 1
[ANSWERS] are demonstrated in around 1 works or medias
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?t WHERE { { ?p property:P180 ?t . ?t rdf:type ontology:Q34379 . ?p rdf:type ontology:Q386724 } UNION { ?t rdf:type ontology:Q34379 . ?p rdf:type ontology:Q340169 . ?p property:P180 ?t } } GROUP BY ?t } . FILTER ( ?g = 1 ) }
lyre Crotales double bass violin
Lyre, Crotales and double bass are demonstrated in around 1 works or medias
lyre Crotales double bass
action approx
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work
action find_reverse_tuple_counts
relation depicts
type musical instrument
type media
value 1
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?t WHERE { { ?p property:depicts ?t . ?t rdf:type ontology:musical_instrument . ?p rdf:type ontology:work } UNION { ?t rdf:type ontology:musical_instrument . ?p rdf:type ontology:media . ?p property:depicts ?t } } GROUP BY ?t } . FILTER ( ?g = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q145 Q414
P27
Q502895
USER
Which people are a native of Argentina and United Kingdom ?
AND((c(Q502895),P27,Q414), (c(Q502895),P27,Q145))
action filter_type
action intersection
action find_reverse
entity Q414
relation P27
action find_reverse
entity Q145
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q414'], [{'concept': 'Q502895'}, 'P27', 'Q145']]}
SELECT DISTINCT ?q WHERE { ?q property:P27 resource:Q414 . ?q property:P27 resource:Q145 . ?q rdf:type ontology:Q502895 }
United Kingdom Argentina
action filter_type
action intersection
action find_reverse
entity Argentina
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Argentina'], [{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}
SELECT DISTINCT ?q WHERE { ?q property:country_of_citizenship resource:Argentina . ?q property:country_of_citizenship resource:United_Kingdom . ?q rdf:type ontology:common_name }
[]
common name
Q1370677 Q7164450 Q5552620 Q17987522 Q20882479 Q16015964 Q178237 Q18010514 Q5925843
SYSTEM
Thomas Bridges, Penny Woolcock, Paul Bell Chambers, Soledad Rende, Anya Taylor-Joy, Renee Gadd, Chris de Burgh, Ursula von Pannwitz, James Peck
Q1370677 Q7164450 Q5552620 Q17987522 Q20882479 Q16015964 Q178237 Q18010514 Q5925843
AND((c(Q502895),P27,Q414), (c(Q502895),P27,Q145))
action filter_type
action intersection
action find_reverse
entity Q414
relation P27
action find_reverse
entity Q145
relation P27
type Q502895
[ANSWERS] are a native of Argentina and United Kingdom
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q414'], [{'concept': 'Q502895'}, 'P27', 'Q145']]}
SELECT DISTINCT ?q WHERE { ?q property:P27 resource:Q414 . ?q property:P27 resource:Q145 . ?q rdf:type ontology:Q502895 }
Thomas Bridges Penny Woolcock Paul Bell Chambers Soledad Rende Anya Taylor-Joy Renee Gadd Chris de Burgh Ursula von Pannwitz James Peck
Thomas Bridges, Penny Woolcock, Paul Bell Chambers, Soledad Rende, Anya Taylor-Joy, Renee Gadd, Chris de Burgh, Ursula von Pannwitz and James Peck are a native of Argentina and United Kingdom
Thomas Bridges Penny Woolcock Paul Bell Chambers Soledad Rende Anya Taylor-Joy Renee Gadd Chris de Burgh Ursula von Pannwitz James Peck
action filter_type
action intersection
action find_reverse
entity Argentina
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Argentina'], [{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}
SELECT DISTINCT ?q WHERE { ?q property:country_of_citizenship resource:Argentina . ?q property:country_of_citizenship resource:United_Kingdom . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1379417 Q5552620
P27
Q15617994
USER
Which administrative territories are Paul Bell Chambers or Nikolay Karpenko an inhabitant of ?
OR((Q5552620,P27,c(Q15617994)), (Q1379417,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5552620
relation P27
action find
entity Q1379417
relation P27
type Q15617994
{'OR': [['Q5552620', 'P27', {'concept': 'Q15617994'}], ['Q1379417', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q5552620 property:P27 ?w } UNION { resource:Q1379417 property:P27 ?w } } }
Nikolay Karpenko Paul Bell Chambers
action filter_type
action union
action find
entity Paul Bell Chambers
relation country of citizenship
action find
entity Nikolay Karpenko
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Paul Bell Chambers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nikolay Karpenko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Paul_Bell_Chambers property:country_of_citizenship ?w } UNION { resource:Nikolay_Karpenko property:country_of_citizenship ?w } } }
[]
designation for an administrative territorial entity
Q414 Q232 Q145
SYSTEM
Argentina, Kazakhstan, United Kingdom
Q414 Q232 Q145
OR((Q5552620,P27,c(Q15617994)), (Q1379417,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5552620
relation P27
action find
entity Q1379417
relation P27
type Q15617994
[ANSWERS] are Paul Bell Chambers or Nikolay Karpenko an inhabitant of
{'OR': [['Q5552620', 'P27', {'concept': 'Q15617994'}], ['Q1379417', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q5552620 property:P27 ?w } UNION { resource:Q1379417 property:P27 ?w } } }
Argentina Kazakhstan United Kingdom
Argentina, Kazakhstan and United Kingdom are Paul Bell Chambers or Nikolay Karpenko an inhabitant of
Argentina Kazakhstan United Kingdom
action filter_type
action union
action find
entity Paul Bell Chambers
relation country of citizenship
action find
entity Nikolay Karpenko
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Paul Bell Chambers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nikolay Karpenko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Paul_Bell_Chambers property:country_of_citizenship ?w } UNION { resource:Nikolay_Karpenko property:country_of_citizenship ?w } } }
[]