Simple Question (Direct)
Simple Question
Q2699242
P735
Q82799
USER
What is the firstname of Gerd Henniger ?
(Q2699242,P735,c(Q82799))
action filter_type
action find
entity Q2699242
relation P735
type Q82799
['Q2699242', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q2699242 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Gerd Henniger
action filter_type
action find
entity Gerd Henniger
relation given name
type name
['Gerd Henniger', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Gerd_Henniger property:given_name ?d . ?d rdf:type ontology:name }
[]
name
Q19688437
SYSTEM
Gerd
Q19688437
(Q2699242,P735,c(Q82799))
action filter_type
action find
entity Q2699242
relation P735
type Q82799
The firstname of [ANSWER] Henniger is of [ANSWER]
['Q2699242', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q2699242 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Gerd
The firstname of Gerd Henniger is of Gerd
Gerd
action filter_type
action find
entity Gerd Henniger
relation given name
type name
['Gerd Henniger', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Gerd_Henniger property:given_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2699242
P27
Q1048835
USER
Which political territory is the native country of Gerd Henniger ?
(Q2699242,P27,c(Q1048835))
action filter_type
action find
entity Q2699242
relation P27
type Q1048835
['Q2699242', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q2699242 property:P27 ?s }
Gerd Henniger
action filter_type
action find
entity Gerd Henniger
relation country of citizenship
type political territorial entity
['Gerd Henniger', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:Gerd_Henniger property:country_of_citizenship ?s }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2699242,P27,c(Q1048835))
action filter_type
action find
entity Q2699242
relation P27
type Q1048835
The [ANSWER] is the native country of Gerd Henniger
['Q2699242', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q2699242 property:P27 ?s }
Germany
The Germany is the native country of Gerd Henniger
Germany
action filter_type
action find
entity Gerd Henniger
relation country of citizenship
type political territorial entity
['Gerd Henniger', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:Gerd_Henniger property:country_of_citizenship ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2699242
P106
Q12737077
USER
What do Gerd Henniger do for a living ?
(Q2699242,P106,c(Q12737077))
action filter_type
action find
entity Q2699242
relation P106
type Q12737077
['Q2699242', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q2699242 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Gerd Henniger
action filter_type
action find
entity Gerd Henniger
relation occupation
type occupation
['Gerd Henniger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Gerd_Henniger property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q333634 Q36180 Q1792450
SYSTEM
translator, writer, art historian
Q333634 Q36180 Q1792450
(Q2699242,P106,c(Q12737077))
action filter_type
action find
entity Q2699242
relation P106
type Q12737077
[ANSWERS] Gerd Henniger do for a living
['Q2699242', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q2699242 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
translator writer art historian
Translator, writer and art historian Gerd Henniger do for a living
translator writer art historian
action filter_type
action find
entity Gerd Henniger
relation occupation
type occupation
['Gerd Henniger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Gerd_Henniger property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2027901
Q12737077
USER
And how about Sven De Ridder?
(Q2027901,P106,c(Q12737077))
action filter_type
action find
entity Q2027901
relation P106
type Q12737077
['Q2027901', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q2027901 property:P106 ?s }
Sven De Ridder
action filter_type
action find
entity Sven De Ridder
relation occupation
type occupation
['Sven De Ridder', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Sven_De_Ridder property:occupation ?s }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q2027901,P106,c(Q12737077))
action filter_type
action find
entity Q2027901
relation P106
type Q12737077
[ANSWER]
['Q2027901', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q2027901 property:P106 ?s }
actor
actor
action filter_type
action find
entity Sven De Ridder
relation occupation
type occupation
['Sven De Ridder', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Sven_De_Ridder property:occupation ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2027901
P21
Q290
USER
What is the sex of that person ?
(Q33999,P21,c(Q290))
action filter_type
action find
entity Q2027901
relation P21
type Q290
['Q33999', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q2027901 property:P21 ?p . ?p rdf:type ontology:Q290 }
Sven De Ridder
action filter_type
action find
entity Sven De Ridder
relation gender
type sex
['actor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Sven_De_Ridder property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q33999,P21,c(Q290))
action filter_type
action find
entity Q2027901
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q33999', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q2027901 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Sven De Ridder
relation gender
type sex
['actor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Sven_De_Ridder property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2027901
P734
Q82799
USER
Who is associated with that person ?
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q2027901
relation P734
type Q82799
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q82799 . resource:Q2027901 property:P734 ?q }
Sven De Ridder
action filter_type
action find
entity Sven De Ridder
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:name . resource:Sven_De_Ridder property:family_name ?q }
[]
name
Q27253653
SYSTEM
De Ridder
Q27253653
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q2027901
relation P734
type Q82799
[ANSWER] is associated with that person
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q82799 . resource:Q2027901 property:P734 ?q }
De Ridder
De Ridder is associated with that person
De Ridder
action filter_type
action find
entity Sven De Ridder
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:name . resource:Sven_De_Ridder property:family_name ?q }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are around 2 names composed in ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 2
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:P407 ?x . ?x rdf:type ontology:Q34770 . ?q rdf:type ontology:Q82799 } GROUP BY ?x } . FILTER ( ?y = 2 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 2
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:language_of_work_or_name ?x . ?x rdf:type ontology:language . ?q rdf:type ontology:name } GROUP BY ?x } . FILTER ( ?y = 2 ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 2
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:P407 ?x . ?x rdf:type ontology:Q34770 . ?q rdf:type ontology:Q82799 } GROUP BY ?x } . FILTER ( ?y = 2 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Which languages are around 2 names composed in
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 2
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:language_of_work_or_name ?x . ?x rdf:type ontology:language . ?q rdf:type ontology:name } GROUP BY ?x } . FILTER ( ?y = 2 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q447117 Q35499 Q35726
P1412
Q502895
USER
Who talks in Old Egyptian, Old Church Slavonic and Etruscan ?
(c(Q502895),P1412,Q447117) (c(Q502895),P1412,Q35499) (c(Q502895),P1412,Q35726)
action union
action filter_type
action find_reverse
entity Q447117
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35499
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35726
relation P1412
type Q502895
[{'concept': 'Q502895'}, 'P1412', 'Q447117'] [{'concept': 'Q502895'}, 'P1412', 'Q35499'] [{'concept': 'Q502895'}, 'P1412', 'Q35726']
SELECT DISTINCT ?y WHERE { { ?y property:P1412 resource:Q447117 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P1412 resource:Q35499 . ?y rdf:type ontology:Q502895 } }
Old Egyptian Old Church Slavonic Etruscan
action union
action filter_type
action find_reverse
entity Old Egyptian
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Old Church Slavonic
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Etruscan
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan']
SELECT DISTINCT ?y WHERE { { ?y property:languages_spoken,_written_or_signed resource:Old_Egyptian . ?y rdf:type ontology:common_name } UNION { ?y property:languages_spoken,_written_or_signed resource:Old_Church_Slavonic . ?y rdf:type ontology:common_name } }
[]
common name
Q1162154 Q1736643 Q723304
SYSTEM
Daniel Polz, Katja Lembke, Gregory Tsamblak
Q15815525 Q1736643 Q1162154 Q650558 Q723304 Q1146725 Q3420417 Q385810 Q3523507 Q21580476 Q21580468 Q2874426 Q21584309 Q21584304 Q21584282 Q21580487 Q3564047
(c(Q502895),P1412,Q447117) (c(Q502895),P1412,Q35499) (c(Q502895),P1412,Q35726)
action union
action filter_type
action find_reverse
entity Q447117
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35499
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35726
relation P1412
type Q502895
[ANSWERS] talk in Old Egyptian, Old Church Slavonic and Etruscan
[{'concept': 'Q502895'}, 'P1412', 'Q447117'] [{'concept': 'Q502895'}, 'P1412', 'Q35499'] [{'concept': 'Q502895'}, 'P1412', 'Q35726']
SELECT DISTINCT ?y WHERE { { ?y property:P1412 resource:Q447117 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P1412 resource:Q35499 . ?y rdf:type ontology:Q502895 } }
Hi Katja Lembke Daniel Polz John Exarch Gregory Tsamblak Constantine of Preslav Ravnthu Thefrinai Lars Tolumnius Thefarie Velianas Unknown brother of Velthur Spurinna Larth Spurinna Avie Spurinna Laris Partunus Velthur Partunus Lars Pulena Arnth Velcha Velia Spurinna
Daniel Polz, Katja Lembke and Gregory Tsamblak talk in Old Egyptian, Old Church Slavonic and Etruscan
Daniel Polz Katja Lembke Gregory Tsamblak
action union
action filter_type
action find_reverse
entity Old Egyptian
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Old Church Slavonic
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Etruscan
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan']
SELECT DISTINCT ?y WHERE { { ?y property:languages_spoken,_written_or_signed resource:Old_Egyptian . ?y rdf:type ontology:common_name } UNION { ?y property:languages_spoken,_written_or_signed resource:Old_Church_Slavonic . ?y rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1162154 Q1736643 Q723304
P21
Q290
USER
Which sexes do those people belong to ?
(Q1162154,P21,c(Q290)) (Q1736643,P21,c(Q290)) (Q723304,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q1162154', 'P21', {'concept': 'Q290'}] ['Q1736643', 'P21', {'concept': 'Q290'}] ['Q723304', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?q property:P21 ?a . ?a rdf:type ontology:Q290 . VALUES ( ?q ) { ( resource:Q15815525 ) ( resource:Q1736643 ) ( resource:Q1162154 ) } }
Daniel Polz Katja Lembke Gregory Tsamblak
action filter_type
action find
entity prev_answer
relation gender
type sex
['Daniel Polz', 'gender', {'concept': 'sex'}] ['Katja Lembke', 'gender', {'concept': 'sex'}] ['Gregory Tsamblak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?q property:gender ?a . ?a rdf:type ontology:sex . VALUES ( ?q ) { ( resource:Hi ) ( resource:Katja_Lembke ) ( resource:Daniel_Polz ) } }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q1162154,P21,c(Q290)) (Q1736643,P21,c(Q290)) (Q723304,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q1162154', 'P21', {'concept': 'Q290'}] ['Q1736643', 'P21', {'concept': 'Q290'}] ['Q723304', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?q property:P21 ?a . ?a rdf:type ontology:Q290 . VALUES ( ?q ) { ( resource:Q15815525 ) ( resource:Q1736643 ) ( resource:Q1162154 ) } }
male female male
Those people belong to male, female and male
male female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Daniel Polz', 'gender', {'concept': 'sex'}] ['Katja Lembke', 'gender', {'concept': 'sex'}] ['Gregory Tsamblak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?q property:gender ?a . ?a rdf:type ontology:sex . VALUES ( ?q ) { ( resource:Hi ) ( resource:Katja_Lembke ) ( resource:Daniel_Polz ) } }
[]