Simple Question (Direct)
Simple Question
Q1705372
P140
Q879146
USER
Which Christian denomination does Josef Neunzig relate to ?
(Q1705372,P140,c(Q879146))
action filter_type
action find
entity Q1705372
relation P140
type Q879146
['Q1705372', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?g WHERE { resource:Q1705372 property:P140 ?g . ?g rdf:type ontology:Q879146 }
Josef Neunzig
action filter_type
action find
entity Josef Neunzig
relation religion
type Christian denomination
['Josef Neunzig', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?g WHERE { resource:Josef_Neunzig property:religion ?g . ?g rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q1705372,P140,c(Q879146))
action filter_type
action find
entity Q1705372
relation P140
type Q879146
Josef Neunzig relates the [ANSWER]
['Q1705372', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?g WHERE { resource:Q1705372 property:P140 ?g . ?g rdf:type ontology:Q879146 }
Roman Catholic Church
Josef Neunzig relates the Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Josef Neunzig
relation religion
type Christian denomination
['Josef Neunzig', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?g WHERE { resource:Josef_Neunzig property:religion ?g . ?g rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9592
P361
Q13414953
USER
Which religious denominations are parts of that Christian denomination ?
(c(Q13414953),P361,Q9592)
action filter_type
action find_reverse
entity Q9592
relation P361
type Q13414953
[{'concept': 'Q13414953'}, 'P361', 'Q9592']
SELECT DISTINCT ?v WHERE { ?v property:P361 resource:Q9592 . ?v rdf:type ontology:Q13414953 }
Roman Catholic Church
action filter_type
action find_reverse
entity Roman Catholic Church
relation part of
type religious denomination
[{'concept': 'religious denomination'}, 'part of', 'Roman Catholic Church']
SELECT DISTINCT ?v WHERE { ?v property:part_of resource:Roman_Catholic_Church . ?v rdf:type ontology:religious_denomination }
[]
religious denomination
Q2477418 Q1931915
SYSTEM
Roman Catholicism in Ivory Coast, Roman Catholicism in Afghanistan
Q2477418 Q1931915
(c(Q13414953),P361,Q9592)
action filter_type
action find_reverse
entity Q9592
relation P361
type Q13414953
[ANSWERS] are parts of that Christian denomination
[{'concept': 'Q13414953'}, 'P361', 'Q9592']
SELECT DISTINCT ?v WHERE { ?v property:P361 resource:Q9592 . ?v rdf:type ontology:Q13414953 }
Roman Catholicism in Ivory Coast Roman Catholicism in Afghanistan
Roman Catholicism in Ivory Coast and Roman Catholicism in Afghanistan are parts of that Christian denomination
Roman Catholicism in Ivory Coast Roman Catholicism in Afghanistan
action filter_type
action find_reverse
entity Roman Catholic Church
relation part of
type religious denomination
[{'concept': 'religious denomination'}, 'part of', 'Roman Catholic Church']
SELECT DISTINCT ?v WHERE { ?v property:part_of resource:Roman_Catholic_Church . ?v rdf:type ontology:religious_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1705372
P106
Q12737077
USER
What does Josef Neunzig do for a living ?
(Q1705372,P106,c(Q12737077))
action filter_type
action find
entity Q1705372
relation P106
type Q12737077
['Q1705372', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1705372 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Josef Neunzig
action filter_type
action find
entity Josef Neunzig
relation occupation
type occupation
['Josef Neunzig', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Josef_Neunzig property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q250867
SYSTEM
Catholic priest
Q250867
(Q1705372,P106,c(Q12737077))
action filter_type
action find
entity Q1705372
relation P106
type Q12737077
Josef Neunzig does a [ANSWER] for a living
['Q1705372', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1705372 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Catholic priest
Josef Neunzig does a Catholic priest for a living
Catholic priest
action filter_type
action find
entity Josef Neunzig
relation occupation
type occupation
['Josef Neunzig', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Josef_Neunzig property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2477418
P17
Q15617994
USER
Which administrative territory is Roman Catholicism in Ivory Coast a part of ?
(Q2477418,P17,c(Q15617994))
action filter_type
action find
entity Q2477418
relation P17
type Q15617994
['Q2477418', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2477418 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Roman Catholicism in Ivory Coast
action filter_type
action find
entity Roman Catholicism in Ivory Coast
relation country
type designation for an administrative territorial entity
['Roman Catholicism in Ivory Coast', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Roman_Catholicism_in_Ivory_Coast property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1008
SYSTEM
Côte d'Ivoire
Q1008
(Q2477418,P17,c(Q15617994))
action filter_type
action find
entity Q2477418
relation P17
type Q15617994
In [ANSWER] is Roman Catholicism in Ivory Coast a part of
['Q2477418', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2477418 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Côte d'Ivoire
In Côte d'Ivoire is Roman Catholicism in Ivory Coast a part of
Côte d'Ivoire
action filter_type
action find
entity Roman Catholicism in Ivory Coast
relation country
type designation for an administrative territorial entity
['Roman Catholicism in Ivory Coast', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Roman_Catholicism_in_Ivory_Coast property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16465177
Q15617994
USER
And what about Mėlynis?
(Q16465177,P17,c(Q15617994))
action filter_type
action find
entity Q16465177
relation P17
type Q15617994
['Q16465177', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q16465177 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Mėlynis
action filter_type
action find
entity Mėlynis
relation country
type designation for an administrative territorial entity
['Mėlynis', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Mėlynis property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q37
SYSTEM
Lithuania
Q37
(Q16465177,P17,c(Q15617994))
action filter_type
action find
entity Q16465177
relation P17
type Q15617994
[ANSWER]
['Q16465177', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q16465177 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Lithuania
Lithuania
action filter_type
action find
entity Mėlynis
relation country
type designation for an administrative territorial entity
['Mėlynis', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Mėlynis property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q2342494
USER
How many administrative territories are the countries of origin of greater number of musical ensembles and collectables than that administrative territory ?
(c(Q2088357)|c(Q2342494),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q37
relation P495
type Q2088357
type Q2342494
[[{'concept': 'Q2088357'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?k WHERE { VALUES ( ?y ) { ( ontology:Q2088357 ) ( ontology:Q2342494 ) } . ?g rdf:type ?y } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P495 resource:Q37 . { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2088357 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?p > ?z ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Lithuania
relation country of origin
type musical ensemble
type collectable
[[{'concept': 'musical ensemble'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?k WHERE { VALUES ( ?y ) { ( ontology:musical_ensemble ) ( ontology:collectable ) } . ?g rdf:type ?y } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:country_of_origin resource:Lithuania . { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:musical_ensemble ) ( ontology:collectable ) } } } } . FILTER ( ?p > ?z ) }
[]
designation for an administrative territorial entity musical ensemble collectable
SYSTEM
58
Q801 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q717 Q837 Q252 Q399 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q794 Q884 Q241 Q33 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q854 Q230 Q20 Q27 Q28 Q189 Q843 Q224 Q222 Q96 Q17 Q902 Q1033 Q191 Q298 Q114 Q750 Q212 Q213 Q211 Q215 Q218 Q219 Q833 Q79 Q77 Q29
(c(Q2088357)|c(Q2342494),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q37
relation P495
type Q2088357
type Q2342494
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?k WHERE { VALUES ( ?y ) { ( ontology:Q2088357 ) ( ontology:Q2342494 ) } . ?g rdf:type ?y } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P495 resource:Q37 . { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2088357 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?p > ?z ) }
Israel Peru India Argentina France Netherlands United Kingdom People's Republic of China Venezuela Nepal Indonesia Armenia South Africa Portugal Russia Turkey Greece Brazil Haiti Iran South Korea Cuba Finland Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia Sri Lanka Georgia Norway Ireland Hungary Iceland Pakistan Croatia Albania Mexico Japan Bangladesh Nigeria Estonia Chile Kenya Bolivia Ukraine Czech Republic Latvia Slovenia Romania Bulgaria Malaysia Egypt Uruguay Spain
58
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Lithuania
relation country of origin
type musical ensemble
type collectable
[[{'concept': 'musical ensemble'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?k WHERE { VALUES ( ?y ) { ( ontology:musical_ensemble ) ( ontology:collectable ) } . ?g rdf:type ?y } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:country_of_origin resource:Lithuania . { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:musical_ensemble ) ( ontology:collectable ) } } } } . FILTER ( ?p > ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37
P159
Q43229
USER
Which organization has headquarters located at Lithuania ?
(c(Q43229),P159,Q37)
action filter_type
action find_reverse
entity Q37
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q37']
SELECT DISTINCT ?t WHERE { ?t property:P159 resource:Q37 . ?t rdf:type ontology:Q43229 }
Lithuania
action filter_type
action find_reverse
entity Lithuania
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Lithuania']
SELECT DISTINCT ?t WHERE { ?t property:headquarters_location resource:Lithuania . ?t rdf:type ontology:organization }
[]
organization
Q4034825
SYSTEM
Baltic Aviation Academy
Q4034825
(c(Q43229),P159,Q37)
action filter_type
action find_reverse
entity Q37
relation P159
type Q43229
[ANSWER] has headquarters located at Lithuania
[{'concept': 'Q43229'}, 'P159', 'Q37']
SELECT DISTINCT ?t WHERE { ?t property:P159 resource:Q37 . ?t rdf:type ontology:Q43229 }
Baltic Aviation Academy
Baltic Aviation Academy has headquarters located at Lithuania
Baltic Aviation Academy
action filter_type
action find_reverse
entity Lithuania
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Lithuania']
SELECT DISTINCT ?t WHERE { ?t property:headquarters_location resource:Lithuania . ?t rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37
P740
Q2088357
USER
Which musical ensemble originated at Lithuania ?
(c(Q2088357),P740,Q37)
action filter_type
action find_reverse
entity Q37
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q37']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2088357 . ?u property:P740 resource:Q37 }
Lithuania
action filter_type
action find_reverse
entity Lithuania
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Lithuania']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:musical_ensemble . ?u property:location_of_formation resource:Lithuania }
[]
musical ensemble
Q3494859
SYSTEM
Kūlgrinda
Q3494859
(c(Q2088357),P740,Q37)
action filter_type
action find_reverse
entity Q37
relation P740
type Q2088357
[ANSWER] originated at Lithuania
[{'concept': 'Q2088357'}, 'P740', 'Q37']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2088357 . ?u property:P740 resource:Q37 }
Kūlgrinda
Kūlgrinda originated at Lithuania
Kūlgrinda
action filter_type
action find_reverse
entity Lithuania
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Lithuania']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:musical_ensemble . ?u property:location_of_formation resource:Lithuania }
[]