Simple Question (Direct)
Simple Question
Q1527091
P27
Q1048835
USER
Which political territory does Hans Reinmar belong to ?
(Q1527091,P27,c(Q1048835))
action filter_type
action find
entity Q1527091
relation P27
type Q1048835
['Q1527091', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q1527091 property:P27 ?b }
Hans Reinmar
action filter_type
action find
entity Hans Reinmar
relation country of citizenship
type political territorial entity
['Hans Reinmar', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Hans_Reinmar property:country_of_citizenship ?b }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1527091,P27,c(Q1048835))
action filter_type
action find
entity Q1527091
relation P27
type Q1048835
Hans Reinmar belongs to [ANSWER]
['Q1527091', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q1527091 property:P27 ?b }
Austria
Hans Reinmar belongs to Austria
Austria
action filter_type
action find
entity Hans Reinmar
relation country of citizenship
type political territorial entity
['Hans Reinmar', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Hans_Reinmar property:country_of_citizenship ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1527091
P106
Q12737077
USER
What do Hans Reinmar do for a living ?
(Q1527091,P106,c(Q12737077))
action filter_type
action find
entity Q1527091
relation P106
type Q12737077
['Q1527091', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1527091 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Hans Reinmar
action filter_type
action find
entity Hans Reinmar
relation occupation
type occupation
['Hans Reinmar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Hans_Reinmar property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q2865819 Q177220
SYSTEM
opera singer, singer
Q2865819 Q177220
(Q1527091,P106,c(Q12737077))
action filter_type
action find
entity Q1527091
relation P106
type Q12737077
Hans Reinmar do for a living [ANSWERS]
['Q1527091', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1527091 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
opera singer singer
Hans Reinmar do for a living opera singer and singer
opera singer singer
action filter_type
action find
entity Hans Reinmar
relation occupation
type occupation
['Hans Reinmar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Hans_Reinmar property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q770305
Q12737077
USER
And what about Jean-Jacques Milteau?
(Q770305,P106,c(Q12737077))
action filter_type
action find
entity Q770305
relation P106
type Q12737077
['Q770305', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q770305 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Jean-Jacques Milteau
action filter_type
action find
entity Jean-Jacques Milteau
relation occupation
type occupation
['Jean-Jacques Milteau', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Jean-Jacques_Milteau property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q15981151 Q2722764 Q753110
SYSTEM
jazz musician, radio personality, songwriter
Q15981151 Q2722764 Q753110
(Q770305,P106,c(Q12737077))
action filter_type
action find
entity Q770305
relation P106
type Q12737077
[ANSWERS]
['Q770305', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q770305 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
jazz musician radio personality songwriter
jazz musician radio personality songwriter
action filter_type
action find
entity Jean-Jacques Milteau
relation occupation
type occupation
['Jean-Jacques Milteau', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Jean-Jacques_Milteau property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15981151 Q121594
P106
Q502895
USER
How many people have career as jazz musician and professor ?
(c(Q502895),P106,Q15981151) (c(Q502895),P106,Q121594)
action count
action intersection
action filter_type
action find_reverse
entity Q15981151
relation P106
type Q502895
action filter_type
action find_reverse
entity Q121594
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q15981151'] [{'concept': 'Q502895'}, 'P106', 'Q121594']
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:P106 resource:Q15981151 . ?r rdf:type ontology:Q502895 . ?r property:P106 resource:Q121594 . ?r rdf:type ontology:Q502895 }
jazz musician professor
action count
action intersection
action filter_type
action find_reverse
entity jazz musician
relation occupation
type common name
action filter_type
action find_reverse
entity professor
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'jazz musician'] [{'concept': 'common name'}, 'occupation', 'professor']
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:occupation resource:jazz_musician . ?r rdf:type ontology:common_name . ?r property:occupation resource:professor . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q24251458 Q1173633 Q126677 Q7964277
(c(Q502895),P106,Q15981151) (c(Q502895),P106,Q121594)
action count
action intersection
action filter_type
action find_reverse
entity Q15981151
relation P106
type Q502895
action filter_type
action find_reverse
entity Q121594
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q15981151'] [{'concept': 'Q502895'}, 'P106', 'Q121594']
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:P106 resource:Q15981151 . ?r rdf:type ontology:Q502895 . ?r property:P106 resource:Q121594 . ?r rdf:type ontology:Q502895 }
Marek Batorski David Baker Mary Lou Williams Walter Beasley
4
action count
action intersection
action filter_type
action find_reverse
entity jazz musician
relation occupation
type common name
action filter_type
action find_reverse
entity professor
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'jazz musician'] [{'concept': 'common name'}, 'occupation', 'professor']
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:occupation resource:jazz_musician . ?r rdf:type ontology:common_name . ?r property:occupation resource:professor . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1527091
P21
Q290
USER
Which sex does Hans Reinmar belong to ?
(Q1527091,P21,c(Q290))
action filter_type
action find
entity Q1527091
relation P21
type Q290
['Q1527091', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1527091 property:P21 ?j . ?j rdf:type ontology:Q290 }
Hans Reinmar
action filter_type
action find
entity Hans Reinmar
relation gender
type sex
['Hans Reinmar', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Hans_Reinmar property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1527091,P21,c(Q290))
action filter_type
action find
entity Q1527091
relation P21
type Q290
Hans Reinmar belongs to [ANSWER]
['Q1527091', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1527091 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Hans Reinmar belongs to male
male
action filter_type
action find
entity Hans Reinmar
relation gender
type sex
['Hans Reinmar', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Hans_Reinmar property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24282689
Q290
USER
And how about Dorotheos of Argos?
(Q24282689,P21,c(Q290))
action filter_type
action find
entity Q24282689
relation P21
type Q290
['Q24282689', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q24282689 property:P21 ?z . ?z rdf:type ontology:Q290 }
Dorotheos of Argos
action filter_type
action find
entity Dorotheos of Argos
relation gender
type sex
['Dorotheos of Argos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Dorotheos_of_Argos property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q24282689,P21,c(Q290))
action filter_type
action find
entity Q24282689
relation P21
type Q290
[ANSWER]
['Q24282689', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q24282689 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Dorotheos of Argos
relation gender
type sex
['Dorotheos of Argos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Dorotheos_of_Argos property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q885622
P102
Q7210356
USER
Which party does Ossian B. Hart belong to ?
(Q885622,P102,c(Q7210356))
action filter_type
action find
entity Q885622
relation P102
type Q7210356
['Q885622', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q885622 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Ossian B. Hart
action filter_type
action find
entity Ossian B. Hart
relation member of political party
type political organization
['Ossian B. Hart', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Ossian_B._Hart property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q885622,P102,c(Q7210356))
action filter_type
action find
entity Q885622
relation P102
type Q7210356
Ossian B . Hart belongs to the [ANSWER]
['Q885622', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q885622 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Republican Party
Ossian B . Hart belongs to the Republican Party
Republican Party
action filter_type
action find
entity Ossian B. Hart
relation member of political party
type political organization
['Ossian B. Hart', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Ossian_B._Hart property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29468 Q6221288
P102
Q502895
USER
Is John Bechtold affiliated to that political organization ?
(Q6221288,P102,Q29468)
action is_in
entity Q29468
action find
entity Q6221288
relation P102
['Q6221288', 'P102', 'Q29468']
ASK WHERE { resource:Q6221288 property:P102 resource:Q29468 }
Republican Party John Bechtold
action is_in
entity Republican Party
action find
entity John Bechtold
relation member of political party
['John Bechtold', 'member of political party', 'Republican Party']
ASK WHERE { resource:John_Bechtold property:member_of_political_party resource:Republican_Party }
[]
common name
SYSTEM
YES
(Q6221288,P102,Q29468)
action is_in
entity Q29468
action find
entity Q6221288
relation P102
[ANSWER]
['Q6221288', 'P102', 'Q29468']
ASK WHERE { resource:Q6221288 property:P102 resource:Q29468 }
Yes
action is_in
entity Republican Party
action find
entity John Bechtold
relation member of political party
['John Bechtold', 'member of political party', 'Republican Party']
ASK WHERE { resource:John_Bechtold property:member_of_political_party resource:Republican_Party }
[]