Simple Question (Direct)
Simple Question
Q1673486
P20
Q515
USER
Where did Isaac Habrecht die ?
(Q1673486,P20,c(Q515))
action filter_type
action find
entity Q1673486
relation P20
type Q515
['Q1673486', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q1673486 property:P20 ?h . ?h rdf:type ontology:Q515 }
Isaac Habrecht
action filter_type
action find
entity Isaac Habrecht
relation place of death
type city
['Isaac Habrecht', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Isaac_Habrecht property:place_of_death ?h . ?h rdf:type ontology:city }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
(Q1673486,P20,c(Q515))
action filter_type
action find
entity Q1673486
relation P20
type Q515
Isaac Habrecht died in [ANSWER]
['Q1673486', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q1673486 property:P20 ?h . ?h rdf:type ontology:Q515 }
Strasbourg
Isaac Habrecht died in Strasbourg
Strasbourg
action filter_type
action find
entity Isaac Habrecht
relation place of death
type city
['Isaac Habrecht', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Isaac_Habrecht property:place_of_death ?h . ?h rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1673486
P361
Q16979650
USER
What is that person a component of ?
(Q6602,P361,c(Q16979650))
action filter_type
action find
entity Q1673486
relation P361
type Q16979650
['Q6602', 'P361', {'concept': 'Q16979650'}]
SELECT DISTINCT ?v WHERE { resource:Q1673486 property:P361 ?v . ?v rdf:type ontology:Q16979650 }
Isaac Habrecht
action filter_type
action find
entity Isaac Habrecht
relation part of
type sibling group
['Strasbourg', 'part of', {'concept': 'sibling group'}]
SELECT DISTINCT ?v WHERE { resource:Isaac_Habrecht property:part_of ?v . ?v rdf:type ontology:sibling_group }
[]
sibling group
Q14375737
SYSTEM
Isaac and Josias Habrecht
Q14375737
(Q6602,P361,c(Q16979650))
action filter_type
action find
entity Q1673486
relation P361
type Q16979650
That person a component of is named [ANSWER]
['Q6602', 'P361', {'concept': 'Q16979650'}]
SELECT DISTINCT ?v WHERE { resource:Q1673486 property:P361 ?v . ?v rdf:type ontology:Q16979650 }
Isaac and Josias Habrecht
That person a component of is named Isaac and Josias Habrecht
Isaac and Josias Habrecht
action filter_type
action find
entity Isaac Habrecht
relation part of
type sibling group
['Strasbourg', 'part of', {'concept': 'sibling group'}]
SELECT DISTINCT ?v WHERE { resource:Isaac_Habrecht property:part_of ?v . ?v rdf:type ontology:sibling_group }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P35
Q502895 Q15617994 Q35798
USER
How many people have the highest formal authority in atleast 23 administrative territories or executive branches ?
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
value 23
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?e ) WHERE { { ?g property:P35 ?n . ?n rdf:type ontology:Q502895 . ?g rdf:type ontology:Q35798 } UNION { ?n rdf:type ontology:Q502895 . ?g rdf:type ontology:Q15617994 . ?g property:P35 ?n } } GROUP BY ?n } . FILTER ( ?e >= 23 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
value 23
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?e ) WHERE { { ?g property:head_of_state ?n . ?n rdf:type ontology:common_name . ?g rdf:type ontology:executive_branch } UNION { ?n rdf:type ontology:common_name . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:head_of_state ?n } } GROUP BY ?n } . FILTER ( ?e >= 23 ) }
[]
common name designation for an administrative territorial entity executive branch
SYSTEM
4
Q153688 Q150642 Q168691 Q9682
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
value 23
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?e ) WHERE { { ?g property:P35 ?n . ?n rdf:type ontology:Q502895 . ?g rdf:type ontology:Q35798 } UNION { ?n rdf:type ontology:Q502895 . ?g rdf:type ontology:Q15617994 . ?g property:P35 ?n } } GROUP BY ?n } . FILTER ( ?e >= 23 ) }
Umberto I of Italy Vittorio Emanuele III Victor Emmanuel II of Savoy Elizabeth II
4
action count
action atleast
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
value 23
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?e ) WHERE { { ?g property:head_of_state ?n . ?n rdf:type ontology:common_name . ?g rdf:type ontology:executive_branch } UNION { ?n rdf:type ontology:common_name . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:head_of_state ?n } } GROUP BY ?n } . FILTER ( ?e >= 23 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1673486
P7
Q502895
USER
Who has Isaac Habrecht as their sibling ?
(Q1673486,P7,c(Q502895))
action filter_type
action find
entity Q1673486
relation P7
type Q502895
['Q1673486', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1673486 property:P7 ?s . ?s rdf:type ontology:Q502895 }
Isaac Habrecht
action filter_type
action find
entity Isaac Habrecht
relation brother
type common name
['Isaac Habrecht', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Isaac_Habrecht property:brother ?s . ?s rdf:type ontology:common_name }
[]
common name
Q119199
SYSTEM
Josias Habrecht
Q119199
(Q1673486,P7,c(Q502895))
action filter_type
action find
entity Q1673486
relation P7
type Q502895
[ANSWER] has Isaac Habrecht as their sibling
['Q1673486', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1673486 property:P7 ?s . ?s rdf:type ontology:Q502895 }
Josias Habrecht
Josias Habrecht has Isaac Habrecht as their sibling
Josias Habrecht
action filter_type
action find
entity Isaac Habrecht
relation brother
type common name
['Isaac Habrecht', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Isaac_Habrecht property:brother ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q119199
P106
Q12737077
USER
What are the job of that person ?
(Q119199,P106,c(Q12737077))
action filter_type
action find
entity Q119199
relation P106
type Q12737077
['Q119199', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q119199 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Josias Habrecht
action filter_type
action find
entity Josias Habrecht
relation occupation
type occupation
['Josias Habrecht', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Josias_Habrecht property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q157798 Q1955150
SYSTEM
watchmaker, musical instrument maker
Q157798 Q1955150
(Q119199,P106,c(Q12737077))
action filter_type
action find
entity Q119199
relation P106
type Q12737077
The job of that person are the [ANSWERS]
['Q119199', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q119199 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
watchmaker musical instrument maker
The job of that person are the watchmaker and musical instrument maker
watchmaker musical instrument maker
action filter_type
action find
entity Josias Habrecht
relation occupation
type occupation
['Josias Habrecht', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Josias_Habrecht property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q89176
P106
Q502895
USER
Do Anton Reinlein have those occupations as his/her means of employment ?
(Q89176,P106,Q157798) (Q89176,P106,Q1955150)
action is_in
entity prev_answer
action find
entity Q89176
relation P106
['Q89176', 'P106', 'Q157798'] ['Q89176', 'P106', 'Q1955150']
ASK WHERE { VALUES ( ?n ) { ( resource:Q157798 ) ( resource:Q1955150 ) } . resource:Q89176 property:P106 ?n }
Anton Reinlein
action is_in
entity prev_answer
action find
entity Anton Reinlein
relation occupation
['Anton Reinlein', 'occupation', 'watchmaker'] ['Anton Reinlein', 'occupation', 'musical instrument maker']
ASK WHERE { VALUES ( ?n ) { ( resource:watchmaker ) ( resource:musical_instrument_maker ) } . resource:Anton_Reinlein property:occupation ?n }
[]
common name
SYSTEM
YES
(Q89176,P106,Q157798) (Q89176,P106,Q1955150)
action is_in
entity prev_answer
action find
entity Q89176
relation P106
[ANSWER]
['Q89176', 'P106', 'Q157798'] ['Q89176', 'P106', 'Q1955150']
ASK WHERE { VALUES ( ?n ) { ( resource:Q157798 ) ( resource:Q1955150 ) } . resource:Q89176 property:P106 ?n }
Yes
action is_in
entity prev_answer
action find
entity Anton Reinlein
relation occupation
['Anton Reinlein', 'occupation', 'watchmaker'] ['Anton Reinlein', 'occupation', 'musical instrument maker']
ASK WHERE { VALUES ( ?n ) { ( resource:watchmaker ) ( resource:musical_instrument_maker ) } . resource:Anton_Reinlein property:occupation ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q89176
P21
Q290
USER
Which sex does that person possess ?
action filter_type
action find
entity Q89176
relation P21
type Q290
SELECT DISTINCT ?e WHERE { resource:Q89176 property:P21 ?e . ?e rdf:type ontology:Q290 }
Anton Reinlein
action filter_type
action find
entity Anton Reinlein
relation gender
type sex
SELECT DISTINCT ?e WHERE { resource:Anton_Reinlein property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q89176
relation P21
type Q290
That person possesses a [ANSWER]
SELECT DISTINCT ?e WHERE { resource:Q89176 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Anton Reinlein
relation gender
type sex
SELECT DISTINCT ?e WHERE { resource:Anton_Reinlein property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1955150
P425
Q9332
USER
Which behavior has musical instrument maker as the associated field of occupation ?
(Q1955150,P425,c(Q9332))
action filter_type
action find
entity Q1955150
relation P425
type Q9332
['Q1955150', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?p WHERE { resource:Q1955150 property:P425 ?p . ?p rdf:type ontology:Q9332 }
musical instrument maker
action filter_type
action find
entity musical instrument maker
relation field of this occupation
type behavior
['musical instrument maker', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?p WHERE { resource:musical_instrument_maker property:field_of_this_occupation ?p . ?p rdf:type ontology:behavior }
[]
behavior
Q16879932
SYSTEM
musical instrument making
Q16879932
(Q1955150,P425,c(Q9332))
action filter_type
action find
entity Q1955150
relation P425
type Q9332
Of [ANSWER] has musical instrument maker as the associated field of occupation
['Q1955150', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?p WHERE { resource:Q1955150 property:P425 ?p . ?p rdf:type ontology:Q9332 }
musical instrument making
Of musical instrument making has musical instrument maker as the associated field of occupation
musical instrument making
action filter_type
action find
entity musical instrument maker
relation field of this occupation
type behavior
['musical instrument maker', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?p WHERE { resource:musical_instrument_maker property:field_of_this_occupation ?p . ?p rdf:type ontology:behavior }
[]