Simple Question (Direct)
Simple Question
Q1805210
P106
Q12737077
USER
What does Harold Humby do for a living ?
(Q1805210,P106,c(Q12737077))
action filter_type
action find
entity Q1805210
relation P106
type Q12737077
['Q1805210', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1805210 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Harold Humby
action filter_type
action find
entity Harold Humby
relation occupation
type occupation
['Harold Humby', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Harold_Humby property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q17486376
SYSTEM
sport shooter
Q17486376
(Q1805210,P106,c(Q12737077))
action filter_type
action find
entity Q1805210
relation P106
type Q12737077
Harold Humby does a [ANSWER] for a living
['Q1805210', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1805210 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
sport shooter
Harold Humby does a sport shooter for a living
sport shooter
action filter_type
action find
entity Harold Humby
relation occupation
type occupation
['Harold Humby', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Harold_Humby property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17486376
P425
Q349
USER
Who has that one as the associated field of occupation ?
(Q17486376,P425,c(Q349))
action filter_type
action find
entity Q17486376
relation P425
type Q349
['Q17486376', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q17486376 property:P425 ?z . ?z rdf:type ontology:Q349 }
sport shooter
action filter_type
action find
entity sport shooter
relation field of this occupation
type sport
['sport shooter', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:sport_shooter property:field_of_this_occupation ?z . ?z rdf:type ontology:sport }
[]
sport
Q206989
SYSTEM
shooting sport
Q206989
(Q17486376,P425,c(Q349))
action filter_type
action find
entity Q17486376
relation P425
type Q349
Sport [ANSWER] has that one as the associated field of occupation
['Q17486376', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q17486376 property:P425 ?z . ?z rdf:type ontology:Q349 }
shooting sport
Sport shooting sport has that one as the associated field of occupation
shooting sport
action filter_type
action find
entity sport shooter
relation field of this occupation
type sport
['sport shooter', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:sport_shooter property:field_of_this_occupation ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17486376
P641
Q349
USER
What did that occupation participate in ?
(Q206989,P641,c(Q349))
action filter_type
action find
entity Q17486376
relation P641
type Q349
['Q206989', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q17486376 property:P641 ?r . ?r rdf:type ontology:Q349 }
sport shooter
action filter_type
action find
entity sport shooter
relation sport
type sport
['shooting sport', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:sport_shooter property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q206989
SYSTEM
shooting sport
Q206989
(Q206989,P641,c(Q349))
action filter_type
action find
entity Q17486376
relation P641
type Q349
That occupation participated in [ANSWER]
['Q206989', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q17486376 property:P641 ?r . ?r rdf:type ontology:Q349 }
shooting sport
That occupation participated in shooting sport
shooting sport
action filter_type
action find
entity sport shooter
relation sport
type sport
['shooting sport', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:sport_shooter property:sport ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1805210
P27
Q15617994
USER
Which administrative territory is Harold Humby a civilian of ?
(Q1805210,P27,c(Q15617994))
action filter_type
action find
entity Q1805210
relation P27
type Q15617994
['Q1805210', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1805210 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Harold Humby
action filter_type
action find
entity Harold Humby
relation country of citizenship
type designation for an administrative territorial entity
['Harold Humby', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Harold_Humby property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1805210,P27,c(Q15617994))
action filter_type
action find
entity Q1805210
relation P27
type Q15617994
The [ANSWER] is Harold Humby a civilian of
['Q1805210', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1805210 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is Harold Humby a civilian of
United Kingdom
action filter_type
action find
entity Harold Humby
relation country of citizenship
type designation for an administrative territorial entity
['Harold Humby', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Harold_Humby property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1805210
P21
Q290
USER
What is the sex of Harold Humby ?
(Q1805210,P21,c(Q290))
action filter_type
action find
entity Q1805210
relation P21
type Q290
['Q1805210', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1805210 property:P21 ?i . ?i rdf:type ontology:Q290 }
Harold Humby
action filter_type
action find
entity Harold Humby
relation gender
type sex
['Harold Humby', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Harold_Humby property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1805210,P21,c(Q290))
action filter_type
action find
entity Q1805210
relation P21
type Q290
The sex of Harold Humby is the [ANSWER]
['Q1805210', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1805210 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Harold Humby is the male
male
action filter_type
action find
entity Harold Humby
relation gender
type sex
['Harold Humby', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Harold_Humby property:gender ?i . ?i rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q3102513 Q1805210
P21
Q290
USER
And also Georges Cornet d'Elzius de Peissant
AND((Q1805210,P21,c(Q290)), (Q3102513,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1805210
relation P21
action find
entity Q3102513
relation P21
type Q290
{'AND': [['Q1805210', 'P21', {'concept': 'Q290'}], ['Q3102513', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?c WHERE { resource:Q1805210 property:P21 ?c . resource:Q3102513 property:P21 ?c . ?c rdf:type ontology:Q290 }
Georges Cornet d'Elzius de Peissant Harold Humby
action filter_type
action intersection
action find
entity Harold Humby
relation gender
action find
entity Georges Cornet d'Elzius de Peissant
relation gender
type sex
{'AND': [['Harold Humby', 'gender', {'concept': 'sex'}], ["Georges Cornet d'Elzius de Peissant", 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?c WHERE { resource:Harold_Humby property:gender ?c . resource:Georges_Cornet_d'Elzius_de_Peissant property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q1805210,P21,c(Q290)), (Q3102513,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1805210
relation P21
action find
entity Q3102513
relation P21
type Q290
[ANSWER]
{'AND': [['Q1805210', 'P21', {'concept': 'Q290'}], ['Q3102513', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?c WHERE { resource:Q1805210 property:P21 ?c . resource:Q3102513 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Harold Humby
relation gender
action find
entity Georges Cornet d'Elzius de Peissant
relation gender
type sex
{'AND': [['Harold Humby', 'gender', {'concept': 'sex'}], ["Georges Cornet d'Elzius de Peissant", 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?c WHERE { resource:Harold_Humby property:gender ?c . resource:Georges_Cornet_d'Elzius_de_Peissant property:gender ?c . ?c rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P463
Q35749 Q43229
USER
How many parliaments and organizations were United Kingdom a member of ?
(Q145,P463,c(Q35749)) (Q145,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q145
relation P463
type Q35749
action filter_type
action find
entity Q145
relation P463
type Q43229
['Q145', 'P463', {'concept': 'Q35749'}] ['Q145', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { resource:Q145 property:P463 ?i . ?i rdf:type ontology:Q35749 } UNION { resource:Q145 property:P463 ?i . ?i rdf:type ontology:Q43229 } }
United Kingdom
action count
action union
action filter_type
action find
entity United Kingdom
relation member of
type parliament
action filter_type
action find
entity United Kingdom
relation member of
type organization
['United Kingdom', 'member of', {'concept': 'parliament'}] ['United Kingdom', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { resource:United_Kingdom property:member_of ?i . ?i rdf:type ontology:parliament } UNION { resource:United_Kingdom property:member_of ?i . ?i rdf:type ontology:organization } }
[]
parliament organization
SYSTEM
1 parliaments and 9 organizations
Q340195 Q191384 Q899770 Q41550 Q3772571 Q656801 Q151991 Q37470 Q7825 Q827525
(Q145,P463,c(Q35749)) (Q145,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q145
relation P463
type Q35749
action filter_type
action find
entity Q145
relation P463
type Q43229
[ANSWER]
['Q145', 'P463', {'concept': 'Q35749'}] ['Q145', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { resource:Q145 property:P463 ?i . ?i rdf:type ontology:Q35749 } UNION { resource:Q145 property:P463 ?i . ?i rdf:type ontology:Q43229 } }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development Caribbean Development Bank International Finance Corporation European Southern Observatory United Nations Security Council World Trade Organization International Development Association
1 parliaments and 9 organizations
action count
action union
action filter_type
action find
entity United Kingdom
relation member of
type parliament
action filter_type
action find
entity United Kingdom
relation member of
type organization
['United Kingdom', 'member of', {'concept': 'parliament'}] ['United Kingdom', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { resource:United_Kingdom property:member_of ?i . ?i rdf:type ontology:parliament } UNION { resource:United_Kingdom property:member_of ?i . ?i rdf:type ontology:organization } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q82742 Q145
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with United Kingdom and are Romain Grosjean a civilian of ?
AND((Q145,P530,c(Q15617994)), (Q82742,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q82742
relation P27
type Q15617994
{'AND': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q82742', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q145 property:P530 ?b . resource:Q82742 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Romain Grosjean United Kingdom
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity Romain Grosjean
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Romain Grosjean', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:United_Kingdom property:diplomatic_relation ?b . resource:Romain_Grosjean property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q145,P530,c(Q15617994)), (Q82742,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q82742
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with United Kingdom and are Romain Grosjean a civilian of
{'AND': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q82742', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q145 property:P530 ?b . resource:Q82742 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
France
France have diplomatic relationships with United Kingdom and are Romain Grosjean a civilian of
France
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity Romain Grosjean
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Romain Grosjean', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:United_Kingdom property:diplomatic_relation ?b . resource:Romain_Grosjean property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82742
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q142,P19,c(Q56061))
action filter_type
action find
entity Q82742
relation P19
type Q56061
['Q142', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q82742 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Romain Grosjean
action filter_type
action find
entity Romain Grosjean
relation place of birth
type administrative territorial entity
['France', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Romain_Grosjean property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q71
SYSTEM
Geneva
Q71
(Q142,P19,c(Q56061))
action filter_type
action find
entity Q82742
relation P19
type Q56061
That person was born in [ANSWER]
['Q142', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q82742 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Geneva
That person was born in Geneva
Geneva
action filter_type
action find
entity Romain Grosjean
relation place of birth
type administrative territorial entity
['France', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Romain_Grosjean property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19328761 Q82742
P276 P19
Q56061
USER
Which administrative territories are the birthplace of Romain Grosjean or are the locations of Liverpoolweg ?
OR((Q82742,P19,c(Q56061)), (Q19328761,P276,c(Q56061)))
action filter_type
action union
action find
entity Q82742
relation P19
action find
entity Q19328761
relation P276
type Q56061
{'OR': [['Q82742', 'P19', {'concept': 'Q56061'}], ['Q19328761', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q82742 property:P19 ?r } UNION { resource:Q19328761 property:P276 ?r } } . ?r rdf:type ontology:Q56061 }
Liverpoolweg Romain Grosjean
action filter_type
action union
action find
entity Romain Grosjean
relation place of birth
action find
entity Liverpoolweg
relation location
type administrative territorial entity
{'OR': [['Romain Grosjean', 'place of birth', {'concept': 'administrative territorial entity'}], ['Liverpoolweg', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Romain_Grosjean property:place_of_birth ?r } UNION { resource:Liverpoolweg property:location ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q749 Q71
SYSTEM
Groningen, Geneva
Q749 Q71
OR((Q82742,P19,c(Q56061)), (Q19328761,P276,c(Q56061)))
action filter_type
action union
action find
entity Q82742
relation P19
action find
entity Q19328761
relation P276
type Q56061
[ANSWERS] are the birthplace of Romain Grosjean or are the locations of Liverpoolweg
{'OR': [['Q82742', 'P19', {'concept': 'Q56061'}], ['Q19328761', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q82742 property:P19 ?r } UNION { resource:Q19328761 property:P276 ?r } } . ?r rdf:type ontology:Q56061 }
Groningen Geneva
Groningen and Geneva are the birthplace of Romain Grosjean or are the locations of Liverpoolweg
Groningen Geneva
action filter_type
action union
action find
entity Romain Grosjean
relation place of birth
action find
entity Liverpoolweg
relation location
type administrative territorial entity
{'OR': [['Romain Grosjean', 'place of birth', {'concept': 'administrative territorial entity'}], ['Liverpoolweg', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Romain_Grosjean property:place_of_birth ?r } UNION { resource:Liverpoolweg property:location ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q227897
P937
Q502895
USER
Do Johann Bernoulli have those administrative territories as their work location ?
(Q227897,P937,Q749) (Q227897,P937,Q71)
action is_in
entity prev_answer
action find
entity Q227897
relation P937
['Q227897', 'P937', 'Q749'] ['Q227897', 'P937', 'Q71']
ASK WHERE { resource:Q227897 property:P937 ?y . VALUES ( ?y ) { ( resource:Q749 ) ( resource:Q71 ) } }
Johann Bernoulli
action is_in
entity prev_answer
action find
entity Johann Bernoulli
relation work location
['Johann Bernoulli', 'work location', 'Groningen'] ['Johann Bernoulli', 'work location', 'Geneva']
ASK WHERE { resource:Johann_Bernoulli property:work_location ?y . VALUES ( ?y ) { ( resource:Groningen ) ( resource:Geneva ) } }
[]
common name
SYSTEM
YES
(Q227897,P937,Q749) (Q227897,P937,Q71)
action is_in
entity prev_answer
action find
entity Q227897
relation P937
[ANSWER]
['Q227897', 'P937', 'Q749'] ['Q227897', 'P937', 'Q71']
ASK WHERE { resource:Q227897 property:P937 ?y . VALUES ( ?y ) { ( resource:Q749 ) ( resource:Q71 ) } }
Yes
action is_in
entity prev_answer
action find
entity Johann Bernoulli
relation work location
['Johann Bernoulli', 'work location', 'Groningen'] ['Johann Bernoulli', 'work location', 'Geneva']
ASK WHERE { resource:Johann_Bernoulli property:work_location ?y . VALUES ( ?y ) { ( resource:Groningen ) ( resource:Geneva ) } }
[]