Simple Question (Direct)
Simple Question
Q84681
P119
Q43229
USER
Where is the place of burial for Otto Nuschke located ?
(Q84681,P119,c(Q43229))
action filter_type
action find
entity Q84681
relation P119
type Q43229
['Q84681', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?d WHERE { resource:Q84681 property:P119 ?d . ?d rdf:type ontology:Q43229 }
Otto Nuschke
action filter_type
action find
entity Otto Nuschke
relation place of burial
type organization
['Otto Nuschke', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?d WHERE { resource:Otto_Nuschke property:place_of_burial ?d . ?d rdf:type ontology:organization }
[]
organization
Q564922
SYSTEM
Dorotheenstadt cemetery
Q564922
(Q84681,P119,c(Q43229))
action filter_type
action find
entity Q84681
relation P119
type Q43229
The place of burial for Otto Nuschke is located in [ANSWER]
['Q84681', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?d WHERE { resource:Q84681 property:P119 ?d . ?d rdf:type ontology:Q43229 }
Dorotheenstadt cemetery
The place of burial for Otto Nuschke is located in Dorotheenstadt cemetery
Dorotheenstadt cemetery
action filter_type
action find
entity Otto Nuschke
relation place of burial
type organization
['Otto Nuschke', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?d WHERE { resource:Otto_Nuschke property:place_of_burial ?d . ?d rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q564922
P1435
Q2065736
USER
Which cultural property represents the heritage status given to that organization ?
(Q564922,P1435,c(Q2065736))
action filter_type
action find
entity Q564922
relation P1435
type Q2065736
['Q564922', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?z WHERE { resource:Q564922 property:P1435 ?z . ?z rdf:type ontology:Q2065736 }
Dorotheenstadt cemetery
action filter_type
action find
entity Dorotheenstadt cemetery
relation heritage status
type cultural property
['Dorotheenstadt cemetery', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?z WHERE { resource:Dorotheenstadt_cemetery property:heritage_status ?z . ?z rdf:type ontology:cultural_property }
[]
cultural property
Q11691318
SYSTEM
Kulturdenkmal
Q11691318
(Q564922,P1435,c(Q2065736))
action filter_type
action find
entity Q564922
relation P1435
type Q2065736
The [ANSWER] represents the heritage status given to that organization
['Q564922', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?z WHERE { resource:Q564922 property:P1435 ?z . ?z rdf:type ontology:Q2065736 }
Kulturdenkmal
The Kulturdenkmal represents the heritage status given to that organization
Kulturdenkmal
action filter_type
action find
entity Dorotheenstadt cemetery
relation heritage status
type cultural property
['Dorotheenstadt cemetery', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?z WHERE { resource:Dorotheenstadt_cemetery property:heritage_status ?z . ?z rdf:type ontology:cultural_property }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q564922
P17
Q1048835
USER
Which political territory is that organization a part of ?
(Q11691318,P17,c(Q1048835))
action filter_type
action find
entity Q564922
relation P17
type Q1048835
['Q11691318', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q564922 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Dorotheenstadt cemetery
action filter_type
action find
entity Dorotheenstadt cemetery
relation country
type political territorial entity
['Kulturdenkmal', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Dorotheenstadt_cemetery property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q11691318,P17,c(Q1048835))
action filter_type
action find
entity Q564922
relation P17
type Q1048835
The [ANSWER] is that organization a part of
['Q11691318', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q564922 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Germany
The Germany is that organization a part of
Germany
action filter_type
action find
entity Dorotheenstadt cemetery
relation country
type political territorial entity
['Kulturdenkmal', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Dorotheenstadt_cemetery property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P530
Q15617994 Q515
USER
How many administrative territories and cities are known to have diplomatic connections with Germany ?
(c(Q15617994),P530,Q183) (c(Q515),P530,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q183
relation P530
type Q515
[{'concept': 'Q15617994'}, 'P530', 'Q183'] [{'concept': 'Q515'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q515 ) } }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type city
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany'] [{'concept': 'city'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:city ) } }
[]
designation for an administrative territorial entity city
SYSTEM
124 administrative territories and 1 cities
Q804 Q217 Q801 Q800 Q843 Q184 Q1029 Q1028 Q419 Q786 Q668 Q96 Q1019 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q145 Q115 Q262 Q148 Q783 Q265 Q228 Q17 Q1011 Q902 Q1036 Q833 Q711 Q974 Q717 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q252 Q114 Q117 Q403 Q657 Q258 Q750 Q212 Q213 Q45 Q159 Q43 Q214 Q41 Q155 Q218 Q215 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q916 Q739 Q219 Q1007 Q1006 Q1005 Q1037 Q1009 Q1008 Q948 Q971 Q241 Q242 Q1032 Q983 Q189 Q229 Q774 Q33 Q32 Q31 Q30 Q924 Q36 Q79 Q34 Q77 Q929 Q39 Q38 Q1016 Q878 Q986 Q227 Q423 Q810 Q811 Q851 Q733 Q734 Q736 Q869 Q730 Q945 Q235 Q912 Q230 Q232 Q233 Q238 Q20 Q1045 Q917 Q1041 Q27 Q28 Q29 Q953 Q1049
(c(Q15617994),P530,Q183) (c(Q515),P530,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q183
relation P530
type Q515
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q183'] [{'concept': 'Q515'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q515 ) } }
Panama Republic of Moldova Israel Costa Rica Pakistan Belarus Mozambique Morocco Peru Dominican Republic India Mexico Madagascar Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania United Kingdom Ethiopia Algeria People's Republic of China Honduras Uzbekistan Andorra Japan Cape Verde Bangladesh Uganda Malaysia Mongolia Democratic Republic of the Congo Venezuela Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Indonesia Kenya Ghana Serbia Chad South Africa Bolivia Ukraine Czech Republic Portugal Russia Turkey Slovakia Greece Brazil Romania Slovenia Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Angola Colombia Bulgaria Guinea-Bissau Guinea Gambia Rwanda Cameroon Côte d'Ivoire Tunisia Republic of the Congo Cuba Belize Niger Equatorial Guinea Iceland Cyprus Guatemala Finland Luxembourg Belgium United States of America Tanzania Poland Egypt Sweden Uruguay Central African Republic Switzerland Italy Libya United Arab Emirates Eritrea Azerbaijan North Korea Jordan Nicaragua Saudi Arabia Paraguay Guyana Ecuador Thailand Suriname Togo Monaco Mali Georgia Kazakhstan Malta San Marino Norway Somalia Bhutan Senegal Ireland Hungary Spain Zambia Sudan
124 administrative territories and 1 cities
action count
action union
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type city
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany'] [{'concept': 'city'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:city ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P127
Q79007
USER
Which streets are owned by Germany ?
(c(Q79007),P127,Q183)
action filter_type
action find_reverse
entity Q183
relation P127
type Q79007
[{'concept': 'Q79007'}, 'P127', 'Q183']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q79007 . ?i property:P127 resource:Q183 }
Germany
action filter_type
action find_reverse
entity Germany
relation owned by
type street
[{'concept': 'street'}, 'owned by', 'Germany']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:street . ?i property:owned_by resource:Germany }
[]
street
Q34444 Q52720 Q52722
SYSTEM
Bundesstraße 3, Bundesstraße 73, Bundesstraße 75
Q52780 Q52783 Q52782 Q52784 Q52787 Q52786 Q52789 Q52788 Q34559 Q34556 Q34553 Q52709 Q52708 Q52705 Q52707 Q34495 Q1006769 Q34492 Q34498 Q1007052 Q47979 Q47973 Q1007274 Q34549 Q34548 Q52730 Q52731 Q52732 Q34541 Q52738 Q34546 Q34544 Q1006969 Q47981 Q1006806 Q1007281 Q52792 Q52723 Q52722 Q52721 Q52720 Q52727 Q52725 Q52724 Q52729 Q34438 Q1006799 Q34538 Q34536 Q52734 Q34532 Q34530 Q52799 Q34441 Q34446 Q34444 Q47993 Q34472 Q52757 Q52754 Q52755 Q1006941 Q52753 Q52751 Q34525 Q1006786 Q34520 Q52758 Q52759 Q47963 Q47960 Q47968 Q34450 Q34452 Q319795 Q34454 Q34456 Q34459 Q47987 Q52745 Q52744 Q52746 Q52741 Q52740 Q52742 Q34513 Q52749 Q52748 Q34522 Q52756 Q1007034 Q1006994 Q1007137 Q34506 Q34468 Q34502 Q34501 Q34465 Q34462 Q52770 Q52771 Q52772 Q52774 Q52775 Q52776 Q52778 Q52779 Q34571 Q34573 Q34478 Q52808 Q52809 Q52806 Q52807 Q52804 Q34470 Q52802 Q34476 Q52800 Q52801 Q52805 Q52769 Q52768 Q52767 Q52766 Q52765 Q52764 Q52763 Q52762 Q52761 Q52760 Q1007296 Q52793 Q52790 Q52796 Q52797 Q52794 Q52795 Q52798 Q47955 Q1007298 Q34563 Q34566 Q2769393 Q52811 Q52810 Q52812 Q34507 Q52718 Q52736 Q52712 Q52713 Q52710 Q52711 Q52716 Q52717 Q52715 Q34484 Q34482 Q34480 Q34488 Q34489
(c(Q79007),P127,Q183)
action filter_type
action find_reverse
entity Q183
relation P127
type Q79007
[ANSWERS] are owned by Germany
[{'concept': 'Q79007'}, 'P127', 'Q183']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q79007 . ?i property:P127 resource:Q183 }
Bundesstraße 170 Bundesstraße 172 Bundesstraße 171 Bundesstraße 173 Bundesstraße 175 Bundesstraße 174 Bundesstraße 178 Bundesstraße 176 Bundesstraße 45 Bundesstraße 44 Bundesstraße 43 Bundesstraße 64 Bundesstraße 63 Bundesstraße 61 Bundesstraße 62 Bundesstraße 23 Bundesstraße 11a Bundesstraße 22 Bundesstraße 25 Bundesstraße 38a Bundesstraße 56 Bundesstraße 55 Bundesstroß 55a Bundesstraße 42 Bundesstraße 41 Bundesstraße 82 Bundesstraße 83 Bundesstraße 84 Bundesstraße 38 Bundesstraße 87 Bundesstraße 40 Bundesstraße 39 Bundesstraße 27a Bundesstraße 57 Bundesstraße 187a Bundesstraße 66n Bundesstraße 180 Bundesstraße 76 Bundesstraße 75 Bundesstraße 74 Bundesstraße 73 Bundesstraße 80 Bundesstraße 79 Bundesstraße 77 Bundesstraße 81 Bundesstraße 1 Bundesstraße 183a Bundesstraße 37 Bundesstraße 36 Bundesstraße 85 Bundesstraße 35 Bundesstraße 34 Bundesstraße 187 Bundesstraße 2 Bundesstraße 4 Bundesstraße 3 Bundesstraße 59 Bundesstraße 13 Bundesstraße 101 Bundesstraße 98 Bundesstraße 99 Bundesstraße 26a Bundesstraße 97 Bundesstraße 96 Bundesstraße 33 Bundesstraße 172a Bundesstraße 31 Bundesstraße 102 Bundesstraße 103 Bundesstraße 53 Bundesstraße 52 Bundesstraße 54 Bundesstraße 4 R Bundesstraße 5 Bundesstraße 2 R Bundesstraße 6 Bundesstraße 7 Bundesstraße 8 Bundesstraße 58 Bundesstraße 92 Bundesstraße 91 Bundesstraße 93 Bundesstraße 89 Bundesstraße 88 Bundesstraße 90 Bundesstraße 30 Bundesstraße 95 Bundesstraße 94 Bundesstraße 32 Bundesstraße 100 Bundesstraße 31a Bundesstraße 28a Bundesstraße 43a Bundesstraße 28 Bundesstraße 11 Bundesstraße 27 Bundesstraße 26 Bundesstraße 10 Bundesstraße 9 Bundesstraße 113 Bundesstraße 122 Bundesstraße 156 Bundesstraße 158 Bundesstraße 166 Bundesstraße 167 Bundesstraße 168 Bundesstraße 169 Bundesstraße 49 Bundesstraße 50 Bundesstraße 15 Bundesstraße 195 Bundesstraße 196 Bundesstraße 193 Bundesstraße 194 Bundesstraße 191 Bundesstraße 12 Bundesstraße 190 Bundesstraße 14 Bundesstraße 188 Bundesstraße 189 Bundesstraße 192 Bundesstraße 115 Bundesstraße 112 Bundesstraße 111 Bundesstraße 110 Bundesstraße 109 Bundesstraße 108 Bundesstraße 107 Bundesstraße 106 Bundesstraße 105 Bundesstraße 104 Bundesstraße 96b Bundesstraße 181 Bundesstraße 179 Bundesstraße 184 Bundesstraße 185 Bundesstraße 182 Bundesstraße 183 Bundesstraße 186 Bundesstraße 51 Bundesstraße 96a Bundesstraße 47 Bundesstraße 48 Bundesstraße 33a Bundesstraße 198 Bundesstraße 197 Bundesstraße 199 Bundesstraße 29 Bundesstraße 72 Bundesstraße 86 Bundesstraße 67 Bundesstraße 68 Bundesstraße 65 Bundesstraße 66 Bundesstraße 70 Bundesstraße 71 Bundesstraße 69 Bundesstraße 19 Bundesstraße 17 Bundesstraße 16 Bundesstraße 20 Bundesstraße 21
Bundesstraße 3, Bundesstraße 73 and Bundesstraße 75 are owned by Germany
Bundesstraße 3 Bundesstraße 73 Bundesstraße 75
action filter_type
action find_reverse
entity Germany
relation owned by
type street
[{'concept': 'street'}, 'owned by', 'Germany']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:street . ?i property:owned_by resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84681
P102
Q7210356
USER
Which parties are Otto Nuschke affiliated with ?
(Q84681,P102,c(Q7210356))
action filter_type
action find
entity Q84681
relation P102
type Q7210356
['Q84681', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q84681 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Otto Nuschke
action filter_type
action find
entity Otto Nuschke
relation member of political party
type political organization
['Otto Nuschke', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Otto_Nuschke property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q328195 Q662377 Q633731
SYSTEM
German Democratic Party, Progressive People's Party, Free-minded Union
Q633731 Q328195 Q662377 Q339110
(Q84681,P102,c(Q7210356))
action filter_type
action find
entity Q84681
relation P102
type Q7210356
Otto Nuschke are affiliated with [ANSWERS]
['Q84681', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q84681 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Free-minded Union German Democratic Party Progressive People's Party National-Social Association
Otto Nuschke are affiliated with German Democratic Party, Progressive People's Party and Free-minded Union
German Democratic Party Progressive People's Party Free-minded Union
action filter_type
action find
entity Otto Nuschke
relation member of political party
type political organization
['Otto Nuschke', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Otto_Nuschke property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q84681
Q7278
USER
And which political party?
(Q84681,P102,c(Q7278))
action filter_type
action find
entity Q84681
relation P102
type Q7278
['Q84681', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?o WHERE { resource:Q84681 property:P102 ?o . ?o rdf:type ontology:Q7278 }
Otto Nuschke
action filter_type
action find
entity Otto Nuschke
relation member of political party
type political party
['Otto Nuschke', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?o WHERE { resource:Otto_Nuschke property:member_of_political_party ?o . ?o rdf:type ontology:political_party }
[]
political party
Q49754
SYSTEM
Christian Democratic Union
Q49754
(Q84681,P102,c(Q7278))
action filter_type
action find
entity Q84681
relation P102
type Q7278
[ANSWER]
['Q84681', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?o WHERE { resource:Q84681 property:P102 ?o . ?o rdf:type ontology:Q7278 }
Christian Democratic Union
Christian Democratic Union
action filter_type
action find
entity Otto Nuschke
relation member of political party
type political party
['Otto Nuschke', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?o WHERE { resource:Otto_Nuschke property:member_of_political_party ?o . ?o rdf:type ontology:political_party }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q49754 Q62970
P488
Q502895
USER
Was Gerald Götting the chair of that political party ?
(Q49754,P488,Q62970)
action is_in
entity Q62970
action find
entity Q49754
relation P488
['Q49754', 'P488', 'Q62970']
ASK WHERE { resource:Q49754 property:P488 resource:Q62970 }
Christian Democratic Union Gerald Götting
action is_in
entity Gerald Götting
action find
entity Christian Democratic Union
relation chairperson
['Christian Democratic Union', 'chairperson', 'Gerald Götting']
ASK WHERE { resource:Christian_Democratic_Union property:chairperson resource:Gerald_Götting }
[]
common name
SYSTEM
YES
(Q49754,P488,Q62970)
action is_in
entity Q62970
action find
entity Q49754
relation P488
[ANSWER]
['Q49754', 'P488', 'Q62970']
ASK WHERE { resource:Q49754 property:P488 resource:Q62970 }
Yes
action is_in
entity Gerald Götting
action find
entity Christian Democratic Union
relation chairperson
['Christian Democratic Union', 'chairperson', 'Gerald Götting']
ASK WHERE { resource:Christian_Democratic_Union property:chairperson resource:Gerald_Götting }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49754
P1142
Q7257
USER
Which ideology does Christian Democratic Union believe in ?
(Q49754,P1142,c(Q7257))
action filter_type
action find
entity Q49754
relation P1142
type Q7257
['Q49754', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q7257 . resource:Q49754 property:P1142 ?z }
Christian Democratic Union
action filter_type
action find
entity Christian Democratic Union
relation political ideology
type ideology
['Christian Democratic Union', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:ideology . resource:Christian_Democratic_Union property:political_ideology ?z }
[]
ideology
Q209158
SYSTEM
Christian democracy
Q209158
(Q49754,P1142,c(Q7257))
action filter_type
action find
entity Q49754
relation P1142
type Q7257
[ANSWER] does Christian Democratic Union believe in
['Q49754', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q7257 . resource:Q49754 property:P1142 ?z }
Christian democracy
Christian democracy does Christian Democratic Union believe in
Christian democracy
action filter_type
action find
entity Christian Democratic Union
relation political ideology
type ideology
['Christian Democratic Union', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:ideology . resource:Christian_Democratic_Union property:political_ideology ?z }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q209158 Q3102045
P1142
Q7210356
USER
Does Christian Democratic Party have the ideology as that one ?
(Q3102045,P1142,Q209158)
action is_in
entity Q209158
action find
entity Q3102045
relation P1142
['Q3102045', 'P1142', 'Q209158']
ASK WHERE { resource:Q3102045 property:P1142 resource:Q209158 }
Christian democracy Christian Democratic Party
action is_in
entity Christian democracy
action find
entity Christian Democratic Party
relation political ideology
['Christian Democratic Party', 'political ideology', 'Christian democracy']
ASK WHERE { resource:Christian_Democratic_Party property:political_ideology resource:Christian_democracy }
[]
political organization
SYSTEM
YES
(Q3102045,P1142,Q209158)
action is_in
entity Q209158
action find
entity Q3102045
relation P1142
[ANSWER]
['Q3102045', 'P1142', 'Q209158']
ASK WHERE { resource:Q3102045 property:P1142 resource:Q209158 }
Yes
action is_in
entity Christian democracy
action find
entity Christian Democratic Party
relation political ideology
['Christian Democratic Party', 'political ideology', 'Christian democracy']
ASK WHERE { resource:Christian_Democratic_Party property:political_ideology resource:Christian_democracy }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1647
P190
Q1048835 Q5119
USER
How many political territories and capitals are sister towns of Rijeka ?
(Q1647,P190,c(Q1048835)) (Q1647,P190,c(Q5119))
action count
action union
action filter_type
action find
entity Q1647
relation P190
type Q1048835
action filter_type
action find
entity Q1647
relation P190
type Q5119
['Q1647', 'P190', {'concept': 'Q1048835'}] ['Q1647', 'P190', {'concept': 'Q5119'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { resource:Q1647 property:P190 ?p . ?p rdf:type ontology:Q1048835 } UNION { ?p rdf:type ontology:Q5119 . resource:Q1647 property:P190 ?p } }
Rijeka
action count
action union
action filter_type
action find
entity Rijeka
relation sister city
type political territorial entity
action filter_type
action find
entity Rijeka
relation sister city
type capital
['Rijeka', 'sister city', {'concept': 'political territorial entity'}] ['Rijeka', 'sister city', {'concept': 'capital'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { resource:Rijeka property:sister_city ?p . ?p rdf:type ontology:political_territorial_entity } UNION { ?p rdf:type ontology:capital . resource:Rijeka property:sister_city ?p } }
[]
political territorial entity capital
SYSTEM
1 political territories and 1 capitals
Q170322 Q1342
(Q1647,P190,c(Q1048835)) (Q1647,P190,c(Q5119))
action count
action union
action filter_type
action find
entity Q1647
relation P190
type Q1048835
action filter_type
action find
entity Q1647
relation P190
type Q5119
[ANSWER]
['Q1647', 'P190', {'concept': 'Q1048835'}] ['Q1647', 'P190', {'concept': 'Q5119'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { resource:Q1647 property:P190 ?p . ?p rdf:type ontology:Q1048835 } UNION { ?p rdf:type ontology:Q5119 . resource:Q1647 property:P190 ?p } }
Qingdao Pittsburgh
1 political territories and 1 capitals
action count
action union
action filter_type
action find
entity Rijeka
relation sister city
type political territorial entity
action filter_type
action find
entity Rijeka
relation sister city
type capital
['Rijeka', 'sister city', {'concept': 'political territorial entity'}] ['Rijeka', 'sister city', {'concept': 'capital'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { resource:Rijeka property:sister_city ?p . ?p rdf:type ontology:political_territorial_entity } UNION { ?p rdf:type ontology:capital . resource:Rijeka property:sister_city ?p } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q328195 Q76811 Q84383
P488
Q502895
USER
Does Friedrich Naumann and Carl Wilhelm Petersen serve as a chairman for German Democratic Party ?
(Q328195,P488,Q76811) (Q328195,P488,Q84383)
action is_in
entity Q328195
action intersection
action find_reverse
entity Q76811
relation P488
action find_reverse
entity Q84383
relation P488
['Q328195', 'P488', 'Q76811'] ['Q328195', 'P488', 'Q84383']
ASK WHERE { resource:Q328195 property:P488 resource:Q76811 . resource:Q328195 property:P488 resource:Q84383 }
German Democratic Party Friedrich Naumann Carl Wilhelm Petersen
action is_in
entity German Democratic Party
action intersection
action find_reverse
entity Friedrich Naumann
relation chairperson
action find_reverse
entity Carl Wilhelm Petersen
relation chairperson
['German Democratic Party', 'chairperson', 'Friedrich Naumann'] ['German Democratic Party', 'chairperson', 'Carl Wilhelm Petersen']
ASK WHERE { resource:German_Democratic_Party property:chairperson resource:Friedrich_Naumann . resource:German_Democratic_Party property:chairperson resource:Carl_Wilhelm_Petersen }
[]
common name
SYSTEM
YES
(Q328195,P488,Q76811) (Q328195,P488,Q84383)
action is_in
entity Q328195
action intersection
action find_reverse
entity Q76811
relation P488
action find_reverse
entity Q84383
relation P488
[ANSWER]
['Q328195', 'P488', 'Q76811'] ['Q328195', 'P488', 'Q84383']
ASK WHERE { resource:Q328195 property:P488 resource:Q76811 . resource:Q328195 property:P488 resource:Q84383 }
Yes
action is_in
entity German Democratic Party
action intersection
action find_reverse
entity Friedrich Naumann
relation chairperson
action find_reverse
entity Carl Wilhelm Petersen
relation chairperson
['German Democratic Party', 'chairperson', 'Friedrich Naumann'] ['German Democratic Party', 'chairperson', 'Carl Wilhelm Petersen']
ASK WHERE { resource:German_Democratic_Party property:chairperson resource:Friedrich_Naumann . resource:German_Democratic_Party property:chairperson resource:Carl_Wilhelm_Petersen }
[]