Simple Question (Direct)
Simple Question
Q10391519
P735
Q82799
USER
What is forename of Vilmar Rodrigues dos Santos ?
(Q10391519,P735,c(Q82799))
action filter_type
action find
entity Q10391519
relation P735
type Q82799
['Q10391519', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q10391519 property:P735 ?k . ?k rdf:type ontology:Q82799 }
Vilmar Rodrigues dos Santos
action filter_type
action find
entity Vilmar Rodrigues dos Santos
relation given name
type name
['Vilmar Rodrigues dos Santos', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Vilmar_Rodrigues_dos_Santos property:given_name ?k . ?k rdf:type ontology:name }
[]
name
Q10715593
SYSTEM
Vilmar
Q10715593
(Q10391519,P735,c(Q82799))
action filter_type
action find
entity Q10391519
relation P735
type Q82799
Forename of [ANSWER] Rodrigues dos Santos is of [ANSWER]
['Q10391519', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q10391519 property:P735 ?k . ?k rdf:type ontology:Q82799 }
Vilmar
Forename of Vilmar Rodrigues dos Santos is of Vilmar
Vilmar
action filter_type
action find
entity Vilmar Rodrigues dos Santos
relation given name
type name
['Vilmar Rodrigues dos Santos', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Vilmar_Rodrigues_dos_Santos property:given_name ?k . ?k rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10391519
P19
Q1048835
USER
Which political territory is the place of birth of Vilmar Rodrigues dos Santos ?
(Q10391519,P19,c(Q1048835))
action filter_type
action find
entity Q10391519
relation P19
type Q1048835
['Q10391519', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q10391519 property:P19 ?q . ?q rdf:type ontology:Q1048835 }
Vilmar Rodrigues dos Santos
action filter_type
action find
entity Vilmar Rodrigues dos Santos
relation place of birth
type political territorial entity
['Vilmar Rodrigues dos Santos', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Vilmar_Rodrigues_dos_Santos property:place_of_birth ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1756110
SYSTEM
Fronteira dos Vales
Q1756110
(Q10391519,P19,c(Q1048835))
action filter_type
action find
entity Q10391519
relation P19
type Q1048835
[ANSWER] is the place of birth of Vilmar Rodrigues dos Santos
['Q10391519', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q10391519 property:P19 ?q . ?q rdf:type ontology:Q1048835 }
Fronteira dos Vales
Fronteira dos Vales is the place of birth of Vilmar Rodrigues dos Santos
Fronteira dos Vales
action filter_type
action find
entity Vilmar Rodrigues dos Santos
relation place of birth
type political territorial entity
['Vilmar Rodrigues dos Santos', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Vilmar_Rodrigues_dos_Santos property:place_of_birth ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10391519
P21
Q290
USER
What is the sex of that person ?
(Q1756110,P21,c(Q290))
action filter_type
action find
entity Q10391519
relation P21
type Q290
['Q1756110', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q10391519 property:P21 ?y . ?y rdf:type ontology:Q290 }
Vilmar Rodrigues dos Santos
action filter_type
action find
entity Vilmar Rodrigues dos Santos
relation gender
type sex
['Fronteira dos Vales', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Vilmar_Rodrigues_dos_Santos property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1756110,P21,c(Q290))
action filter_type
action find
entity Q10391519
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q1756110', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q10391519 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Vilmar Rodrigues dos Santos
relation gender
type sex
['Fronteira dos Vales', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Vilmar_Rodrigues_dos_Santos property:gender ?y . ?y rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1376
Q1048835 Q486972 Q56061
USER
Which political territories have max number of human settlements or administrative territories have their first city ?
(c(Q486972)|c(Q56061),P1376,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?h ) { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:P1376 ?i . ?i rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q486972 } UNION { ?i rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q56061 . ?o property:P1376 ?i } } GROUP BY ?i } } . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?w ) WHERE { { ?y property:P1376 ?b . ?y rdf:type ontology:Q486972 . ?b rdf:type ontology:Q1048835 } UNION { ?y property:P1376 ?b . ?b rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q56061 } } GROUP BY ?b } . FILTER ( ?w = ?h ) }
action argmax
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?h ) { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:capital_of ?i . ?i rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:human_settlement } UNION { ?i rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:administrative_territorial_entity . ?o property:capital_of ?i } } GROUP BY ?i } } . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?w ) WHERE { { ?y property:capital_of ?b . ?y rdf:type ontology:human_settlement . ?b rdf:type ontology:political_territorial_entity } UNION { ?y property:capital_of ?b . ?b rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity } } GROUP BY ?b } . FILTER ( ?w = ?h ) }
[]
political territorial entity human settlement administrative territorial entity
Q183 Q13353 Q193619
SYSTEM
Germany, Montserrat, Union of South Africa
Q5455586 Q13353 Q193619 Q183
(c(Q486972)|c(Q56061),P1376,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
[ANSWERS] have max number of human settlements or administrative territories have their first city
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?h ) { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:P1376 ?i . ?i rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q486972 } UNION { ?i rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q56061 . ?o property:P1376 ?i } } GROUP BY ?i } } . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?w ) WHERE { { ?y property:P1376 ?b . ?y rdf:type ontology:Q486972 . ?b rdf:type ontology:Q1048835 } UNION { ?y property:P1376 ?b . ?b rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q56061 } } GROUP BY ?b } . FILTER ( ?w = ?h ) }
Fitzcarrald Montserrat Union of South Africa Germany
Germany, Montserrat and Union of South Africa have max number of human settlements or administrative territories have their first city
Germany Montserrat Union of South Africa
action argmax
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?h ) { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:capital_of ?i . ?i rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:human_settlement } UNION { ?i rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:administrative_territorial_entity . ?o property:capital_of ?i } } GROUP BY ?i } } . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?w ) WHERE { { ?y property:capital_of ?b . ?y rdf:type ontology:human_settlement . ?b rdf:type ontology:political_territorial_entity } UNION { ?y property:capital_of ?b . ?b rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity } } GROUP BY ?b } . FILTER ( ?w = ?h ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q8436 Q9332 Q82799
USER
How many names are a portion of around 1 families or behaviors ?
(c(Q82799),P361,c(Q8436)|c(Q9332))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q9332
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?g WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:Q8436 ) ( ontology:Q9332 ) } } GROUP BY ?g } . FILTER ( ?n = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type behavior
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?g WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:family ) ( ontology:behavior ) } } GROUP BY ?g } . FILTER ( ?n = 1 ) }
[]
family behavior name
SYSTEM
3
Q235598 Q742083 Q382004
(c(Q82799),P361,c(Q8436)|c(Q9332))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q9332
value 1
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?g WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:Q8436 ) ( ontology:Q9332 ) } } GROUP BY ?g } . FILTER ( ?n = 1 ) }
Piso Princes of Paliano Afa-Negus
3
action count
action approx
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type behavior
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?g WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:family ) ( ontology:behavior ) } } GROUP BY ?g } . FILTER ( ?n = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q151885 Q8436 Q82799
USER
Which names are a component of atleast 1 concepts or families ?
(c(Q82799),P361,c(Q151885)|c(Q8436))
action atleast
action union
action find_tuple_counts
relation P361
type Q82799
type Q151885
action find_tuple_counts
relation P361
type Q82799
type Q8436
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?x ) WHERE { { ?z property:P361 ?j . ?z rdf:type ontology:Q82799 . ?j rdf:type ontology:Q151885 } UNION { ?z property:P361 ?j . ?z rdf:type ontology:Q82799 . ?j rdf:type ontology:Q8436 } } GROUP BY ?z } . FILTER ( ?x >= 1 ) }
action atleast
action union
action find_tuple_counts
relation part of
type name
type concept
action find_tuple_counts
relation part of
type name
type family
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'concept'}, {'concept': 'family'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?x ) WHERE { { ?z property:part_of ?j . ?z rdf:type ontology:name . ?j rdf:type ontology:concept } UNION { ?z property:part_of ?j . ?z rdf:type ontology:name . ?j rdf:type ontology:family } } GROUP BY ?z } . FILTER ( ?x >= 1 ) }
[]
concept family name
Q1058384 Q746990 Q876933
SYSTEM
hakham, Brahman, magi
Q1058384 Q235598 Q742083 Q746990 Q876933
(c(Q82799),P361,c(Q151885)|c(Q8436))
action atleast
action union
action find_tuple_counts
relation P361
type Q82799
type Q151885
action find_tuple_counts
relation P361
type Q82799
type Q8436
value 1
[ANSWERS] are a component of atleast 1 concepts or families
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?x ) WHERE { { ?z property:P361 ?j . ?z rdf:type ontology:Q82799 . ?j rdf:type ontology:Q151885 } UNION { ?z property:P361 ?j . ?z rdf:type ontology:Q82799 . ?j rdf:type ontology:Q8436 } } GROUP BY ?z } . FILTER ( ?x >= 1 ) }
hakham Piso Princes of Paliano Brahman magi
Hakham, Brahman and magi are a component of atleast 1 concepts or families
hakham Brahman magi
action atleast
action union
action find_tuple_counts
relation part of
type name
type concept
action find_tuple_counts
relation part of
type name
type family
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'concept'}, {'concept': 'family'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?x ) WHERE { { ?z property:part_of ?j . ?z rdf:type ontology:name . ?j rdf:type ontology:concept } UNION { ?z property:part_of ?j . ?z rdf:type ontology:name . ?j rdf:type ontology:family } } GROUP BY ?z } . FILTER ( ?x >= 1 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P180
Q82799 Q386724
USER
How many names are depicted in lesser number of works than that name ?
(c(Q386724),P180,c(Q82799))
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P180 ?y . ?z rdf:type ontology:Q16532276 . ?y rdf:type ontology:Q82799 }
[{'concept': 'work'}, 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:depicts ?y . ?z rdf:type ontology:work . ?y rdf:type ontology:name }
[]
name work
Comparative|Count over More/Less|Single entity type|Clarification
Q1058384
SYSTEM
Did you mean hakham ?
(c(Q386724),P180,c(Q82799))
[ANSWER]
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P180 ?y . ?z rdf:type ontology:Q16532276 . ?y rdf:type ontology:Q82799 }
Did you mean hakham ?
hakham
[{'concept': 'work'}, 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:depicts ?y . ?z rdf:type ontology:work . ?y rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant magi. Could you tell me the answer for that?
(c(Q386724),P180,c(Q82799))
Q876933
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q82799'}]
[{'concept': 'work'}, 'depicts', {'concept': 'name'}]
[]
SYSTEM
0
(c(Q386724),P180,c(Q82799))
[ANSWER]
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P180 ?y . ?z rdf:type ontology:Q16532276 . ?y rdf:type ontology:Q82799 }
0
[{'concept': 'work'}, 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:depicts ?y . ?z rdf:type ontology:work . ?y rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P1071
Q3305213
USER
Which painting has Germany as its terminal assembly location ?
(c(Q3305213),P1071,Q183)
action filter_type
action find_reverse
entity Q183
relation P1071
type Q3305213
[{'concept': 'Q3305213'}, 'P1071', 'Q183']
SELECT DISTINCT ?k WHERE { ?k property:P1071 resource:Q183 . ?k rdf:type ontology:Q3305213 }
Germany
action filter_type
action find_reverse
entity Germany
relation location of final assembly
type painting
[{'concept': 'painting'}, 'location of final assembly', 'Germany']
SELECT DISTINCT ?k WHERE { ?k property:location_of_final_assembly resource:Germany . ?k rdf:type ontology:painting }
[]
painting
Q323155
SYSTEM
Marienaltar
Q323155
(c(Q3305213),P1071,Q183)
action filter_type
action find_reverse
entity Q183
relation P1071
type Q3305213
[ANSWER] has Germany as its terminal assembly location
[{'concept': 'Q3305213'}, 'P1071', 'Q183']
SELECT DISTINCT ?k WHERE { ?k property:P1071 resource:Q183 . ?k rdf:type ontology:Q3305213 }
Marienaltar
Marienaltar has Germany as its terminal assembly location
Marienaltar
action filter_type
action find_reverse
entity Germany
relation location of final assembly
type painting
[{'concept': 'painting'}, 'location of final assembly', 'Germany']
SELECT DISTINCT ?k WHERE { ?k property:location_of_final_assembly resource:Germany . ?k rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q323155
P800
Q502895
USER
Which person has that painting as a notable work ?
(c(Q502895),P800,Q323155)
action filter_type
action find_reverse
entity Q323155
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q323155']
SELECT DISTINCT ?r WHERE { ?r property:P800 resource:Q323155 . ?r rdf:type ontology:Q502895 }
Marienaltar
action filter_type
action find_reverse
entity Marienaltar
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Marienaltar']
SELECT DISTINCT ?r WHERE { ?r property:notable_work resource:Marienaltar . ?r rdf:type ontology:common_name }
[]
common name
Q704984
SYSTEM
Conrad von Soest
Q704984
(c(Q502895),P800,Q323155)
action filter_type
action find_reverse
entity Q323155
relation P800
type Q502895
[ANSWER] has that painting as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q323155']
SELECT DISTINCT ?r WHERE { ?r property:P800 resource:Q323155 . ?r rdf:type ontology:Q502895 }
Conrad von Soest
Conrad von Soest has that painting as a notable work
Conrad von Soest
action filter_type
action find_reverse
entity Marienaltar
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Marienaltar']
SELECT DISTINCT ?r WHERE { ?r property:notable_work resource:Marienaltar . ?r rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q2076887 Q183
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Germany and are not Horn, Rutland present in ?
AND((Q183,P530,c(Q15617994)), NOT((Q2076887,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q2076887
relation P17
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q2076887', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?z WHERE { MINUS { resource:Q2076887 property:P17 ?z } . resource:Q183 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Horn, Rutland Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Horn, Rutland
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Horn, Rutland', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?z WHERE { MINUS { resource:Horn,_Rutland property:country ?z } . resource:Germany property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34 Q810 Q983 Q159 Q739 Q878 Q929 Q733 Q258 Q971
SYSTEM
Some of them are Sweden, Jordan, Equatorial Guinea, Russia, Colombia, United Arab Emirates, Central African Republic, Paraguay, South Africa, Republic of the Congo
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 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
AND((Q183,P530,c(Q15617994)), NOT((Q2076887,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q2076887
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with Germany and are not Horn, Rutland present in
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q2076887', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?z WHERE { MINUS { resource:Q2076887 property:P17 ?z } . resource:Q183 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands 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
Sweden, Jordan, Equatorial Guinea, Russia, Colombia, United Arab Emirates, Central African Republic, Paraguay, South Africa and Republic of the Congo hold diplomatic relationship with Germany and are not Horn, Rutland present in
Sweden Jordan Equatorial Guinea Russia Colombia United Arab Emirates Central African Republic Paraguay South Africa Republic of the Congo
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Horn, Rutland
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Horn, Rutland', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?z WHERE { MINUS { resource:Horn,_Rutland property:country ?z } . resource:Germany property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q2342494
USER
Which administrative territories are the countries of origin of around the same number of releases and collectables as that administrative territory ?
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
designation for an administrative territorial entity release collectable
Comparative|More/Less|Mult. entity type|Clarification
Q929
SYSTEM
Did you mean Central African Republic ?
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
Did you mean Central African Republic ?
Central African Republic
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
USER
No, I meant Republic of the Congo. Could you tell me the answer for that?
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
Q971
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
[ANSWERS] are the countries of origin of around the same number of releases and collectables as that administrative territory
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the countries of origin of around the same number of releases and collectables as that administrative territory
Italy Brazil Georgia
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q552375
P530
Q15617994
USER
Do Helmenzen have diplomatic relations with those ones ?
(Q552375,P530,Q38) (Q552375,P530,Q155) (Q552375,P530,Q230)
action is_in
entity prev_answer
action find
entity Q552375
relation P530
['Q552375', 'P530', 'Q38'] ['Q552375', 'P530', 'Q155'] ['Q552375', 'P530', 'Q230']
ASK WHERE { resource:Q552375 property:P530 ?y . VALUES ( ?y ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } }
Helmenzen
action is_in
entity prev_answer
action find
entity Helmenzen
relation diplomatic relation
['Helmenzen', 'diplomatic relation', 'Italy'] ['Helmenzen', 'diplomatic relation', 'Brazil'] ['Helmenzen', 'diplomatic relation', 'Georgia']
ASK WHERE { resource:Helmenzen property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q552375,P530,Q38) (Q552375,P530,Q155) (Q552375,P530,Q230)
action is_in
entity prev_answer
action find
entity Q552375
relation P530
[ANSWER]
['Q552375', 'P530', 'Q38'] ['Q552375', 'P530', 'Q155'] ['Q552375', 'P530', 'Q230']
ASK WHERE { resource:Q552375 property:P530 ?y . VALUES ( ?y ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } }
No
action is_in
entity prev_answer
action find
entity Helmenzen
relation diplomatic relation
['Helmenzen', 'diplomatic relation', 'Italy'] ['Helmenzen', 'diplomatic relation', 'Brazil'] ['Helmenzen', 'diplomatic relation', 'Georgia']
ASK WHERE { resource:Helmenzen property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } }
[]