Simple Question (Direct)
Simple Question
Q84919
P21
Q290
USER
What is the sex of Gerhard Oppitz ?
(Q84919,P21,c(Q290))
action filter_type
action find
entity Q84919
relation P21
type Q290
['Q84919', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q84919 property:P21 ?h . ?h rdf:type ontology:Q290 }
Gerhard Oppitz
action filter_type
action find
entity Gerhard Oppitz
relation gender
type sex
['Gerhard Oppitz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Gerhard_Oppitz property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q84919,P21,c(Q290))
action filter_type
action find
entity Q84919
relation P21
type Q290
The sex of Gerhard Oppitz is the [ANSWER]
['Q84919', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q84919 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of Gerhard Oppitz is the male
male
action filter_type
action find
entity Gerhard Oppitz
relation gender
type sex
['Gerhard Oppitz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Gerhard_Oppitz property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84919
P27
Q1048835
USER
Which political territory is Gerhard Oppitz an inhabitant of ?
(Q84919,P27,c(Q1048835))
action filter_type
action find
entity Q84919
relation P27
type Q1048835
['Q84919', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . resource:Q84919 property:P27 ?h }
Gerhard Oppitz
action filter_type
action find
entity Gerhard Oppitz
relation country of citizenship
type political territorial entity
['Gerhard Oppitz', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . resource:Gerhard_Oppitz property:country_of_citizenship ?h }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q84919,P27,c(Q1048835))
action filter_type
action find
entity Q84919
relation P27
type Q1048835
[ANSWER] is Gerhard Oppitz an inhabitant of
['Q84919', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . resource:Q84919 property:P27 ?h }
Germany
Germany is Gerhard Oppitz an inhabitant of
Germany
action filter_type
action find
entity Gerhard Oppitz
relation country of citizenship
type political territorial entity
['Gerhard Oppitz', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . resource:Gerhard_Oppitz property:country_of_citizenship ?h }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q18107342
P530
Q15617994
USER
Does Los Santos have a diplomatic relationship with Germany ?
(Q183,P530,Q18107342)
action is_in
entity Q18107342
action find
entity Q183
relation P530
['Q183', 'P530', 'Q18107342']
ASK WHERE { resource:Q183 property:P530 resource:Q18107342 }
Germany Los Santos
action is_in
entity Los Santos
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Los Santos']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Los_Santos }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q183,P530,Q18107342)
action is_in
entity Q18107342
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q18107342']
ASK WHERE { resource:Q183 property:P530 resource:Q18107342 }
No
action is_in
entity Los Santos
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Los Santos']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Los_Santos }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q84919 Q25084
P19
Q15617994
USER
Was Ghislarengo Gerhard Oppitz born ?
(Q84919,P19,Q25084)
action is_in
entity Q25084
action find
entity Q84919
relation P19
['Q84919', 'P19', 'Q25084']
ASK WHERE { resource:Q84919 property:P19 resource:Q25084 }
Gerhard Oppitz Ghislarengo
action is_in
entity Ghislarengo
action find
entity Gerhard Oppitz
relation place of birth
['Gerhard Oppitz', 'place of birth', 'Ghislarengo']
ASK WHERE { resource:Gerhard_Oppitz property:place_of_birth resource:Ghislarengo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q84919,P19,Q25084)
action is_in
entity Q25084
action find
entity Q84919
relation P19
[ANSWER]
['Q84919', 'P19', 'Q25084']
ASK WHERE { resource:Q84919 property:P19 resource:Q25084 }
No
action is_in
entity Ghislarengo
action find
entity Gerhard Oppitz
relation place of birth
['Gerhard Oppitz', 'place of birth', 'Ghislarengo']
ASK WHERE { resource:Gerhard_Oppitz property:place_of_birth resource:Ghislarengo }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18948561 Q183
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany or do Berkenhof belong to ?
OR((Q183,P530,c(Q15617994)), (Q18948561,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q18948561
relation P17
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q18948561', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q183 property:P530 ?a } UNION { resource:Q18948561 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Berkenhof Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Berkenhof
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Berkenhof', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Germany property:diplomatic_relation ?a } UNION { resource:Berkenhof property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q889 Q884 Q983 Q971 Q1032 Q730 Q224 Q79 Q958 Q796
SYSTEM
Some of them are Afghanistan, South Korea, Equatorial Guinea, Republic of the Congo, Niger, Suriname, Croatia, Egypt, South Sudan, Iraq
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q183,P530,c(Q15617994)), (Q18948561,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q18948561
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Germany or do Berkenhof belong to
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q18948561', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q183 property:P530 ?a } UNION { resource:Q18948561 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Afghanistan, South Korea, Equatorial Guinea, Republic of the Congo, Niger, Suriname, Croatia, Egypt, South Sudan and Iraq have diplomatic relationships with Germany or do Berkenhof belong to
Afghanistan South Korea Equatorial Guinea Republic of the Congo Niger Suriname Croatia Egypt South Sudan Iraq
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Berkenhof
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Berkenhof', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Germany property:diplomatic_relation ?a } UNION { resource:Berkenhof property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
Which administrative territories were the sources of inspiration for approximately the same number of fictional locations as that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|More/Less|Single entity type|Clarification
Q79
SYSTEM
Did you mean Egypt ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean Egypt ?
Egypt
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Afghanistan. Could you tell me the answer for that?
(c(Q3895768),P941,c(Q15617994))
Q889
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
Q159 Q55 Q142
SYSTEM
Russia, Netherlands, France
Q142 Q159 Q424 Q794 Q33 Q954 Q31 Q889 Q55
(c(Q3895768),P941,c(Q15617994))
[ANSWERS] were the sources of inspiration for approximately the same number of fictional locations as that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
France Russia Cambodia Iran Finland Zimbabwe Belgium Afghanistan Netherlands
Russia, Netherlands and France were the sources of inspiration for approximately the same number of fictional locations as that administrative territory
Russia Netherlands France
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q183
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with lesser number of administrative territories than Germany ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?g ) WHERE { ?v rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 . ?v property:P530 ?s } GROUP BY ?v } . FILTER ( ?g < ?c ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { resource:Q183 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } }
Germany
action count
action less
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 Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?g ) WHERE { ?v rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?s } GROUP BY ?v } . FILTER ( ?g < ?c ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { resource:Germany property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
12
Q1000 Q40 Q781 Q778 Q408 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?g ) WHERE { ?v rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 . ?v property:P530 ?s } GROUP BY ?v } . FILTER ( ?g < ?c ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { resource:Q183 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } }
Gabon Austria Antigua and Barbuda The Bahamas Australia Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
12
action count
action less
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 Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?g ) WHERE { ?v rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?s } GROUP BY ?v } . FILTER ( ?g < ?c ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { resource:Germany property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16
P530
Q15617994 Q1048835
USER
And what about Canada?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?r ) WHERE { ?x property:P530 ?y . ?x rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q16 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?r < ?q ) }
Canada
action count
action less
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 Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?r ) WHERE { ?x property:diplomatic_relation ?y . ?x rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Canada property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r < ?q ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?r ) WHERE { ?x property:P530 ?y . ?x rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q16 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?r < ?q ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action less
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 Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?r ) WHERE { ?x property:diplomatic_relation ?y . ?x rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Canada property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r < ?q ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q15617994 Q838948 Q340169
USER
Which administrative territories are depicted in min number of works of art or medias ?
(c(Q838948)|c(Q340169),P180,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?r ) { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?b ) WHERE { ?c rdf:type ?o . VALUES ( ?o ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } } GROUP BY ?u } } . FILTER ( ?e = ?r ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?f rdf:type ?h } GROUP BY ?j } }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?r ) { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?b ) WHERE { ?c rdf:type ?o . VALUES ( ?o ) { ( ontology:work_of_art ) ( ontology:media ) } } GROUP BY ?u } } . FILTER ( ?e = ?r ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:media ) } . ?f rdf:type ?h } GROUP BY ?j } }
[]
designation for an administrative territorial entity work of art media
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q668 Q142 Q55 Q47505 Q148 Q128081 Q131596 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q298 Q13320 Q186115 Q373189 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q80591 Q42288 Q1034158
(c(Q838948)|c(Q340169),P180,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
[ANSWERS] are depicted in min number of works of art or medias
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?r ) { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?b ) WHERE { ?c rdf:type ?o . VALUES ( ?o ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } } GROUP BY ?u } } . FILTER ( ?e = ?r ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?f rdf:type ?h } GROUP BY ?j } }
Catanzaro Liguria Sardinia Ariccia India France Netherlands Dolo People's Republic of China Cori, Lazio farm Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Savona Montmartre Bithynia Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Atrani Asola Cap Norfeu
Italy, Brazil and Russia are depicted in min number of works of art or medias
Italy Brazil Russia
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?r ) { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?b ) WHERE { ?c rdf:type ?o . VALUES ( ?o ) { ( ontology:work_of_art ) ( ontology:media ) } } GROUP BY ?u } } . FILTER ( ?e = ?r ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:media ) } . ?f rdf:type ?h } GROUP BY ?j } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q664
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with more number of administrative territories than New Zealand ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?s ) WHERE { ?e property:P530 ?k . ?e rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q664 property:P530 ?c } } . FILTER ( ?s > ?b ) }
New Zealand
action greater
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 New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?s ) WHERE { ?e property:diplomatic_relation ?k . ?e rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:New_Zealand property:diplomatic_relation ?c } } . FILTER ( ?s > ?b ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with more number of administrative territories than New Zealand
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?s ) WHERE { ?e property:P530 ?k . ?e rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q664 property:P530 ?c } } . FILTER ( ?s > ?b ) }
Austria Germany Australia Denmark Canada
Germany, Australia and Denmark have a diplomatic relationship with more number of administrative territories than New Zealand
Germany Australia Denmark
action greater
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 New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?s ) WHERE { ?e property:diplomatic_relation ?k . ?e rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:New_Zealand property:diplomatic_relation ?c } } . FILTER ( ?s > ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q781
P530
Q1048835 Q15617994
USER
And how about Antigua and Barbuda?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?p ) WHERE { ?m property:P530 ?s . ?m rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q781 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?x ) }
Antigua and Barbuda
action greater
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 Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?p ) WHERE { ?m property:diplomatic_relation ?s . ?m rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?x ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?p ) WHERE { ?m property:P530 ?s . ?m rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q781 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?x ) }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany Australia Denmark
action greater
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 Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?p ) WHERE { ?m property:diplomatic_relation ?s . ?m rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?x ) }
[]