Simple Question (Direct)
Simple Question
Q272010
P40
Q502895
USER
Which people are an offsprings of Princess Marie of Baden ?
(Q272010,P40,c(Q502895))
action filter_type
action find
entity Q272010
relation P40
type Q502895
['Q272010', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q272010 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Princess Marie of Baden
action filter_type
action find
entity Princess Marie of Baden
relation child
type common name
['Princess Marie of Baden', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Princess_Marie_of_Baden property:child ?w . ?w rdf:type ontology:common_name }
[]
common name
Q63502 Q62667
SYSTEM
Charles II, Duke of Brunswick, William, Duke of Brunswick
Q63502 Q62667
(Q272010,P40,c(Q502895))
action filter_type
action find
entity Q272010
relation P40
type Q502895
[ANSWERS]
['Q272010', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q272010 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Charles II, Duke of Brunswick William, Duke of Brunswick
Charles II, Duke of Brunswick and William, Duke of Brunswick are an offsprings of Princess Marie of Baden
Charles II, Duke of Brunswick William, Duke of Brunswick
action filter_type
action find
entity Princess Marie of Baden
relation child
type common name
['Princess Marie of Baden', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Princess_Marie_of_Baden property:child ?w . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q63502
P19
Q515
USER
Which city was that person born in ?
(Q63502,P19,c(Q515))
action filter_type
action find
entity Q63502
relation P19
type Q515
['Q63502', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q63502 property:P19 ?g . ?g rdf:type ontology:Q515 }
Charles II, Duke of Brunswick
action filter_type
action find
entity Charles II, Duke of Brunswick
relation place of birth
type city
['Charles II, Duke of Brunswick', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Charles_II,_Duke_of_Brunswick property:place_of_birth ?g . ?g rdf:type ontology:city }
[]
city
Clarification for simple ques.
Q62667
SYSTEM
Did you mean William, Duke of Brunswick ?
Q63502 Q62667
(Q63502,P19,c(Q515)) (Q62667,P19,c(Q515))
[ANSWER]
['Q63502', 'P19', {'concept': 'Q515'}] ['Q62667', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q63502 property:P19 ?g . ?g rdf:type ontology:Q515 }
Charles II, Duke of Brunswick William, Duke of Brunswick
Did you mean William, Duke of Brunswick ?
William, Duke of Brunswick
['Charles II, Duke of Brunswick', 'place of birth', {'concept': 'city'}] ['William, Duke of Brunswick', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Charles_II,_Duke_of_Brunswick property:place_of_birth ?g . ?g rdf:type ontology:city }
[]
Simple Question (Coreferenced)
USER
No, I meant Charles II, Duke of Brunswick. Could you tell me the answer for that?
(Q63502,P19,c(Q515))
Q63502
['Q63502', 'P19', {'concept': 'Q515'}]
['Charles II, Duke of Brunswick', 'place of birth', {'concept': 'city'}]
[]
Q2773
SYSTEM
Braunschweig
Q2773
(Q63502,P19,c(Q515))
action filter_type
action find
entity Q63502
relation P19
type Q515
That person was born in [ANSWER]
['Q63502', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q63502 property:P19 ?g . ?g rdf:type ontology:Q515 }
Braunschweig
That person was born in Braunschweig
Braunschweig
action filter_type
action find
entity Charles II, Duke of Brunswick
relation place of birth
type city
['Charles II, Duke of Brunswick', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Charles_II,_Duke_of_Brunswick property:place_of_birth ?g . ?g rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2773 Q5821721
P190
Q56061
USER
Is Naseh-ye Mur-e Gham partner town of Braunschweig ?
(Q2773,P190,Q5821721)
action is_in
entity Q5821721
action find
entity Q2773
relation P190
['Q2773', 'P190', 'Q5821721']
ASK WHERE { resource:Q2773 property:P190 resource:Q5821721 }
Braunschweig Naseh-ye Mur-e Gham
action is_in
entity Naseh-ye Mur-e Gham
action find
entity Braunschweig
relation sister city
['Braunschweig', 'sister city', 'Naseh-ye Mur-e Gham']
ASK WHERE { resource:Braunschweig property:sister_city resource:Naseh-ye_Mur-e_Gham }
[]
administrative territorial entity
SYSTEM
NO
(Q2773,P190,Q5821721)
action is_in
entity Q5821721
action find
entity Q2773
relation P190
[ANSWER]
['Q2773', 'P190', 'Q5821721']
ASK WHERE { resource:Q2773 property:P190 resource:Q5821721 }
No
action is_in
entity Naseh-ye Mur-e Gham
action find
entity Braunschweig
relation sister city
['Braunschweig', 'sister city', 'Naseh-ye Mur-e Gham']
ASK WHERE { resource:Braunschweig property:sister_city resource:Naseh-ye_Mur-e_Gham }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q63502 Q183
P27
Q1048835
USER
Is Germany the native country of Charles II, Duke of Brunswick ?
(Q63502,P27,Q183)
action is_in
entity Q183
action find
entity Q63502
relation P27
['Q63502', 'P27', 'Q183']
ASK WHERE { resource:Q63502 property:P27 resource:Q183 }
Charles II, Duke of Brunswick Germany
action is_in
entity Germany
action find
entity Charles II, Duke of Brunswick
relation country of citizenship
['Charles II, Duke of Brunswick', 'country of citizenship', 'Germany']
ASK WHERE { resource:Charles_II,_Duke_of_Brunswick property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q63502,P27,Q183)
action is_in
entity Q183
action find
entity Q63502
relation P27
[ANSWER]
['Q63502', 'P27', 'Q183']
ASK WHERE { resource:Q63502 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Charles II, Duke of Brunswick
relation country of citizenship
['Charles II, Duke of Brunswick', 'country of citizenship', 'Germany']
ASK WHERE { resource:Charles_II,_Duke_of_Brunswick property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q272010 Q183 Q943072
P27
Q1048835
USER
Is Princess Marie of Baden a citizen of Germany and Ujué ?
(Q272010,P27,Q183) (Q272010,P27,Q943072)
action is_in
entity Q272010
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q943072
relation P27
['Q272010', 'P27', 'Q183'] ['Q272010', 'P27', 'Q943072']
ASK WHERE { resource:Q272010 property:P27 resource:Q183 . resource:Q272010 property:P27 resource:Q943072 }
Princess Marie of Baden Germany Ujué
action is_in
entity Princess Marie of Baden
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Ujué
relation country of citizenship
['Princess Marie of Baden', 'country of citizenship', 'Germany'] ['Princess Marie of Baden', 'country of citizenship', 'Ujué']
ASK WHERE { resource:Princess_Marie_of_Baden property:country_of_citizenship resource:Germany . resource:Princess_Marie_of_Baden property:country_of_citizenship resource:Ujué }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q272010,P27,Q183) (Q272010,P27,Q943072)
action is_in
entity Q272010
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q943072
relation P27
[ANSWER]
['Q272010', 'P27', 'Q183'] ['Q272010', 'P27', 'Q943072']
ASK WHERE { resource:Q272010 property:P27 resource:Q183 . resource:Q272010 property:P27 resource:Q943072 }
YES and NO respectively
action is_in
entity Princess Marie of Baden
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Ujué
relation country of citizenship
['Princess Marie of Baden', 'country of citizenship', 'Germany'] ['Princess Marie of Baden', 'country of citizenship', 'Ujué']
ASK WHERE { resource:Princess_Marie_of_Baden property:country_of_citizenship resource:Germany . resource:Princess_Marie_of_Baden property:country_of_citizenship resource:Ujué }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q63502 Q2817360
P27
Q15617994
USER
How many administrative territories are Charles II, Duke of Brunswick or Masis Voskanyan an inhabitant of ?
(Q63502,P27,c(Q15617994)) (Q2817360,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q63502
relation P27
type Q15617994
action filter_type
action find
entity Q2817360
relation P27
type Q15617994
['Q63502', 'P27', {'concept': 'Q15617994'}] ['Q2817360', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?i ) { ( resource:Q63502 ) ( resource:Q2817360 ) } . ?i property:P27 ?a }
Charles II, Duke of Brunswick Masis Voskanyan
action count
action union
action filter_type
action find
entity Charles II, Duke of Brunswick
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Masis Voskanyan
relation country of citizenship
type designation for an administrative territorial entity
['Charles II, Duke of Brunswick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Masis Voskanyan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?i ) { ( resource:Charles_II,_Duke_of_Brunswick ) ( resource:Masis_Voskanyan ) } . ?i property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
SYSTEM
2
Q31 Q399
(Q63502,P27,c(Q15617994)) (Q2817360,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q63502
relation P27
type Q15617994
action filter_type
action find
entity Q2817360
relation P27
type Q15617994
[ANSWER]
['Q63502', 'P27', {'concept': 'Q15617994'}] ['Q2817360', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?i ) { ( resource:Q63502 ) ( resource:Q2817360 ) } . ?i property:P27 ?a }
Belgium Armenia
2
action count
action union
action filter_type
action find
entity Charles II, Duke of Brunswick
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Masis Voskanyan
relation country of citizenship
type designation for an administrative territorial entity
['Charles II, Duke of Brunswick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Masis Voskanyan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?i ) { ( resource:Charles_II,_Duke_of_Brunswick ) ( resource:Masis_Voskanyan ) } . ?i property:country_of_citizenship ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q272010
P9
Q502895
USER
How many people have Princess Marie of Baden as their sibling ?
(c(Q502895),P9,Q272010)
action count
action filter_type
action find_reverse
entity Q272010
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q272010']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P9 resource:Q272010 . ?p rdf:type ontology:Q502895 }
Princess Marie of Baden
action count
action filter_type
action find_reverse
entity Princess Marie of Baden
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Princess Marie of Baden']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:sister resource:Princess_Marie_of_Baden . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q57533 Q168664 Q170195 Q234241 Q57799
(c(Q502895),P9,Q272010)
action count
action filter_type
action find_reverse
entity Q272010
relation P9
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q272010']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P9 resource:Q272010 . ?p rdf:type ontology:Q502895 }
Princess Wilhelmine of Baden Elizabeth Alexeievna Caroline of Baden Frederica of Baden Charles, Grand Duke of Baden
5
action count
action filter_type
action find_reverse
entity Princess Marie of Baden
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Princess Marie of Baden']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:sister resource:Princess_Marie_of_Baden . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q4959243
P9
Q502895
USER
And what about Johanne Skram Knudsen?
(c(Q502895),P9,Q4959243)
action count
action filter_type
action find_reverse
entity Q4959243
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q4959243']
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P9 resource:Q4959243 . ?k rdf:type ontology:Q502895 }
Johanne Skram Knudsen
action count
action filter_type
action find_reverse
entity Johanne Skram Knudsen
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Johanne Skram Knudsen']
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:sister resource:Johanne_Skram_Knudsen . ?k rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q2582588
(c(Q502895),P9,Q4959243)
action count
action filter_type
action find_reverse
entity Q4959243
relation P9
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q4959243']
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P9 resource:Q4959243 . ?k rdf:type ontology:Q502895 }
Ludvig Müller
1
action count
action filter_type
action find_reverse
entity Johanne Skram Knudsen
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Johanne Skram Knudsen']
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:sister resource:Johanne_Skram_Knudsen . ?k rdf:type ontology:common_name }
[]