Simple Question (Direct)
Simple Question
Q1208870
P1344
Q2312410
USER
What did Diana Pineda participate in ?
(Q1208870,P1344,c(Q2312410))
action filter_type
action find
entity Q1208870
relation P1344
type Q2312410
['Q1208870', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?s WHERE { resource:Q1208870 property:P1344 ?s . ?s rdf:type ontology:Q2312410 }
Diana Pineda
action filter_type
action find
entity Diana Pineda
relation participant of
type sport discipline
['Diana Pineda', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?s WHERE { resource:Diana_Pineda property:participant_of ?s . ?s rdf:type ontology:sport_discipline }
[]
sport discipline
Q11899349
SYSTEM
diving at the 2016 Summer Olympics
Q11899349
(Q1208870,P1344,c(Q2312410))
action filter_type
action find
entity Q1208870
relation P1344
type Q2312410
Diana Pineda participated in [ANSWER]
['Q1208870', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?s WHERE { resource:Q1208870 property:P1344 ?s . ?s rdf:type ontology:Q2312410 }
diving at the 2016 Summer Olympics
Diana Pineda participated in diving at the 2016 Summer Olympics
diving at the 2016 Summer Olympics
action filter_type
action find
entity Diana Pineda
relation participant of
type sport discipline
['Diana Pineda', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?s WHERE { resource:Diana_Pineda property:participant_of ?s . ?s rdf:type ontology:sport_discipline }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1208870
P106
Q12737077
USER
What is the job of Diana Pineda ?
(Q1208870,P106,c(Q12737077))
action filter_type
action find
entity Q1208870
relation P106
type Q12737077
['Q1208870', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1208870 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Diana Pineda
action filter_type
action find
entity Diana Pineda
relation occupation
type occupation
['Diana Pineda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Diana_Pineda property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q16004431
SYSTEM
diver
Q16004431
(Q1208870,P106,c(Q12737077))
action filter_type
action find
entity Q1208870
relation P106
type Q12737077
The job of Diana Pineda is a [ANSWER]
['Q1208870', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1208870 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
diver
The job of Diana Pineda is a diver
diver
action filter_type
action find
entity Diana Pineda
relation occupation
type occupation
['Diana Pineda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Diana_Pineda property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11899349
P361
Q16510064
USER
What are a component of diving at the 2016 Summer Olympics ?
(c(Q16510064),P361,Q11899349)
action filter_type
action find_reverse
entity Q11899349
relation P361
type Q16510064
[{'concept': 'Q16510064'}, 'P361', 'Q11899349']
SELECT DISTINCT ?a WHERE { ?a property:P361 resource:Q11899349 . ?a rdf:type ontology:Q16510064 }
diving at the 2016 Summer Olympics
action filter_type
action find_reverse
entity diving at the 2016 Summer Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', 'diving at the 2016 Summer Olympics']
SELECT DISTINCT ?a WHERE { ?a property:part_of resource:diving_at_the_2016_Summer_Olympics . ?a rdf:type ontology:sporting_event }
[]
sporting event
Q26430868 Q26235881 Q26229077
SYSTEM
Diving at the 2016 Summer Olympics – Men's 10 metre platform, Diving at the 2016 Summer Olympics – Men's synchronized 10 metre platform, Diving at the 2016 Summer Olympics – Women's synchronized 3 metre springboard
Q26430868 Q26235881 Q26229077 Q24906828 Q26250756
(c(Q16510064),P361,Q11899349)
action filter_type
action find_reverse
entity Q11899349
relation P361
type Q16510064
A component of diving at the 2016 Summer Olympics are [ANSWERS]
[{'concept': 'Q16510064'}, 'P361', 'Q11899349']
SELECT DISTINCT ?a WHERE { ?a property:P361 resource:Q11899349 . ?a rdf:type ontology:Q16510064 }
Diving at the 2016 Summer Olympics – Men's 10 metre platform Diving at the 2016 Summer Olympics – Men's synchronized 10 metre platform Diving at the 2016 Summer Olympics – Women's synchronized 3 metre springboard Diving at the 2016 Summer Olympics – Men's synchronized 3 metre springboard Diving at the 2016 Summer Olympics – Women's 10 metre platform
A component of diving at the 2016 Summer Olympics are Diving at the 2016 Summer Olympics – Men's 10 metre platform, Diving at the 2016 Summer Olympics – Men's synchronized 10 metre platform and Diving at the 2016 Summer Olympics – Women's synchronized 3 metre springboard
Diving at the 2016 Summer Olympics – Men's 10 metre platform Diving at the 2016 Summer Olympics – Men's synchronized 10 metre platform Diving at the 2016 Summer Olympics – Women's synchronized 3 metre springboard
action filter_type
action find_reverse
entity diving at the 2016 Summer Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', 'diving at the 2016 Summer Olympics']
SELECT DISTINCT ?a WHERE { ?a property:part_of resource:diving_at_the_2016_Summer_Olympics . ?a rdf:type ontology:sporting_event }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1930187 Q16004431
P106
Q502895
USER
Which people have the profession of diver and journalist ?
AND((c(Q502895),P106,Q16004431), (c(Q502895),P106,Q1930187))
action filter_type
action intersection
action find_reverse
entity Q16004431
relation P106
action find_reverse
entity Q1930187
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q16004431'], [{'concept': 'Q502895'}, 'P106', 'Q1930187']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P106 resource:Q16004431 . ?g property:P106 resource:Q1930187 }
journalist diver
action filter_type
action intersection
action find_reverse
entity diver
relation occupation
action find_reverse
entity journalist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'diver'], [{'concept': 'common name'}, 'occupation', 'journalist']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:occupation resource:diver . ?g property:occupation resource:journalist }
[]
common name
Q525643 Q119644
SYSTEM
Elena Vaytsekhovskaya, Ilse Meudtner
Q525643 Q119644
AND((c(Q502895),P106,Q16004431), (c(Q502895),P106,Q1930187))
action filter_type
action intersection
action find_reverse
entity Q16004431
relation P106
action find_reverse
entity Q1930187
relation P106
type Q502895
[ANSWERS] have the profession of diver and journalist
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q16004431'], [{'concept': 'Q502895'}, 'P106', 'Q1930187']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P106 resource:Q16004431 . ?g property:P106 resource:Q1930187 }
Elena Vaytsekhovskaya Ilse Meudtner
Elena Vaytsekhovskaya and Ilse Meudtner have the profession of diver and journalist
Elena Vaytsekhovskaya Ilse Meudtner
action filter_type
action intersection
action find_reverse
entity diver
relation occupation
action find_reverse
entity journalist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'diver'], [{'concept': 'common name'}, 'occupation', 'journalist']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:occupation resource:diver . ?g property:occupation resource:journalist }
[]
Clarification
Simple Question|Single Entity|Indirect
Q525643
P21
Q290
USER
Which sex does that person possess ?
(Q525643,P21,c(Q290))
action filter_type
action find
entity Q525643
relation P21
type Q290
['Q525643', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q525643 property:P21 ?u . ?u rdf:type ontology:Q290 }
Elena Vaytsekhovskaya
action filter_type
action find
entity Elena Vaytsekhovskaya
relation gender
type sex
['Elena Vaytsekhovskaya', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Elena_Vaytsekhovskaya property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q525643
SYSTEM
Did you mean Elena Vaytsekhovskaya ?
Q525643 Q119644
(Q525643,P21,c(Q290)) (Q119644,P21,c(Q290))
[ANSWER]
['Q525643', 'P21', {'concept': 'Q290'}] ['Q119644', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q525643 property:P21 ?u . ?u rdf:type ontology:Q290 }
Elena Vaytsekhovskaya Ilse Meudtner
Did you mean Elena Vaytsekhovskaya ?
Elena Vaytsekhovskaya
['Elena Vaytsekhovskaya', 'gender', {'concept': 'sex'}] ['Ilse Meudtner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Elena_Vaytsekhovskaya property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
Yes
(Q525643,P21,c(Q290))
['Q525643', 'P21', {'concept': 'Q290'}]
['Elena Vaytsekhovskaya', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q525643,P21,c(Q290))
action filter_type
action find
entity Q525643
relation P21
type Q290
That person possesses the [ANSWER]
['Q525643', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q525643 property:P21 ?u . ?u rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Elena Vaytsekhovskaya
relation gender
type sex
['Elena Vaytsekhovskaya', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Elena_Vaytsekhovskaya property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q525643
P27
Q7275
USER
Which state is the native country of Elena Vaytsekhovskaya ?
(Q525643,P27,c(Q7275))
action filter_type
action find
entity Q525643
relation P27
type Q7275
['Q525643', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { resource:Q525643 property:P27 ?u . ?u rdf:type ontology:Q7275 }
Elena Vaytsekhovskaya
action filter_type
action find
entity Elena Vaytsekhovskaya
relation country of citizenship
type state
['Elena Vaytsekhovskaya', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { resource:Elena_Vaytsekhovskaya property:country_of_citizenship ?u . ?u rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q525643,P27,c(Q7275))
action filter_type
action find
entity Q525643
relation P27
type Q7275
The [ANSWER] is the native country of Elena Vaytsekhovskaya
['Q525643', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { resource:Q525643 property:P27 ?u . ?u rdf:type ontology:Q7275 }
Soviet Union
The Soviet Union is the native country of Elena Vaytsekhovskaya
Soviet Union
action filter_type
action find
entity Elena Vaytsekhovskaya
relation country of citizenship
type state
['Elena Vaytsekhovskaya', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { resource:Elena_Vaytsekhovskaya property:country_of_citizenship ?u . ?u rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q68000
Q7275
USER
And also tell me about Hans-Jürgen Geschke?
(Q68000,P27,c(Q7275))
action filter_type
action find
entity Q68000
relation P27
type Q7275
['Q68000', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q68000 property:P27 ?c . ?c rdf:type ontology:Q7275 }
Hans-Jürgen Geschke
action filter_type
action find
entity Hans-Jürgen Geschke
relation country of citizenship
type state
['Hans-Jürgen Geschke', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:Hans-Jürgen_Geschke property:country_of_citizenship ?c . ?c rdf:type ontology:state }
[]
state
Q16957
SYSTEM
East Germany
Q16957
(Q68000,P27,c(Q7275))
action filter_type
action find
entity Q68000
relation P27
type Q7275
[ANSWER]
['Q68000', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q68000 property:P27 ?c . ?c rdf:type ontology:Q7275 }
East Germany
East Germany
action filter_type
action find
entity Hans-Jürgen Geschke
relation country of citizenship
type state
['Hans-Jürgen Geschke', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:Hans-Jürgen_Geschke property:country_of_citizenship ?c . ?c rdf:type ontology:state }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P85
Q484692 Q7725634 Q7275
USER
Which states have around the same number of hymns and literary works as their national anthem as that state ?
(c(Q7275),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q7275
type Q484692
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action count
action filter_multi_types
action find
entity Q16957
relation P85
type Q484692
type Q7725634
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?r WHERE { { ?r rdf:type ontology:Q7275 . ?l rdf:type ontology:Q484692 . ?r property:P85 ?l } UNION { ?r property:P85 ?l . ?l rdf:type ontology:Q7725634 . ?r rdf:type ontology:Q7275 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { { ?q rdf:type ontology:Q484692 } UNION { ?q rdf:type ontology:Q7725634 } } . resource:Q16957 property:P85 ?q } } . FILTER ( ?z = ?h ) }
action approx
action union
action find_tuple_counts
relation anthem
type state
type hymn
action find_tuple_counts
relation anthem
type state
type literary work
action count
action filter_multi_types
action find
entity East Germany
relation anthem
type hymn
type literary work
[{'concept': 'state'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?r WHERE { { ?r rdf:type ontology:state . ?l rdf:type ontology:hymn . ?r property:anthem ?l } UNION { ?r property:anthem ?l . ?l rdf:type ontology:literary_work . ?r rdf:type ontology:state } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { { ?q rdf:type ontology:hymn } UNION { ?q rdf:type ontology:literary_work } } . resource:East_Germany property:anthem ?q } } . FILTER ( ?z = ?h ) }
[]
hymn literary work state
SYSTEM
117
Q241748 Q211853 Q180573 Q797527 Q1274468 Q2414171 Q218023 Q245160 Q25279 Q174193 Q965174 Q233263 Q1028835 Q330988 Q139670 Q27306 Q457167 Q533558 Q167360 Q1044536 Q209065 Q21203 Q713750 Q209062 Q1998866 Q207162 Q11196 Q2006542 Q131964 Q133356 Q2454585 Q33946 Q83572 Q191077 Q2638486 Q28278 Q16957 Q1649871 Q941881 Q870055 Q842794 Q1057542 Q652560 Q550374 Q178038 Q30623 Q203493 Q867778 Q147909 Q980 Q58202 Q1709185 Q154401 Q180393 Q112558 Q252580 Q518101 Q37024 Q16410 Q153128 Q83286 Q173761 Q207272 Q25227 Q15864 Q738144 Q36704 Q950644 Q153015 Q49910 Q386496 Q696242 Q71092 Q217230 Q170072 Q170174 Q212056 Q210542 Q7318 Q1072140 Q170468 Q146328 Q248452 Q8733 Q371334 Q853348 Q824489 Q2342822 Q189988 Q1192936 Q615902 Q708865 Q498735 Q491559 Q154195 Q1072362 Q1775277 Q121932 Q146761 Q153660 Q70972 Q497777 Q206411 Q12548 Q211274 Q6500954 Q26988 Q26273 Q139319 Q171150 Q487687 Q370736 Q541455 Q41304 Q797422 Q216173 Q178469
(c(Q7275),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q7275
type Q484692
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action count
action filter_multi_types
action find
entity Q16957
relation P85
type Q484692
type Q7725634
[ANSWER]
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?r WHERE { { ?r rdf:type ontology:Q7275 . ?l rdf:type ontology:Q484692 . ?r property:P85 ?l } UNION { ?r property:P85 ?l . ?l rdf:type ontology:Q7725634 . ?r rdf:type ontology:Q7275 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { { ?q rdf:type ontology:Q484692 } UNION { ?q rdf:type ontology:Q7725634 } } . resource:Q16957 property:P85 ?q } } . FILTER ( ?z = ?h ) }
Kingdom of Serbia Republic of Serbian Krajina South Vietnam British Togoland Republic of Bosnia and Herzegovina First Brazilian Republic Orange Free State Democratic Republic of Georgia Curaçao United Kingdom of Great Britain and Ireland Coalition Provisional Authority Second Republic of South Korea British Cameroons Democratic Kampuchea Democratic Republic of Armenia Kingdom of Prussia West Ukrainian People's Republic Kingdom of Croatia-Slavonia First Portuguese Republic Spain under the Restoration Kingdom of Greece Aruba West Germany Socialist Republic of Croatia Czech and Slovak Federal Republic Bourbon Restoration Republika Srpska Dominion of Pakistan Austrian Empire Ukrainian Soviet Socialist Republic History of Czechoslovakia Czechoslovakia Sikh Empire Kingdom of Yugoslavia Kingdom of Cambodia Provisional Government of the Republic of Korea East Germany Kingdom of Poland Netherlands New Guinea Kingdom of Laos Socialist Republic of Romania Republic of Hawaii West Indies Federation South African Republic Second Spanish Republic Manchukuo Kingdom of Romania People's Republic of Kampuchea Kingdom of Bulgaria Bavaria July Monarchy Kingdom of Spain under Joseph Bonaparte Slovak Republic Kingdom of the Two Sicilies Republic of Saugeais Duchy of Modena and Reggio First Republic of Austria Serbia and Montenegro People's Republic of Hungary Independent State of Croatia Socialist Federal Republic of Yugoslavia Lithuanian Soviet Socialist Republic Second Polish Republic Netherlands Antilles United Kingdom of the Netherlands United Provinces of the Río de la Plata Yugoslavia Carpatho-Ukraine Kingdom of Saxony Colony of Aden Kingdom of Montenegro Reorganized National Government of China Second French Empire Empire of Brazil Dutch Republic Papal States Mongolian People's Republic Second Brazilian Republic Nazi Germany Roman Republic United Arab Republic Commonwealth of the Philippines British North America Qing dynasty Second Mexican Empire Czechoslovak Socialist Republic Estado Novo West Pakistan Central African Empire Kingdom of Burundi Kingdom of Finland Reformed Government of the Republic of China division of Korea First Republic of South Korea Kingdom of Bavaria Provisional Revolutionary Government of the Republic of South Vietnam Dominion of India People's Republic of Bulgaria Hatay State Italian Social Republic Kingdom of France First Spanish Republic Democratic Republic of Azerbaijan Holy Roman Empire People's Republic of Poland Zaire Cook Islands Sint Maarten Russian Republic Kingdom of Hungary Third Republic of South Korea Cape Colony Anglo-Egyptian Sudan Weimar Republic Republic of Upper Volta Free City of Danzig Biafra
117
action approx
action union
action find_tuple_counts
relation anthem
type state
type hymn
action find_tuple_counts
relation anthem
type state
type literary work
action count
action filter_multi_types
action find
entity East Germany
relation anthem
type hymn
type literary work
[{'concept': 'state'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?r WHERE { { ?r rdf:type ontology:state . ?l rdf:type ontology:hymn . ?r property:anthem ?l } UNION { ?r property:anthem ?l . ?l rdf:type ontology:literary_work . ?r rdf:type ontology:state } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { { ?q rdf:type ontology:hymn } UNION { ?q rdf:type ontology:literary_work } } . resource:East_Germany property:anthem ?q } } . FILTER ( ?z = ?h ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16957 Q28513
P27
Q502895
USER
How many people are civilians of East Germany and Austria-Hungary ?
(c(Q502895),P27,Q16957) (c(Q502895),P27,Q28513)
action count
action intersection
action filter_type
action find_reverse
entity Q16957
relation P27
type Q502895
action filter_type
action find_reverse
entity Q28513
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q16957'] [{'concept': 'Q502895'}, 'P27', 'Q28513']
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:P27 resource:Q16957 . ?t rdf:type ontology:Q502895 . ?t property:P27 resource:Q28513 . ?t rdf:type ontology:Q502895 }
East Germany Austria-Hungary
action count
action intersection
action filter_type
action find_reverse
entity East Germany
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Austria-Hungary
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'East Germany'] [{'concept': 'common name'}, 'country of citizenship', 'Austria-Hungary']
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:country_of_citizenship resource:East_Germany . ?t rdf:type ontology:common_name . ?t property:country_of_citizenship resource:Austria-Hungary . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q105954 Q88206 Q216052 Q94370
(c(Q502895),P27,Q16957) (c(Q502895),P27,Q28513)
action count
action intersection
action filter_type
action find_reverse
entity Q16957
relation P27
type Q502895
action filter_type
action find_reverse
entity Q28513
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q16957'] [{'concept': 'Q502895'}, 'P27', 'Q28513']
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:P27 resource:Q16957 . ?t rdf:type ontology:Q502895 . ?t property:P27 resource:Q28513 . ?t rdf:type ontology:Q502895 }
Alex Wedding Friedrich Kühne Rudolf Appelt Viktor Stern
4
action count
action intersection
action filter_type
action find_reverse
entity East Germany
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Austria-Hungary
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'East Germany'] [{'concept': 'common name'}, 'country of citizenship', 'Austria-Hungary']
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:country_of_citizenship resource:East_Germany . ?t rdf:type ontology:common_name . ?t property:country_of_citizenship resource:Austria-Hungary . ?t rdf:type ontology:common_name }
[]