Simple Question (Direct)
Simple Question
Q560008
P136
Q1792379
USER
What can be considered as category for BloodRayne: The Third Reich ?
(Q560008,P136,c(Q1792379))
action filter_type
action find
entity Q560008
relation P136
type Q1792379
['Q560008', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?z WHERE { resource:Q560008 property:P136 ?z . ?z rdf:type ontology:Q1792379 }
BloodRayne: The Third Reich
action filter_type
action find
entity BloodRayne: The Third Reich
relation genre
type art genre
['BloodRayne: The Third Reich', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?z WHERE { resource:BloodRayne:_The_Third_Reich property:genre ?z . ?z rdf:type ontology:art_genre }
[]
art genre
Q188473 Q2137852 Q200092
SYSTEM
action film, vampire film, horror film
Q188473 Q2137852 Q200092
(Q560008,P136,c(Q1792379))
action filter_type
action find
entity Q560008
relation P136
type Q1792379
[ANSWERS] can be considered as category for BloodRayne: The Third Reich
['Q560008', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?z WHERE { resource:Q560008 property:P136 ?z . ?z rdf:type ontology:Q1792379 }
action film vampire film horror film
Action film, vampire film and horror film can be considered as category for BloodRayne: The Third Reich
action film vampire film horror film
action filter_type
action find
entity BloodRayne: The Third Reich
relation genre
type art genre
['BloodRayne: The Third Reich', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?z WHERE { resource:BloodRayne:_The_Third_Reich property:genre ?z . ?z rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q560008
P915
Q15617994
USER
Where was that work of art filmed ?
(Q188473,P915,c(Q15617994)) (Q2137852,P915,c(Q15617994)) (Q200092,P915,c(Q15617994))
action filter_type
action find
entity Q560008
relation P915
type Q15617994
['Q188473', 'P915', {'concept': 'Q15617994'}] ['Q2137852', 'P915', {'concept': 'Q15617994'}] ['Q200092', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q560008 property:P915 ?e . ?e rdf:type ontology:Q15617994 }
BloodRayne: The Third Reich
action filter_type
action find
entity BloodRayne: The Third Reich
relation filming location
type designation for an administrative territorial entity
['action film', 'filming location', {'concept': 'designation for an administrative territorial entity'}] ['vampire film', 'filming location', {'concept': 'designation for an administrative territorial entity'}] ['horror film', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:BloodRayne:_The_Third_Reich property:filming_location ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q224
SYSTEM
Croatia
Q224
(Q188473,P915,c(Q15617994)) (Q2137852,P915,c(Q15617994)) (Q200092,P915,c(Q15617994))
action filter_type
action find
entity Q560008
relation P915
type Q15617994
That work of art was filmed in [ANSWER]
['Q188473', 'P915', {'concept': 'Q15617994'}] ['Q2137852', 'P915', {'concept': 'Q15617994'}] ['Q200092', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q560008 property:P915 ?e . ?e rdf:type ontology:Q15617994 }
Croatia
That work of art was filmed in Croatia
Croatia
action filter_type
action find
entity BloodRayne: The Third Reich
relation filming location
type designation for an administrative territorial entity
['action film', 'filming location', {'concept': 'designation for an administrative territorial entity'}] ['vampire film', 'filming location', {'concept': 'designation for an administrative territorial entity'}] ['horror film', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:BloodRayne:_The_Third_Reich property:filming_location ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q28
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with less number of administrative territories than Hungary ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q28
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Q28 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?d < ?b ) }
Hungary
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Hungary property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d < ?b ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q28
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Q28 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?d < ?b ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Hungary property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d < ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q424
P530
Q15617994 Q15617994
USER
And what about Cambodia?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q424
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?w ) WHERE { ?g rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?g property:P530 ?b } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q424 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?w < ?x ) }
Cambodia
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Cambodia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?w ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?b } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Cambodia property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w < ?x ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
25
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q424
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?w ) WHERE { ?g rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?g property:P530 ?b } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q424 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?w < ?x ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
25
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Cambodia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?w ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?b } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Cambodia property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w < ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q224
P6
Q502895
USER
What people are Croatia the head of goverment of ?
(Q224,P6,c(Q502895))
action filter_type
action find
entity Q224
relation P6
type Q502895
['Q224', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q224 property:P6 ?i }
Croatia
action filter_type
action find
entity Croatia
relation head of government
type common name
['Croatia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Croatia property:head_of_government ?i }
[]
common name
Q57687 Q21821359
SYSTEM
Zoran Milanović, Tihomir Orešković
Q57687 Q21821359
(Q224,P6,c(Q502895))
action filter_type
action find
entity Q224
relation P6
type Q502895
[ANSWERS] are Croatia the head of goverment of
['Q224', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q224 property:P6 ?i }
Zoran Milanović Tihomir Orešković
Zoran Milanović and Tihomir Orešković are Croatia the head of goverment of
Zoran Milanović Tihomir Orešković
action filter_type
action find
entity Croatia
relation head of government
type common name
['Croatia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Croatia property:head_of_government ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1731
Q502895
USER
And what about Dresden?
(Q1731,P6,c(Q502895))
action filter_type
action find
entity Q1731
relation P6
type Q502895
['Q1731', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q1731 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Dresden
action filter_type
action find
entity Dresden
relation head of government
type common name
['Dresden', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Dresden property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
common name
Q74512 Q2546706 Q70087
SYSTEM
Helma Orosz, Walter Weidauer, Wilhelm Külz
Q1227894 Q107180 Q108068 Q805614 Q90198 Q74512 Q1641385 Q2173181 Q1608371 Q110810 Q2546706 Q1512449 Q824779 Q121150 Q347740 Q70087 Q2058676 Q2574471 Q113648 Q105881 Q1645938
(Q1731,P6,c(Q502895))
action filter_type
action find
entity Q1731
relation P6
type Q502895
[ANSWERS]
['Q1731', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q1731 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Dirk Hilbert Rudolf Friedrichs Ingolf Roßberg Karl Balthasar Hübler Hans Nieland Helma Orosz Otto Beutler Rudolf Kluge Herbert Gute Ernst Zörner Walter Weidauer Gerhard Schill Bernhard Blüher Johannes Müller Adalbert Wolpert Wilhelm Külz Paul Alfred Stübel Friedrich Wilhelm Pfotenhauer Robert Siegismund Schanz Herbert Wagner Wolfgang Berghofer
Helma Orosz Walter Weidauer Wilhelm Külz
action filter_type
action find
entity Dresden
relation head of government
type common name
['Dresden', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Dresden property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1731
P6
Q515
USER
Do Dresden have those people as their head of government ?
(Q1731,P6,Q74512) (Q1731,P6,Q2546706) (Q1731,P6,Q70087)
action is_in
entity prev_answer
action find
entity Q1731
relation P6
['Q1731', 'P6', 'Q74512'] ['Q1731', 'P6', 'Q2546706'] ['Q1731', 'P6', 'Q70087']
ASK WHERE { resource:Q1731 property:P6 ?w . VALUES ( ?w ) { ( resource:Q1227894 ) ( resource:Q107180 ) ( resource:Q108068 ) } }
Dresden
action is_in
entity prev_answer
action find
entity Dresden
relation head of government
['Dresden', 'head of government', 'Helma Orosz'] ['Dresden', 'head of government', 'Walter Weidauer'] ['Dresden', 'head of government', 'Wilhelm Külz']
ASK WHERE { resource:Dresden property:head_of_government ?w . VALUES ( ?w ) { ( resource:Dirk_Hilbert ) ( resource:Rudolf_Friedrichs ) ( resource:Ingolf_Roßberg ) } }
[]
city
SYSTEM
YES
(Q1731,P6,Q74512) (Q1731,P6,Q2546706) (Q1731,P6,Q70087)
action is_in
entity prev_answer
action find
entity Q1731
relation P6
[ANSWER]
['Q1731', 'P6', 'Q74512'] ['Q1731', 'P6', 'Q2546706'] ['Q1731', 'P6', 'Q70087']
ASK WHERE { resource:Q1731 property:P6 ?w . VALUES ( ?w ) { ( resource:Q1227894 ) ( resource:Q107180 ) ( resource:Q108068 ) } }
Yes
action is_in
entity prev_answer
action find
entity Dresden
relation head of government
['Dresden', 'head of government', 'Helma Orosz'] ['Dresden', 'head of government', 'Walter Weidauer'] ['Dresden', 'head of government', 'Wilhelm Külz']
ASK WHERE { resource:Dresden property:head_of_government ?w . VALUES ( ?w ) { ( resource:Dirk_Hilbert ) ( resource:Rudolf_Friedrichs ) ( resource:Ingolf_Roßberg ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q71404 Q1731
P19 P190
Q486972
USER
Which human settlements are the sister cities of Dresden or were Hans Singer born at ?
OR((Q1731,P190,c(Q486972)), (Q71404,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1731
relation P190
action find
entity Q71404
relation P19
type Q486972
{'OR': [['Q1731', 'P190', {'concept': 'Q486972'}], ['Q71404', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1731 property:P190 ?x } UNION { resource:Q71404 property:P19 ?x } } . ?x rdf:type ontology:Q486972 }
Hans Singer Dresden
action filter_type
action union
action find
entity Dresden
relation sister city
action find
entity Hans Singer
relation place of birth
type human settlement
{'OR': [['Dresden', 'sister city', {'concept': 'human settlement'}], ['Hans Singer', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Dresden property:sister_city ?x } UNION { resource:Hans_Singer property:place_of_birth ?x } } . ?x rdf:type ontology:human_settlement }
[]
human settlement
Q702259 Q1799 Q1055
SYSTEM
Elberfeld, Wrocław, Hamburg
Q702259 Q1799 Q1055
OR((Q1731,P190,c(Q486972)), (Q71404,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1731
relation P190
action find
entity Q71404
relation P19
type Q486972
[ANSWERS] are the sister cities of Dresden or were Hans Singer born at
{'OR': [['Q1731', 'P190', {'concept': 'Q486972'}], ['Q71404', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1731 property:P190 ?x } UNION { resource:Q71404 property:P19 ?x } } . ?x rdf:type ontology:Q486972 }
Elberfeld Wrocław Hamburg
Elberfeld, Wrocław and Hamburg are the sister cities of Dresden or were Hans Singer born at
Elberfeld Wrocław Hamburg
action filter_type
action union
action find
entity Dresden
relation sister city
action find
entity Hans Singer
relation place of birth
type human settlement
{'OR': [['Dresden', 'sister city', {'concept': 'human settlement'}], ['Hans Singer', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Dresden property:sister_city ?x } UNION { resource:Hans_Singer property:place_of_birth ?x } } . ?x rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q57687
P102
Q7210356
USER
Which party is Zoran Milanović affiliated with ?
(Q57687,P102,c(Q7210356))
action filter_type
action find
entity Q57687
relation P102
type Q7210356
['Q57687', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7210356 . resource:Q57687 property:P102 ?n }
Zoran Milanović
action filter_type
action find
entity Zoran Milanović
relation member of political party
type political organization
['Zoran Milanović', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_organization . resource:Zoran_Milanović property:member_of_political_party ?n }
[]
political organization
Q830323
SYSTEM
Social Democratic Party of Croatia
Q830323
(Q57687,P102,c(Q7210356))
action filter_type
action find
entity Q57687
relation P102
type Q7210356
Zoran Milanović is affiliated with [ANSWER]
['Q57687', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7210356 . resource:Q57687 property:P102 ?n }
Social Democratic Party of Croatia
Zoran Milanović is affiliated with Social Democratic Party of Croatia
Social Democratic Party of Croatia
action filter_type
action find
entity Zoran Milanović
relation member of political party
type political organization
['Zoran Milanović', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_organization . resource:Zoran_Milanović property:member_of_political_party ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q830323
P112
Q502895
USER
What is the name of the founder of that political organization ?
(Q830323,P112,c(Q502895))
action filter_type
action find
entity Q830323
relation P112
type Q502895
['Q830323', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q830323 property:P112 ?m }
Social Democratic Party of Croatia
action filter_type
action find
entity Social Democratic Party of Croatia
relation founder
type common name
['Social Democratic Party of Croatia', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Social_Democratic_Party_of_Croatia property:founder ?m }
[]
common name
Q315467
SYSTEM
Ivica Račan
Q315467
(Q830323,P112,c(Q502895))
action filter_type
action find
entity Q830323
relation P112
type Q502895
The name of the founder of that political organization is [ANSWER]
['Q830323', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q830323 property:P112 ?m }
Ivica Račan
The name of the founder of that political organization is Ivica Račan
Ivica Račan
action filter_type
action find
entity Social Democratic Party of Croatia
relation founder
type common name
['Social Democratic Party of Croatia', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Social_Democratic_Party_of_Croatia property:founder ?m }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q830323
P21 P102
Q502895
USER
Which people belong to the political party named Social Democratic Party of Croatia and have the gender as male ?
AND((c(Q502895),P102,Q830323), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q830323
relation P102
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q830323'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P102 resource:Q830323 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
male Social Democratic Party of Croatia
action filter_type
action intersection
action find_reverse
entity Social Democratic Party of Croatia
relation member of political party
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Social Democratic Party of Croatia'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:member_of_political_party resource:Social_Democratic_Party_of_Croatia . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]
common name
Q13421967 Q3446032 Q7539437 Q2618680 Q2617559 Q893812 Q2619590 Q165463 Q571574 Q1274378
SYSTEM
Some of them are Ivo Baldasar, Željko Jovanović, Slavko Linić, Ranko Ostojić, Tonino Picula, Boris Šprem, Zlatko Komadina, Branko Grčić, Ante Kotromanović, Josip Leko
Q165463 Q7286273 Q2619590 Q928356 Q571574 Q1252018 Q13421967 Q3443168 Q2351745 Q2617559 Q2618680 Q11142171 Q3511784 Q12958834 Q893812 Q3446032 Q315467 Q20525506 Q368226 Q57687 Q1274378 Q7539437
AND((c(Q502895),P102,Q830323), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q830323
relation P102
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] belong to the political party named Social Democratic Party of Croatia and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q830323'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P102 resource:Q830323 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
Branko Grčić Rajko Ostojić Zlatko Komadina Miroslav Tuđman Ante Kotromanović Ljubo Jurčić Ivo Baldasar Neven Mimica Arsen Bauk Tonino Picula Ranko Ostojić Marino Baldini Antun Vujić Oleg Valjalo Boris Šprem Željko Jovanović Ivica Račan Siniša Varga Milan Bandić Zoran Milanović Josip Leko Slavko Linić
Ivo Baldasar, Željko Jovanović, Slavko Linić, Ranko Ostojić, Tonino Picula, Boris Šprem, Zlatko Komadina, Branko Grčić, Ante Kotromanović and Josip Leko belong to the political party named Social Democratic Party of Croatia and have the gender as male
Ivo Baldasar Željko Jovanović Slavko Linić Ranko Ostojić Tonino Picula Boris Šprem Zlatko Komadina Branko Grčić Ante Kotromanović Josip Leko
action filter_type
action intersection
action find_reverse
entity Social Democratic Party of Croatia
relation member of political party
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Social Democratic Party of Croatia'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:member_of_political_party resource:Social_Democratic_Party_of_Croatia . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q13421967 Q3446032 Q7539437 Q2618680 Q2617559 Q893812 Q2619590 Q165463 Q571574 Q1274378
P102
Q7210356
USER
Which parties do those people belong to ?
(Q13421967,P102,c(Q7210356)) (Q3446032,P102,c(Q7210356)) (Q7539437,P102,c(Q7210356)) (Q2618680,P102,c(Q7210356)) (Q2617559,P102,c(Q7210356)) (Q893812,P102,c(Q7210356)) (Q2619590,P102,c(Q7210356)) (Q165463,P102,c(Q7210356)) (Q571574,P102,c(Q7210356)) (Q1274378,P102,c(Q7210356))
action filter_type
action find
entity prev_answer
relation P102
type Q7210356
['Q13421967', 'P102', {'concept': 'Q7210356'}] ['Q3446032', 'P102', {'concept': 'Q7210356'}] ['Q7539437', 'P102', {'concept': 'Q7210356'}] ['Q2618680', 'P102', {'concept': 'Q7210356'}] ['Q2617559', 'P102', {'concept': 'Q7210356'}] ['Q893812', 'P102', {'concept': 'Q7210356'}] ['Q2619590', 'P102', {'concept': 'Q7210356'}] ['Q165463', 'P102', {'concept': 'Q7210356'}] ['Q571574', 'P102', {'concept': 'Q7210356'}] ['Q1274378', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?q property:P102 ?x . VALUES ( ?q ) { ( resource:Q165463 ) ( resource:Q7286273 ) ( resource:Q2619590 ) } . ?x rdf:type ontology:Q7210356 }
Ivo Baldasar Željko Jovanović Slavko Linić Ranko Ostojić Tonino Picula Boris Šprem Zlatko Komadina Branko Grčić Ante Kotromanović Josip Leko
action filter_type
action find
entity prev_answer
relation member of political party
type political organization
['Ivo Baldasar', 'member of political party', {'concept': 'political organization'}] ['Željko Jovanović', 'member of political party', {'concept': 'political organization'}] ['Slavko Linić', 'member of political party', {'concept': 'political organization'}] ['Ranko Ostojić', 'member of political party', {'concept': 'political organization'}] ['Tonino Picula', 'member of political party', {'concept': 'political organization'}] ['Boris Šprem', 'member of political party', {'concept': 'political organization'}] ['Zlatko Komadina', 'member of political party', {'concept': 'political organization'}] ['Branko Grčić', 'member of political party', {'concept': 'political organization'}] ['Ante Kotromanović', 'member of political party', {'concept': 'political organization'}] ['Josip Leko', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?q property:member_of_political_party ?x . VALUES ( ?q ) { ( resource:Branko_Grčić ) ( resource:Rajko_Ostojić ) ( resource:Zlatko_Komadina ) } . ?x rdf:type ontology:political_organization }
[]
political organization
Q830323 Q830323 Q830323
SYSTEM
Social Democratic Party of Croatia
Q830323 Q830323 Q830323 Q830323 Q830323 Q830323 Q830323 Q830323 Q830323 Q830323
(Q13421967,P102,c(Q7210356)) (Q3446032,P102,c(Q7210356)) (Q7539437,P102,c(Q7210356)) (Q2618680,P102,c(Q7210356)) (Q2617559,P102,c(Q7210356)) (Q893812,P102,c(Q7210356)) (Q2619590,P102,c(Q7210356)) (Q165463,P102,c(Q7210356)) (Q571574,P102,c(Q7210356)) (Q1274378,P102,c(Q7210356))
action filter_type
action find
entity prev_answer
relation P102
type Q7210356
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q13421967', 'P102', {'concept': 'Q7210356'}] ['Q3446032', 'P102', {'concept': 'Q7210356'}] ['Q7539437', 'P102', {'concept': 'Q7210356'}] ['Q2618680', 'P102', {'concept': 'Q7210356'}] ['Q2617559', 'P102', {'concept': 'Q7210356'}] ['Q893812', 'P102', {'concept': 'Q7210356'}] ['Q2619590', 'P102', {'concept': 'Q7210356'}] ['Q165463', 'P102', {'concept': 'Q7210356'}] ['Q571574', 'P102', {'concept': 'Q7210356'}] ['Q1274378', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?q property:P102 ?x . VALUES ( ?q ) { ( resource:Q165463 ) ( resource:Q7286273 ) ( resource:Q2619590 ) } . ?x rdf:type ontology:Q7210356 }
Social Democratic Party of Croatia Social Democratic Party of Croatia Social Democratic Party of Croatia Social Democratic Party of Croatia Social Democratic Party of Croatia Social Democratic Party of Croatia Social Democratic Party of Croatia Social Democratic Party of Croatia Social Democratic Party of Croatia Social Democratic Party of Croatia
Those people belong to Social Democratic Party of Croatia, Social Democratic Party of Croatia and Social Democratic Party of Croatia
Social Democratic Party of Croatia Social Democratic Party of Croatia Social Democratic Party of Croatia
action filter_type
action find
entity prev_answer
relation member of political party
type political organization
['Ivo Baldasar', 'member of political party', {'concept': 'political organization'}] ['Željko Jovanović', 'member of political party', {'concept': 'political organization'}] ['Slavko Linić', 'member of political party', {'concept': 'political organization'}] ['Ranko Ostojić', 'member of political party', {'concept': 'political organization'}] ['Tonino Picula', 'member of political party', {'concept': 'political organization'}] ['Boris Šprem', 'member of political party', {'concept': 'political organization'}] ['Zlatko Komadina', 'member of political party', {'concept': 'political organization'}] ['Branko Grčić', 'member of political party', {'concept': 'political organization'}] ['Ante Kotromanović', 'member of political party', {'concept': 'political organization'}] ['Josip Leko', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?q property:member_of_political_party ?x . VALUES ( ?q ) { ( resource:Branko_Grčić ) ( resource:Rajko_Ostojić ) ( resource:Zlatko_Komadina ) } . ?x rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q830323
P488
Q502895
USER
Who was the chairperson of Social Democratic Party of Croatia ?
(Q830323,P488,c(Q502895))
action filter_type
action find
entity Q830323
relation P488
type Q502895
['Q830323', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q830323 property:P488 ?p . ?p rdf:type ontology:Q502895 }
Social Democratic Party of Croatia
action filter_type
action find
entity Social Democratic Party of Croatia
relation chairperson
type common name
['Social Democratic Party of Croatia', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Social_Democratic_Party_of_Croatia property:chairperson ?p . ?p rdf:type ontology:common_name }
[]
common name
Q57687
SYSTEM
Zoran Milanović
Q57687
(Q830323,P488,c(Q502895))
action filter_type
action find
entity Q830323
relation P488
type Q502895
The chairperson of Social Democratic Party of Croatia was elected [ANSWER]
['Q830323', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q830323 property:P488 ?p . ?p rdf:type ontology:Q502895 }
Zoran Milanović
The chairperson of Social Democratic Party of Croatia was elected Zoran Milanović
Zoran Milanović
action filter_type
action find
entity Social Democratic Party of Croatia
relation chairperson
type common name
['Social Democratic Party of Croatia', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Social_Democratic_Party_of_Croatia property:chairperson ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q314690
Q502895
USER
And also tell me about Landtag of Rhineland-Palatinate?
(Q314690,P488,c(Q502895))
action filter_type
action find
entity Q314690
relation P488
type Q502895
['Q314690', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q314690 property:P488 ?k }
Landtag of Rhineland-Palatinate
action filter_type
action find
entity Landtag of Rhineland-Palatinate
relation chairperson
type common name
['Landtag of Rhineland-Palatinate', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Landtag_of_Rhineland-Palatinate property:chairperson ?k }
[]
common name
Q1414823
SYSTEM
Joachim Mertes
Q1414823
(Q314690,P488,c(Q502895))
action filter_type
action find
entity Q314690
relation P488
type Q502895
[ANSWER]
['Q314690', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q314690 property:P488 ?k }
Joachim Mertes
Joachim Mertes
action filter_type
action find
entity Landtag of Rhineland-Palatinate
relation chairperson
type common name
['Landtag of Rhineland-Palatinate', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Landtag_of_Rhineland-Palatinate property:chairperson ?k }
[]