Simple Question (Direct)
Simple Question
Q5049088
P20
Q56061
USER
Where did Casper Herman Hausmann expire ?
(Q5049088,P20,c(Q56061))
action filter_type
action find
entity Q5049088
relation P20
type Q56061
['Q5049088', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q5049088 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Casper Herman Hausmann
action filter_type
action find
entity Casper Herman Hausmann
relation place of death
type administrative territorial entity
['Casper Herman Hausmann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Casper_Herman_Hausmann property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q21711493
SYSTEM
Christiania
Q21711493
(Q5049088,P20,c(Q56061))
action filter_type
action find
entity Q5049088
relation P20
type Q56061
Casper Herman Hausmann expired [ANSWER]
['Q5049088', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q5049088 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Christiania
Casper Herman Hausmann expired Christiania
Christiania
action filter_type
action find
entity Casper Herman Hausmann
relation place of death
type administrative territorial entity
['Casper Herman Hausmann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Casper_Herman_Hausmann property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5049088
P21
Q290
USER
Which sex does that person have ?
(Q21711493,P21,c(Q290))
action filter_type
action find
entity Q5049088
relation P21
type Q290
['Q21711493', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q5049088 property:P21 ?w }
Casper Herman Hausmann
action filter_type
action find
entity Casper Herman Hausmann
relation gender
type sex
['Christiania', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Casper_Herman_Hausmann property:gender ?w }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q21711493,P21,c(Q290))
action filter_type
action find
entity Q5049088
relation P21
type Q290
That person has a [ANSWER]
['Q21711493', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q5049088 property:P21 ?w }
male
That person has a male
male
action filter_type
action find
entity Casper Herman Hausmann
relation gender
type sex
['Christiania', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Casper_Herman_Hausmann property:gender ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5049088
P27
Q1048835
USER
How many political territories do Casper Herman Hausmann belong to ?
(Q5049088,P27,c(Q1048835))
action count
action filter_type
action find
entity Q5049088
relation P27
type Q1048835
['Q5049088', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Q5049088 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Casper Herman Hausmann
action count
action filter_type
action find
entity Casper Herman Hausmann
relation country of citizenship
type political territorial entity
['Casper Herman Hausmann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Casper_Herman_Hausmann property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q35
(Q5049088,P27,c(Q1048835))
action count
action filter_type
action find
entity Q5049088
relation P27
type Q1048835
[ANSWER]
['Q5049088', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Q5049088 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Denmark
1
action count
action filter_type
action find
entity Casper Herman Hausmann
relation country of citizenship
type political territorial entity
['Casper Herman Hausmann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Casper_Herman_Hausmann property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21711493
P17
Q7275
USER
Which states do Christiania belong to ?
(Q21711493,P17,c(Q7275))
action filter_type
action find
entity Q21711493
relation P17
type Q7275
['Q21711493', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q21711493 property:P17 ?n . ?n rdf:type ontology:Q7275 }
Christiania
action filter_type
action find
entity Christiania
relation country
type state
['Christiania', 'country', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:Christiania property:country ?n . ?n rdf:type ontology:state }
[]
state
Q62623 Q62589 Q62651
SYSTEM
Kalmar Union, Union between Sweden and Norway, Denmark-Norway
Q2196956 Q62589 Q62623 Q62651
(Q21711493,P17,c(Q7275))
action filter_type
action find
entity Q21711493
relation P17
type Q7275
Christiania belong to [ANSWERS]
['Q21711493', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q21711493 property:P17 ?n . ?n rdf:type ontology:Q7275 }
Norwegian Empire Union between Sweden and Norway Kalmar Union Denmark-Norway
Christiania belong to Kalmar Union, Union between Sweden and Norway and Denmark-Norway
Kalmar Union Union between Sweden and Norway Denmark-Norway
action filter_type
action find
entity Christiania
relation country
type state
['Christiania', 'country', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:Christiania property:country ?n . ?n rdf:type ontology:state }
[]
Clarification
Simple Question|Single Entity|Indirect
Q62651
P108
Q502895
USER
Who works for that state ?
(c(Q502895),P108,Q62651)
action filter_type
action find_reverse
entity Q62651
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q62651']
SELECT DISTINCT ?j WHERE { ?j property:P108 resource:Q62651 . ?j rdf:type ontology:Q502895 }
Denmark-Norway
action filter_type
action find_reverse
entity Denmark-Norway
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Denmark-Norway']
SELECT DISTINCT ?j WHERE { ?j property:employer resource:Denmark-Norway . ?j rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q62589
SYSTEM
Did you mean Union between Sweden and Norway ?
Q62623 Q62589 Q62651
(c(Q502895),P108,Q62623) (c(Q502895),P108,Q62589) (c(Q502895),P108,Q62651)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q62623'] [{'concept': 'Q502895'}, 'P108', 'Q62589'] [{'concept': 'Q502895'}, 'P108', 'Q62651']
SELECT DISTINCT ?j WHERE { ?j property:P108 resource:Q62651 . ?j rdf:type ontology:Q502895 }
Kalmar Union Union between Sweden and Norway Denmark-Norway
Did you mean Union between Sweden and Norway ?
Union between Sweden and Norway
[{'concept': 'common name'}, 'employer', 'Kalmar Union'] [{'concept': 'common name'}, 'employer', 'Union between Sweden and Norway'] [{'concept': 'common name'}, 'employer', 'Denmark-Norway']
SELECT DISTINCT ?j WHERE { ?j property:employer resource:Denmark-Norway . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Denmark-Norway. Could you tell me the answer for that?
(c(Q502895),P108,Q62651)
Q62651
[{'concept': 'Q502895'}, 'P108', 'Q62651']
[{'concept': 'common name'}, 'employer', 'Denmark-Norway']
[]
Q4572689
SYSTEM
Willem Coucheron
Q4572689
(c(Q502895),P108,Q62651)
action filter_type
action find_reverse
entity Q62651
relation P108
type Q502895
[ANSWER] works for that state
[{'concept': 'Q502895'}, 'P108', 'Q62651']
SELECT DISTINCT ?j WHERE { ?j property:P108 resource:Q62651 . ?j rdf:type ontology:Q502895 }
Willem Coucheron
Willem Coucheron works for that state
Willem Coucheron
action filter_type
action find_reverse
entity Denmark-Norway
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Denmark-Norway']
SELECT DISTINCT ?j WHERE { ?j property:employer resource:Denmark-Norway . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q62651
P710
Q1190554
USER
Which events were Denmark-Norway a participant of ?
(c(Q1190554),P710,Q62651)
action filter_type
action find_reverse
entity Q62651
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q62651']
SELECT DISTINCT ?r WHERE { ?r property:P710 resource:Q62651 . ?r rdf:type ontology:Q1190554 }
Denmark-Norway
action filter_type
action find_reverse
entity Denmark-Norway
relation participant
type event
[{'concept': 'event'}, 'participant', 'Denmark-Norway']
SELECT DISTINCT ?r WHERE { ?r property:participant resource:Denmark-Norway . ?r rdf:type ontology:event }
[]
event
Q376154 Q755955
SYSTEM
Battle of Copenhagen, Battle of Copenhagen
Q376154 Q755955
(c(Q1190554),P710,Q62651)
action filter_type
action find_reverse
entity Q62651
relation P710
type Q1190554
[ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q62651']
SELECT DISTINCT ?r WHERE { ?r property:P710 resource:Q62651 . ?r rdf:type ontology:Q1190554 }
Battle of Copenhagen Battle of Copenhagen
Which events were Denmark-Norway a participant of
Battle of Copenhagen Battle of Copenhagen
action filter_type
action find_reverse
entity Denmark-Norway
relation participant
type event
[{'concept': 'event'}, 'participant', 'Denmark-Norway']
SELECT DISTINCT ?r WHERE { ?r property:participant resource:Denmark-Norway . ?r rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q755955
P276
Q56061
USER
Where can that event be found ?
(Q755955,P276,c(Q56061))
action filter_type
action find
entity Q755955
relation P276
type Q56061
['Q755955', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q755955 property:P276 ?x . ?x rdf:type ontology:Q56061 }
Battle of Copenhagen
action filter_type
action find
entity Battle of Copenhagen
relation location
type administrative territorial entity
['Battle of Copenhagen', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Battle_of_Copenhagen property:location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q755955
SYSTEM
Did you mean Battle of Copenhagen ?
Q376154 Q755955
(Q376154,P276,c(Q56061)) (Q755955,P276,c(Q56061))
[ANSWER]
['Q376154', 'P276', {'concept': 'Q56061'}] ['Q755955', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q755955 property:P276 ?x . ?x rdf:type ontology:Q56061 }
Battle of Copenhagen Battle of Copenhagen
Did you mean Battle of Copenhagen ?
Battle of Copenhagen
['Battle of Copenhagen', 'location', {'concept': 'administrative territorial entity'}] ['Battle of Copenhagen', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Battle_of_Copenhagen property:location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q755955,P276,c(Q56061))
['Q755955', 'P276', {'concept': 'Q56061'}]
['Battle of Copenhagen', 'location', {'concept': 'administrative territorial entity'}]
[]
Q1748
SYSTEM
Copenhagen
Q1748
(Q755955,P276,c(Q56061))
action filter_type
action find
entity Q755955
relation P276
type Q56061
That event can be found in [ANSWER]
['Q755955', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q755955 property:P276 ?x . ?x rdf:type ontology:Q56061 }
Copenhagen
That event can be found in Copenhagen
Copenhagen
action filter_type
action find
entity Battle of Copenhagen
relation location
type administrative territorial entity
['Battle of Copenhagen', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Battle_of_Copenhagen property:location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q5049088
P21 P40
Q502895
USER
Which people have Casper Herman Hausmann as an offspring and have female as the sex ?
AND((c(Q502895),P40,Q5049088), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q5049088
relation P40
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q5049088'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?d WHERE { ?d property:P21 resource:Q6581072 . ?d property:P40 resource:Q5049088 . ?d rdf:type ontology:Q502895 }
female Casper Herman Hausmann
action filter_type
action intersection
action find_reverse
entity Casper Herman Hausmann
relation child
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Casper Herman Hausmann'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?d WHERE { ?d property:gender resource:female . ?d property:child resource:Casper_Herman_Hausmann . ?d rdf:type ontology:common_name }
[]
common name
Q1757339
SYSTEM
Margrethe Pape
Q1757339
AND((c(Q502895),P40,Q5049088), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q5049088
relation P40
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] have Casper Herman Hausmann as an offspring and have female as the sex
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q5049088'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?d WHERE { ?d property:P21 resource:Q6581072 . ?d property:P40 resource:Q5049088 . ?d rdf:type ontology:Q502895 }
Margrethe Pape
Margrethe Pape have Casper Herman Hausmann as an offspring and have female as the sex
Margrethe Pape
action filter_type
action intersection
action find_reverse
entity Casper Herman Hausmann
relation child
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Casper Herman Hausmann'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?d WHERE { ?d property:gender resource:female . ?d property:child resource:Casper_Herman_Hausmann . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1748 Q2697782
P1376
Q1048835
USER
How many political territories have Copenhagen or Llipa District have their first city ?
(Q1748,P1376,c(Q1048835)) (Q2697782,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q1748
relation P1376
type Q1048835
action filter_type
action find
entity Q2697782
relation P1376
type Q1048835
['Q1748', 'P1376', {'concept': 'Q1048835'}] ['Q2697782', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?m property:P1376 ?s . VALUES ( ?m ) { ( resource:Q1748 ) ( resource:Q2697782 ) } }
Copenhagen Llipa District
action count
action union
action filter_type
action find
entity Copenhagen
relation capital of
type political territorial entity
action filter_type
action find
entity Llipa District
relation capital of
type political territorial entity
['Copenhagen', 'capital of', {'concept': 'political territorial entity'}] ['Llipa District', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?m property:capital_of ?s . VALUES ( ?m ) { ( resource:Copenhagen ) ( resource:Llipa_District ) } }
[]
political territorial entity
SYSTEM
2
Q10896751 Q35
(Q1748,P1376,c(Q1048835)) (Q2697782,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q1748
relation P1376
type Q1048835
action filter_type
action find
entity Q2697782
relation P1376
type Q1048835
[ANSWER]
['Q1748', 'P1376', {'concept': 'Q1048835'}] ['Q2697782', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?m property:P1376 ?s . VALUES ( ?m ) { ( resource:Q1748 ) ( resource:Q2697782 ) } }
Llipa District Denmark
2
action count
action union
action filter_type
action find
entity Copenhagen
relation capital of
type political territorial entity
action filter_type
action find
entity Llipa District
relation capital of
type political territorial entity
['Copenhagen', 'capital of', {'concept': 'political territorial entity'}] ['Llipa District', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?m property:capital_of ?s . VALUES ( ?m ) { ( resource:Copenhagen ) ( resource:Llipa_District ) } }
[]