Simple Question (Direct)
Simple Question
Q10897658
P7
Q502895
USER
Which people are the brothers of Liu Chao ?
(Q10897658,P7,c(Q502895))
action filter_type
action find
entity Q10897658
relation P7
type Q502895
['Q10897658', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q10897658 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Liu Chao
action filter_type
action find
entity Liu Chao
relation brother
type common name
['Liu Chao', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Liu_Chao property:brother ?a . ?a rdf:type ontology:common_name }
[]
common name
Q7220 Q7217 Q10900016
SYSTEM
Emperor Houshao of Han, Liu Gong, Liu Wu
Q10900016 Q10899571 Q10899336 Q7220 Q7217 Q10899739
(Q10897658,P7,c(Q502895))
action filter_type
action find
entity Q10897658
relation P7
type Q502895
[ANSWERS] are the brothers of Liu Chao
['Q10897658', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q10897658 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Liu Wu Liu Tai Liu Buyi Emperor Houshao of Han Liu Gong Liu Qiang
Emperor Houshao of Han, Liu Gong and Liu Wu are the brothers of Liu Chao
Emperor Houshao of Han Liu Gong Liu Wu
action filter_type
action find
entity Liu Chao
relation brother
type common name
['Liu Chao', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Liu_Chao property:brother ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7220
P26
Q502895
USER
Who is the spouse of Emperor Houshao of Han ?
(c(Q502895),P26,Q7220)
action filter_type
action find
entity Q7220
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q7220']
SELECT DISTINCT ?f WHERE { resource:Q7220 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Emperor Houshao of Han
action filter_type
action find
entity Emperor Houshao of Han
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Emperor Houshao of Han']
SELECT DISTINCT ?f WHERE { resource:Emperor_Houshao_of_Han property:spouse ?f . ?f rdf:type ontology:common_name }
[]
common name
Q275127
SYSTEM
Empress Lü
Q275127
(c(Q502895),P26,Q7220)
action filter_type
action find
entity Q7220
relation P26
type Q502895
The spouse of Emperor Houshao of Han is the [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q7220']
SELECT DISTINCT ?f WHERE { resource:Q7220 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Empress Lü
The spouse of Emperor Houshao of Han is the Empress Lü
Empress Lü
action filter_type
action find
entity Emperor Houshao of Han
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Emperor Houshao of Han']
SELECT DISTINCT ?f WHERE { resource:Emperor_Houshao_of_Han property:spouse ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7220
P40
Q502895
USER
Which person has Emperor Houshao of Han as an offspring ?
(c(Q502895),P40,Q7220)
action filter_type
action find_reverse
entity Q7220
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q7220']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q7220 . ?k rdf:type ontology:Q502895 }
Emperor Houshao of Han
action filter_type
action find_reverse
entity Emperor Houshao of Han
relation child
type common name
[{'concept': 'common name'}, 'child', 'Emperor Houshao of Han']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Emperor_Houshao_of_Han . ?k rdf:type ontology:common_name }
[]
common name
Q7214
SYSTEM
Emperor Hui of Han
Q7214
(c(Q502895),P40,Q7220)
action filter_type
action find_reverse
entity Q7220
relation P40
type Q502895
[ANSWER] has Emperor Houshao of Han as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q7220']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q7220 . ?k rdf:type ontology:Q502895 }
Emperor Hui of Han
Emperor Hui of Han has Emperor Houshao of Han as an offspring
Emperor Hui of Han
action filter_type
action find_reverse
entity Emperor Houshao of Han
relation child
type common name
[{'concept': 'common name'}, 'child', 'Emperor Houshao of Han']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Emperor_Houshao_of_Han . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7214
P20
Q56061
USER
Where did that person die ?
(Q7214,P20,c(Q56061))
action filter_type
action find
entity Q7214
relation P20
type Q56061
['Q7214', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q7214 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Emperor Hui of Han
action filter_type
action find
entity Emperor Hui of Han
relation place of death
type administrative territorial entity
['Emperor Hui of Han', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Emperor_Hui_of_Han property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q6501000
SYSTEM
Chang'an
Q6501000
(Q7214,P20,c(Q56061))
action filter_type
action find
entity Q7214
relation P20
type Q56061
That person died in [ANSWER]
['Q7214', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q7214 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Chang'an
That person died in Chang'an
Chang'an
action filter_type
action find
entity Emperor Hui of Han
relation place of death
type administrative territorial entity
['Emperor Hui of Han', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Emperor_Hui_of_Han property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7214
P22
Q502895
USER
Who are the offspring of Emperor Hui of Han ?
(c(Q502895),P22,Q7214)
action filter_type
action find_reverse
entity Q7214
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q7214']
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q7214 . ?v rdf:type ontology:Q502895 }
Emperor Hui of Han
action filter_type
action find_reverse
entity Emperor Hui of Han
relation father
type common name
[{'concept': 'common name'}, 'father', 'Emperor Hui of Han']
SELECT DISTINCT ?v WHERE { ?v property:father resource:Emperor_Hui_of_Han . ?v rdf:type ontology:common_name }
[]
common name
Q7220 Q7217 Q10900016
SYSTEM
Emperor Houshao of Han, Liu Gong, Liu Wu
Q10900016 Q10899571 Q7220 Q10897658 Q10899336 Q7217 Q10899739
(c(Q502895),P22,Q7214)
action filter_type
action find_reverse
entity Q7214
relation P22
type Q502895
The offspring of Emperor Hui of Han are the [ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q7214']
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q7214 . ?v rdf:type ontology:Q502895 }
Liu Wu Liu Tai Emperor Houshao of Han Liu Chao Liu Buyi Liu Gong Liu Qiang
The offspring of Emperor Hui of Han are the Emperor Houshao of Han, Liu Gong and Liu Wu
Emperor Houshao of Han Liu Gong Liu Wu
action filter_type
action find_reverse
entity Emperor Hui of Han
relation father
type common name
[{'concept': 'common name'}, 'father', 'Emperor Hui of Han']
SELECT DISTINCT ?v WHERE { ?v property:father resource:Emperor_Hui_of_Han . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7220
P25
Q502895
USER
Which female person was the parent of Emperor Houshao of Han ?
(Q7220,P25,c(Q502895))
action filter_type
action find
entity Q7220
relation P25
type Q502895
['Q7220', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q7220 property:P25 ?r . ?r rdf:type ontology:Q502895 }
Emperor Houshao of Han
action filter_type
action find
entity Emperor Houshao of Han
relation mother
type common name
['Emperor Houshao of Han', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Emperor_Houshao_of_Han property:mother ?r . ?r rdf:type ontology:common_name }
[]
common name
Q712301
SYSTEM
Empress Zhang Yan
Q712301
(Q7220,P25,c(Q502895))
action filter_type
action find
entity Q7220
relation P25
type Q502895
[ANSWER] was the parent of Emperor Houshao of Han
['Q7220', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q7220 property:P25 ?r . ?r rdf:type ontology:Q502895 }
Empress Zhang Yan
Empress Zhang Yan was the parent of Emperor Houshao of Han
Empress Zhang Yan
action filter_type
action find
entity Emperor Houshao of Han
relation mother
type common name
['Emperor Houshao of Han', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Emperor_Houshao_of_Han property:mother ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q712301
P9
Q502895
USER
Who is that one a sister of ?
(c(Q502895),P9,Q712301)
action filter_type
action find_reverse
entity Q712301
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q712301']
SELECT DISTINCT ?h WHERE { ?h property:P9 resource:Q712301 . ?h rdf:type ontology:Q502895 }
Empress Zhang Yan
action filter_type
action find_reverse
entity Empress Zhang Yan
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Empress Zhang Yan']
SELECT DISTINCT ?h WHERE { ?h property:sister resource:Empress_Zhang_Yan . ?h rdf:type ontology:common_name }
[]
common name
Q11066515
SYSTEM
Zhang Yan
Q11066515
(c(Q502895),P9,Q712301)
action filter_type
action find_reverse
entity Q712301
relation P9
type Q502895
That one a sister of is the [ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q712301']
SELECT DISTINCT ?h WHERE { ?h property:P9 resource:Q712301 . ?h rdf:type ontology:Q502895 }
Zhang Yan
That one a sister of is the Zhang Yan
Zhang Yan
action filter_type
action find_reverse
entity Empress Zhang Yan
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Empress Zhang Yan']
SELECT DISTINCT ?h WHERE { ?h property:sister resource:Empress_Zhang_Yan . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q2342494 Q5292 Q502895
USER
How many people have been mentioned in atmost 2 collectables or encyclopedias ?
(c(Q502895),P248,c(Q2342494)|c(Q5292))
action count
action atmost
action union
action find_tuple_counts
relation P248
type Q502895
type Q2342494
action find_tuple_counts
relation P248
type Q502895
type Q5292
value 2
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q5292'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?b ) WHERE { { ?y property:P248 ?i . ?y rdf:type ontology:Q502895 . ?i rdf:type ontology:Q2342494 } UNION { ?y property:P248 ?i . ?i rdf:type ontology:Q5292 . ?y rdf:type ontology:Q502895 } } GROUP BY ?y } . FILTER ( ?b <= 2 ) }
action count
action atmost
action union
action find_tuple_counts
relation stated in
type common name
type collectable
action find_tuple_counts
relation stated in
type common name
type encyclopedia
value 2
[{'concept': 'common name'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'encyclopedia'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?b ) WHERE { { ?y property:stated_in ?i . ?y rdf:type ontology:common_name . ?i rdf:type ontology:collectable } UNION { ?y property:stated_in ?i . ?i rdf:type ontology:encyclopedia . ?y rdf:type ontology:common_name } } GROUP BY ?y } . FILTER ( ?b <= 2 ) }
[]
collectable encyclopedia common name
SYSTEM
385
Q16859599 Q6130307 Q6255166 Q6255164 Q5239877 Q5239876 Q5144961 Q5239879 Q16210814 Q16013737 Q7342716 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q8017696 Q6237329 Q5232852 Q16859511 Q16011002 Q17402519 Q6257923 Q6255435 Q6262994 Q6262996 Q6262991 Q15456236 Q6249889 Q6255181 Q6249883 Q6255184 Q15996304 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6260667 Q6236088 Q16062974 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q9069823 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16857953 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q11035229 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q5241202 Q6260355 Q18534216 Q18534214 Q6130319 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6249873 Q6255172 Q6249879 Q6221412 Q16060029 Q7351128 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q3528952 Q6237337 Q1776423 Q6255426 Q6228764 Q6228766 Q6246935 Q5232850 Q5232857 Q5232854 Q18546651 Q5232859 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q8018834 Q6145023 Q6145020 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q16015315 Q8004402 Q8004400 Q5537303 Q18530282 Q5537308 Q15990337 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q5606277 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q15994621 Q15994622 Q6221434 Q17423413 Q7493391 Q8020388 Q6239263 Q6237345 Q8020387 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q5239881 Q17308862 Q5239884 Q8019900 Q8019902 Q15995818 Q16859222 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q16228915 Q15637844 Q4679001 Q6237308 Q6237302 Q16194812 Q8017685 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q6263006 Q6263007 Q15452052 Q6255417 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q6246952 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 Q16043626 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q6255170 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5239886 Q5233458 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020396 Q8020390 Q6221424 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q5241196 Q6255179 Q6262733 Q6262982 Q6262980 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q15994581 Q6244744 Q6244748 Q6470045 Q2778111 Q18546659 Q18546658 Q16859187 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q5240358 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q6263011 Q10363011 Q6257915 Q6145009 Q6145005 Q6145007 Q6145001 Q5233462 Q5233466 Q5233469 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246965 Q6246963 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q16225515 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q2342494)|c(Q5292))
action count
action atmost
action union
action find_tuple_counts
relation P248
type Q502895
type Q2342494
action find_tuple_counts
relation P248
type Q502895
type Q5292
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q5292'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?b ) WHERE { { ?y property:P248 ?i . ?y rdf:type ontology:Q502895 . ?i rdf:type ontology:Q2342494 } UNION { ?y property:P248 ?i . ?i rdf:type ontology:Q5292 . ?y rdf:type ontology:Q502895 } } GROUP BY ?y } . FILTER ( ?b <= 2 ) }
William Thompson James Brown John Roberts John Roberts David Smith David Smith Colin Campbell David Smith David Evans John Roberts Robert Campbell Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall John Hall William Robinson John Hall David Davies John Robinson John Parker Greg Smith John Simpson John Rogers John Ward John Ward John Ward William Williams John Murphy John Roberts John Murphy John Roberts John Martin Robert Williams John Rogers John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Thompson John Gray James Walker John Williams John Gray John Gray John Bell David Thomas John Gray Robert Williams Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith Greg Smith John Martin David Wilson John Martin Gilles De Haes John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin John Davies John Smith John Martin John Parker John Robinson John Robinson David Evans John Carter William Thompson William Walker William Thompson John Brown John Smith David Wilson John Taylor John Ward John Taylor James Brown James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Murphy John Roberts John Murphy John Bell David Davies Robert Williams Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango George Brown John Hall Raud the Strong John Rogers John Davies John Davies John Martin David Davies David Davies David Davies John Williams David Davies James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith William Stewart James Walker James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson David Thomas William Anderson William Anderson George Brown John Randall Clarke George Brown James Walker David Evans John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan John Hill William Brown John Murray John Martin John Gray Ethan Wragge John Murphy William Brown James Walker John Rogers James Brown Epimenides John Martin William Thompson John Walker John Hill James Brown James Brown Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Bell John Murphy David Smith John Bell John Bell John Hill John Martin John Martin John Bell James Brown Shelby Harris William Williams John Hill John Hall William Williams William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson David Smith Colin Campbell David Smith William Walker William Walker John Thompson Robert Williams David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown George Brown John Wilson David Smith Adam Dunkels John Hall John Hall David Smith William Robinson William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Ward John Ward John Rogers John Rogers John Kennedy John Ward John Ward John Davies George Brown John Martin George Brown John Martin John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis John Roberts William Thompson John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell John Roberts David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Smith David Evans John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams William Williams John Bell Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson David Wilson John Roberts John Walker John Ward John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis John Lewis John Lewis Lady Colin Campbell Greg Smith John Williams John Williams James Walker John Williams John Rogers John Williams John Williams John Williams David Thomas Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith John Davies Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Hall John Ward Risques Pereira John Simpson James Walker James Walker James Walker James Walker David Evans David Evans David Evans Victorinus John Parker Robert Williams John Kennedy George Brown George Brown George Brown John Martin John Martin John Martin John Ward William Williams William Thompson John Walker John Walker William Thompson John Walker John Kennedy John Simpson John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
385
action count
action atmost
action union
action find_tuple_counts
relation stated in
type common name
type collectable
action find_tuple_counts
relation stated in
type common name
type encyclopedia
value 2
[{'concept': 'common name'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'encyclopedia'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?b ) WHERE { { ?y property:stated_in ?i . ?y rdf:type ontology:common_name . ?i rdf:type ontology:collectable } UNION { ?y property:stated_in ?i . ?i rdf:type ontology:encyclopedia . ?y rdf:type ontology:common_name } } GROUP BY ?y } . FILTER ( ?b <= 2 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q7220
P21 P7
Q502895
USER
Which people are Emperor Houshao of Han a brother of and are a male ?
AND((c(Q502895),P7,Q7220), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q7220
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q7220'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b property:P7 resource:Q7220 . ?b property:P21 resource:Q6581097 . ?b rdf:type ontology:Q502895 }
male Emperor Houshao of Han
action filter_type
action intersection
action find_reverse
entity Emperor Houshao of Han
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Emperor Houshao of Han'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b property:brother resource:Emperor_Houshao_of_Han . ?b property:gender resource:male . ?b rdf:type ontology:common_name }
[]
common name
Q10900016 Q10899571 Q10899336 Q10897658 Q7217 Q10899739
SYSTEM
Liu Wu, Liu Tai, Liu Buyi, Liu Chao, Liu Gong, Liu Qiang
Q10900016 Q10899571 Q10899336 Q10897658 Q7217 Q10899739
AND((c(Q502895),P7,Q7220), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q7220
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are Emperor Houshao of Han a brother of and are a male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q7220'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b property:P7 resource:Q7220 . ?b property:P21 resource:Q6581097 . ?b rdf:type ontology:Q502895 }
Liu Wu Liu Tai Liu Buyi Liu Chao Liu Gong Liu Qiang
Liu Wu, Liu Tai, Liu Buyi, Liu Chao, Liu Gong and Liu Qiang are Emperor Houshao of Han a brother of and are a male
Liu Wu Liu Tai Liu Buyi Liu Chao Liu Gong Liu Qiang
action filter_type
action intersection
action find_reverse
entity Emperor Houshao of Han
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Emperor Houshao of Han'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b property:brother resource:Emperor_Houshao_of_Han . ?b property:gender resource:male . ?b rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q288 Q6501000
P20
Q502895
USER
Which people expired at Chang'an or Tours ?
OR((c(Q502895),P20,Q6501000), (c(Q502895),P20,Q288))
action filter_type
action union
action find_reverse
entity Q6501000
relation P20
action find_reverse
entity Q288
relation P20
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q6501000'], [{'concept': 'Q502895'}, 'P20', 'Q288']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { VALUES ( ?v ) { ( resource:Q6501000 ) ( resource:Q288 ) } . ?f property:P20 ?v } }
Tours Chang'an
action filter_type
action union
action find_reverse
entity Chang'an
relation place of death
action find_reverse
entity Tours
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', "Chang'an"], [{'concept': 'common name'}, 'place of death', 'Tours']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { VALUES ( ?v ) { ( resource:Chang'an ) ( resource:Tours ) } . ?f property:place_of_death ?v } }
[]
common name
Q27150018 Q18418630 Q3386256 Q20089363 Q558312 Q3175052 Q3380347 Q18901086 Q2871304 Q3092339
SYSTEM
Some of them are Yvette Varvoux, César Bardonin de Sansac, Pierre Mesnard, Pierre Jourdan, Chunyu Yi, Jean Vimenet, Philippe Maupas, Lucien-Leopold Lobin, Auguste Marceau, Félix-Pierre Fruchaud
Q16661322 Q15974205 Q3105630 Q3175381 Q16216876 Q3271244 Q11631980 Q2835304 Q3408569 Q3615751 Q3589171 Q27148449 Q3085132 Q23376393 Q453167 Q19828235 Q3084913 Q3141758 Q3174799 Q457629 Q23765774 Q16025963 Q3372364 Q3274331 Q3093804 Q3420641 Q2795878 Q7214 Q566346 Q15967492 Q15646092 Q3611175 Q731681 Q1696980 Q3293824 Q334081 Q3380933 Q1066885 Q3184577 Q326145 Q3131326 Q3261219 Q3171144 Q1451116 Q3054471 Q3305989 Q3416401 Q3385618 Q123389 Q19362278 Q1641647 Q348333 Q15967845 Q3101183 Q4793387 Q3436388 Q3089371 Q3371045 Q2960689 Q712023 Q202146 Q3302350 Q31814 Q3060094 Q3120025 Q724293 Q17748642 Q3169853 Q556852 Q3048 Q2830519 Q3172289 Q3387638 Q3261924 Q3384577 Q693710 Q2979450 Q1152149 Q534089 Q18418630 Q3351455 Q1871432 Q15970148 Q2833381 Q3372541 Q3308863 Q18901086 Q1450960 Q3102894 Q15969701 Q15407425 Q335293 Q20089363 Q15972086 Q913528 Q311398 Q19294994 Q1644475 Q2871608 Q3120150 Q454553 Q1565766 Q22683817 Q3010430 Q3386598 Q16026178 Q713112 Q2865408 Q3260499 Q5370024 Q264060 Q712287 Q3339915 Q3068552 Q232365 Q8313314 Q3084794 Q378356 Q6763109 Q2853473 Q3380347 Q15968002 Q2871304 Q1336593 Q3092339 Q27554550 Q3172770 Q3263393 Q1685475 Q3068631 Q1677874 Q3440035 Q4485139 Q433953 Q4133024 Q20241029 Q3083600 Q2424371 Q169547 Q3787747 Q676595 Q2462727 Q1382073 Q3175052 Q24020380 Q154332 Q21634573 Q18811771 Q3425676 Q2255972 Q16646229 Q720384 Q3197941 Q558312 Q27150018 Q16013953 Q5360962 Q21883865 Q1823088 Q722403 Q7224 Q2977534 Q3175603 Q525747 Q712581 Q286593 Q16026741 Q441235 Q143059 Q3386256 Q3382199 Q3592060 Q318998 Q21009288 Q8324132 Q3295683 Q3383757 Q67841 Q3173500 Q26690279 Q261866 Q3160141 Q703901 Q2833718 Q1340473 Q7225 Q11985000 Q2978038 Q3164545 Q3160865 Q1285764 Q3172806 Q574498
OR((c(Q502895),P20,Q6501000), (c(Q502895),P20,Q288))
action filter_type
action union
action find_reverse
entity Q6501000
relation P20
action find_reverse
entity Q288
relation P20
type Q502895
[ANSWERS] expired at Chang'an or Tours
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q6501000'], [{'concept': 'Q502895'}, 'P20', 'Q288']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { VALUES ( ?v ) { ( resource:Q6501000 ) ( resource:Q288 ) } . ?f property:P20 ?v } }
Louis Jouhanneau Jean Castagnou Gilbert Bozon Jean de Dammartin Léon Rohard Léon Palustre Lun Gongren Alfred-Henri-Amand Mame Prudent-Jean Bruley Andrea Ghetti Épiphane Dunod Jeanne Nabineau François Lebrun Jules Turgan Ingoberga Maurice Boille François II de Montholon René Benjamin Jean Thurel Yijing Alfred Perlat Félix Le Roy Paul Veysseyre Cen Can Gabriel Jérôme Sénar Raymond Aymeric Philippe Joseph de Montesquiou-Fezensac Ernest Cézanne Emperor Hui of Han Bernard Faÿ Marie Pierre Félix Chesnon de Champmorin Paul-Henri Gourdot Alfonso Gonzaga Hildebert Jeanne-Marie de Maille Marius Maffray Dong Zhuo Philippe de Coetquis Empress Xiao Joseph Baudichon Gustave de Beaumont Henri Jacques Goüin-Moisant Louis Benoist de La Grandière Jean Cartier François Marie Guyonneau de Pambour Ennemond Bonnard Menie Grégoire Radegonde de France Pierre Joseph Louis Alfred Dubois Robert Pinget Maurice Tournade Jo Davidson Jean Bourdichon Étienne Gauthier Geoffroy de Vassali Armentarius Robert Teisseire Frère Agathon Paul Deribéré-Desgardes Charles de Rosmadec Jean Marcel Honoré Yves Chauvin Max Vialle Léon Denis Eugène Pic-Paris Guillaume Le Métayer dit Rochambeau Sengzhao Jean-Pierre Ouvrard Jean-Pierre de Peretti Della Rocca Louis, Count of Vendôme Charles Maurras Alan Jack Jean Germain Pierre de Montesquiou Louis François Alexandre d'Harambure Pierre Crémont Elias II, Count of Maine Clo Baril Empress Zhangsun Filippa Duci César Bardonin de Sansac Olivier de La Poëze Louis-Martin Berthault Louis René Auvray Alexandre-Pierre Odart Paul Étienne de Villiers du Terrage Michel Amelot de Gournay Lucien-Leopold Lobin François Béroalde de Verville Georges Houssard Léon Formose de Barbançois Sébastien Paul Guillaume-Louis Kumārajīva Pierre Jourdan Marie Médard Brice of Tours Jean Fouquet Louis Henri Marie Ferrand Maurice Huet Augustin Louis de Montblanc Guillaume Regnault Odo of Cluny Jnanagupta Marcel Cretagne César Budan de Russé Pierre Philippe Baignoux Pierre Myrens Empress Wang Arthur de Quinemont Louis-François Jéhan Yang Jiong Frederick IV of Naples Jizang Nicola de Brancas Ferdinand Dubreuil Clotilde Jean Baptiste Félix Lajard François Grudé Wei Zheng Marie of St Peter Antoine-Gabriel Christin Philippe Maupas Paul Louis François Beaulieu Lépine Auguste Marceau Empress Wei Zifu Félix-Pierre Fruchaud Sante Vallar Jean Jacques Liébert Louis de Bourbon-Vendôme, évêque d'Avranches Jean Dauberval Ferdinand Morin Jacques Albrespic Roland Douatte John Forster FitzGerald Jean-Baptiste Willart de Grécourt Jan Hambourg Marinette Mathieu François-Nicolas Preuilly Guillaume André Villoteau Judith of Bavaria Huìguān René Ouvrard Dao'an Gatianus of Tours Jean Vimenet Noël Aubin Alcuin Joseph Simon Pozac Noël Barbara René-François Julien Guillaume-René Meignan Joseph Sain Giovanni Francesco Rustici Kléber Loustau Chunyu Yi Yvette Varvoux André Sanglier Elijah Montalto Marc de la Nativité de la Vierge Gérard Machet Regnault de Chartres Emperor Jing of Han Claude Génia Jean de Morvillier Ingelger Li Chunfeng Émile Warré Jean-Baptiste Clément Dulac Louis Jules Trochu Johannes Ockeghem Pierre Mesnard Consort Xiao Étienne Benoist de La Grandière Han Yu Polyeucte Berlier de Vauplane Paul Deslandes Martin de Beaune Pierre Archambault Gregory of Tours Jean Meunier Jean Hardion Luitgard Jacques Vassor Charles I d'Amboise Alexandre Goüin Julien-Léopold Lobin Emperor Wu of Han Georges Alexis Mocquery Claude Raymond Guyon Jean-Baptiste du Chilleau Jamel Eddine Bencheikh Shangguan Wan'er Jean Javal Han Xin
Yvette Varvoux, César Bardonin de Sansac, Pierre Mesnard, Pierre Jourdan, Chunyu Yi, Jean Vimenet, Philippe Maupas, Lucien-Leopold Lobin, Auguste Marceau and Félix-Pierre Fruchaud expired at Chang'an or Tours
Yvette Varvoux César Bardonin de Sansac Pierre Mesnard Pierre Jourdan Chunyu Yi Jean Vimenet Philippe Maupas Lucien-Leopold Lobin Auguste Marceau Félix-Pierre Fruchaud
action filter_type
action union
action find_reverse
entity Chang'an
relation place of death
action find_reverse
entity Tours
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', "Chang'an"], [{'concept': 'common name'}, 'place of death', 'Tours']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { VALUES ( ?v ) { ( resource:Chang'an ) ( resource:Tours ) } . ?f property:place_of_death ?v } }
[]