Simple Question (Direct)
Simple Question
Q912095
P40
Q502895
USER
Which people are a successors of Sima Fang ?
(Q912095,P40,c(Q502895))
action filter_type
action find
entity Q912095
relation P40
type Q502895
['Q912095', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q912095 property:P40 ?b . ?b rdf:type ontology:Q502895 }
Sima Fang
action filter_type
action find
entity Sima Fang
relation child
type common name
['Sima Fang', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Sima_Fang property:child ?b . ?b rdf:type ontology:common_name }
[]
common name
Q353698 Q1156935 Q1074409
SYSTEM
Sima Yi, Sima Fu, Sima Lang
Q353698 Q1156935 Q1074409
(Q912095,P40,c(Q502895))
action filter_type
action find
entity Q912095
relation P40
type Q502895
[ANSWERS] are a successors of Sima Fang
['Q912095', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q912095 property:P40 ?b . ?b rdf:type ontology:Q502895 }
Sima Yi Sima Fu Sima Lang
Sima Yi, Sima Fu and Sima Lang are a successors of Sima Fang
Sima Yi Sima Fu Sima Lang
action filter_type
action find
entity Sima Fang
relation child
type common name
['Sima Fang', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Sima_Fang property:child ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q353698
P26
Q502895
USER
Which people are married to Sima Yi ?
(c(Q502895),P26,Q353698)
action filter_type
action find
entity Q353698
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q353698']
SELECT DISTINCT ?p WHERE { resource:Q353698 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Sima Yi
action filter_type
action find
entity Sima Yi
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sima Yi']
SELECT DISTINCT ?p WHERE { resource:Sima_Yi property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Q709785 Q8251889
SYSTEM
Zhang Chunhua, Miss Bai
Q709785 Q8251889
(c(Q502895),P26,Q353698)
action filter_type
action find
entity Q353698
relation P26
type Q502895
[ANSWERS] are married to Sima Yi
[{'concept': 'Q502895'}, 'P26', 'Q353698']
SELECT DISTINCT ?p WHERE { resource:Q353698 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Zhang Chunhua Miss Bai
Zhang Chunhua and Miss Bai are married to Sima Yi
Zhang Chunhua Miss Bai
action filter_type
action find
entity Sima Yi
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sima Yi']
SELECT DISTINCT ?p WHERE { resource:Sima_Yi property:spouse ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q709785 Q8251889
P26
Q502895
USER
Which people are the life partner of Zhang Chunhua and Miss Bai ?
(c(Q502895),P26,Q709785) (c(Q502895),P26,Q8251889)
action union
action filter_type
action find
entity Q709785
relation P26
type Q502895
action filter_type
action find
entity Q8251889
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q709785'] [{'concept': 'Q502895'}, 'P26', 'Q8251889']
SELECT DISTINCT ?p WHERE { VALUES ( ?g ) { ( resource:Q8251889 ) ( resource:Q709785 ) } . ?g property:P26 ?p }
Zhang Chunhua Miss Bai
action union
action filter_type
action find
entity Zhang Chunhua
relation spouse
type common name
action filter_type
action find
entity Miss Bai
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Zhang Chunhua'] [{'concept': 'common name'}, 'spouse', 'Miss Bai']
SELECT DISTINCT ?p WHERE { VALUES ( ?g ) { ( resource:Miss_Bai ) ( resource:Zhang_Chunhua ) } . ?g property:spouse ?p }
[]
common name
Q353698
SYSTEM
Sima Yi
Q353698
(c(Q502895),P26,Q709785) (c(Q502895),P26,Q8251889)
action union
action filter_type
action find
entity Q709785
relation P26
type Q502895
action filter_type
action find
entity Q8251889
relation P26
type Q502895
[ANSWER] is the life partner of Zhang Chunhua and Miss Bai
[{'concept': 'Q502895'}, 'P26', 'Q709785'] [{'concept': 'Q502895'}, 'P26', 'Q8251889']
SELECT DISTINCT ?p WHERE { VALUES ( ?g ) { ( resource:Q8251889 ) ( resource:Q709785 ) } . ?g property:P26 ?p }
Sima Yi
Sima Yi is the life partner of Zhang Chunhua and Miss Bai
Sima Yi
action union
action filter_type
action find
entity Zhang Chunhua
relation spouse
type common name
action filter_type
action find
entity Miss Bai
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Zhang Chunhua'] [{'concept': 'common name'}, 'spouse', 'Miss Bai']
SELECT DISTINCT ?p WHERE { VALUES ( ?g ) { ( resource:Miss_Bai ) ( resource:Zhang_Chunhua ) } . ?g property:spouse ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q353698
P734
Q82799
USER
Which name is associated with that person ?
(Q353698,P734,c(Q82799))
action filter_type
action find
entity Q353698
relation P734
type Q82799
['Q353698', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q353698 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Sima Yi
action filter_type
action find
entity Sima Yi
relation family name
type name
['Sima Yi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Sima_Yi property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q592176
SYSTEM
Sima
Q592176
(Q353698,P734,c(Q82799))
action filter_type
action find
entity Q353698
relation P734
type Q82799
[ANSWER] is associated with that person
['Q353698', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q353698 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Sima
Sima is associated with that person
Sima
action filter_type
action find
entity Sima Yi
relation family name
type name
['Sima Yi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Sima_Yi property:family_name ?p . ?p rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q592176 Q10916619
P734
Q502895
USER
Does Sima Xian have that one as their family name ?
(Q10916619,P734,Q592176)
action is_in
entity Q592176
action find
entity Q10916619
relation P734
['Q10916619', 'P734', 'Q592176']
ASK WHERE { resource:Q10916619 property:P734 resource:Q592176 }
Sima Sima Xian
action is_in
entity Sima
action find
entity Sima Xian
relation family name
['Sima Xian', 'family name', 'Sima']
ASK WHERE { resource:Sima_Xian property:family_name resource:Sima }
[]
common name
SYSTEM
YES
(Q10916619,P734,Q592176)
action is_in
entity Q592176
action find
entity Q10916619
relation P734
[ANSWER]
['Q10916619', 'P734', 'Q592176']
ASK WHERE { resource:Q10916619 property:P734 resource:Q592176 }
Yes
action is_in
entity Sima
action find
entity Sima Xian
relation family name
['Sima Xian', 'family name', 'Sima']
ASK WHERE { resource:Sima_Xian property:family_name resource:Sima }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1074409 Q1156935
P7
Q502895
USER
Is Sima Fu the brother of Sima Lang ?
(Q1074409,P7,Q1156935)
action is_in
entity Q1156935
action find
entity Q1074409
relation P7
['Q1074409', 'P7', 'Q1156935']
ASK WHERE { resource:Q1074409 property:P7 resource:Q1156935 }
Sima Lang Sima Fu
action is_in
entity Sima Fu
action find
entity Sima Lang
relation brother
['Sima Lang', 'brother', 'Sima Fu']
ASK WHERE { resource:Sima_Lang property:brother resource:Sima_Fu }
[]
common name
SYSTEM
YES
(Q1074409,P7,Q1156935)
action is_in
entity Q1156935
action find
entity Q1074409
relation P7
[ANSWER]
['Q1074409', 'P7', 'Q1156935']
ASK WHERE { resource:Q1074409 property:P7 resource:Q1156935 }
Yes
action is_in
entity Sima Fu
action find
entity Sima Lang
relation brother
['Sima Lang', 'brother', 'Sima Fu']
ASK WHERE { resource:Sima_Lang property:brother resource:Sima_Fu }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q912095 Q250149 Q6120806
P22
Q502895
USER
Does Sima Fang have Christine Amertil and Sima Jun as dad ?
(Q912095,P22,Q250149) (Q912095,P22,Q6120806)
action is_in
entity Q912095
action intersection
action find_reverse
entity Q250149
relation P22
action find_reverse
entity Q6120806
relation P22
['Q912095', 'P22', 'Q250149'] ['Q912095', 'P22', 'Q6120806']
ASK WHERE { resource:Q912095 property:P22 resource:Q250149 . resource:Q912095 property:P22 resource:Q6120806 }
Sima Fang Christine Amertil Sima Jun
action is_in
entity Sima Fang
action intersection
action find_reverse
entity Christine Amertil
relation father
action find_reverse
entity Sima Jun
relation father
['Sima Fang', 'father', 'Christine Amertil'] ['Sima Fang', 'father', 'Sima Jun']
ASK WHERE { resource:Sima_Fang property:father resource:Christine_Amertil . resource:Sima_Fang property:father resource:Sima_Jun }
[]
common name
SYSTEM
NO and YES respectively
(Q912095,P22,Q250149) (Q912095,P22,Q6120806)
action is_in
entity Q912095
action intersection
action find_reverse
entity Q250149
relation P22
action find_reverse
entity Q6120806
relation P22
[ANSWER]
['Q912095', 'P22', 'Q250149'] ['Q912095', 'P22', 'Q6120806']
ASK WHERE { resource:Q912095 property:P22 resource:Q250149 . resource:Q912095 property:P22 resource:Q6120806 }
NO and YES respectively
action is_in
entity Sima Fang
action intersection
action find_reverse
entity Christine Amertil
relation father
action find_reverse
entity Sima Jun
relation father
['Sima Fang', 'father', 'Christine Amertil'] ['Sima Fang', 'father', 'Sima Jun']
ASK WHERE { resource:Sima_Fang property:father resource:Christine_Amertil . resource:Sima_Fang property:father resource:Sima_Jun }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5070208
P180
Q82799 Q18783400 Q17335294
USER
How many names are depicted in greater number of genres of sculpture or coats of arms than kangaroo ?
(c(Q18783400)|c(Q17335294),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q5070208
relation P180
type Q18783400
type Q17335294
[[{'concept': 'Q18783400'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?l ) { ( ontology:Q18783400 ) ( ontology:Q17335294 ) } . ?k rdf:type ?l } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P180 resource:Q5070208 . { VALUES ( ?p ) { ( ontology:Q18783400 ) ( ontology:Q17335294 ) } . ?n rdf:type ?p } } } . FILTER ( ?v > ?u ) }
kangaroo
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity kangaroo
relation depicts
type genre of sculpture
type flag or coat of arms
[[{'concept': 'genre of sculpture'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?l ) { ( ontology:genre_of_sculpture ) ( ontology:flag_or_coat_of_arms ) } . ?k rdf:type ?l } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:depicts resource:kangaroo . { VALUES ( ?p ) { ( ontology:genre_of_sculpture ) ( ontology:flag_or_coat_of_arms ) } . ?n rdf:type ?p } } } . FILTER ( ?v > ?u ) }
[]
name genre of sculpture flag or coat of arms
SYSTEM
4
Q726 Q2092297 Q144 Q43115
(c(Q18783400)|c(Q17335294),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q5070208
relation P180
type Q18783400
type Q17335294
[ANSWER]
[[{'concept': 'Q18783400'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?l ) { ( ontology:Q18783400 ) ( ontology:Q17335294 ) } . ?k rdf:type ?l } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P180 resource:Q5070208 . { VALUES ( ?p ) { ( ontology:Q18783400 ) ( ontology:Q17335294 ) } . ?n rdf:type ?p } } } . FILTER ( ?v > ?u ) }
horse eagle dog saint
4
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity kangaroo
relation depicts
type genre of sculpture
type flag or coat of arms
[[{'concept': 'genre of sculpture'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?l ) { ( ontology:genre_of_sculpture ) ( ontology:flag_or_coat_of_arms ) } . ?k rdf:type ?l } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:depicts resource:kangaroo . { VALUES ( ?p ) { ( ontology:genre_of_sculpture ) ( ontology:flag_or_coat_of_arms ) } . ?n rdf:type ?p } } } . FILTER ( ?v > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7368
P180
Q82799 Q18783400 Q17335294
USER
And what about Ovis aries?
(c(Q18783400)|c(Q17335294),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q7368
relation P180
type Q18783400
type Q17335294
[[{'concept': 'Q18783400'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?n WHERE { { ?g property:P180 ?n . ?n rdf:type ontology:Q82799 . ?g rdf:type ontology:Q18783400 } UNION { ?g property:P180 ?n . ?n rdf:type ontology:Q82799 . ?g rdf:type ontology:Q17335294 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P180 resource:Q7368 . { { ?r rdf:type ontology:Q18783400 } UNION { ?r rdf:type ontology:Q17335294 } } } } . FILTER ( ?l > ?a ) }
Ovis aries
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity Ovis aries
relation depicts
type genre of sculpture
type flag or coat of arms
[[{'concept': 'genre of sculpture'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?n WHERE { { ?g property:depicts ?n . ?n rdf:type ontology:name . ?g rdf:type ontology:genre_of_sculpture } UNION { ?g property:depicts ?n . ?n rdf:type ontology:name . ?g rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:depicts resource:Ovis_aries . { { ?r rdf:type ontology:genre_of_sculpture } UNION { ?r rdf:type ontology:flag_or_coat_of_arms } } } } . FILTER ( ?l > ?a ) }
[]
name genre of sculpture flag or coat of arms
SYSTEM
4
Q726 Q2092297 Q144 Q43115
(c(Q18783400)|c(Q17335294),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q7368
relation P180
type Q18783400
type Q17335294
[ANSWER]
[[{'concept': 'Q18783400'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?n WHERE { { ?g property:P180 ?n . ?n rdf:type ontology:Q82799 . ?g rdf:type ontology:Q18783400 } UNION { ?g property:P180 ?n . ?n rdf:type ontology:Q82799 . ?g rdf:type ontology:Q17335294 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P180 resource:Q7368 . { { ?r rdf:type ontology:Q18783400 } UNION { ?r rdf:type ontology:Q17335294 } } } } . FILTER ( ?l > ?a ) }
horse eagle dog saint
4
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity Ovis aries
relation depicts
type genre of sculpture
type flag or coat of arms
[[{'concept': 'genre of sculpture'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?n WHERE { { ?g property:depicts ?n . ?n rdf:type ontology:name . ?g rdf:type ontology:genre_of_sculpture } UNION { ?g property:depicts ?n . ?n rdf:type ontology:name . ?g rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:depicts resource:Ovis_aries . { { ?r rdf:type ontology:genre_of_sculpture } UNION { ?r rdf:type ontology:flag_or_coat_of_arms } } } } . FILTER ( ?l > ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q353698
P106
Q12737077
USER
What does Sima Yi do for a living ?
(Q353698,P106,c(Q12737077))
action filter_type
action find
entity Q353698
relation P106
type Q12737077
['Q353698', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q353698 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Sima Yi
action filter_type
action find
entity Sima Yi
relation occupation
type occupation
['Sima Yi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Sima_Yi property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q353698,P106,c(Q12737077))
action filter_type
action find
entity Q353698
relation P106
type Q12737077
Sima does a [ANSWER]
['Q353698', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q353698 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
politician
Sima does a politician
politician
action filter_type
action find
entity Sima Yi
relation occupation
type occupation
['Sima Yi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Sima_Yi property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q82955 Q15506202
P106
Q502895
USER
Does Teddy Page have that occupation as his/her means of employment ?
(Q15506202,P106,Q82955)
action is_in
entity Q15506202
action find
entity Q82955
relation P106
['Q15506202', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q15506202 }
politician Teddy Page
action is_in
entity Teddy Page
action find
entity politician
relation occupation
['Teddy Page', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Teddy_Page }
[]
common name
SYSTEM
NO
(Q15506202,P106,Q82955)
action is_in
entity Q15506202
action find
entity Q82955
relation P106
[ANSWER]
['Q15506202', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q15506202 }
No
action is_in
entity Teddy Page
action find
entity politician
relation occupation
['Teddy Page', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Teddy_Page }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10564021
Q502895
USER
And how about Jin Wangsun?
(Q10564021,P40,c(Q502895))
action filter_type
action find
entity Q10564021
relation P40
type Q502895
['Q10564021', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q10564021 property:P40 ?s . ?s rdf:type ontology:Q502895 }
Jin Wangsun
action filter_type
action find
entity Jin Wangsun
relation child
type common name
['Jin Wangsun', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Jin_Wangsun property:child ?s . ?s rdf:type ontology:common_name }
[]
common name
Q15956200
SYSTEM
Jin Su
Q15956200
(Q10564021,P40,c(Q502895))
action filter_type
action find
entity Q10564021
relation P40
type Q502895
[ANSWER]
['Q10564021', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q10564021 property:P40 ?s . ?s rdf:type ontology:Q502895 }
Jin Su
Jin Su
action filter_type
action find
entity Jin Wangsun
relation child
type common name
['Jin Wangsun', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Jin_Wangsun property:child ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q10564021
P22
Q502895
USER
How many people have Jin Wangsun as father ?
(c(Q502895),P22,Q10564021)
action count
action filter_type
action find_reverse
entity Q10564021
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q10564021']
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c property:P22 resource:Q10564021 . ?c rdf:type ontology:Q502895 }
Jin Wangsun
action count
action filter_type
action find_reverse
entity Jin Wangsun
relation father
type common name
[{'concept': 'common name'}, 'father', 'Jin Wangsun']
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c property:father resource:Jin_Wangsun . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q15956200
(c(Q502895),P22,Q10564021)
action count
action filter_type
action find_reverse
entity Q10564021
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q10564021']
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c property:P22 resource:Q10564021 . ?c rdf:type ontology:Q502895 }
Jin Su
1
action count
action filter_type
action find_reverse
entity Jin Wangsun
relation father
type common name
[{'concept': 'common name'}, 'father', 'Jin Wangsun']
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c property:father resource:Jin_Wangsun . ?c rdf:type ontology:common_name }
[]