Simple Question (Direct)
Simple Question
Q1427244
P19
Q56061
USER
Which administrative territory was Johann Christoph Hoffbauer born at ?
(Q1427244,P19,c(Q56061))
action filter_type
action find
entity Q1427244
relation P19
type Q56061
['Q1427244', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1427244 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Johann Christoph Hoffbauer
action filter_type
action find
entity Johann Christoph Hoffbauer
relation place of birth
type administrative territorial entity
['Johann Christoph Hoffbauer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Johann_Christoph_Hoffbauer property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2112
SYSTEM
Bielefeld
Q2112
(Q1427244,P19,c(Q56061))
action filter_type
action find
entity Q1427244
relation P19
type Q56061
Johann Christoph Hoffbauer was born in [ANSWER]
['Q1427244', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1427244 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Bielefeld
Johann Christoph Hoffbauer was born in Bielefeld
Bielefeld
action filter_type
action find
entity Johann Christoph Hoffbauer
relation place of birth
type administrative territorial entity
['Johann Christoph Hoffbauer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Johann_Christoph_Hoffbauer property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1427244
P21
Q290
USER
What is the sex of Johann Christoph Hoffbauer ?
(Q1427244,P21,c(Q290))
action filter_type
action find
entity Q1427244
relation P21
type Q290
['Q1427244', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q1427244 property:P21 ?w }
Johann Christoph Hoffbauer
action filter_type
action find
entity Johann Christoph Hoffbauer
relation gender
type sex
['Johann Christoph Hoffbauer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Johann_Christoph_Hoffbauer property:gender ?w }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1427244,P21,c(Q290))
action filter_type
action find
entity Q1427244
relation P21
type Q290
The sex of Johann Christoph Hoffbauer is the [ANSWER]
['Q1427244', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q1427244 property:P21 ?w }
male
The sex of Johann Christoph Hoffbauer is the male
male
action filter_type
action find
entity Johann Christoph Hoffbauer
relation gender
type sex
['Johann Christoph Hoffbauer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Johann_Christoph_Hoffbauer property:gender ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1427244
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q1427244
relation P27
type Q1048835
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q1427244 property:P27 ?j }
Johann Christoph Hoffbauer
action filter_type
action find
entity Johann Christoph Hoffbauer
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Johann_Christoph_Hoffbauer property:country_of_citizenship ?j }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q1427244
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q1427244 property:P27 ?j }
Germany
Germany is that person a civilian of
Germany
action filter_type
action find
entity Johann Christoph Hoffbauer
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Johann_Christoph_Hoffbauer property:country_of_citizenship ?j }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1427244 Q6749420
P106
Q12737077
USER
How many occupations are the professions of Johann Christoph Hoffbauer or Mani and Hira ?
(Q1427244,P106,c(Q12737077)) (Q6749420,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q1427244
relation P106
type Q12737077
action filter_type
action find
entity Q6749420
relation P106
type Q12737077
['Q1427244', 'P106', {'concept': 'Q12737077'}] ['Q6749420', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { resource:Q1427244 property:P106 ?k . ?k rdf:type ontology:Q12737077 } UNION { resource:Q6749420 property:P106 ?k . ?k rdf:type ontology:Q12737077 } }
Johann Christoph Hoffbauer Mani and Hira
action count
action union
action filter_type
action find
entity Johann Christoph Hoffbauer
relation occupation
type occupation
action filter_type
action find
entity Mani and Hira
relation occupation
type occupation
['Johann Christoph Hoffbauer', 'occupation', {'concept': 'occupation'}] ['Mani and Hira', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { resource:Johann_Christoph_Hoffbauer property:occupation ?k . ?k rdf:type ontology:occupation } UNION { resource:Mani_and_Hira property:occupation ?k . ?k rdf:type ontology:occupation } }
[]
occupation
SYSTEM
2
Q33999 Q1622272
(Q1427244,P106,c(Q12737077)) (Q6749420,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q1427244
relation P106
type Q12737077
action filter_type
action find
entity Q6749420
relation P106
type Q12737077
[ANSWER]
['Q1427244', 'P106', {'concept': 'Q12737077'}] ['Q6749420', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { resource:Q1427244 property:P106 ?k . ?k rdf:type ontology:Q12737077 } UNION { resource:Q6749420 property:P106 ?k . ?k rdf:type ontology:Q12737077 } }
actor university teacher
2
action count
action union
action filter_type
action find
entity Johann Christoph Hoffbauer
relation occupation
type occupation
action filter_type
action find
entity Mani and Hira
relation occupation
type occupation
['Johann Christoph Hoffbauer', 'occupation', {'concept': 'occupation'}] ['Mani and Hira', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { resource:Johann_Christoph_Hoffbauer property:occupation ?k . ?k rdf:type ontology:occupation } UNION { resource:Mani_and_Hira property:occupation ?k . ?k rdf:type ontology:occupation } }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1427244
Q12737077
USER
And which occupation?
(Q1427244,P106,c(Q12737077))
action filter_type
action find
entity Q1427244
relation P106
type Q12737077
['Q1427244', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1427244 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Johann Christoph Hoffbauer
action filter_type
action find
entity Johann Christoph Hoffbauer
relation occupation
type occupation
['Johann Christoph Hoffbauer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Johann_Christoph_Hoffbauer property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
(Q1427244,P106,c(Q12737077))
action filter_type
action find
entity Q1427244
relation P106
type Q12737077
[ANSWER]
['Q1427244', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1427244 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
university teacher
university teacher
action filter_type
action find
entity Johann Christoph Hoffbauer
relation occupation
type occupation
['Johann Christoph Hoffbauer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Johann_Christoph_Hoffbauer property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1622272 Q9697421 Q9438
P417
Q502895
USER
Does that occupation have Carlos de Lima Cavalcanti and Thomas Aquinas as their patron saint ?
(Q1622272,P417,Q9697421) (Q1622272,P417,Q9438)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q9697421
relation P417
action find_reverse
entity Q9438
relation P417
['Q1622272', 'P417', 'Q9697421'] ['Q1622272', 'P417', 'Q9438']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9697421 . resource:Q1622272 property:P417 resource:Q9438 }
university teacher Carlos de Lima Cavalcanti Thomas Aquinas
action is_in
entity university teacher
action intersection
action find_reverse
entity Carlos de Lima Cavalcanti
relation patron saint
action find_reverse
entity Thomas Aquinas
relation patron saint
['university teacher', 'patron saint', 'Carlos de Lima Cavalcanti'] ['university teacher', 'patron saint', 'Thomas Aquinas']
ASK WHERE { resource:university_teacher property:patron_saint resource:Carlos_de_Lima_Cavalcanti . resource:university_teacher property:patron_saint resource:Thomas_Aquinas }
[]
common name
SYSTEM
NO and YES respectively
(Q1622272,P417,Q9697421) (Q1622272,P417,Q9438)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q9697421
relation P417
action find_reverse
entity Q9438
relation P417
[ANSWER]
['Q1622272', 'P417', 'Q9697421'] ['Q1622272', 'P417', 'Q9438']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9697421 . resource:Q1622272 property:P417 resource:Q9438 }
NO and YES respectively
action is_in
entity university teacher
action intersection
action find_reverse
entity Carlos de Lima Cavalcanti
relation patron saint
action find_reverse
entity Thomas Aquinas
relation patron saint
['university teacher', 'patron saint', 'Carlos de Lima Cavalcanti'] ['university teacher', 'patron saint', 'Thomas Aquinas']
ASK WHERE { resource:university_teacher property:patron_saint resource:Carlos_de_Lima_Cavalcanti . resource:university_teacher property:patron_saint resource:Thomas_Aquinas }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q40 Q1917540
P530
Q1048835
USER
Does Germany have ambassadorial relations with Austria and La Riera de Gaià ?
(Q183,P530,Q40) (Q183,P530,Q1917540)
action is_in
entity Q183
action intersection
action find_reverse
entity Q40
relation P530
action find_reverse
entity Q1917540
relation P530
['Q183', 'P530', 'Q40'] ['Q183', 'P530', 'Q1917540']
ASK WHERE { resource:Q183 property:P530 resource:Q1917540 . resource:Q183 property:P530 resource:Q40 }
Germany Austria La Riera de Gaià
action is_in
entity Germany
action intersection
action find_reverse
entity Austria
relation diplomatic relation
action find_reverse
entity La Riera de Gaià
relation diplomatic relation
['Germany', 'diplomatic relation', 'Austria'] ['Germany', 'diplomatic relation', 'La Riera de Gaià']
ASK WHERE { resource:Germany property:diplomatic_relation resource:La_Riera_de_Gaià . resource:Germany property:diplomatic_relation resource:Austria }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q183,P530,Q40) (Q183,P530,Q1917540)
action is_in
entity Q183
action intersection
action find_reverse
entity Q40
relation P530
action find_reverse
entity Q1917540
relation P530
[ANSWER]
['Q183', 'P530', 'Q40'] ['Q183', 'P530', 'Q1917540']
ASK WHERE { resource:Q183 property:P530 resource:Q1917540 . resource:Q183 property:P530 resource:Q40 }
YES and NO respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Austria
relation diplomatic relation
action find_reverse
entity La Riera de Gaià
relation diplomatic relation
['Germany', 'diplomatic relation', 'Austria'] ['Germany', 'diplomatic relation', 'La Riera de Gaià']
ASK WHERE { resource:Germany property:diplomatic_relation resource:La_Riera_de_Gaià . resource:Germany property:diplomatic_relation resource:Austria }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2112 Q2289933 Q935575
P17
Q1048835
USER
Is Bielefeld present in Caracol, Mato Grosso do Sul and La Almunia de Doña Godina ?
(Q2112,P17,Q2289933) (Q2112,P17,Q935575)
action is_in
entity Q2112
action intersection
action find_reverse
entity Q2289933
relation P17
action find_reverse
entity Q935575
relation P17
['Q2112', 'P17', 'Q2289933'] ['Q2112', 'P17', 'Q935575']
ASK WHERE { resource:Q2112 property:P17 resource:Q935575 . resource:Q2112 property:P17 resource:Q2289933 }
Bielefeld Caracol, Mato Grosso do Sul La Almunia de Doña Godina
action is_in
entity Bielefeld
action intersection
action find_reverse
entity Caracol, Mato Grosso do Sul
relation country
action find_reverse
entity La Almunia de Doña Godina
relation country
['Bielefeld', 'country', 'Caracol, Mato Grosso do Sul'] ['Bielefeld', 'country', 'La Almunia de Doña Godina']
ASK WHERE { resource:Bielefeld property:country resource:La_Almunia_de_Doña_Godina . resource:Bielefeld property:country resource:Caracol,_Mato_Grosso_do_Sul }
[]
political territorial entity
SYSTEM
NO
(Q2112,P17,Q2289933) (Q2112,P17,Q935575)
action is_in
entity Q2112
action intersection
action find_reverse
entity Q2289933
relation P17
action find_reverse
entity Q935575
relation P17
[ANSWER]
['Q2112', 'P17', 'Q2289933'] ['Q2112', 'P17', 'Q935575']
ASK WHERE { resource:Q2112 property:P17 resource:Q935575 . resource:Q2112 property:P17 resource:Q2289933 }
No
action is_in
entity Bielefeld
action intersection
action find_reverse
entity Caracol, Mato Grosso do Sul
relation country
action find_reverse
entity La Almunia de Doña Godina
relation country
['Bielefeld', 'country', 'Caracol, Mato Grosso do Sul'] ['Bielefeld', 'country', 'La Almunia de Doña Godina']
ASK WHERE { resource:Bielefeld property:country resource:La_Almunia_de_Doña_Godina . resource:Bielefeld property:country resource:Caracol,_Mato_Grosso_do_Sul }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1329384 Q183
P840 P530
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany and are the narrative locations of Race – The Official WTCC Game ?
AND((Q183,P530,c(Q15617994)), (Q1329384,P840,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q1329384
relation P840
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q1329384', 'P840', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { resource:Q1329384 property:P840 ?n . resource:Q183 property:P530 ?n . ?n rdf:type ontology:Q15617994 }
Race – The Official WTCC Game Germany
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Race – The Official WTCC Game
relation narrative location
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Race – The Official WTCC Game', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Race_–_The_Official_WTCC_Game property:narrative_location ?n . resource:Germany property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q155 Q38 Q96
SYSTEM
France, Brazil, Italy, Mexico
Q142 Q155 Q38 Q96
AND((Q183,P530,c(Q15617994)), (Q1329384,P840,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q1329384
relation P840
type Q15617994
[ANSWERS] have diplomatic relationships with Germany and are the narrative locations of Race – The Official WTCC Game
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q1329384', 'P840', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { resource:Q1329384 property:P840 ?n . resource:Q183 property:P530 ?n . ?n rdf:type ontology:Q15617994 }
France Brazil Italy Mexico
France, Brazil, Italy and Mexico have diplomatic relationships with Germany and are the narrative locations of Race – The Official WTCC Game
France Brazil Italy Mexico
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Race – The Official WTCC Game
relation narrative location
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Race – The Official WTCC Game', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Race_–_The_Official_WTCC_Game property:narrative_location ?n . resource:Germany property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7993400
P840
Q166142
USER
Do Where in the World Is Carmen Sandiego? have their narrative set in those administrative territories ?
(Q7993400,P840,Q142) (Q7993400,P840,Q155) (Q7993400,P840,Q38) (Q7993400,P840,Q96)
action is_in
entity prev_answer
action find
entity Q7993400
relation P840
['Q7993400', 'P840', 'Q142'] ['Q7993400', 'P840', 'Q155'] ['Q7993400', 'P840', 'Q38'] ['Q7993400', 'P840', 'Q96']
ASK WHERE { VALUES ( ?f ) { ( resource:Q142 ) ( resource:Q155 ) ( resource:Q38 ) } . resource:Q7993400 property:P840 ?f }
Where in the World Is Carmen Sandiego?
action is_in
entity prev_answer
action find
entity Where in the World Is Carmen Sandiego?
relation narrative location
['Where in the World Is Carmen Sandiego?', 'narrative location', 'France'] ['Where in the World Is Carmen Sandiego?', 'narrative location', 'Brazil'] ['Where in the World Is Carmen Sandiego?', 'narrative location', 'Italy'] ['Where in the World Is Carmen Sandiego?', 'narrative location', 'Mexico']
ASK WHERE { VALUES ( ?f ) { ( resource:France ) ( resource:Brazil ) ( resource:Italy ) } . resource:Where_in_the_World_Is_Carmen_Sandiego? property:narrative_location ?f }
[]
application
SYSTEM
YES
(Q7993400,P840,Q142) (Q7993400,P840,Q155) (Q7993400,P840,Q38) (Q7993400,P840,Q96)
action is_in
entity prev_answer
action find
entity Q7993400
relation P840
[ANSWER]
['Q7993400', 'P840', 'Q142'] ['Q7993400', 'P840', 'Q155'] ['Q7993400', 'P840', 'Q38'] ['Q7993400', 'P840', 'Q96']
ASK WHERE { VALUES ( ?f ) { ( resource:Q142 ) ( resource:Q155 ) ( resource:Q38 ) } . resource:Q7993400 property:P840 ?f }
Yes
action is_in
entity prev_answer
action find
entity Where in the World Is Carmen Sandiego?
relation narrative location
['Where in the World Is Carmen Sandiego?', 'narrative location', 'France'] ['Where in the World Is Carmen Sandiego?', 'narrative location', 'Brazil'] ['Where in the World Is Carmen Sandiego?', 'narrative location', 'Italy'] ['Where in the World Is Carmen Sandiego?', 'narrative location', 'Mexico']
ASK WHERE { VALUES ( ?f ) { ( resource:France ) ( resource:Brazil ) ( resource:Italy ) } . resource:Where_in_the_World_Is_Carmen_Sandiego? property:narrative_location ?f }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q155 Q958 Q213
P530
Q15617994
USER
Does Brazil have ambassadorial relations with South Sudan and Czech Republic ?
(Q155,P530,Q958) (Q155,P530,Q213)
action is_in
entity Q155
action intersection
action find_reverse
entity Q958
relation P530
action find_reverse
entity Q213
relation P530
['Q155', 'P530', 'Q958'] ['Q155', 'P530', 'Q213']
ASK WHERE { resource:Q155 property:P530 resource:Q958 . resource:Q155 property:P530 resource:Q213 }
Brazil South Sudan Czech Republic
action is_in
entity Brazil
action intersection
action find_reverse
entity South Sudan
relation diplomatic relation
action find_reverse
entity Czech Republic
relation diplomatic relation
['Brazil', 'diplomatic relation', 'South Sudan'] ['Brazil', 'diplomatic relation', 'Czech Republic']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:South_Sudan . resource:Brazil property:diplomatic_relation resource:Czech_Republic }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q958) (Q155,P530,Q213)
action is_in
entity Q155
action intersection
action find_reverse
entity Q958
relation P530
action find_reverse
entity Q213
relation P530
[ANSWER]
['Q155', 'P530', 'Q958'] ['Q155', 'P530', 'Q213']
ASK WHERE { resource:Q155 property:P530 resource:Q958 . resource:Q155 property:P530 resource:Q213 }
Yes
action is_in
entity Brazil
action intersection
action find_reverse
entity South Sudan
relation diplomatic relation
action find_reverse
entity Czech Republic
relation diplomatic relation
['Brazil', 'diplomatic relation', 'South Sudan'] ['Brazil', 'diplomatic relation', 'Czech Republic']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:South_Sudan . resource:Brazil property:diplomatic_relation resource:Czech_Republic }
[]