Simple Question (Direct)
Simple Question
Q3934538
P54
Q12973014
USER
Which sports team is Riccardo Moraschini a member of ?
(Q3934538,P54,c(Q12973014))
action filter_type
action find
entity Q3934538
relation P54
type Q12973014
['Q3934538', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12973014 . resource:Q3934538 property:P54 ?o }
Riccardo Moraschini
action filter_type
action find
entity Riccardo Moraschini
relation member of sports team
type sports team
['Riccardo Moraschini', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sports_team . resource:Riccardo_Moraschini property:member_of_sports_team ?o }
[]
sports team
Q36264
SYSTEM
Virtus Pallacanestro Bologna
Q36264
(Q3934538,P54,c(Q12973014))
action filter_type
action find
entity Q3934538
relation P54
type Q12973014
[ANSWER] is Riccardo Moraschini a member of
['Q3934538', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12973014 . resource:Q3934538 property:P54 ?o }
Virtus Pallacanestro Bologna
Virtus Pallacanestro Bologna is Riccardo Moraschini a member of
Virtus Pallacanestro Bologna
action filter_type
action find
entity Riccardo Moraschini
relation member of sports team
type sports team
['Riccardo Moraschini', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sports_team . resource:Riccardo_Moraschini property:member_of_sports_team ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3934538
P27
Q15617994
USER
Which administrative territory is Riccardo Moraschini a civilian of ?
(Q3934538,P27,c(Q15617994))
action filter_type
action find
entity Q3934538
relation P27
type Q15617994
['Q3934538', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3934538 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Riccardo Moraschini
action filter_type
action find
entity Riccardo Moraschini
relation country of citizenship
type designation for an administrative territorial entity
['Riccardo Moraschini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Riccardo_Moraschini property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3934538,P27,c(Q15617994))
action filter_type
action find
entity Q3934538
relation P27
type Q15617994
[ANSWER] is Riccardo Moraschini a civilian of
['Q3934538', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3934538 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Italy
Italy is Riccardo Moraschini a civilian of
Italy
action filter_type
action find
entity Riccardo Moraschini
relation country of citizenship
type designation for an administrative territorial entity
['Riccardo Moraschini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Riccardo_Moraschini property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3934538
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q38,P106,c(Q12737077))
action filter_type
action find
entity Q3934538
relation P106
type Q12737077
['Q38', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q3934538 property:P106 ?m }
Riccardo Moraschini
action filter_type
action find
entity Riccardo Moraschini
relation occupation
type occupation
['Italy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Riccardo_Moraschini property:occupation ?m }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q38,P106,c(Q12737077))
action filter_type
action find
entity Q3934538
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
['Q38', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q3934538 property:P106 ?m }
basketball player
Player basketball player has that person as his/her 's career
basketball player
action filter_type
action find
entity Riccardo Moraschini
relation occupation
type occupation
['Italy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Riccardo_Moraschini property:occupation ?m }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
How many occupations do greater number of collectables belong to than that occupation ?
(c(Q2342494),P101,c(Q12737077))
action count
action greater
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q3665646
relation P101
type Q12737077
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P101 ?w . ?w rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q2342494 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q3665646 property:P101 ?x . ?x rdf:type ontology:Q12737077 } } . FILTER ( ?l > ?s ) }
action count
action greater
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity basketball player
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:field_of_work ?w . ?w rdf:type ontology:occupation . ?p rdf:type ontology:collectable } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:basketball_player property:field_of_work ?x . ?x rdf:type ontology:occupation } } . FILTER ( ?l > ?s ) }
[]
occupation collectable
SYSTEM
1
Q15954519
(c(Q2342494),P101,c(Q12737077))
action count
action greater
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q3665646
relation P101
type Q12737077
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P101 ?w . ?w rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q2342494 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q3665646 property:P101 ?x . ?x rdf:type ontology:Q12737077 } } . FILTER ( ?l > ?s ) }
alchemist
1
action count
action greater
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity basketball player
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:field_of_work ?w . ?w rdf:type ontology:occupation . ?p rdf:type ontology:collectable } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:basketball_player property:field_of_work ?x . ?x rdf:type ontology:occupation } } . FILTER ( ?l > ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11516813 Q38
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Italy or do Reiko Arima belong to ?
OR((Q38,P530,c(Q15617994)), (Q11516813,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q11516813
relation P27
type Q15617994
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q11516813', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q38 property:P530 ?m } UNION { resource:Q11516813 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Reiko Arima Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Reiko Arima
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Reiko Arima', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Italy property:diplomatic_relation ?m } UNION { resource:Reiko_Arima property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668 Q224 Q238 Q403 Q55 Q869 Q155 Q77 Q233 Q34
SYSTEM
Some of them are India, Croatia, San Marino, Serbia, Netherlands, Thailand, Brazil, Uruguay, Malta, Sweden
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 Q948 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
OR((Q38,P530,c(Q15617994)), (Q11516813,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q11516813
relation P27
type Q15617994
[ANSWERS] hold diplomatic relationship with Italy or do Reiko Arima belong to
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q11516813', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q38 property:P530 ?m } UNION { resource:Q11516813 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Azerbaijan Tunisia Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
India, Croatia, San Marino, Serbia, Netherlands, Thailand, Brazil, Uruguay, Malta and Sweden hold diplomatic relationship with Italy or do Reiko Arima belong to
India Croatia San Marino Serbia Netherlands Thailand Brazil Uruguay Malta Sweden
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Reiko Arima
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Reiko Arima', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Italy property:diplomatic_relation ?m } UNION { resource:Reiko_Arima property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P17
Q14524493 Q32635
USER
How many terrains or domain names are present in that administrative territory ?
(c(Q14524493),P17,Q55) (c(Q32635),P17,Q55) (c(Q14524493),P17,Q668) (c(Q32635),P17,Q668) (c(Q14524493),P17,Q224) (c(Q32635),P17,Q224) (c(Q14524493),P17,Q238) (c(Q32635),P17,Q238) (c(Q14524493),P17,Q403) (c(Q32635),P17,Q403) (c(Q14524493),P17,Q55) (c(Q32635),P17,Q55) (c(Q14524493),P17,Q869) (c(Q32635),P17,Q869) (c(Q14524493),P17,Q155) (c(Q32635),P17,Q155) (c(Q14524493),P17,Q77) (c(Q32635),P17,Q77) (c(Q14524493),P17,Q233) (c(Q32635),P17,Q233) (c(Q14524493),P17,Q34) (c(Q32635),P17,Q34)
[{'concept': 'Q14524493'}, 'P17', 'Q55'] [{'concept': 'Q32635'}, 'P17', 'Q55'] [{'concept': 'Q14524493'}, 'P17', 'Q668'] [{'concept': 'Q32635'}, 'P17', 'Q668'] [{'concept': 'Q14524493'}, 'P17', 'Q224'] [{'concept': 'Q32635'}, 'P17', 'Q224'] [{'concept': 'Q14524493'}, 'P17', 'Q238'] [{'concept': 'Q32635'}, 'P17', 'Q238'] [{'concept': 'Q14524493'}, 'P17', 'Q403'] [{'concept': 'Q32635'}, 'P17', 'Q403'] [{'concept': 'Q14524493'}, 'P17', 'Q55'] [{'concept': 'Q32635'}, 'P17', 'Q55'] [{'concept': 'Q14524493'}, 'P17', 'Q869'] [{'concept': 'Q32635'}, 'P17', 'Q869'] [{'concept': 'Q14524493'}, 'P17', 'Q155'] [{'concept': 'Q32635'}, 'P17', 'Q155'] [{'concept': 'Q14524493'}, 'P17', 'Q77'] [{'concept': 'Q32635'}, 'P17', 'Q77'] [{'concept': 'Q14524493'}, 'P17', 'Q233'] [{'concept': 'Q32635'}, 'P17', 'Q233'] [{'concept': 'Q14524493'}, 'P17', 'Q34'] [{'concept': 'Q32635'}, 'P17', 'Q34']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q6256 resource:Q22442862 } UNION { ?y property:Q6256 resource:Q22442862 } UNION { ?z property:Q6256 resource:Q1488929 } UNION { ?y property:Q6256 resource:Q1488929 } UNION { ?z property:Q6256 resource:Q224 } UNION { ?y property:Q6256 resource:Q224 } UNION { ?z property:Q6256 resource:Q238 } UNION { ?y property:Q6256 resource:Q238 } UNION { ?z property:Q6256 resource:Q403 } UNION { ?y property:Q6256 resource:Q403 } UNION { ?z property:Q6256 resource:Q22442862 } UNION { ?y property:Q6256 resource:Q22442862 } UNION { ?z property:Q6256 resource:Q869 } UNION { ?y property:Q6256 resource:Q869 } UNION { ?z property:Q6256 resource:Q21475816 } UNION { ?y property:Q6256 resource:Q21475816 } UNION { ?z property:Q6256 resource:Q3296159 } UNION { ?y property:Q6256 resource:Q3296159 } UNION { ?z property:Q6256 resource:Q19334248 } UNION { ?y property:Q6256 resource:Q19334248 } UNION { ?z property:Q6256 resource:Q7654287 } UNION { ?y property:Q6256 resource:Q7654287 } } . ?z rdf:type ontology:Q14524493 . ?y rdf:type ontology:Q32635 }
[{'concept': 'terrain'}, 'country', 'Netherlands'] [{'concept': 'domain name'}, 'country', 'Netherlands'] [{'concept': 'terrain'}, 'country', 'India'] [{'concept': 'domain name'}, 'country', 'India'] [{'concept': 'terrain'}, 'country', 'Croatia'] [{'concept': 'domain name'}, 'country', 'Croatia'] [{'concept': 'terrain'}, 'country', 'San Marino'] [{'concept': 'domain name'}, 'country', 'San Marino'] [{'concept': 'terrain'}, 'country', 'Serbia'] [{'concept': 'domain name'}, 'country', 'Serbia'] [{'concept': 'terrain'}, 'country', 'Netherlands'] [{'concept': 'domain name'}, 'country', 'Netherlands'] [{'concept': 'terrain'}, 'country', 'Thailand'] [{'concept': 'domain name'}, 'country', 'Thailand'] [{'concept': 'terrain'}, 'country', 'Brazil'] [{'concept': 'domain name'}, 'country', 'Brazil'] [{'concept': 'terrain'}, 'country', 'Uruguay'] [{'concept': 'domain name'}, 'country', 'Uruguay'] [{'concept': 'terrain'}, 'country', 'Malta'] [{'concept': 'domain name'}, 'country', 'Malta'] [{'concept': 'terrain'}, 'country', 'Sweden'] [{'concept': 'domain name'}, 'country', 'Sweden']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country resource:Netherlands } UNION { ?y property:country resource:Netherlands } UNION { ?z property:country resource:India } UNION { ?y property:country resource:India } UNION { ?z property:country resource:Croatia } UNION { ?y property:country resource:Croatia } UNION { ?z property:country resource:San_Marino } UNION { ?y property:country resource:San_Marino } UNION { ?z property:country resource:Serbia } UNION { ?y property:country resource:Serbia } UNION { ?z property:country resource:Netherlands } UNION { ?y property:country resource:Netherlands } UNION { ?z property:country resource:Thailand } UNION { ?y property:country resource:Thailand } UNION { ?z property:country resource:Brazil } UNION { ?y property:country resource:Brazil } UNION { ?z property:country resource:Uruguay } UNION { ?y property:country resource:Uruguay } UNION { ?z property:country resource:Malta } UNION { ?y property:country resource:Malta } UNION { ?z property:country resource:Sweden } UNION { ?y property:country resource:Sweden } } . ?z rdf:type ontology:terrain . ?y rdf:type ontology:domain_name }
[]
terrain domain name
Quantitative|Count|Mult. entity type|Clarification
Q224
SYSTEM
Did you mean Croatia ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q6256 resource:Q22442862 } UNION { ?y property:Q6256 resource:Q22442862 } UNION { ?z property:Q6256 resource:Q1488929 } UNION { ?y property:Q6256 resource:Q1488929 } UNION { ?z property:Q6256 resource:Q224 } UNION { ?y property:Q6256 resource:Q224 } UNION { ?z property:Q6256 resource:Q238 } UNION { ?y property:Q6256 resource:Q238 } UNION { ?z property:Q6256 resource:Q403 } UNION { ?y property:Q6256 resource:Q403 } UNION { ?z property:Q6256 resource:Q22442862 } UNION { ?y property:Q6256 resource:Q22442862 } UNION { ?z property:Q6256 resource:Q869 } UNION { ?y property:Q6256 resource:Q869 } UNION { ?z property:Q6256 resource:Q21475816 } UNION { ?y property:Q6256 resource:Q21475816 } UNION { ?z property:Q6256 resource:Q3296159 } UNION { ?y property:Q6256 resource:Q3296159 } UNION { ?z property:Q6256 resource:Q19334248 } UNION { ?y property:Q6256 resource:Q19334248 } UNION { ?z property:Q6256 resource:Q7654287 } UNION { ?y property:Q6256 resource:Q7654287 } } . ?z rdf:type ontology:Q14524493 . ?y rdf:type ontology:Q32635 }
Did you mean Croatia ?
Croatia
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country resource:Netherlands } UNION { ?y property:country resource:Netherlands } UNION { ?z property:country resource:India } UNION { ?y property:country resource:India } UNION { ?z property:country resource:Croatia } UNION { ?y property:country resource:Croatia } UNION { ?z property:country resource:San_Marino } UNION { ?y property:country resource:San_Marino } UNION { ?z property:country resource:Serbia } UNION { ?y property:country resource:Serbia } UNION { ?z property:country resource:Netherlands } UNION { ?y property:country resource:Netherlands } UNION { ?z property:country resource:Thailand } UNION { ?y property:country resource:Thailand } UNION { ?z property:country resource:Brazil } UNION { ?y property:country resource:Brazil } UNION { ?z property:country resource:Uruguay } UNION { ?y property:country resource:Uruguay } UNION { ?z property:country resource:Malta } UNION { ?y property:country resource:Malta } UNION { ?z property:country resource:Sweden } UNION { ?y property:country resource:Sweden } } . ?z rdf:type ontology:terrain . ?y rdf:type ontology:domain_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Netherlands. Could you tell me the answer for that?
(c(Q14524493),P17,Q55) (c(Q32635),P17,Q55) (c(Q14524493),P17,Q668) (c(Q32635),P17,Q668) (c(Q14524493),P17,Q224) (c(Q32635),P17,Q224) (c(Q14524493),P17,Q238) (c(Q32635),P17,Q238) (c(Q14524493),P17,Q403) (c(Q32635),P17,Q403) (c(Q14524493),P17,Q55) (c(Q32635),P17,Q55) (c(Q14524493),P17,Q869) (c(Q32635),P17,Q869) (c(Q14524493),P17,Q155) (c(Q32635),P17,Q155) (c(Q14524493),P17,Q77) (c(Q32635),P17,Q77) (c(Q14524493),P17,Q233) (c(Q32635),P17,Q233) (c(Q14524493),P17,Q34) (c(Q32635),P17,Q34)
Q55
[{'concept': 'Q14524493'}, 'P17', 'Q55'] [{'concept': 'Q32635'}, 'P17', 'Q55'] [{'concept': 'Q14524493'}, 'P17', 'Q668'] [{'concept': 'Q32635'}, 'P17', 'Q668'] [{'concept': 'Q14524493'}, 'P17', 'Q224'] [{'concept': 'Q32635'}, 'P17', 'Q224'] [{'concept': 'Q14524493'}, 'P17', 'Q238'] [{'concept': 'Q32635'}, 'P17', 'Q238'] [{'concept': 'Q14524493'}, 'P17', 'Q403'] [{'concept': 'Q32635'}, 'P17', 'Q403'] [{'concept': 'Q14524493'}, 'P17', 'Q55'] [{'concept': 'Q32635'}, 'P17', 'Q55'] [{'concept': 'Q14524493'}, 'P17', 'Q869'] [{'concept': 'Q32635'}, 'P17', 'Q869'] [{'concept': 'Q14524493'}, 'P17', 'Q155'] [{'concept': 'Q32635'}, 'P17', 'Q155'] [{'concept': 'Q14524493'}, 'P17', 'Q77'] [{'concept': 'Q32635'}, 'P17', 'Q77'] [{'concept': 'Q14524493'}, 'P17', 'Q233'] [{'concept': 'Q32635'}, 'P17', 'Q233'] [{'concept': 'Q14524493'}, 'P17', 'Q34'] [{'concept': 'Q32635'}, 'P17', 'Q34']
[{'concept': 'terrain'}, 'country', 'Netherlands'] [{'concept': 'domain name'}, 'country', 'Netherlands'] [{'concept': 'terrain'}, 'country', 'India'] [{'concept': 'domain name'}, 'country', 'India'] [{'concept': 'terrain'}, 'country', 'Croatia'] [{'concept': 'domain name'}, 'country', 'Croatia'] [{'concept': 'terrain'}, 'country', 'San Marino'] [{'concept': 'domain name'}, 'country', 'San Marino'] [{'concept': 'terrain'}, 'country', 'Serbia'] [{'concept': 'domain name'}, 'country', 'Serbia'] [{'concept': 'terrain'}, 'country', 'Netherlands'] [{'concept': 'domain name'}, 'country', 'Netherlands'] [{'concept': 'terrain'}, 'country', 'Thailand'] [{'concept': 'domain name'}, 'country', 'Thailand'] [{'concept': 'terrain'}, 'country', 'Brazil'] [{'concept': 'domain name'}, 'country', 'Brazil'] [{'concept': 'terrain'}, 'country', 'Uruguay'] [{'concept': 'domain name'}, 'country', 'Uruguay'] [{'concept': 'terrain'}, 'country', 'Malta'] [{'concept': 'domain name'}, 'country', 'Malta'] [{'concept': 'terrain'}, 'country', 'Sweden'] [{'concept': 'domain name'}, 'country', 'Sweden']
[]
SYSTEM
14
Q3113119 Q2586153 Q2527753 Q2534914 Q1772066 Q2499770 Q159860 Q2535506 Q2480072 Q2420501 Q4540981 Q142380 Q9178935 Q2330826
(c(Q14524493),P17,Q55) (c(Q32635),P17,Q55) (c(Q14524493),P17,Q668) (c(Q32635),P17,Q668) (c(Q14524493),P17,Q224) (c(Q32635),P17,Q224) (c(Q14524493),P17,Q238) (c(Q32635),P17,Q238) (c(Q14524493),P17,Q403) (c(Q32635),P17,Q403) (c(Q14524493),P17,Q55) (c(Q32635),P17,Q55) (c(Q14524493),P17,Q869) (c(Q32635),P17,Q869) (c(Q14524493),P17,Q155) (c(Q32635),P17,Q155) (c(Q14524493),P17,Q77) (c(Q32635),P17,Q77) (c(Q14524493),P17,Q233) (c(Q32635),P17,Q233) (c(Q14524493),P17,Q34) (c(Q32635),P17,Q34)
[ANSWER]
[{'concept': 'Q14524493'}, 'P17', 'Q55'] [{'concept': 'Q32635'}, 'P17', 'Q55'] [{'concept': 'Q14524493'}, 'P17', 'Q668'] [{'concept': 'Q32635'}, 'P17', 'Q668'] [{'concept': 'Q14524493'}, 'P17', 'Q224'] [{'concept': 'Q32635'}, 'P17', 'Q224'] [{'concept': 'Q14524493'}, 'P17', 'Q238'] [{'concept': 'Q32635'}, 'P17', 'Q238'] [{'concept': 'Q14524493'}, 'P17', 'Q403'] [{'concept': 'Q32635'}, 'P17', 'Q403'] [{'concept': 'Q14524493'}, 'P17', 'Q55'] [{'concept': 'Q32635'}, 'P17', 'Q55'] [{'concept': 'Q14524493'}, 'P17', 'Q869'] [{'concept': 'Q32635'}, 'P17', 'Q869'] [{'concept': 'Q14524493'}, 'P17', 'Q155'] [{'concept': 'Q32635'}, 'P17', 'Q155'] [{'concept': 'Q14524493'}, 'P17', 'Q77'] [{'concept': 'Q32635'}, 'P17', 'Q77'] [{'concept': 'Q14524493'}, 'P17', 'Q233'] [{'concept': 'Q32635'}, 'P17', 'Q233'] [{'concept': 'Q14524493'}, 'P17', 'Q34'] [{'concept': 'Q32635'}, 'P17', 'Q34']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q6256 resource:Q22442862 } UNION { ?y property:Q6256 resource:Q22442862 } UNION { ?z property:Q6256 resource:Q1488929 } UNION { ?y property:Q6256 resource:Q1488929 } UNION { ?z property:Q6256 resource:Q224 } UNION { ?y property:Q6256 resource:Q224 } UNION { ?z property:Q6256 resource:Q238 } UNION { ?y property:Q6256 resource:Q238 } UNION { ?z property:Q6256 resource:Q403 } UNION { ?y property:Q6256 resource:Q403 } UNION { ?z property:Q6256 resource:Q22442862 } UNION { ?y property:Q6256 resource:Q22442862 } UNION { ?z property:Q6256 resource:Q869 } UNION { ?y property:Q6256 resource:Q869 } UNION { ?z property:Q6256 resource:Q21475816 } UNION { ?y property:Q6256 resource:Q21475816 } UNION { ?z property:Q6256 resource:Q3296159 } UNION { ?y property:Q6256 resource:Q3296159 } UNION { ?z property:Q6256 resource:Q19334248 } UNION { ?y property:Q6256 resource:Q19334248 } UNION { ?z property:Q6256 resource:Q7654287 } UNION { ?y property:Q6256 resource:Q7654287 } } . ?z rdf:type ontology:Q14524493 . ?y rdf:type ontology:Q32635 }
Keutenberg Zuidwal volcano Schiphol-Oost Braamberg Vrouwenheide Grebbeberg Vaalserberg Vuurboetsduin Media Park Wageningse Berg Saint Helena Hill .bq Brandaris Schiphol-Zuidoost
14
[{'concept': 'terrain'}, 'country', 'Netherlands'] [{'concept': 'domain name'}, 'country', 'Netherlands'] [{'concept': 'terrain'}, 'country', 'India'] [{'concept': 'domain name'}, 'country', 'India'] [{'concept': 'terrain'}, 'country', 'Croatia'] [{'concept': 'domain name'}, 'country', 'Croatia'] [{'concept': 'terrain'}, 'country', 'San Marino'] [{'concept': 'domain name'}, 'country', 'San Marino'] [{'concept': 'terrain'}, 'country', 'Serbia'] [{'concept': 'domain name'}, 'country', 'Serbia'] [{'concept': 'terrain'}, 'country', 'Netherlands'] [{'concept': 'domain name'}, 'country', 'Netherlands'] [{'concept': 'terrain'}, 'country', 'Thailand'] [{'concept': 'domain name'}, 'country', 'Thailand'] [{'concept': 'terrain'}, 'country', 'Brazil'] [{'concept': 'domain name'}, 'country', 'Brazil'] [{'concept': 'terrain'}, 'country', 'Uruguay'] [{'concept': 'domain name'}, 'country', 'Uruguay'] [{'concept': 'terrain'}, 'country', 'Malta'] [{'concept': 'domain name'}, 'country', 'Malta'] [{'concept': 'terrain'}, 'country', 'Sweden'] [{'concept': 'domain name'}, 'country', 'Sweden']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country resource:Netherlands } UNION { ?y property:country resource:Netherlands } UNION { ?z property:country resource:India } UNION { ?y property:country resource:India } UNION { ?z property:country resource:Croatia } UNION { ?y property:country resource:Croatia } UNION { ?z property:country resource:San_Marino } UNION { ?y property:country resource:San_Marino } UNION { ?z property:country resource:Serbia } UNION { ?y property:country resource:Serbia } UNION { ?z property:country resource:Netherlands } UNION { ?y property:country resource:Netherlands } UNION { ?z property:country resource:Thailand } UNION { ?y property:country resource:Thailand } UNION { ?z property:country resource:Brazil } UNION { ?y property:country resource:Brazil } UNION { ?z property:country resource:Uruguay } UNION { ?y property:country resource:Uruguay } UNION { ?z property:country resource:Malta } UNION { ?y property:country resource:Malta } UNION { ?z property:country resource:Sweden } UNION { ?y property:country resource:Sweden } } . ?z rdf:type ontology:terrain . ?y rdf:type ontology:domain_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q83620 Q41176
USER
Which administrative territories are approximately 1199 thoroughfares or buildings present in ?
(c(Q83620)|c(Q41176),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q41176
value 1199
[[{'concept': 'Q83620'}, {'concept': 'Q41176'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?e ) WHERE { { ?k rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q83620 . ?w property:P17 ?k } UNION { ?w property:P17 ?k . ?k rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q41176 } } GROUP BY ?k } . FILTER ( ?e = 1199 ) }
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type building
value 1199
[[{'concept': 'thoroughfare'}, {'concept': 'building'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?e ) WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:thoroughfare . ?w property:country ?k } UNION { ?w property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:building } } GROUP BY ?k } . FILTER ( ?e = 1199 ) }
[]
designation for an administrative territorial entity thoroughfare building
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q668 Q684030 Q2172530 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q252 Q399 Q1462 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q219 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q47261 Q96 Q229 Q347 Q1050 Q977 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q37 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q29 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q83620)|c(Q41176),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q41176
value 1199
[ANSWERS] are approximately 1199 thoroughfares or buildings present in
[[{'concept': 'Q83620'}, {'concept': 'Q41176'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?e ) WHERE { { ?k rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q83620 . ?w property:P17 ?k } UNION { ?w property:P17 ?k . ?k rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q41176 } } GROUP BY ?k } . FILTER ( ?e = 1199 ) }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora India Principality of Serbia Electorate of Württemberg Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Indonesia Armenia Sardinia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Vietnam Eritrea Bulgaria Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Finland Brunei Belgium Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Mexico Cyprus Liechtenstein Swaziland Djibouti Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia Spain East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Thailand Duchy of Savoy Zambia
Italy, Brazil and Georgia are approximately 1199 thoroughfares or buildings present in
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type building
value 1199
[[{'concept': 'thoroughfare'}, {'concept': 'building'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?e ) WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:thoroughfare . ?w property:country ?k } UNION { ?w property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:building } } GROUP BY ?k } . FILTER ( ?e = 1199 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P123
Q2342494
USER
Which collectables were published by Brazil ?
(c(Q2342494),P123,Q155)
action filter_type
action find_reverse
entity Q155
relation P123
type Q2342494
[{'concept': 'Q2342494'}, 'P123', 'Q155']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2342494 . ?r property:P123 resource:Q155 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'Brazil']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:collectable . ?r property:publisher resource:Brazil }
[]
collectable
Q7666148 Q7105479 Q7073328
SYSTEM
Sétimo, Os Sete, O Senhor da Chuva
Q7105479 Q7073328 Q4655739 Q7666148 Q7449233
(c(Q2342494),P123,Q155)
action filter_type
action find_reverse
entity Q155
relation P123
type Q2342494
[ANSWERS] were published by Brazil
[{'concept': 'Q2342494'}, 'P123', 'Q155']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2342494 . ?r property:P123 resource:Q155 }
Os Sete O Senhor da Chuva A Casa Sétimo Sementes no Gelo
Sétimo, Os Sete and O Senhor da Chuva were published by Brazil
Sétimo Os Sete O Senhor da Chuva
action filter_type
action find_reverse
entity Brazil
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'Brazil']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:collectable . ?r property:publisher resource:Brazil }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7666148
P50
Q502895
USER
Who was the writer of that collectable ?
(Q7666148,P50,c(Q502895))
action filter_type
action find
entity Q7666148
relation P50
type Q502895
['Q7666148', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q7666148 property:P50 ?c . ?c rdf:type ontology:Q502895 }
Sétimo
action filter_type
action find
entity Sétimo
relation author
type common name
['Sétimo', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Sétimo property:author ?c . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q7666148
SYSTEM
Did you mean Sétimo ?
Q7666148 Q7105479 Q7073328
(Q7666148,P50,c(Q502895)) (Q7105479,P50,c(Q502895)) (Q7073328,P50,c(Q502895))
[ANSWER]
['Q7666148', 'P50', {'concept': 'Q502895'}] ['Q7105479', 'P50', {'concept': 'Q502895'}] ['Q7073328', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q7666148 property:P50 ?c . ?c rdf:type ontology:Q502895 }
Sétimo Os Sete O Senhor da Chuva
Did you mean Sétimo ?
Sétimo
['Sétimo', 'author', {'concept': 'common name'}] ['Os Sete', 'author', {'concept': 'common name'}] ['O Senhor da Chuva', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Sétimo property:author ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7666148,P50,c(Q502895))
['Q7666148', 'P50', {'concept': 'Q502895'}]
['Sétimo', 'author', {'concept': 'common name'}]
[]
Q4760090
SYSTEM
André Vianco
Q4760090
(Q7666148,P50,c(Q502895))
action filter_type
action find
entity Q7666148
relation P50
type Q502895
The writer of that collectable was Monsieur [ANSWER]
['Q7666148', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q7666148 property:P50 ?c . ?c rdf:type ontology:Q502895 }
André Vianco
The writer of that collectable was Monsieur André Vianco
André Vianco
action filter_type
action find
entity Sétimo
relation author
type common name
['Sétimo', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Sétimo property:author ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q56061 Q49447 Q15617994
USER
Which administrative territories are a component of around 1 administrative territories or world views ?
(c(Q15617994),P361,c(Q56061)|c(Q49447))
action approx
action union
action find_tuple_counts
relation P361
type Q15617994
type Q56061
action find_tuple_counts
relation P361
type Q15617994
type Q49447
value 1
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q56061'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?g WHERE { { ?g property:P361 ?k . ?g rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q56061 } UNION { ?g property:P361 ?k . ?g rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q49447 } } GROUP BY ?g } }
action approx
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'administrative territorial entity'}, {'concept': 'world view'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?g WHERE { { ?g property:part_of ?k . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:administrative_territorial_entity } UNION { ?g property:part_of ?k . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:world_view } } GROUP BY ?g } }
[]
administrative territorial entity world view designation for an administrative territorial entity
Q36 Q184864 Q3773354
SYSTEM
Poland, Megara, Alagonia
Q184864 Q548611 Q36 Q186115 Q585444 Q2661988 Q2115448 Q3773354 Q209495
(c(Q15617994),P361,c(Q56061)|c(Q49447))
action approx
action union
action find_tuple_counts
relation P361
type Q15617994
type Q56061
action find_tuple_counts
relation P361
type Q15617994
type Q49447
value 1
[ANSWERS] are a component of around 1 administrative territories or world views
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q56061'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?g WHERE { { ?g property:P361 ?k . ?g rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q56061 } UNION { ?g property:P361 ?k . ?g rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q49447 } } GROUP BY ?g } }
Megara district of the Czech Republic Poland Montmartre administrative district of Prague urban settlement in Russia Intra-city territory of a federal city Alagonia historical province of France
Poland, Megara and Alagonia are a component of around 1 administrative territories or world views
Poland Megara Alagonia
action approx
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'administrative territorial entity'}, {'concept': 'world view'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?g WHERE { { ?g property:part_of ?k . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:administrative_territorial_entity } UNION { ?g property:part_of ?k . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:world_view } } GROUP BY ?g } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q34020
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with around the same number of administrative territories as Niue ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q34020
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?w ) WHERE { ?s property:P530 ?l . ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Q34020 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?y ) }
Niue
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Niue
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?w ) WHERE { ?s property:diplomatic_relation ?l . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Niue property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?y ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 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 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q34020
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?w ) WHERE { ?s property:P530 ?l . ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Q34020 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?y ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Niue
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?w ) WHERE { ?s property:diplomatic_relation ?l . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Niue property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q736
P530
Q15617994 Q15617994
USER
And how about Ecuador?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q736
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?w ) WHERE { ?y property:P530 ?v . ?y rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Q736 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?z ) }
Ecuador
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ecuador
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?w ) WHERE { ?y property:diplomatic_relation ?v . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Ecuador property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 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 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q736
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?w ) WHERE { ?y property:P530 ?v . ?y rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Q736 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?z ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ecuador
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?w ) WHERE { ?y property:diplomatic_relation ?v . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Ecuador property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?z ) }
[]