Simple Question (Direct)
Simple Question
Q107774
P21
Q290
USER
Which sex does Reiner Stach possess ?
(Q107774,P21,c(Q290))
action filter_type
action find
entity Q107774
relation P21
type Q290
['Q107774', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q107774 property:P21 ?i . ?i rdf:type ontology:Q290 }
Reiner Stach
action filter_type
action find
entity Reiner Stach
relation gender
type sex
['Reiner Stach', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Reiner_Stach property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q107774,P21,c(Q290))
action filter_type
action find
entity Q107774
relation P21
type Q290
Reiner Stach possesses a [ANSWER]
['Q107774', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q107774 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Reiner Stach possesses a male
male
action filter_type
action find
entity Reiner Stach
relation gender
type sex
['Reiner Stach', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Reiner_Stach property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q107774
P27
Q1048835
USER
Which political territory is Reiner Stach a civilian of ?
(Q107774,P27,c(Q1048835))
action filter_type
action find
entity Q107774
relation P27
type Q1048835
['Q107774', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q107774 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Reiner Stach
action filter_type
action find
entity Reiner Stach
relation country of citizenship
type political territorial entity
['Reiner Stach', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Reiner_Stach property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q107774,P27,c(Q1048835))
action filter_type
action find
entity Q107774
relation P27
type Q1048835
[ANSWER] is Reiner Stach a civilian of
['Q107774', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q107774 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Germany
Germany is Reiner Stach a civilian of
Germany
action filter_type
action find
entity Reiner Stach
relation country of citizenship
type political territorial entity
['Reiner Stach', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Reiner_Stach property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q107774
P19
Q15617994
USER
Where was that person born ?
(Q183,P19,c(Q15617994))
action filter_type
action find
entity Q107774
relation P19
type Q15617994
['Q183', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q107774 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
Reiner Stach
action filter_type
action find
entity Reiner Stach
relation place of birth
type designation for an administrative territorial entity
['Germany', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Reiner_Stach property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q71180
SYSTEM
Rochlitz
Q71180
(Q183,P19,c(Q15617994))
action filter_type
action find
entity Q107774
relation P19
type Q15617994
That person was born in [ANSWER]
['Q183', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q107774 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
Rochlitz
That person was born in Rochlitz
Rochlitz
action filter_type
action find
entity Reiner Stach
relation place of birth
type designation for an administrative territorial entity
['Germany', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Reiner_Stach property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q107774
P106
Q12737077
USER
Which occupations are the professions of Reiner Stach ?
(Q107774,P106,c(Q12737077))
action filter_type
action find
entity Q107774
relation P106
type Q12737077
['Q107774', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q107774 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Reiner Stach
action filter_type
action find
entity Reiner Stach
relation occupation
type occupation
['Reiner Stach', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Reiner_Stach property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q16287483 Q15980158 Q2516852
SYSTEM
opinion journalist, non-fiction writer, literary editor
Q16287483 Q15980158 Q2516852 Q1607826 Q864380
(Q107774,P106,c(Q12737077))
action filter_type
action find
entity Q107774
relation P106
type Q12737077
The professions of Reiner Stach are the [ANSWERS]
['Q107774', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q107774 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
opinion journalist non-fiction writer literary editor editor biographer
The professions of Reiner Stach are the opinion journalist, non-fiction writer and literary editor
opinion journalist non-fiction writer literary editor
action filter_type
action find
entity Reiner Stach
relation occupation
type occupation
['Reiner Stach', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Reiner_Stach property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2516852
P452
Q17502905
USER
What is the industry that occupation belongs to ?
(Q2516852,P452,c(Q17502905))
action filter_type
action find
entity Q2516852
relation P452
type Q17502905
['Q2516852', 'P452', {'concept': 'Q17502905'}]
SELECT DISTINCT ?l WHERE { resource:Q2516852 property:P452 ?l . ?l rdf:type ontology:Q17502905 }
literary editor
action filter_type
action find
entity literary editor
relation industry
type the media
['literary editor', 'industry', {'concept': 'the media'}]
SELECT DISTINCT ?l WHERE { resource:literary_editor property:industry ?l . ?l rdf:type ontology:the_media }
[]
the media
Clarification for simple ques.
Q2516852
SYSTEM
Did you mean literary editor ?
Q16287483 Q15980158 Q2516852
(Q16287483,P452,c(Q17502905)) (Q15980158,P452,c(Q17502905)) (Q2516852,P452,c(Q17502905))
[ANSWER]
['Q16287483', 'P452', {'concept': 'Q17502905'}] ['Q15980158', 'P452', {'concept': 'Q17502905'}] ['Q2516852', 'P452', {'concept': 'Q17502905'}]
SELECT DISTINCT ?l WHERE { resource:Q2516852 property:P452 ?l . ?l rdf:type ontology:Q17502905 }
opinion journalist non-fiction writer literary editor
Did you mean literary editor ?
literary editor
['opinion journalist', 'industry', {'concept': 'the media'}] ['non-fiction writer', 'industry', {'concept': 'the media'}] ['literary editor', 'industry', {'concept': 'the media'}]
SELECT DISTINCT ?l WHERE { resource:literary_editor property:industry ?l . ?l rdf:type ontology:the_media }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2516852,P452,c(Q17502905))
['Q2516852', 'P452', {'concept': 'Q17502905'}]
['literary editor', 'industry', {'concept': 'the media'}]
[]
Q2085381
SYSTEM
publisher
Q2085381
(Q2516852,P452,c(Q17502905))
action filter_type
action find
entity Q2516852
relation P452
type Q17502905
The industry that occupation belongs to is the [ANSWER]
['Q2516852', 'P452', {'concept': 'Q17502905'}]
SELECT DISTINCT ?l WHERE { resource:Q2516852 property:P452 ?l . ?l rdf:type ontology:Q17502905 }
publisher
The industry that occupation belongs to is the publisher
publisher
action filter_type
action find
entity literary editor
relation industry
type the media
['literary editor', 'industry', {'concept': 'the media'}]
SELECT DISTINCT ?l WHERE { resource:literary_editor property:industry ?l . ?l rdf:type ontology:the_media }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2085381
P101
Q502895
USER
Which person works in the domain of that the media ?
(c(Q502895),P101,Q2085381)
action filter_type
action find_reverse
entity Q2085381
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q2085381']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P101 resource:Q2085381 }
publisher
action filter_type
action find_reverse
entity publisher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'publisher']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:field_of_work resource:publisher }
[]
common name
Q77628
SYSTEM
Augustus Meineke
Q77628
(c(Q502895),P101,Q2085381)
action filter_type
action find_reverse
entity Q2085381
relation P101
type Q502895
Is [ANSWER] works in the domain of that the media
[{'concept': 'Q502895'}, 'P101', 'Q2085381']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P101 resource:Q2085381 }
Augustus Meineke
Is Augustus Meineke works in the domain of that the media
Augustus Meineke
action filter_type
action find_reverse
entity publisher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'publisher']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:field_of_work resource:publisher }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q15617994 Q1048835
USER
Which political territories have diplomatic relationships with approximately 6 administrative territories or political territories ?
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?g ) WHERE { { ?v property:P530 ?t . ?t rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } UNION { ?v property:P530 ?t . ?t rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?t } . FILTER ( ?g = 6 ) }
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?g ) WHERE { { ?v property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?t } . FILTER ( ?g = 6 ) }
[]
political territorial entity designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[ANSWERS] have diplomatic relationships with approximately 6 administrative territories or political territories
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?g ) WHERE { { ?v property:P530 ?t . ?t rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } UNION { ?v property:P530 ?t . ?t rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?t } . FILTER ( ?g = 6 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relationships with approximately 6 administrative territories or political territories
Denmark Canada Austria
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?g ) WHERE { { ?v property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?t } . FILTER ( ?g = 6 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7082867 Q77628
P20
Q56061
USER
Which administrative territories did the demise of Augustus Meineke or Ola L. Mize occur ?
OR((Q77628,P20,c(Q56061)), (Q7082867,P20,c(Q56061)))
action filter_type
action union
action find
entity Q77628
relation P20
action find
entity Q7082867
relation P20
type Q56061
{'OR': [['Q77628', 'P20', {'concept': 'Q56061'}], ['Q7082867', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q7082867 property:P20 ?k } UNION { resource:Q77628 property:P20 ?k } } . ?k rdf:type ontology:Q56061 }
Ola L. Mize Augustus Meineke
action filter_type
action union
action find
entity Augustus Meineke
relation place of death
action find
entity Ola L. Mize
relation place of death
type administrative territorial entity
{'OR': [['Augustus Meineke', 'place of death', {'concept': 'administrative territorial entity'}], ['Ola L. Mize', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Ola_L._Mize property:place_of_death ?k } UNION { resource:Augustus_Meineke property:place_of_death ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q79389
SYSTEM
Berlin, Gadsden
Q64 Q79389
OR((Q77628,P20,c(Q56061)), (Q7082867,P20,c(Q56061)))
action filter_type
action union
action find
entity Q77628
relation P20
action find
entity Q7082867
relation P20
type Q56061
The demise of Augustus Meineke or Ola L. Mize occurred in [ANSWERS]
{'OR': [['Q77628', 'P20', {'concept': 'Q56061'}], ['Q7082867', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q7082867 property:P20 ?k } UNION { resource:Q77628 property:P20 ?k } } . ?k rdf:type ontology:Q56061 }
Berlin Gadsden
The demise of Augustus Meineke or Ola L. Mize occurred in Berlin and Gadsden
Berlin Gadsden
action filter_type
action union
action find
entity Augustus Meineke
relation place of death
action find
entity Ola L. Mize
relation place of death
type administrative territorial entity
{'OR': [['Augustus Meineke', 'place of death', {'concept': 'administrative territorial entity'}], ['Ola L. Mize', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Ola_L._Mize property:place_of_death ?k } UNION { resource:Augustus_Meineke property:place_of_death ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q64 Q79389
P17
Q15617994
USER
Which administrative territories are Berlin and Gadsden present in ?
(Q64,P17,c(Q15617994)) (Q79389,P17,c(Q15617994))
action union
action filter_type
action find
entity Q64
relation P17
type Q15617994
action filter_type
action find
entity Q79389
relation P17
type Q15617994
['Q64', 'P17', {'concept': 'Q15617994'}] ['Q79389', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { resource:Q64 property:P17 ?m . ?m rdf:type ontology:Q15617994 } UNION { ?m rdf:type ontology:Q15617994 . resource:Q79389 property:P17 ?m } }
Berlin Gadsden
action union
action filter_type
action find
entity Berlin
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Gadsden
relation country
type designation for an administrative territorial entity
['Berlin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gadsden', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { resource:Berlin property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gadsden property:country ?m } }
[]
designation for an administrative territorial entity
Q148499 Q30
SYSTEM
Margraviate of Brandenburg, United States of America
Q148499 Q30
(Q64,P17,c(Q15617994)) (Q79389,P17,c(Q15617994))
action union
action filter_type
action find
entity Q64
relation P17
type Q15617994
action filter_type
action find
entity Q79389
relation P17
type Q15617994
[ANSWERS]
['Q64', 'P17', {'concept': 'Q15617994'}] ['Q79389', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { resource:Q64 property:P17 ?m . ?m rdf:type ontology:Q15617994 } UNION { ?m rdf:type ontology:Q15617994 . resource:Q79389 property:P17 ?m } }
Margraviate of Brandenburg United States of America
Which administrative territories are Berlin and Gadsden present in
Margraviate of Brandenburg United States of America
action union
action filter_type
action find
entity Berlin
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Gadsden
relation country
type designation for an administrative territorial entity
['Berlin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gadsden', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { resource:Berlin property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gadsden property:country ?m } }
[]