Simple Question (Direct)
Simple Question
Q9370710
P641
Q349
USER
Which sport did Walter Winkler participate in ?
(Q9370710,P641,c(Q349))
action filter_type
action find
entity Q9370710
relation P641
type Q349
['Q9370710', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q9370710 property:P641 ?q . ?q rdf:type ontology:Q349 }
Walter Winkler
action filter_type
action find
entity Walter Winkler
relation sport
type sport
['Walter Winkler', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Walter_Winkler property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q9370710,P641,c(Q349))
action filter_type
action find
entity Q9370710
relation P641
type Q349
Walter Winkler participated in [ANSWER]
['Q9370710', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q9370710 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
Walter Winkler participated in association football
association football
action filter_type
action find
entity Walter Winkler
relation sport
type sport
['Walter Winkler', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Walter_Winkler property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9370710
P106
Q12737077
USER
What do Walter Winkler do for a living ?
(Q9370710,P106,c(Q12737077))
action filter_type
action find
entity Q9370710
relation P106
type Q12737077
['Q9370710', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q9370710 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Walter Winkler
action filter_type
action find
entity Walter Winkler
relation occupation
type occupation
['Walter Winkler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Walter_Winkler property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q9370710,P106,c(Q12737077))
action filter_type
action find
entity Q9370710
relation P106
type Q12737077
Walter Winkler do for a living as [ANSWERS]
['Q9370710', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q9370710 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football manager association football player
Walter Winkler do for a living as association football manager and association football player
association football manager association football player
action filter_type
action find
entity Walter Winkler
relation occupation
type occupation
['Walter Winkler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Walter_Winkler property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q167062
Q12737077
USER
And how about Alesha Oreskovich?
(Q167062,P106,c(Q12737077))
action filter_type
action find
entity Q167062
relation P106
type Q12737077
['Q167062', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q167062 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Alesha Oreskovich
action filter_type
action find
entity Alesha Oreskovich
relation occupation
type occupation
['Alesha Oreskovich', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Alesha_Oreskovich property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q4610556
SYSTEM
model
Q4610556
(Q167062,P106,c(Q12737077))
action filter_type
action find
entity Q167062
relation P106
type Q12737077
[ANSWER]
['Q167062', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q167062 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
model
model
action filter_type
action find
entity Alesha Oreskovich
relation occupation
type occupation
['Alesha Oreskovich', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Alesha_Oreskovich property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9322639 Q9370710
P54
Q1194951
USER
What are the team that Walter Winkler or Ronaldo Gonçalves Drummond are a member of ?
OR((Q9370710,P54,c(Q1194951)), (Q9322639,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q9370710
relation P54
action find
entity Q9322639
relation P54
type Q1194951
{'OR': [['Q9370710', 'P54', {'concept': 'Q1194951'}], ['Q9322639', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q9370710 property:P54 ?u } UNION { resource:Q9322639 property:P54 ?u } } . ?u rdf:type ontology:Q1194951 }
Ronaldo Gonçalves Drummond Walter Winkler
action filter_type
action union
action find
entity Walter Winkler
relation member of sports team
action find
entity Ronaldo Gonçalves Drummond
relation member of sports team
type national sports team
{'OR': [['Walter Winkler', 'member of sports team', {'concept': 'national sports team'}], ['Ronaldo Gonçalves Drummond', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Walter_Winkler property:member_of_sports_team ?u } UNION { resource:Ronaldo_Gonçalves_Drummond property:member_of_sports_team ?u } } . ?u rdf:type ontology:national_sports_team }
[]
national sports team
Q166196 Q83459
SYSTEM
Poland national football team, Brazil national football team
Q166196 Q83459
OR((Q9370710,P54,c(Q1194951)), (Q9322639,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q9370710
relation P54
action find
entity Q9322639
relation P54
type Q1194951
The team that Walter Winkler or Ronaldo Gonçalves Drummond are a member of are the [ANSWERS]
{'OR': [['Q9370710', 'P54', {'concept': 'Q1194951'}], ['Q9322639', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q9370710 property:P54 ?u } UNION { resource:Q9322639 property:P54 ?u } } . ?u rdf:type ontology:Q1194951 }
Poland national football team Brazil national football team
The team that Walter Winkler or Ronaldo Gonçalves Drummond are a member of are the Poland national football team and Brazil national football team
Poland national football team Brazil national football team
action filter_type
action union
action find
entity Walter Winkler
relation member of sports team
action find
entity Ronaldo Gonçalves Drummond
relation member of sports team
type national sports team
{'OR': [['Walter Winkler', 'member of sports team', {'concept': 'national sports team'}], ['Ronaldo Gonçalves Drummond', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Walter_Winkler property:member_of_sports_team ?u } UNION { resource:Ronaldo_Gonçalves_Drummond property:member_of_sports_team ?u } } . ?u rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q166196 Q83459
P17
Q15617994
USER
Which administrative territories do Poland national football team and Brazil national football team belong to ?
(Q166196,P17,c(Q15617994)) (Q83459,P17,c(Q15617994))
action union
action filter_type
action find
entity Q166196
relation P17
type Q15617994
action filter_type
action find
entity Q83459
relation P17
type Q15617994
['Q166196', 'P17', {'concept': 'Q15617994'}] ['Q83459', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?x property:P17 ?b . VALUES ( ?x ) { ( resource:Q166196 ) ( resource:Q83459 ) } }
Poland national football team Brazil national football team
action union
action filter_type
action find
entity Poland national football team
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil national football team
relation country
type designation for an administrative territorial entity
['Poland national football team', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazil national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?x property:country ?b . VALUES ( ?x ) { ( resource:Poland_national_football_team ) ( resource:Brazil_national_football_team ) } }
[]
designation for an administrative territorial entity
Q36 Q155
SYSTEM
Poland, Brazil
Q36 Q155
(Q166196,P17,c(Q15617994)) (Q83459,P17,c(Q15617994))
action union
action filter_type
action find
entity Q166196
relation P17
type Q15617994
action filter_type
action find
entity Q83459
relation P17
type Q15617994
Poland national football team and Brazil national football team belong to Brazil [ANSWERS]
['Q166196', 'P17', {'concept': 'Q15617994'}] ['Q83459', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?x property:P17 ?b . VALUES ( ?x ) { ( resource:Q166196 ) ( resource:Q83459 ) } }
Poland Brazil
Poland national football team and Brazil national football team belong to Brazil Poland and Brazil
Poland Brazil
action union
action filter_type
action find
entity Poland national football team
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil national football team
relation country
type designation for an administrative territorial entity
['Poland national football team', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazil national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?x property:country ?b . VALUES ( ?x ) { ( resource:Poland_national_football_team ) ( resource:Brazil_national_football_team ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q36 Q155
P47
Q15617994
USER
Which administrative territories are adjacent to Poland and Brazil ?
(Q36,P47,c(Q15617994)) (Q155,P47,c(Q15617994))
action union
action filter_type
action find
entity Q36
relation P47
type Q15617994
action filter_type
action find
entity Q155
relation P47
type Q15617994
['Q36', 'P47', {'concept': 'Q15617994'}] ['Q155', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?a ) { ( resource:Q36 ) ( resource:Q155 ) } . ?a property:P47 ?n }
Poland Brazil
action union
action filter_type
action find
entity Poland
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
['Poland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?a ) { ( resource:Poland ) ( resource:Brazil ) } . ?a property:shares_border_with ?n }
[]
designation for an administrative territorial entity
Q159 Q142 Q184
SYSTEM
Russia, France, Belarus
Q212 Q213 Q211 Q159 Q214 Q184 Q37 Q218 Q739 Q142 Q717 Q730 Q733 Q734 Q419 Q77 Q414 Q750
(Q36,P47,c(Q15617994)) (Q155,P47,c(Q15617994))
action union
action filter_type
action find
entity Q36
relation P47
type Q15617994
action filter_type
action find
entity Q155
relation P47
type Q15617994
[ANSWERS] are adjacent to Poland and Brazil
['Q36', 'P47', {'concept': 'Q15617994'}] ['Q155', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?a ) { ( resource:Q36 ) ( resource:Q155 ) } . ?a property:P47 ?n }
Ukraine Czech Republic Latvia Russia Slovakia Belarus Lithuania Romania Colombia France Venezuela Suriname Paraguay Guyana Peru Uruguay Argentina Bolivia
Russia, France and Belarus are adjacent to Poland and Brazil
Russia France Belarus
action union
action filter_type
action find
entity Poland
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
['Poland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?a ) { ( resource:Poland ) ( resource:Brazil ) } . ?a property:shares_border_with ?n }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q159 Q142 Q184
P6
Q502895
USER
Which people are the head of government of Russia, France and Belarus ?
(Q159,P6,c(Q502895)) (Q142,P6,c(Q502895)) (Q184,P6,c(Q502895))
action union
action filter_type
action find
entity Q159
relation P6
type Q502895
action filter_type
action find
entity Q142
relation P6
type Q502895
action filter_type
action find
entity Q184
relation P6
type Q502895
['Q159', 'P6', {'concept': 'Q502895'}] ['Q142', 'P6', {'concept': 'Q502895'}] ['Q184', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?n ) { ( resource:Q159 ) ( resource:Q142 ) } . ?n property:P6 ?e }
Russia France Belarus
action union
action filter_type
action find
entity Russia
relation head of government
type common name
action filter_type
action find
entity France
relation head of government
type common name
action filter_type
action find
entity Belarus
relation head of government
type common name
['Russia', 'head of government', {'concept': 'common name'}] ['France', 'head of government', {'concept': 'common name'}] ['Belarus', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?n ) { ( resource:Russia ) ( resource:France ) } . ?n property:head_of_government ?e }
[]
common name
Q7747 Q34453 Q270529
SYSTEM
Vladimir Putin, Boris Yeltsin, Yevgeny Primakov
Q7747 Q23530 Q313989 Q190884 Q62551 Q82695 Q34453 Q147425 Q317667 Q313915 Q270529 Q150080 Q10287 Q7711 Q502864
(Q159,P6,c(Q502895)) (Q142,P6,c(Q502895)) (Q184,P6,c(Q502895))
action union
action filter_type
action find
entity Q159
relation P6
type Q502895
action filter_type
action find
entity Q142
relation P6
type Q502895
action filter_type
action find
entity Q184
relation P6
type Q502895
[ANSWERS] are the head of government of Russia, France and Belarus
['Q159', 'P6', {'concept': 'Q502895'}] ['Q142', 'P6', {'concept': 'Q502895'}] ['Q184', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?n ) { ( resource:Q159 ) ( resource:Q142 ) } . ?n property:P6 ?e }
Vladimir Putin Dmitry Medvedev Sergei Stepashin Viktor Chernomyrdin Mikhail Kasyanov Yegor Gaidar Boris Yeltsin Viktor Zubkov Viktor Khristenko Sergey Kiriyenko Yevgeny Primakov Mikhail Fradkov Manuel Valls Jean-Marc Ayrault Andrei Kobyakov
Vladimir Putin, Boris Yeltsin and Yevgeny Primakov are the head of government of Russia, France and Belarus
Vladimir Putin Boris Yeltsin Yevgeny Primakov
action union
action filter_type
action find
entity Russia
relation head of government
type common name
action filter_type
action find
entity France
relation head of government
type common name
action filter_type
action find
entity Belarus
relation head of government
type common name
['Russia', 'head of government', {'concept': 'common name'}] ['France', 'head of government', {'concept': 'common name'}] ['Belarus', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?n ) { ( resource:Russia ) ( resource:France ) } . ?n property:head_of_government ?e }
[]
Clarification
Simple Question|Single Entity|Indirect
Q34453
P140
Q879146
USER
What is the religion associated with that person ?
(Q34453,P140,c(Q879146))
action filter_type
action find
entity Q34453
relation P140
type Q879146
['Q34453', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?h WHERE { resource:Q34453 property:P140 ?h . ?h rdf:type ontology:Q879146 }
Boris Yeltsin
action filter_type
action find
entity Boris Yeltsin
relation religion
type Christian denomination
['Boris Yeltsin', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?h WHERE { resource:Boris_Yeltsin property:religion ?h . ?h rdf:type ontology:Christian_denomination }
[]
Christian denomination
Clarification for simple ques.
Q270529
SYSTEM
Did you mean Yevgeny Primakov ?
Q7747 Q34453 Q270529
(Q7747,P140,c(Q879146)) (Q34453,P140,c(Q879146)) (Q270529,P140,c(Q879146))
[ANSWER]
['Q7747', 'P140', {'concept': 'Q879146'}] ['Q34453', 'P140', {'concept': 'Q879146'}] ['Q270529', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?h WHERE { resource:Q34453 property:P140 ?h . ?h rdf:type ontology:Q879146 }
Vladimir Putin Boris Yeltsin Yevgeny Primakov
Did you mean Yevgeny Primakov ?
Yevgeny Primakov
['Vladimir Putin', 'religion', {'concept': 'Christian denomination'}] ['Boris Yeltsin', 'religion', {'concept': 'Christian denomination'}] ['Yevgeny Primakov', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?h WHERE { resource:Boris_Yeltsin property:religion ?h . ?h rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
USER
No, I meant Boris Yeltsin. Could you tell me the answer for that?
(Q34453,P140,c(Q879146))
Q34453
['Q34453', 'P140', {'concept': 'Q879146'}]
['Boris Yeltsin', 'religion', {'concept': 'Christian denomination'}]
[]
Q60995
SYSTEM
Russian Orthodox Church
Q60995
(Q34453,P140,c(Q879146))
action filter_type
action find
entity Q34453
relation P140
type Q879146
The religion associated with that person is the [ANSWER]
['Q34453', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?h WHERE { resource:Q34453 property:P140 ?h . ?h rdf:type ontology:Q879146 }
Russian Orthodox Church
The religion associated with that person is the Russian Orthodox Church
Russian Orthodox Church
action filter_type
action find
entity Boris Yeltsin
relation religion
type Christian denomination
['Boris Yeltsin', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?h WHERE { resource:Boris_Yeltsin property:religion ?h . ?h rdf:type ontology:Christian_denomination }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q60995 Q43399 Q243187
P112
Q502895
USER
Was that Christian denomination founded by Andrew and Photios I of Constantinople ?
(Q60995,P112,Q43399) (Q60995,P112,Q243187)
action is_in
entity Q60995
action intersection
action find_reverse
entity Q43399
relation P112
action find_reverse
entity Q243187
relation P112
['Q60995', 'P112', 'Q43399'] ['Q60995', 'P112', 'Q243187']
ASK WHERE { resource:Q60995 property:P112 resource:Q43399 . resource:Q60995 property:P112 resource:Q243187 }
Russian Orthodox Church Andrew Photios I of Constantinople
action is_in
entity Russian Orthodox Church
action intersection
action find_reverse
entity Andrew
relation founder
action find_reverse
entity Photios I of Constantinople
relation founder
['Russian Orthodox Church', 'founder', 'Andrew'] ['Russian Orthodox Church', 'founder', 'Photios I of Constantinople']
ASK WHERE { resource:Russian_Orthodox_Church property:founder resource:Andrew . resource:Russian_Orthodox_Church property:founder resource:Photios_I_of_Constantinople }
[]
common name
SYSTEM
YES
(Q60995,P112,Q43399) (Q60995,P112,Q243187)
action is_in
entity Q60995
action intersection
action find_reverse
entity Q43399
relation P112
action find_reverse
entity Q243187
relation P112
[ANSWER]
['Q60995', 'P112', 'Q43399'] ['Q60995', 'P112', 'Q243187']
ASK WHERE { resource:Q60995 property:P112 resource:Q43399 . resource:Q60995 property:P112 resource:Q243187 }
Yes
action is_in
entity Russian Orthodox Church
action intersection
action find_reverse
entity Andrew
relation founder
action find_reverse
entity Photios I of Constantinople
relation founder
['Russian Orthodox Church', 'founder', 'Andrew'] ['Russian Orthodox Church', 'founder', 'Photios I of Constantinople']
ASK WHERE { resource:Russian_Orthodox_Church property:founder resource:Andrew . resource:Russian_Orthodox_Church property:founder resource:Photios_I_of_Constantinople }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q16899626
P361
Q879146 Q44539
USER
How many temples are a component of approximately the same number of Christian denominations as St. Thomas Synagogue ?
(c(Q44539),P361,c(Q879146))
action count
action approx
action find_tuple_counts
relation P361
type Q44539
type Q879146
action count
action filter_type
action find
entity Q16899626
relation P361
type Q44539
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?y ) WHERE { ?k rdf:type ontology:Q44539 . ?b rdf:type ontology:Q879146 . ?k property:P361 ?b } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q16899626 property:P361 ?r . ?r rdf:type ontology:Q44539 } } . FILTER ( ?y = ?g ) }
St. Thomas Synagogue
action count
action approx
action find_tuple_counts
relation part of
type temple
type Christian denomination
action count
action filter_type
action find
entity St. Thomas Synagogue
relation part of
type temple
[{'concept': 'temple'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?y ) WHERE { ?k rdf:type ontology:temple . ?b rdf:type ontology:Christian_denomination . ?k property:part_of ?b } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:St._Thomas_Synagogue property:part_of ?r . ?r rdf:type ontology:temple } } . FILTER ( ?y = ?g ) }
[]
Christian denomination temple
SYSTEM
288
Q840462 Q2263779 Q3053075 Q901259 Q51175 Q15848627 Q810125 Q17351044 Q839048 Q11682913 Q7590972 Q391123 Q20006899 Q917195 Q1579525 Q7591258 Q1380329 Q1437065 Q7698713 Q4689854 Q2445615 Q1380324 Q1380325 Q7594235 Q2796994 Q7887212 Q7885714 Q333984 Q20006229 Q257473 Q20729913 Q1741668 Q3581157 Q990908 Q1584774 Q1504317 Q4505318 Q188404 Q632379 Q2422298 Q1609658 Q15881981 Q1650229 Q17741109 Q18519657 Q7401248 Q756824 Q16899626 Q686773 Q17986825 Q913185 Q7698605 Q2031836 Q793909 Q3434033 Q7595295 Q1812874 Q1380308 Q18920636 Q683988 Q823412 Q3507968 Q1588443 Q2585020 Q7591030 Q134140 Q1380332 Q501103 Q461397 Q22340883 Q1823915 Q837991 Q3635787 Q2887029 Q3635780 Q1380431 Q2322413 Q11746101 Q1306397 Q15261136 Q1157535 Q11062142 Q7586696 Q7829929 Q10671642 Q1310703 Q1449217 Q12030590 Q19853497 Q7842767 Q1110116 Q5073119 Q44615 Q43473 Q3440162 Q3673855 Q16540894 Q1070863 Q701619 Q2237369 Q1046403 Q3583529 Q819742 Q3582124 Q489820 Q3983262 Q1344099 Q501110 Q2137131 Q1589509 Q1674736 Q914611 Q977148 Q1351209 Q5452655 Q564520 Q7567382 Q18881432 Q20828343 Q2067282 Q6916758 Q2350368 Q3929505 Q61094 Q564199 Q2195513 Q26833927 Q2322732 Q730019 Q1464908 Q1088552 Q2660525 Q972612 Q21079381 Q6761339 Q3349998 Q1089275 Q1957564 Q3580174 Q20827655 Q661752 Q1380359 Q5452692 Q7110847 Q1380352 Q4905109 Q1380357 Q460367 Q1147957 Q598352 Q1380300 Q21072448 Q6379539 Q5117988 Q18011136 Q1348249 Q12786801 Q2977602 Q42798 Q1742795 Q973175 Q3538054 Q2244573 Q1450786 Q587371 Q1504607 Q3585489 Q3585169 Q1380883 Q334303 Q1784984 Q962846 Q10288 Q2191998 Q3582582 Q1516753 Q7592661 Q2366708 Q1321240 Q20587513 Q221716 Q1380437 Q3395771 Q2248633 Q1597350 Q2660144 Q9007519 Q261932 Q3012169 Q7588678 Q1380421 Q242741 Q270983 Q26262654 Q12786811 Q3581409 Q4867409 Q688472 Q5117224 Q877183 Q2750095 Q17389965 Q20671434 Q1163620 Q7593024 Q2470882 Q20827637 Q6275400 Q7309968 Q3580214 Q7960239 Q2065592 Q3897006 Q1336340 Q1380404 Q3056346 Q1698950 Q665154 Q7887581 Q906752 Q1290206 Q317557 Q23820282 Q1306513 Q592923 Q458821 Q499285 Q3581582 Q7401986 Q17529320 Q12499932 Q1510389 Q5121641 Q1370053 Q1278218 Q1568660 Q1683898 Q4729500 Q737441 Q3279646 Q384813 Q7591098 Q3816575 Q7723025 Q3657362 Q3582374 Q15989666 Q571958 Q1537162 Q10748583 Q1742707 Q2336343 Q319841 Q2949709 Q776727 Q1556016 Q18200481 Q501072 Q7700879 Q3487981 Q7307495 Q1112125 Q2160663 Q841207 Q3580898 Q1380394 Q7842679 Q15881984 Q975227 Q1380390 Q23009312 Q2207317 Q1742784 Q1246842 Q5591113 Q5452256 Q1337817 Q6146203 Q1584841 Q16448761 Q588555 Q5911123 Q1380310 Q20730718 Q7594455 Q1380413 Q1256487 Q1380319
(c(Q44539),P361,c(Q879146))
action count
action approx
action find_tuple_counts
relation P361
type Q44539
type Q879146
action count
action filter_type
action find
entity Q16899626
relation P361
type Q44539
[ANSWER]
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?y ) WHERE { ?k rdf:type ontology:Q44539 . ?b rdf:type ontology:Q879146 . ?k property:P361 ?b } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q16899626 property:P361 ?r . ?r rdf:type ontology:Q44539 } } . FILTER ( ?y = ?g ) }
St Martin's Church Second Baptist Church Church of St Martin, Callosa de Segura Trinity Church Basilica of Santa Maria Novella St. Mauritius Basilica and Shrine of Our Lady of Perpetual Help Madhavaperumal temple Zhenguo Temple Santa Maria de Cóll St. Patrick's Parish and Buildings Basilica of Bom Jesus Sainte-Jeanne-de-Chantal Church Enryaku-ji St. Hripsime St. Paul Lutheran Church Evangelical Church St. George's Basilica Temple of Asclepius, Epidauros African Meeting House Pancha Rathas Evangelical Church Evangelical Church St Mary's, Studley Royal Paoay Church Unitarian Universalist Church of Buffalo Union Grange Hall Grande-Sauve Abbey église Saint-Pierre de Châtillon-sur-Seine Ginkaku-ji Trinity Lutheran Church Kimpusen-ji St. Casimir Parish, South Bend Saint-Nicolas-de-Tolentin church Church of the Acheiropoietos Church of Saint Nicholas Orphanos Saint Peter's church Puning Temple Imperial Palace of Goslar The Hanging Church St. Peter und Paul Sint-Barbarakerk Church of Panagia Chalkeon Priory Church of St Seiriol église Saint-Martial de Bazens Saint Francis De Sales Catholic Church Temple of Hephaestus St. Thomas Synagogue Aula Palatina Bhimeswara temple, Draksharama St. Barbara's Church, Kutná Hora Temple Jacob Eastern Orthodox church San Damiano St. Saviour Church St Peter's Church, Tabley San Miguel de Lillo Evangelical Church Penitent Magdalene Church in Simaság Old Temple of Athena St Margaret's Church Eglise Saint-Etienne (ancienne) Sant Feliu de Barruera Fudarakusan-ji St. Paul's Catholic Church Abu Simbel temples Evangelical Church Church of San Francisco Bad Doberan Minster Annunciation Parish Church (Nova Gorica) Basilica of Our Lady Shuanglin Temple Upper Basilica of San Francesco d'Assisi St. Peter's Basilica Lower Basilica of San Francesco Evangelical Church St. Paul's Episcopal Church filial church Precinct of Amun-Re Øye church Daigo-ji Basilica of the Visitation St. Agatha's Episcopal Church Town Clock Church Royal Chapel Evangelical Church Arian Baptistry Church of Saint Anne église Notre-Dame-de-l'Assomption de Belmont-sur-Rance Trinity Episcopal Church Church of the Nativity of the Virgin Mary in Máriaremete Chapel of the Resurrection Foguang Temple Angkor Wat quarta capella Santa Maria della Misericordia Saint Catherine of Alexandria Church, Tabán Kōfuku-ji Church of the Teutonic Order subsidiary church Tō-ji Church of Saint-Pierre-Apôtre, Montreal Church of Peace Saint-Joachim de Pointe-Claire Church Seokguram Temple of Juno, Agrigento Evangelical Church Church of Tenaún Protestant Church Weiach Santa Eulàlia d'Erill la Vall Protestant Church in Brusio City Church of Bremgarten La Nativitat de Durro Hokki-ji First Church Congregational Great St. Martin Church South Granville Congregational Church Iglesia de la Torrecilla Moravian Memorial Church San Julián de los Prados Most Holy Redeemer Church Our-Lady Ter Hooyen Nieuwe Kerk van het Hoogzand van Oostermeer Byōdō-in Church of the Redeemer Church of Saint John the Baptist (Pijnacker) iglesia de San Francisco Javier St. Peter and Paul Church Hagios Demetrios Basilica of St. Martin, Tours Catholic church Miagao Church Fredrik Church Temple of Jupiter Maria Lanakila Catholic Church Oka-dera Nageshvara Jyotirlinga ecclesia media Erskine and American United Church St. Thomas Reformed Church All Saints' Church Evangelical Church First Church of Christ, Scientist Our Lady of Lourdes Catholic Church Evangelical Church Big Bethel AME Church Evangelical Church Tōdai-ji Church of Prophet Elijah St. Maria im Kapitol Evangelical Church Convent church Neuwerk Kawaiahaʻo Church Church of the Mediator église Saint-Jacques-le-Majeur de Courcelles Rinnō-ji Our Lady of Help Church Sint-Mauritiuskerk Borobudur Church of the Holy Apostles Tōshōdai-ji Notre-Dame-des-Victoires, Quebec City Mannheim Palace Church Saint Gayane Church Ryōan-ji Church of Saint Panteleimon Covenanter Church, Grand Pré, Nova Scotia St. Mary Roman Catholic Church Protestant church Rüdinghausen St Augustine's Abbey Santa Maria Maddalena dei Pazzi Vlatadon Monastery Parthenon Church of the Assumption of Our Lady and Saint John the Baptist Saint-Martin Church (Le Cateau) Saihō-ji St Beuno's Church, Aberffraw St. Joseph, Leiden Old North Church Capel Pen-rhiw Kiyomizu-dera Evangelical Church Basilica of Santa Maria Shoghakat Church Old West Church Chūson-ji Santa María de Cardet Hōryū-ji Daishō-in St. John's Episcopal Church Evangelical Church Erechtheion Kinkaku-ji Emmanuel Church Church of the Annunciation Saint-Eustache Church Basilica of the Immaculate Conception Jesuit Church Church of St. Francis of Assisi St Nicholas Church Dubrovnik Synagogue Sint-Nicolaaskerk St. John the Baptist Church of Hosios David St Eleth's Church, Amlwch San Pablo Frederick Lutheran Church Jonesborough United Methodist Church Reid Memorial Presbyterian Church Notre-Dame-de-Lorette Church Waiola Church Church of San Juan Bautista Collegiate church of Santa María Evangelical Church evangelical Church Pawon Johanniskirche Santa Cristina de Lena United Church, The Chapel on the Hill Reformed Church in Diósgyőr-Vasgyár Evangelical Church parish church Category:Saint Nicholas' church in Bogdana San Agustin Church Igreja de Santo António Stadtkirche Wittenberg Geghard St. George's Anglican Church Saint Patrick's Church Church of St Hydroc St. Marien Sanctuary of Atotonilco Circular Congregational Church Odilo Chapel Santa Maria de Taüll Hagia Sophia, Thessaloniki Putuo Zongcheng Temple All Saints Church Roman Temple of Évora Reformed church of Schipluiden Temple of Athena Nike St. Paul's Episcopal Church Sint-Lambertuskerk Church of the Visitation Pellegrini chapel Saint-Louis Church, Rouen Worship wooden architecture (17th-18th centuries) in Paliessie Church of Saint Maurice St. Lambert Buddhist temple in Vietnam Münster Schaffhausen St. Leonard's Church, Zoutleeuw Luxor Temple Hover Church St. Procopius Basilica in Třebíč St. Martin Chapel Nazrey African Methodist Episcopal Church Church of Santa María de Loreto Tenth Presbyterian Church St. Giles' Church (Prague) Reformed Church of Tappan Church of Saint Simeon Stylites Church of Colònia Güell Heraion of Samos Saint-André-de-Kamouraska Church Evangelical Church Trinity Church on the Green Sint-Bavokerk Mōtsū-ji Evangelical Church St. John's Anglican Church ecclesia integra Church of Saint Catherine, Thessaloniki Santa María del Naranjo Grace Episcopal Church First African Baptist Church Evangelical Church Jamestown Church Rotunda St. Michael Church, Odessa, Marazliyivska Street St. Joseph's Church, Le Havre San Pedro Church Evangelical Church Moreland Lutheran Church St Mary's Church, Whitegate evangelical Church Baptistry of Neon Evangelical Church
288
action count
action approx
action find_tuple_counts
relation part of
type temple
type Christian denomination
action count
action filter_type
action find
entity St. Thomas Synagogue
relation part of
type temple
[{'concept': 'temple'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?y ) WHERE { ?k rdf:type ontology:temple . ?b rdf:type ontology:Christian_denomination . ?k property:part_of ?b } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:St._Thomas_Synagogue property:part_of ?r . ?r rdf:type ontology:temple } } . FILTER ( ?y = ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q879146 Q874405
USER
Which social groups are parts of max number of Christian denominations ?
(c(Q874405),P361,c(Q879146))
action argmax
action find_tuple_counts
relation P361
type Q874405
type Q879146
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?o ) { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?w ) WHERE { ?q property:P361 ?c . ?q rdf:type ontology:Q874405 . ?c rdf:type ontology:Q879146 } GROUP BY ?q } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?i ) WHERE { ?d property:P361 ?p . ?d rdf:type ontology:Q874405 . ?p rdf:type ontology:Q879146 } GROUP BY ?d } . FILTER ( ?i = ?o ) }
action argmax
action find_tuple_counts
relation part of
type social group
type Christian denomination
[{'concept': 'social group'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?o ) { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?w ) WHERE { ?q property:part_of ?c . ?q rdf:type ontology:social_group . ?c rdf:type ontology:Christian_denomination } GROUP BY ?q } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?i ) WHERE { ?d property:part_of ?p . ?d rdf:type ontology:social_group . ?p rdf:type ontology:Christian_denomination } GROUP BY ?d } . FILTER ( ?i = ?o ) }
[]
Christian denomination social group
Q350509
SYSTEM
Ordinariate
Q350509
(c(Q874405),P361,c(Q879146))
action argmax
action find_tuple_counts
relation P361
type Q874405
type Q879146
[ANSWER] is parts of max number of Christian denominations
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?o ) { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?w ) WHERE { ?q property:P361 ?c . ?q rdf:type ontology:Q874405 . ?c rdf:type ontology:Q879146 } GROUP BY ?q } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?i ) WHERE { ?d property:P361 ?p . ?d rdf:type ontology:Q874405 . ?p rdf:type ontology:Q879146 } GROUP BY ?d } . FILTER ( ?i = ?o ) }
Ordinariate
Ordinariate is parts of max number of Christian denominations
Ordinariate
action argmax
action find_tuple_counts
relation part of
type social group
type Christian denomination
[{'concept': 'social group'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?o ) { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?w ) WHERE { ?q property:part_of ?c . ?q rdf:type ontology:social_group . ?c rdf:type ontology:Christian_denomination } GROUP BY ?q } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?i ) WHERE { ?d property:part_of ?p . ?d rdf:type ontology:social_group . ?p rdf:type ontology:Christian_denomination } GROUP BY ?d } . FILTER ( ?i = ?o ) }
[]