Simple Question (Direct)
Simple Question
Q110914
P937
Q56061
USER
What is the work location of August Berlin ?
(Q110914,P937,c(Q56061))
action filter_type
action find
entity Q110914
relation P937
type Q56061
['Q110914', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q110914 property:P937 ?c }
August Berlin
action filter_type
action find
entity August Berlin
relation work location
type administrative territorial entity
['August Berlin', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:August_Berlin property:work_location ?c }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
(Q110914,P937,c(Q56061))
action filter_type
action find
entity Q110914
relation P937
type Q56061
The work location of August Berlin is in [ANSWER]
['Q110914', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q110914 property:P937 ?c }
Bonn
The work location of August Berlin is in Bonn
Bonn
action filter_type
action find
entity August Berlin
relation work location
type administrative territorial entity
['August Berlin', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:August_Berlin property:work_location ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q586
P706
Q163740
USER
What is located in that administrative territory ?
(c(Q163740),P706,Q586)
action filter_type
action find_reverse
entity Q586
relation P706
type Q163740
[{'concept': 'Q163740'}, 'P706', 'Q586']
SELECT DISTINCT ?y WHERE { ?y property:P706 resource:Q586 . ?y rdf:type ontology:Q163740 }
Bonn
action filter_type
action find_reverse
entity Bonn
relation located on terrain feature
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'located on terrain feature', 'Bonn']
SELECT DISTINCT ?y WHERE { ?y property:located_on_terrain_feature resource:Bonn . ?y rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q896332
SYSTEM
Corps Borussia Bonn
Q896332
(c(Q163740),P706,Q586)
action filter_type
action find_reverse
entity Q586
relation P706
type Q163740
[ANSWER] is located in that administrative territory
[{'concept': 'Q163740'}, 'P706', 'Q586']
SELECT DISTINCT ?y WHERE { ?y property:P706 resource:Q586 . ?y rdf:type ontology:Q163740 }
Corps Borussia Bonn
Corps Borussia Bonn is located in that administrative territory
Corps Borussia Bonn
action filter_type
action find_reverse
entity Bonn
relation located on terrain feature
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'located on terrain feature', 'Bonn']
SELECT DISTINCT ?y WHERE { ?y property:located_on_terrain_feature resource:Bonn . ?y rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q896332
P463
Q874405
USER
Which social group had that nonprofit organization as its member ?
(Q896332,P463,c(Q874405))
action filter_type
action find
entity Q896332
relation P463
type Q874405
['Q896332', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q874405 . resource:Q896332 property:P463 ?b }
Corps Borussia Bonn
action filter_type
action find
entity Corps Borussia Bonn
relation member of
type social group
['Corps Borussia Bonn', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:social_group . resource:Corps_Borussia_Bonn property:member_of ?b }
[]
social group
Q316988
SYSTEM
Kösener Senioren-Convents-Verband
Q316988
(Q896332,P463,c(Q874405))
action filter_type
action find
entity Q896332
relation P463
type Q874405
[ANSWER] had that nonprofit organization as its member
['Q896332', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q874405 . resource:Q896332 property:P463 ?b }
Kösener Senioren-Convents-Verband
Kösener Senioren-Convents-Verband had that nonprofit organization as its member
Kösener Senioren-Convents-Verband
action filter_type
action find
entity Corps Borussia Bonn
relation member of
type social group
['Corps Borussia Bonn', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:social_group . resource:Corps_Borussia_Bonn property:member_of ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q43229 Q874405
USER
How many organizations and social groups are a member of that social group ?
(c(Q43229),P463,Q316988) (c(Q874405),P463,Q316988) (c(Q43229),P463,Q316988) (c(Q874405),P463,Q316988)
action count
action union
action filter_type
action find_reverse
entity Q316988
relation P463
type Q43229
action filter_type
action find_reverse
entity Q316988
relation P463
type Q874405
[{'concept': 'Q43229'}, 'P463', 'Q316988'] [{'concept': 'Q874405'}, 'P463', 'Q316988'] [{'concept': 'Q43229'}, 'P463', 'Q316988'] [{'concept': 'Q874405'}, 'P463', 'Q316988']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ?b . VALUES ( ?b ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } }
action count
action union
action filter_type
action find_reverse
entity Kösener Senioren-Convents-Verband
relation member of
type organization
action filter_type
action find_reverse
entity Kösener Senioren-Convents-Verband
relation member of
type social group
[{'concept': 'organization'}, 'member of', 'Kösener Senioren-Convents-Verband'] [{'concept': 'social group'}, 'member of', 'Kösener Senioren-Convents-Verband'] [{'concept': 'organization'}, 'member of', 'Kösener Senioren-Convents-Verband'] [{'concept': 'social group'}, 'member of', 'Kösener Senioren-Convents-Verband']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ?b . VALUES ( ?b ) { ( ontology:organization ) ( ontology:social_group ) } }
[]
organization social group
SYSTEM
1 organizations and 2 social groups
Q1135012 Q1134964 Q1135028
(c(Q43229),P463,Q316988) (c(Q874405),P463,Q316988) (c(Q43229),P463,Q316988) (c(Q874405),P463,Q316988)
action count
action union
action filter_type
action find_reverse
entity Q316988
relation P463
type Q43229
action filter_type
action find_reverse
entity Q316988
relation P463
type Q874405
[ANSWER]
[{'concept': 'Q43229'}, 'P463', 'Q316988'] [{'concept': 'Q874405'}, 'P463', 'Q316988'] [{'concept': 'Q43229'}, 'P463', 'Q316988'] [{'concept': 'Q874405'}, 'P463', 'Q316988']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ?b . VALUES ( ?b ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } }
Corps Rhenania Tübingen Corps Nassovia Würzburg Corps Saxo-Borussia Heidelberg
1 organizations and 2 social groups
action count
action union
action filter_type
action find_reverse
entity Kösener Senioren-Convents-Verband
relation member of
type organization
action filter_type
action find_reverse
entity Kösener Senioren-Convents-Verband
relation member of
type social group
[{'concept': 'organization'}, 'member of', 'Kösener Senioren-Convents-Verband'] [{'concept': 'social group'}, 'member of', 'Kösener Senioren-Convents-Verband'] [{'concept': 'organization'}, 'member of', 'Kösener Senioren-Convents-Verband'] [{'concept': 'social group'}, 'member of', 'Kösener Senioren-Convents-Verband']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ?b . VALUES ( ?b ) { ( ontology:organization ) ( ontology:social_group ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q586
P36
Q7275
USER
Which state has Bonn as its administrative centre ?
(c(Q7275),P36,Q586)
action filter_type
action find_reverse
entity Q586
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q586']
SELECT DISTINCT ?m WHERE { ?m property:P36 resource:Q586 . ?m rdf:type ontology:Q7275 }
Bonn
action filter_type
action find_reverse
entity Bonn
relation capital
type state
[{'concept': 'state'}, 'capital', 'Bonn']
SELECT DISTINCT ?m WHERE { ?m property:capital resource:Bonn . ?m rdf:type ontology:state }
[]
state
Q713750
SYSTEM
West Germany
Q713750
(c(Q7275),P36,Q586)
action filter_type
action find_reverse
entity Q586
relation P36
type Q7275
[ANSWER] has Bonn as its administrative centre
[{'concept': 'Q7275'}, 'P36', 'Q586']
SELECT DISTINCT ?m WHERE { ?m property:P36 resource:Q586 . ?m rdf:type ontology:Q7275 }
West Germany
West Germany has Bonn as its administrative centre
West Germany
action filter_type
action find_reverse
entity Bonn
relation capital
type state
[{'concept': 'state'}, 'capital', 'Bonn']
SELECT DISTINCT ?m WHERE { ?m property:capital resource:Bonn . ?m rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q713750
P1376
Q56061
USER
Which administrative territory is the county seat for that state ?
(c(Q56061),P1376,Q713750)
action filter_type
action find_reverse
entity Q713750
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q713750']
SELECT DISTINCT ?j WHERE { ?j property:P1376 resource:Q713750 . ?j rdf:type ontology:Q56061 }
West Germany
action filter_type
action find_reverse
entity West Germany
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'West Germany']
SELECT DISTINCT ?j WHERE { ?j property:capital_of resource:West_Germany . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
(c(Q56061),P1376,Q713750)
action filter_type
action find_reverse
entity Q713750
relation P1376
type Q56061
The [ANSWER] is the county seat for that state
[{'concept': 'Q56061'}, 'P1376', 'Q713750']
SELECT DISTINCT ?j WHERE { ?j property:P1376 resource:Q713750 . ?j rdf:type ontology:Q56061 }
Bonn
The Bonn is the county seat for that state
Bonn
action filter_type
action find_reverse
entity West Germany
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'West Germany']
SELECT DISTINCT ?j WHERE { ?j property:capital_of resource:West_Germany . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q110914
P19
Q486972
USER
Which human settlement was August Berlin born at ?
(Q110914,P19,c(Q486972))
action filter_type
action find
entity Q110914
relation P19
type Q486972
['Q110914', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?m WHERE { resource:Q110914 property:P19 ?m . ?m rdf:type ontology:Q486972 }
August Berlin
action filter_type
action find
entity August Berlin
relation place of birth
type human settlement
['August Berlin', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?m WHERE { resource:August_Berlin property:place_of_birth ?m . ?m rdf:type ontology:human_settlement }
[]
human settlement
Q897472
SYSTEM
Brake
Q897472
(Q110914,P19,c(Q486972))
action filter_type
action find
entity Q110914
relation P19
type Q486972
August Berlin was born in [ANSWER]
['Q110914', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?m WHERE { resource:Q110914 property:P19 ?m . ?m rdf:type ontology:Q486972 }
Brake
August Berlin was born in Brake
Brake
action filter_type
action find
entity August Berlin
relation place of birth
type human settlement
['August Berlin', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?m WHERE { resource:August_Berlin property:place_of_birth ?m . ?m rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q713750
P530
Q7275
USER
Who holds diplomatic relationship with West Germany ?
(Q713750,P530,c(Q7275))
action filter_type
action find
entity Q713750
relation P530
type Q7275
['Q713750', 'P530', {'concept': 'Q7275'}]
SELECT DISTINCT ?m WHERE { resource:Q713750 property:P530 ?m . ?m rdf:type ontology:Q7275 }
West Germany
action filter_type
action find
entity West Germany
relation diplomatic relation
type state
['West Germany', 'diplomatic relation', {'concept': 'state'}]
SELECT DISTINCT ?m WHERE { resource:West_Germany property:diplomatic_relation ?m . ?m rdf:type ontology:state }
[]
state
Q16957
SYSTEM
East Germany
Q16957
(Q713750,P530,c(Q7275))
action filter_type
action find
entity Q713750
relation P530
type Q7275
And [ANSWER] holds diplomatic relationship with West Germany
['Q713750', 'P530', {'concept': 'Q7275'}]
SELECT DISTINCT ?m WHERE { resource:Q713750 property:P530 ?m . ?m rdf:type ontology:Q7275 }
East Germany
And East Germany holds diplomatic relationship with West Germany
East Germany
action filter_type
action find
entity West Germany
relation diplomatic relation
type state
['West Germany', 'diplomatic relation', {'concept': 'state'}]
SELECT DISTINCT ?m WHERE { resource:West_Germany property:diplomatic_relation ?m . ?m rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q842199
Q7275
USER
And also tell me about Belarusian People's Republic?
(Q842199,P530,c(Q7275))
action filter_type
action find
entity Q842199
relation P530
type Q7275
['Q842199', 'P530', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q842199 property:P530 ?n . ?n rdf:type ontology:Q7275 }
Belarusian People's Republic
action filter_type
action find
entity Belarusian People's Republic
relation diplomatic relation
type state
["Belarusian People's Republic", 'diplomatic relation', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:Belarusian_People's_Republic property:diplomatic_relation ?n . ?n rdf:type ontology:state }
[]
state
Q33946 Q243610
SYSTEM
Czechoslovakia, Ukrainian People's Republic
Q33946 Q243610
(Q842199,P530,c(Q7275))
action filter_type
action find
entity Q842199
relation P530
type Q7275
[ANSWERS]
['Q842199', 'P530', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q842199 property:P530 ?n . ?n rdf:type ontology:Q7275 }
Czechoslovakia Ukrainian People's Republic
Czechoslovakia Ukrainian People's Republic
action filter_type
action find
entity Belarusian People's Republic
relation diplomatic relation
type state
["Belarusian People's Republic", 'diplomatic relation', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:Belarusian_People's_Republic property:diplomatic_relation ?n . ?n rdf:type ontology:state }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P17
Q13220204 Q1307214
USER
How many administrative country subdivisions and forms of government are situated in that state ?
(c(Q13220204),P17,Q243610) (c(Q1307214),P17,Q243610) (c(Q13220204),P17,Q33946) (c(Q1307214),P17,Q33946) (c(Q13220204),P17,Q243610) (c(Q1307214),P17,Q243610)
[{'concept': 'Q13220204'}, 'P17', 'Q243610'] [{'concept': 'Q1307214'}, 'P17', 'Q243610'] [{'concept': 'Q13220204'}, 'P17', 'Q33946'] [{'concept': 'Q1307214'}, 'P17', 'Q33946'] [{'concept': 'Q13220204'}, 'P17', 'Q243610'] [{'concept': 'Q1307214'}, 'P17', 'Q243610']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q6256 resource:Q243610 } UNION { ?y property:Q6256 resource:Q243610 } UNION { ?z property:Q6256 resource:Q5201861 } UNION { ?y property:Q6256 resource:Q5201861 } UNION { ?z property:Q6256 resource:Q243610 } UNION { ?y property:Q6256 resource:Q243610 } } . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q1307214 }
[{'concept': 'second-level administrative country subdivision'}, 'country', "Ukrainian People's Republic"] [{'concept': 'form of government'}, 'country', "Ukrainian People's Republic"] [{'concept': 'second-level administrative country subdivision'}, 'country', 'Czechoslovakia'] [{'concept': 'form of government'}, 'country', 'Czechoslovakia'] [{'concept': 'second-level administrative country subdivision'}, 'country', "Ukrainian People's Republic"] [{'concept': 'form of government'}, 'country', "Ukrainian People's Republic"]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:country resource:Ukrainian_People's_Republic } UNION { ?y property:country resource:Ukrainian_People's_Republic } UNION { ?z property:country resource:Czechoslovakia } UNION { ?y property:country resource:Czechoslovakia } UNION { ?z property:country resource:Ukrainian_People's_Republic } UNION { ?y property:country resource:Ukrainian_People's_Republic } } . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:form_of_government }
[]
second-level administrative country subdivision form of government
Quantitative|Count|Mult. entity type|Clarification
Q243610
SYSTEM
Did you mean Ukrainian People's Republic ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q6256 resource:Q243610 } UNION { ?y property:Q6256 resource:Q243610 } UNION { ?z property:Q6256 resource:Q5201861 } UNION { ?y property:Q6256 resource:Q5201861 } UNION { ?z property:Q6256 resource:Q243610 } UNION { ?y property:Q6256 resource:Q243610 } } . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q1307214 }
Did you mean Ukrainian People's Republic ?
Ukrainian People's Republic
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:country resource:Ukrainian_People's_Republic } UNION { ?y property:country resource:Ukrainian_People's_Republic } UNION { ?z property:country resource:Czechoslovakia } UNION { ?y property:country resource:Czechoslovakia } UNION { ?z property:country resource:Ukrainian_People's_Republic } UNION { ?y property:country resource:Ukrainian_People's_Republic } } . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:form_of_government }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q13220204),P17,Q243610) (c(Q1307214),P17,Q243610) (c(Q13220204),P17,Q33946) (c(Q1307214),P17,Q33946) (c(Q13220204),P17,Q243610) (c(Q1307214),P17,Q243610)
[{'concept': 'Q13220204'}, 'P17', 'Q243610'] [{'concept': 'Q1307214'}, 'P17', 'Q243610'] [{'concept': 'Q13220204'}, 'P17', 'Q33946'] [{'concept': 'Q1307214'}, 'P17', 'Q33946'] [{'concept': 'Q13220204'}, 'P17', 'Q243610'] [{'concept': 'Q1307214'}, 'P17', 'Q243610']
[{'concept': 'second-level administrative country subdivision'}, 'country', "Ukrainian People's Republic"] [{'concept': 'form of government'}, 'country', "Ukrainian People's Republic"] [{'concept': 'second-level administrative country subdivision'}, 'country', 'Czechoslovakia'] [{'concept': 'form of government'}, 'country', 'Czechoslovakia'] [{'concept': 'second-level administrative country subdivision'}, 'country', "Ukrainian People's Republic"] [{'concept': 'form of government'}, 'country', "Ukrainian People's Republic"]
[]
SYSTEM
2 administrative country subdivisions and 1 forms of government
Q849116 Q156732 Q2599614
(c(Q13220204),P17,Q243610) (c(Q1307214),P17,Q243610) (c(Q13220204),P17,Q33946) (c(Q1307214),P17,Q33946) (c(Q13220204),P17,Q243610) (c(Q1307214),P17,Q243610)
[ANSWER]
[{'concept': 'Q13220204'}, 'P17', 'Q243610'] [{'concept': 'Q1307214'}, 'P17', 'Q243610'] [{'concept': 'Q13220204'}, 'P17', 'Q33946'] [{'concept': 'Q1307214'}, 'P17', 'Q33946'] [{'concept': 'Q13220204'}, 'P17', 'Q243610'] [{'concept': 'Q1307214'}, 'P17', 'Q243610']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q6256 resource:Q243610 } UNION { ?y property:Q6256 resource:Q243610 } UNION { ?z property:Q6256 resource:Q5201861 } UNION { ?y property:Q6256 resource:Q5201861 } UNION { ?z property:Q6256 resource:Q243610 } UNION { ?y property:Q6256 resource:Q243610 } } . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q1307214 }
Kremenets Kherson Directorate of Ukraine
2 administrative country subdivisions and 1 forms of government
[{'concept': 'second-level administrative country subdivision'}, 'country', "Ukrainian People's Republic"] [{'concept': 'form of government'}, 'country', "Ukrainian People's Republic"] [{'concept': 'second-level administrative country subdivision'}, 'country', 'Czechoslovakia'] [{'concept': 'form of government'}, 'country', 'Czechoslovakia'] [{'concept': 'second-level administrative country subdivision'}, 'country', "Ukrainian People's Republic"] [{'concept': 'form of government'}, 'country', "Ukrainian People's Republic"]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:country resource:Ukrainian_People's_Republic } UNION { ?y property:country resource:Ukrainian_People's_Republic } UNION { ?z property:country resource:Czechoslovakia } UNION { ?y property:country resource:Czechoslovakia } UNION { ?z property:country resource:Ukrainian_People's_Republic } UNION { ?y property:country resource:Ukrainian_People's_Republic } } . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:form_of_government }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q20202425 Q586
P27 P1376
Q1048835
USER
Which political territories have Bonn as their capital or are the native countriesof Carl Vilhelm Nielsen ?
OR((Q586,P1376,c(Q1048835)), (Q20202425,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q586
relation P1376
action find
entity Q20202425
relation P27
type Q1048835
{'OR': [['Q586', 'P1376', {'concept': 'Q1048835'}], ['Q20202425', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1048835 . { { resource:Q586 property:P1376 ?t } UNION { resource:Q20202425 property:P27 ?t } } }
Carl Vilhelm Nielsen Bonn
action filter_type
action union
action find
entity Bonn
relation capital of
action find
entity Carl Vilhelm Nielsen
relation country of citizenship
type political territorial entity
{'OR': [['Bonn', 'capital of', {'concept': 'political territorial entity'}], ['Carl Vilhelm Nielsen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_territorial_entity . { { resource:Bonn property:capital_of ?t } UNION { resource:Carl_Vilhelm_Nielsen property:country_of_citizenship ?t } } }
[]
political territorial entity
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
OR((Q586,P1376,c(Q1048835)), (Q20202425,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q586
relation P1376
action find
entity Q20202425
relation P27
type Q1048835
[ANSWERS] have Bonn as their capital or are the native countriesof Carl Vilhelm Nielsen
{'OR': [['Q586', 'P1376', {'concept': 'Q1048835'}], ['Q20202425', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1048835 . { { resource:Q586 property:P1376 ?t } UNION { resource:Q20202425 property:P27 ?t } } }
Germany Denmark
Germany and Denmark have Bonn as their capital or are the native countriesof Carl Vilhelm Nielsen
Germany Denmark
action filter_type
action union
action find
entity Bonn
relation capital of
action find
entity Carl Vilhelm Nielsen
relation country of citizenship
type political territorial entity
{'OR': [['Bonn', 'capital of', {'concept': 'political territorial entity'}], ['Carl Vilhelm Nielsen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_territorial_entity . { { resource:Bonn property:capital_of ?t } UNION { resource:Carl_Vilhelm_Nielsen property:country_of_citizenship ?t } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4909576
P27
Q502895
USER
Are Bill Jaaska a citizen of those political territories ?
(Q4909576,P27,Q183) (Q4909576,P27,Q35)
action is_in
entity prev_answer
action find
entity Q4909576
relation P27
['Q4909576', 'P27', 'Q183'] ['Q4909576', 'P27', 'Q35']
ASK WHERE { resource:Q4909576 property:P27 ?d . VALUES ( ?d ) { ( resource:Q183 ) ( resource:Q35 ) } }
Bill Jaaska
action is_in
entity prev_answer
action find
entity Bill Jaaska
relation country of citizenship
['Bill Jaaska', 'country of citizenship', 'Germany'] ['Bill Jaaska', 'country of citizenship', 'Denmark']
ASK WHERE { resource:Bill_Jaaska property:country_of_citizenship ?d . VALUES ( ?d ) { ( resource:Germany ) ( resource:Denmark ) } }
[]
common name
SYSTEM
NO
(Q4909576,P27,Q183) (Q4909576,P27,Q35)
action is_in
entity prev_answer
action find
entity Q4909576
relation P27
[ANSWER]
['Q4909576', 'P27', 'Q183'] ['Q4909576', 'P27', 'Q35']
ASK WHERE { resource:Q4909576 property:P27 ?d . VALUES ( ?d ) { ( resource:Q183 ) ( resource:Q35 ) } }
No
action is_in
entity prev_answer
action find
entity Bill Jaaska
relation country of citizenship
['Bill Jaaska', 'country of citizenship', 'Germany'] ['Bill Jaaska', 'country of citizenship', 'Denmark']
ASK WHERE { resource:Bill_Jaaska property:country_of_citizenship ?d . VALUES ( ?d ) { ( resource:Germany ) ( resource:Denmark ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q33946 Q4350631 Q1754422
P47
Q1048835
USER
Does Czechoslovakia have an adjacent border with Peremozhne and Cutias ?
(Q33946,P47,Q4350631) (Q33946,P47,Q1754422)
action is_in
entity Q33946
action intersection
action find_reverse
entity Q4350631
relation P47
action find_reverse
entity Q1754422
relation P47
['Q33946', 'P47', 'Q4350631'] ['Q33946', 'P47', 'Q1754422']
ASK WHERE { resource:Q33946 property:P47 resource:Q4350631 . resource:Q33946 property:P47 resource:Q1754422 }
Czechoslovakia Peremozhne Cutias
action is_in
entity Czechoslovakia
action intersection
action find_reverse
entity Peremozhne
relation shares border with
action find_reverse
entity Cutias
relation shares border with
['Czechoslovakia', 'shares border with', 'Peremozhne'] ['Czechoslovakia', 'shares border with', 'Cutias']
ASK WHERE { resource:Czechoslovakia property:shares_border_with resource:Peremozhne . resource:Czechoslovakia property:shares_border_with resource:Cutias }
[]
political territorial entity
SYSTEM
NO
(Q33946,P47,Q4350631) (Q33946,P47,Q1754422)
action is_in
entity Q33946
action intersection
action find_reverse
entity Q4350631
relation P47
action find_reverse
entity Q1754422
relation P47
[ANSWER]
['Q33946', 'P47', 'Q4350631'] ['Q33946', 'P47', 'Q1754422']
ASK WHERE { resource:Q33946 property:P47 resource:Q4350631 . resource:Q33946 property:P47 resource:Q1754422 }
No
action is_in
entity Czechoslovakia
action intersection
action find_reverse
entity Peremozhne
relation shares border with
action find_reverse
entity Cutias
relation shares border with
['Czechoslovakia', 'shares border with', 'Peremozhne'] ['Czechoslovakia', 'shares border with', 'Cutias']
ASK WHERE { resource:Czechoslovakia property:shares_border_with resource:Peremozhne . resource:Czechoslovakia property:shares_border_with resource:Cutias }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33946
P176
Q2424752
USER
Which product was produced by Czechoslovakia ?
(c(Q2424752),P176,Q33946)
action filter_type
action find_reverse
entity Q33946
relation P176
type Q2424752
[{'concept': 'Q2424752'}, 'P176', 'Q33946']
SELECT DISTINCT ?b WHERE { ?b property:P176 resource:Q33946 . ?b rdf:type ontology:Q2424752 }
Czechoslovakia
action filter_type
action find_reverse
entity Czechoslovakia
relation manufacturer
type product
[{'concept': 'product'}, 'manufacturer', 'Czechoslovakia']
SELECT DISTINCT ?b WHERE { ?b property:manufacturer resource:Czechoslovakia . ?b rdf:type ontology:product }
[]
product
Q17447440
SYSTEM
S-102
Q17447440
(c(Q2424752),P176,Q33946)
action filter_type
action find_reverse
entity Q33946
relation P176
type Q2424752
[ANSWER] was produced by Czechoslovakia
[{'concept': 'Q2424752'}, 'P176', 'Q33946']
SELECT DISTINCT ?b WHERE { ?b property:P176 resource:Q33946 . ?b rdf:type ontology:Q2424752 }
S-102
S-102 was produced by Czechoslovakia
S-102
action filter_type
action find_reverse
entity Czechoslovakia
relation manufacturer
type product
[{'concept': 'product'}, 'manufacturer', 'Czechoslovakia']
SELECT DISTINCT ?b WHERE { ?b property:manufacturer resource:Czechoslovakia . ?b rdf:type ontology:product }
[]