Simple Question (Direct)
Simple Question
Q19210967
P22
Q502895
USER
Who was the father of Hermann Genthe ?
(Q19210967,P22,c(Q502895))
action filter_type
action find
entity Q19210967
relation P22
type Q502895
['Q19210967', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q19210967 property:P22 ?d }
Hermann Genthe
action filter_type
action find
entity Hermann Genthe
relation father
type common name
['Hermann Genthe', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Hermann_Genthe property:father ?d }
[]
common name
Q3087772
SYSTEM
Friedrich Wilhelm Genthe
Q3087772
(Q19210967,P22,c(Q502895))
action filter_type
action find
entity Q19210967
relation P22
type Q502895
The father of Hermann Genthe was the [ANSWER]
['Q19210967', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q19210967 property:P22 ?d }
Friedrich Wilhelm Genthe
The father of Hermann Genthe was the Friedrich Wilhelm Genthe
Friedrich Wilhelm Genthe
action filter_type
action find
entity Hermann Genthe
relation father
type common name
['Hermann Genthe', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Hermann_Genthe property:father ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3087772
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q3087772,P19,c(Q56061))
action filter_type
action find
entity Q3087772
relation P19
type Q56061
['Q3087772', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3087772 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Friedrich Wilhelm Genthe
action filter_type
action find
entity Friedrich Wilhelm Genthe
relation place of birth
type administrative territorial entity
['Friedrich Wilhelm Genthe', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Friedrich_Wilhelm_Genthe property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1733
SYSTEM
Magdeburg
Q1733
(Q3087772,P19,c(Q56061))
action filter_type
action find
entity Q3087772
relation P19
type Q56061
That person was born in [ANSWER]
['Q3087772', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3087772 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Magdeburg
That person was born in Magdeburg
Magdeburg
action filter_type
action find
entity Friedrich Wilhelm Genthe
relation place of birth
type administrative territorial entity
['Friedrich Wilhelm Genthe', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Friedrich_Wilhelm_Genthe property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3087772
P21
Q290
USER
Which sex does Friedrich Wilhelm Genthe belong to ?
(Q3087772,P21,c(Q290))
action filter_type
action find
entity Q3087772
relation P21
type Q290
['Q3087772', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q3087772 property:P21 ?n . ?n rdf:type ontology:Q290 }
Friedrich Wilhelm Genthe
action filter_type
action find
entity Friedrich Wilhelm Genthe
relation gender
type sex
['Friedrich Wilhelm Genthe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Friedrich_Wilhelm_Genthe property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3087772,P21,c(Q290))
action filter_type
action find
entity Q3087772
relation P21
type Q290
Friedrich Wilhelm Genthe belongs to [ANSWER]
['Q3087772', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q3087772 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Friedrich Wilhelm Genthe belongs to male
male
action filter_type
action find
entity Friedrich Wilhelm Genthe
relation gender
type sex
['Friedrich Wilhelm Genthe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Friedrich_Wilhelm_Genthe property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1733
P1376
Q1048835
USER
Which political territories have Magdeburg have their center of administration ?
(Q1733,P1376,c(Q1048835))
action filter_type
action find
entity Q1733
relation P1376
type Q1048835
['Q1733', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q1733 property:P1376 ?a . ?a rdf:type ontology:Q1048835 }
Magdeburg
action filter_type
action find
entity Magdeburg
relation capital of
type political territorial entity
['Magdeburg', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Magdeburg property:capital_of ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q450521 Q48083
SYSTEM
Magdeburg Government Region, Magdeburg
Q450521 Q48083
(Q1733,P1376,c(Q1048835))
action filter_type
action find
entity Q1733
relation P1376
type Q1048835
[ANSWERS] have Magdeburg have their center of administration
['Q1733', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q1733 property:P1376 ?a . ?a rdf:type ontology:Q1048835 }
Magdeburg Government Region Magdeburg
Magdeburg Government Region and Magdeburg have Magdeburg have their center of administration
Magdeburg Government Region Magdeburg
action filter_type
action find
entity Magdeburg
relation capital of
type political territorial entity
['Magdeburg', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Magdeburg property:capital_of ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q192681
Q1048835
USER
And how about Virac?
(Q192681,P1376,c(Q1048835))
action filter_type
action find
entity Q192681
relation P1376
type Q1048835
['Q192681', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q192681 property:P1376 ?z . ?z rdf:type ontology:Q1048835 }
Virac
action filter_type
action find
entity Virac
relation capital of
type political territorial entity
['Virac', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Virac property:capital_of ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q13778
SYSTEM
Catanduanes
Q13778
(Q192681,P1376,c(Q1048835))
action filter_type
action find
entity Q192681
relation P1376
type Q1048835
[ANSWER]
['Q192681', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q192681 property:P1376 ?z . ?z rdf:type ontology:Q1048835 }
Catanduanes
Catanduanes
action filter_type
action find
entity Virac
relation capital of
type political territorial entity
['Virac', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Virac property:capital_of ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q13778 Q13767
P47
Q1048835
USER
Does Camarines Sur share border with that one ?
(Q13767,P47,Q13778)
action is_in
entity Q13767
action find
entity Q13778
relation P47
['Q13767', 'P47', 'Q13778']
ASK WHERE { resource:Q13778 property:P47 resource:Q13767 }
Catanduanes Camarines Sur
action is_in
entity Camarines Sur
action find
entity Catanduanes
relation shares border with
['Camarines Sur', 'shares border with', 'Catanduanes']
ASK WHERE { resource:Catanduanes property:shares_border_with resource:Camarines_Sur }
[]
political territorial entity
SYSTEM
YES
(Q13767,P47,Q13778)
action is_in
entity Q13767
action find
entity Q13778
relation P47
[ANSWER]
['Q13767', 'P47', 'Q13778']
ASK WHERE { resource:Q13778 property:P47 resource:Q13767 }
Yes
action is_in
entity Camarines Sur
action find
entity Catanduanes
relation shares border with
['Camarines Sur', 'shares border with', 'Catanduanes']
ASK WHERE { resource:Catanduanes property:shares_border_with resource:Camarines_Sur }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q455004 Q450521
P17
Q1048835
USER
Which political territories are Magdeburg Government Region or Rostock Power Station a part of ?
OR((Q450521,P17,c(Q1048835)), (Q455004,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q450521
relation P17
action find
entity Q455004
relation P17
type Q1048835
{'OR': [['Q450521', 'P17', {'concept': 'Q1048835'}], ['Q455004', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q450521 property:P17 ?f } UNION { resource:Q455004 property:P17 ?f } } . ?f rdf:type ontology:Q1048835 }
Rostock Power Station Magdeburg Government Region
action filter_type
action union
action find
entity Magdeburg Government Region
relation country
action find
entity Rostock Power Station
relation country
type political territorial entity
{'OR': [['Magdeburg Government Region', 'country', {'concept': 'political territorial entity'}], ['Rostock Power Station', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Magdeburg_Government_Region property:country ?f } UNION { resource:Rostock_Power_Station property:country ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q450521,P17,c(Q1048835)), (Q455004,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q450521
relation P17
action find
entity Q455004
relation P17
type Q1048835
[ANSWER] is Magdeburg Government Region or Rostock Power Station a part of
{'OR': [['Q450521', 'P17', {'concept': 'Q1048835'}], ['Q455004', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q450521 property:P17 ?f } UNION { resource:Q455004 property:P17 ?f } } . ?f rdf:type ontology:Q1048835 }
Germany
Germany is Magdeburg Government Region or Rostock Power Station a part of
Germany
action filter_type
action union
action find
entity Magdeburg Government Region
relation country
action find
entity Rostock Power Station
relation country
type political territorial entity
{'OR': [['Magdeburg Government Region', 'country', {'concept': 'political territorial entity'}], ['Rostock Power Station', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Magdeburg_Government_Region property:country ?f } UNION { resource:Rostock_Power_Station property:country ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q343446
P463
Q43229
USER
How many organizations were Germany or İctimai Television a member of ?
(Q183,P463,c(Q43229)) (Q343446,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q183
relation P463
type Q43229
action filter_type
action find
entity Q343446
relation P463
type Q43229
['Q183', 'P463', {'concept': 'Q43229'}] ['Q343446', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?h property:P463 ?i . VALUES ( ?h ) { ( resource:Q343446 ) ( resource:Q183 ) } }
Germany İctimai Television
action count
action union
action filter_type
action find
entity Germany
relation member of
type organization
action filter_type
action find
entity İctimai Television
relation member of
type organization
['Germany', 'member of', {'concept': 'organization'}] ['İctimai Television', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?h property:member_of ?i . VALUES ( ?h ) { ( resource:İctimai_Television ) ( resource:Germany ) } }
[]
organization
SYSTEM
20
Q125761 Q340195 Q191384 Q177773 Q41550 Q3772571 Q166400 Q7825 Q656801 Q151991 Q61923 Q161549 Q189946 Q899770 Q689859 Q386120 Q82151 Q7809 Q699466 Q827525
(Q183,P463,c(Q43229)) (Q343446,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q183
relation P463
type Q43229
action filter_type
action find
entity Q343446
relation P463
type Q43229
[ANSWER]
['Q183', 'P463', {'concept': 'Q43229'}] ['Q343446', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?h property:P463 ?i . VALUES ( ?h ) { ( resource:Q343446 ) ( resource:Q183 ) } }
International Civil Aviation Organization African Development Bank International Bank for Reconstruction and Development World Intellectual Property Organization Organisation for Economic Co-operation and Development Caribbean Development Bank European Broadcasting Union World Trade Organization International Finance Corporation European Southern Observatory World Tourism Organization European Coal and Steel Community Western European Union International Centre for Settlement of Investment Disputes International Fund for Agricultural Development United Nations Industrial Development Organization Food and Agriculture Organization of the United Nations United Nations Educational, Scientific and Cultural Organization International Commission for the Protection of the Danube River International Development Association
20
action count
action union
action filter_type
action find
entity Germany
relation member of
type organization
action filter_type
action find
entity İctimai Television
relation member of
type organization
['Germany', 'member of', {'concept': 'organization'}] ['İctimai Television', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?h property:member_of ?i . VALUES ( ?h ) { ( resource:İctimai_Television ) ( resource:Germany ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3087772
P106
Q12737077
USER
What do Friedrich Wilhelm Genthe do for a living ?
(Q3087772,P106,c(Q12737077))
action filter_type
action find
entity Q3087772
relation P106
type Q12737077
['Q3087772', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q3087772 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Friedrich Wilhelm Genthe
action filter_type
action find
entity Friedrich Wilhelm Genthe
relation occupation
type occupation
['Friedrich Wilhelm Genthe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Friedrich_Wilhelm_Genthe property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q37226 Q16267607
SYSTEM
teacher, classical philologist
Q37226 Q16267607
(Q3087772,P106,c(Q12737077))
action filter_type
action find
entity Q3087772
relation P106
type Q12737077
The [ANSWERS] Friedrich Wilhelm Genthe do for a living
['Q3087772', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q3087772 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
teacher classical philologist
The teacher and classical philologist Friedrich Wilhelm Genthe do for a living
teacher classical philologist
action filter_type
action find
entity Friedrich Wilhelm Genthe
relation occupation
type occupation
['Friedrich Wilhelm Genthe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Friedrich_Wilhelm_Genthe property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16267607
P921
Q1047113
USER
Which special field is that occupation a main subject of ?
(c(Q1047113),P921,Q16267607)
action filter_type
action find_reverse
entity Q16267607
relation P921
type Q1047113
[{'concept': 'Q1047113'}, 'P921', 'Q16267607']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1047113 . ?x property:P921 resource:Q16267607 }
classical philologist
action filter_type
action find_reverse
entity classical philologist
relation main subject
type special field
[{'concept': 'special field'}, 'main subject', 'classical philologist']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:special_field . ?x property:main_subject resource:classical_philologist }
[]
special field
Clarification for simple ques.
Q37226
SYSTEM
Did you mean teacher ?
Q37226 Q16267607
(c(Q1047113),P921,Q37226) (c(Q1047113),P921,Q16267607)
[ANSWER]
[{'concept': 'Q1047113'}, 'P921', 'Q37226'] [{'concept': 'Q1047113'}, 'P921', 'Q16267607']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1047113 . ?x property:P921 resource:Q16267607 }
teacher classical philologist
Did you mean teacher ?
teacher
[{'concept': 'special field'}, 'main subject', 'teacher'] [{'concept': 'special field'}, 'main subject', 'classical philologist']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:special_field . ?x property:main_subject resource:classical_philologist }
[]
Simple Question (Coreferenced)
USER
No, I meant classical philologist. Could you tell me the answer for that?
(c(Q1047113),P921,Q16267607)
Q16267607
[{'concept': 'Q1047113'}, 'P921', 'Q16267607']
[{'concept': 'special field'}, 'main subject', 'classical philologist']
[]
Q1533284
SYSTEM
Gnomon
Q1533284
(c(Q1047113),P921,Q16267607)
action filter_type
action find_reverse
entity Q16267607
relation P921
type Q1047113
[ANSWER] is that occupation a main subject of
[{'concept': 'Q1047113'}, 'P921', 'Q16267607']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1047113 . ?x property:P921 resource:Q16267607 }
Gnomon
Gnomon is that occupation a main subject of
Gnomon
action filter_type
action find_reverse
entity classical philologist
relation main subject
type special field
[{'concept': 'special field'}, 'main subject', 'classical philologist']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:special_field . ?x property:main_subject resource:classical_philologist }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1533284 Q1358716 Q67863
P98
Q502895
USER
Was that special field edited by Ernst Hoffmann and Walther Kranz ?
(Q1533284,P98,Q1358716) (Q1533284,P98,Q67863)
action is_in
entity Q1533284
action intersection
action find_reverse
entity Q1358716
relation P98
action find_reverse
entity Q67863
relation P98
['Q1533284', 'P98', 'Q1358716'] ['Q1533284', 'P98', 'Q67863']
ASK WHERE { resource:Q1533284 property:P98 resource:Q1358716 . resource:Q1533284 property:P98 resource:Q67863 }
Gnomon Ernst Hoffmann Walther Kranz
action is_in
entity Gnomon
action intersection
action find_reverse
entity Ernst Hoffmann
relation editor
action find_reverse
entity Walther Kranz
relation editor
['Gnomon', 'editor', 'Ernst Hoffmann'] ['Gnomon', 'editor', 'Walther Kranz']
ASK WHERE { resource:Gnomon property:editor resource:Ernst_Hoffmann . resource:Gnomon property:editor resource:Walther_Kranz }
[]
common name
SYSTEM
YES
(Q1533284,P98,Q1358716) (Q1533284,P98,Q67863)
action is_in
entity Q1533284
action intersection
action find_reverse
entity Q1358716
relation P98
action find_reverse
entity Q67863
relation P98
[ANSWER]
['Q1533284', 'P98', 'Q1358716'] ['Q1533284', 'P98', 'Q67863']
ASK WHERE { resource:Q1533284 property:P98 resource:Q1358716 . resource:Q1533284 property:P98 resource:Q67863 }
Yes
action is_in
entity Gnomon
action intersection
action find_reverse
entity Ernst Hoffmann
relation editor
action find_reverse
entity Walther Kranz
relation editor
['Gnomon', 'editor', 'Ernst Hoffmann'] ['Gnomon', 'editor', 'Walther Kranz']
ASK WHERE { resource:Gnomon property:editor resource:Ernst_Hoffmann . resource:Gnomon property:editor resource:Walther_Kranz }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1533284
P495
Q7275
USER
Where did that special field originate ?
action filter_type
action find
entity Q1533284
relation P495
type Q7275
SELECT DISTINCT ?b WHERE { resource:Q1533284 property:P495 ?b . ?b rdf:type ontology:Q7275 }
Gnomon
action filter_type
action find
entity Gnomon
relation country of origin
type state
SELECT DISTINCT ?b WHERE { resource:Gnomon property:country_of_origin ?b . ?b rdf:type ontology:state }
[]
state
Q41304
SYSTEM
Weimar Republic
Q41304
action filter_type
action find
entity Q1533284
relation P495
type Q7275
That special field originated from [ANSWER]
SELECT DISTINCT ?b WHERE { resource:Q1533284 property:P495 ?b . ?b rdf:type ontology:Q7275 }
Weimar Republic
That special field originated from Weimar Republic
Weimar Republic
action filter_type
action find
entity Gnomon
relation country of origin
type state
SELECT DISTINCT ?b WHERE { resource:Gnomon property:country_of_origin ?b . ?b rdf:type ontology:state }
[]