Simple Question (Direct)
Simple Question
Q7340656
P641
Q349
USER
Which sport was Rob Wolleaston a part of ?
(Q7340656,P641,c(Q349))
action filter_type
action find
entity Q7340656
relation P641
type Q349
['Q7340656', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q7340656 property:P641 ?i . ?i rdf:type ontology:Q349 }
Rob Wolleaston
action filter_type
action find
entity Rob Wolleaston
relation sport
type sport
['Rob Wolleaston', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Rob_Wolleaston property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7340656,P641,c(Q349))
action filter_type
action find
entity Q7340656
relation P641
type Q349
Which sport was Rob Wolleaston a part of
['Q7340656', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q7340656 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
Which sport was Rob Wolleaston a part of
association football
action filter_type
action find
entity Rob Wolleaston
relation sport
type sport
['Rob Wolleaston', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Rob_Wolleaston property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7340656
P19
Q123705
USER
Which neighborhood was that person born at ?
(Q2736,P19,c(Q123705))
action filter_type
action find
entity Q7340656
relation P19
type Q123705
['Q2736', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?h WHERE { resource:Q7340656 property:P19 ?h . ?h rdf:type ontology:Q123705 }
Rob Wolleaston
action filter_type
action find
entity Rob Wolleaston
relation place of birth
type neighborhood
['association football', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?h WHERE { resource:Rob_Wolleaston property:place_of_birth ?h . ?h rdf:type ontology:neighborhood }
[]
neighborhood
Q83294
SYSTEM
Perivale
Q83294
(Q2736,P19,c(Q123705))
action filter_type
action find
entity Q7340656
relation P19
type Q123705
That person was born at [ANSWER]
['Q2736', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?h WHERE { resource:Q7340656 property:P19 ?h . ?h rdf:type ontology:Q123705 }
Perivale
That person was born at Perivale
Perivale
action filter_type
action find
entity Rob Wolleaston
relation place of birth
type neighborhood
['association football', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?h WHERE { resource:Rob_Wolleaston property:place_of_birth ?h . ?h rdf:type ontology:neighborhood }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q83294 Q4983087 Q490951
P17
Q15617994
USER
Is that neighborhood situated in Buckeye Local School District and Gratteri ?
(Q83294,P17,Q4983087) (Q83294,P17,Q490951)
action is_in
entity Q83294
action intersection
action find_reverse
entity Q4983087
relation P17
action find_reverse
entity Q490951
relation P17
['Q83294', 'P17', 'Q4983087'] ['Q83294', 'P17', 'Q490951']
ASK WHERE { resource:Q83294 property:P17 resource:Q4983087 . resource:Q83294 property:P17 resource:Q490951 }
Perivale Buckeye Local School District Gratteri
action is_in
entity Perivale
action intersection
action find_reverse
entity Buckeye Local School District
relation country
action find_reverse
entity Gratteri
relation country
['Perivale', 'country', 'Buckeye Local School District'] ['Perivale', 'country', 'Gratteri']
ASK WHERE { resource:Perivale property:country resource:Buckeye_Local_School_District . resource:Perivale property:country resource:Gratteri }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q83294,P17,Q4983087) (Q83294,P17,Q490951)
action is_in
entity Q83294
action intersection
action find_reverse
entity Q4983087
relation P17
action find_reverse
entity Q490951
relation P17
[ANSWER]
['Q83294', 'P17', 'Q4983087'] ['Q83294', 'P17', 'Q490951']
ASK WHERE { resource:Q83294 property:P17 resource:Q4983087 . resource:Q83294 property:P17 resource:Q490951 }
No
action is_in
entity Perivale
action intersection
action find_reverse
entity Buckeye Local School District
relation country
action find_reverse
entity Gratteri
relation country
['Perivale', 'country', 'Buckeye Local School District'] ['Perivale', 'country', 'Gratteri']
ASK WHERE { resource:Perivale property:country resource:Buckeye_Local_School_District . resource:Perivale property:country resource:Gratteri }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P206
Q355304 Q123705
USER
Which watercourses are situated close to exactly 1 neighborhood ?
(c(Q123705),P206,c(Q355304))
action equal
action find_reverse_tuple_counts
relation P206
type Q355304
type Q123705
value 1
[{'concept': 'Q123705'}, 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P206 ?m . ?m rdf:type ontology:Q355304 . ?g rdf:type ontology:Q123705 } GROUP BY ?m } . FILTER ( ?c = 1 ) }
action equal
action find_reverse_tuple_counts
relation located next to body of water
type watercourse
type neighborhood
value 1
[{'concept': 'neighborhood'}, 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:located_next_to_body_of_water ?m . ?m rdf:type ontology:watercourse . ?g rdf:type ontology:neighborhood } GROUP BY ?m } . FILTER ( ?c = 1 ) }
[]
watercourse neighborhood
Q736575 Q3339 Q309243
SYSTEM
Oulujoki, Bille, Grand Canal
Q218701 Q736575 Q309243 Q548 Q3339
(c(Q123705),P206,c(Q355304))
action equal
action find_reverse_tuple_counts
relation P206
type Q355304
type Q123705
value 1
[ANSWERS] are situated close to exactly 1 neighborhood
[{'concept': 'Q123705'}, 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P206 ?m . ?m rdf:type ontology:Q355304 . ?g rdf:type ontology:Q123705 } GROUP BY ?m } . FILTER ( ?c = 1 ) }
Zollkanal Oulujoki Grand Canal Vistula Bille
Oulujoki, Bille and Grand Canal are situated close to exactly 1 neighborhood
Oulujoki Bille Grand Canal
action equal
action find_reverse_tuple_counts
relation located next to body of water
type watercourse
type neighborhood
value 1
[{'concept': 'neighborhood'}, 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:located_next_to_body_of_water ?m . ?m rdf:type ontology:watercourse . ?g rdf:type ontology:neighborhood } GROUP BY ?m } . FILTER ( ?c = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7340656
P27
Q15617994
USER
Which administrative territory is Rob Wolleaston a civilian of ?
(Q7340656,P27,c(Q15617994))
action filter_type
action find
entity Q7340656
relation P27
type Q15617994
['Q7340656', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7340656 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Rob Wolleaston
action filter_type
action find
entity Rob Wolleaston
relation country of citizenship
type designation for an administrative territorial entity
['Rob Wolleaston', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Rob_Wolleaston property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7340656,P27,c(Q15617994))
action filter_type
action find
entity Q7340656
relation P27
type Q15617994
Which administrative territory is Rob Wolleaston a civilian of
['Q7340656', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7340656 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
United Kingdom
Which administrative territory is Rob Wolleaston a civilian of
United Kingdom
action filter_type
action find
entity Rob Wolleaston
relation country of citizenship
type designation for an administrative territorial entity
['Rob Wolleaston', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Rob_Wolleaston property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7340656
P21
Q290
USER
Which sex does that person possess ?
(Q145,P21,c(Q290))
action filter_type
action find
entity Q7340656
relation P21
type Q290
['Q145', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q7340656 property:P21 ?t . ?t rdf:type ontology:Q290 }
Rob Wolleaston
action filter_type
action find
entity Rob Wolleaston
relation gender
type sex
['United Kingdom', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Rob_Wolleaston property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q145,P21,c(Q290))
action filter_type
action find
entity Q7340656
relation P21
type Q290
That person possesses a [ANSWER]
['Q145', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q7340656 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Rob Wolleaston
relation gender
type sex
['United Kingdom', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Rob_Wolleaston property:gender ?t . ?t rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relations with atmost 89 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 89
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { FILTER ( ?h <= 89 ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?h ) WHERE { ?g property:P530 ?v . ?g rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?g } }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 89
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { FILTER ( ?h <= 89 ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?h ) WHERE { ?g property:diplomatic_relation ?v . ?g rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 89
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { FILTER ( ?h <= 89 ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?h ) WHERE { ?g property:P530 ?v . ?g rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?g } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 89
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { FILTER ( ?h <= 89 ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?h ) WHERE { ?g property:diplomatic_relation ?v . ?g rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P710
Q820655 Q350604
USER
How many statutes or armed conflicts did United Kingdom particiate in ?
(c(Q820655),P710,Q145) (c(Q350604),P710,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P710
type Q820655
action filter_type
action find_reverse
entity Q145
relation P710
type Q350604
[{'concept': 'Q820655'}, 'P710', 'Q145'] [{'concept': 'Q350604'}, 'P710', 'Q145']
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:Q820655 ) ( ontology:Q350604 ) } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation participant
type statute
action filter_type
action find_reverse
entity United Kingdom
relation participant
type armed conflict
[{'concept': 'statute'}, 'participant', 'United Kingdom'] [{'concept': 'armed conflict'}, 'participant', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:statute ) ( ontology:armed_conflict ) } }
[]
statute armed conflict
SYSTEM
3
Q940618 Q1000658 Q329203
(c(Q820655),P710,Q145) (c(Q350604),P710,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P710
type Q820655
action filter_type
action find_reverse
entity Q145
relation P710
type Q350604
[ANSWER]
[{'concept': 'Q820655'}, 'P710', 'Q145'] [{'concept': 'Q350604'}, 'P710', 'Q145']
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:Q820655 ) ( ontology:Q350604 ) } }
Cod Wars Budapest Memorandum on Security Assurances First Boer War
3
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation participant
type statute
action filter_type
action find_reverse
entity United Kingdom
relation participant
type armed conflict
[{'concept': 'statute'}, 'participant', 'United Kingdom'] [{'concept': 'armed conflict'}, 'participant', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:statute ) ( ontology:armed_conflict ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1865449 Q3339
P17
Q1048835
USER
Which political territories are Bille or Løgten present in ?
OR((Q3339,P17,c(Q1048835)), (Q1865449,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q3339
relation P17
action find
entity Q1865449
relation P17
type Q1048835
{'OR': [['Q3339', 'P17', {'concept': 'Q1048835'}], ['Q1865449', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1048835 . { ?p property:P17 ?e . VALUES ( ?p ) { ( resource:Q3339 ) ( resource:Q1865449 ) } } }
Løgten Bille
action filter_type
action union
action find
entity Bille
relation country
action find
entity Løgten
relation country
type political territorial entity
{'OR': [['Bille', 'country', {'concept': 'political territorial entity'}], ['Løgten', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_territorial_entity . { ?p property:country ?e . VALUES ( ?p ) { ( resource:Bille ) ( resource:Løgten ) } } }
[]
political territorial entity
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
OR((Q3339,P17,c(Q1048835)), (Q1865449,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q3339
relation P17
action find
entity Q1865449
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q3339', 'P17', {'concept': 'Q1048835'}], ['Q1865449', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1048835 . { ?p property:P17 ?e . VALUES ( ?p ) { ( resource:Q3339 ) ( resource:Q1865449 ) } } }
Germany Denmark
Which political territories are Bille or Løgten present in
Germany Denmark
action filter_type
action union
action find
entity Bille
relation country
action find
entity Løgten
relation country
type political territorial entity
{'OR': [['Bille', 'country', {'concept': 'political territorial entity'}], ['Løgten', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_territorial_entity . { ?p property:country ?e . VALUES ( ?p ) { ( resource:Bille ) ( resource:Løgten ) } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q35
P47
Q1048835
USER
Which political territories are next to the border of those ones ?
(c(Q1048835),P47,Q183) (c(Q1048835),P47,Q35)
action filter_type
action find_reverse
entity prev_answer
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q183'] [{'concept': 'Q1048835'}, 'P47', 'Q35']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . VALUES ( ?y ) { ( resource:Q183 ) ( resource:Q35 ) } . ?n property:P47 ?y }
Germany Denmark
action filter_type
action find_reverse
entity prev_answer
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Germany'] [{'concept': 'political territorial entity'}, 'shares border with', 'Denmark']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . VALUES ( ?y ) { ( resource:Germany ) ( resource:Denmark ) } . ?n property:shares_border_with ?y }
[]
political territorial entity
Q183 Q35 Q40
SYSTEM
Germany, Denmark, Austria
Q13116 Q191091 Q35 Q40 Q183
(c(Q1048835),P47,Q183) (c(Q1048835),P47,Q35)
action filter_type
action find_reverse
entity prev_answer
relation P47
type Q1048835
[ANSWERS] are next to the border of those ones
[{'concept': 'Q1048835'}, 'P47', 'Q183'] [{'concept': 'Q1048835'}, 'P47', 'Q35']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . VALUES ( ?y ) { ( resource:Q183 ) ( resource:Q35 ) } . ?n property:P47 ?y }
Benelux Karlovy Vary Region Denmark Austria Germany
Germany, Denmark and Austria are next to the border of those ones
Germany Denmark Austria
action filter_type
action find_reverse
entity prev_answer
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Germany'] [{'concept': 'political territorial entity'}, 'shares border with', 'Denmark']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . VALUES ( ?y ) { ( resource:Germany ) ( resource:Denmark ) } . ?n property:shares_border_with ?y }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q35 Q40
P20
Q502895
USER
Which people have those political territories as place of death ?
(c(Q502895),P20,Q183) (c(Q502895),P20,Q35) (c(Q502895),P20,Q40)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q183'] [{'concept': 'Q502895'}, 'P20', 'Q35'] [{'concept': 'Q502895'}, 'P20', 'Q40']
SELECT DISTINCT ?y WHERE { ?y property:P20 ?x . ?y rdf:type ontology:Q502895 . VALUES ( ?x ) { ( resource:Q13116 ) ( resource:Q191091 ) ( resource:Q35 ) } }
Germany Denmark Austria
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Germany'] [{'concept': 'common name'}, 'place of death', 'Denmark'] [{'concept': 'common name'}, 'place of death', 'Austria']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death ?x . ?y rdf:type ontology:common_name . VALUES ( ?x ) { ( resource:Benelux ) ( resource:Karlovy_Vary_Region ) ( resource:Denmark ) } }
[]
common name
Q246812 Q93373 Q253571
SYSTEM
Sweyn II of Denmark, Archduke Rudolf of Austria, Berengaria of Portugal
Q4148022 Q1397264 Q5621239 Q1373411 Q109217 Q5076063 Q434951 Q7377229 Q111967 Q5503719 Q2590123 Q2870937 Q25982544 Q19429807 Q5669978 Q2077408 Q3065908 Q106236 Q63842 Q6262425 Q192706 Q1510611 Q11899067 Q4722753 Q1608811 Q12017332 Q888241 Q1798892 Q107090 Q98934 Q12949807 Q15410611 Q6371991 Q360127 Q5740909 Q4055451 Q6113313 Q6372180 Q489837 Q2261253 Q97768 Q7558545 Q16591253 Q6775938 Q4217666 Q6133187 Q1747310 Q1506834 Q3157736 Q23001580 Q6134392 Q3430638 Q568282 Q98860 Q7965236 Q6775575 Q5543368 Q110396 Q4238358 Q3376378 Q5534341 Q108609 Q467490 Q7965391 Q3056493 Q2080501 Q17252417 Q5752133 Q1712808 Q3200578 Q5541015 Q14711384 Q16063948 Q8002290 Q2303068 Q4815805 Q4218746 Q17471855 Q86069 Q16569625 Q5348033 Q5734765 Q1390828 Q12019463 Q103023 Q2545075 Q16591909 Q6143697 Q16886377 Q7350225 Q91927 Q1222313 Q130623 Q5258350 Q2528825 Q17522390 Q23616153 Q4299035 Q73811 Q2562796 Q5343045 Q20477029 Q7106940 Q711468 Q4723438 Q102368 Q5388092 Q1938351 Q3767051 Q6380893 Q7197042 Q4271993 Q4400180 Q4523816 Q100607 Q629895 Q5649932 Q11717528 Q508473 Q18169932 Q4083957 Q7983518 Q4147609 Q4279850 Q315824 Q263753 Q6372392 Q12049488 Q216755 Q6748535 Q5232066 Q5650526 Q5649557 Q1680961 Q1341822 Q6371413 Q1999281 Q99732 Q4527638 Q99709 Q1457957 Q3193357 Q5535670 Q3401235 Q17522 Q12026769 Q156778 Q1582660 Q3059830 Q2752060 Q4502876 Q102080 Q95440 Q73537 Q214258 Q1974292 Q5710779 Q3440383 Q120947 Q471353 Q3027542 Q352523 Q566508 Q7782021 Q4394916 Q7345045 Q3559626 Q2644828 Q6446580 Q138513 Q4717857 Q5005234 Q36731 Q3359618 Q6423777 Q6216844 Q4830269 Q7559019 Q6347395 Q1397864 Q16065216 Q246812 Q12717473 Q5716602 Q12330086 Q7038071 Q613410 Q4919521 Q5134044 Q1969502 Q531648 Q384245 Q4982518 Q6044749 Q3430589 Q2106702 Q6875818 Q2192244 Q11973993 Q5341401 Q3437029 Q1703464 Q3833338 Q1606227 Q562944 Q6423805 Q4994537 Q5619134 Q3398701 Q5620066 Q4949031 Q2078791 Q4974907 Q7029394 Q1805326 Q6558738 Q6372004 Q972656 Q5618948 Q7235540 Q253571 Q1744240 Q428694 Q512261 Q555098 Q7983408 Q5109291 Q259116 Q2483406 Q5083533 Q5371276 Q3130303 Q434782 Q2321295 Q4962866 Q3428436 Q12326860 Q6238611 Q6525835 Q4919914 Q5361980 Q21467935 Q6547617 Q3362707 Q4962080 Q4948996 Q5349655 Q5810678 Q5126081 Q5338567 Q3398251 Q978076 Q6199705 Q4887166 Q6218871 Q5361978 Q12320183 Q1277411 Q4956372 Q6321595 Q1428739 Q6385533 Q75460 Q1624551 Q4877143 Q450608 Q263412 Q7109739 Q3191186 Q3182315 Q2904470 Q7113315 Q4956396 Q4957837 Q5504974 Q84868 Q20791917 Q155871 Q6705138 Q6372114 Q992353 Q115321 Q88717 Q1799993 Q1448048 Q12359074 Q90128 Q5499504 Q6118620 Q5650827 Q79092 Q1639964 Q19838689 Q1583011 Q6067142 Q12875016 Q93373 Q4932439 Q503332 Q78801 Q5275097 Q12003456 Q24718637 Q23899408 Q1599335 Q62708 Q1603947 Q3176095 Q1359866 Q21544065 Q5338592 Q9156368
(c(Q502895),P20,Q183) (c(Q502895),P20,Q35) (c(Q502895),P20,Q40)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[ANSWERS] have those political territories as place of death
[{'concept': 'Q502895'}, 'P20', 'Q183'] [{'concept': 'Q502895'}, 'P20', 'Q35'] [{'concept': 'Q502895'}, 'P20', 'Q40']
SELECT DISTINCT ?y WHERE { ?y property:P20 ?x . ?y rdf:type ontology:Q502895 . VALUES ( ?x ) { ( resource:Q13116 ) ( resource:Q191091 ) ( resource:Q35 ) } }
Grigory Grauerman Mohammad Yusuf Gustav Sturm Louis-Joseph de Montmorency-Laval Walter Köbel Charles Calvin Rogers Haim Yosef Zadok Rudolf Klemm Wilhelm Abeln Friedrich-Karl "Nasen" Müller Bruno Sutkus August Häfner Paul Joly Karsten Brodersen Harry J. Michael Peter Pagel Karl Ullrich Abraham Sulzbach Aloys Grillmeier John W. Minick William Gilbert Gerd Klier Viliam Pauliny Alfred Greim Herbert Moll František Mrázek Dobiáš Guido del Mestri Norbert Schmitz Hans-Hendrik Neumann Rudolf Kleinpaul Hans Schlitte Louys de Moy Karl Klüsner Jože Pučnik Hermann Poehlmann Alarich Augustin Jack J. Pendleton Karl Rammelt Hans Schwartz Eduard Tratt Horst Seemann Solomon Abera Nuri Karademirli Martin Kühne Paul-Albert Kausch James E. Robinson, Jr. Oskar Janicki George Agbazika Innih Jacqueline H. Osterrath Joanna Wichmann James G. Snitzer Richard Christmann Paul Zielinski Karl Kersten Walter J. Will Martin Groß George Peterson Martin Saltzwedel Lydia Fedorovna Krasnov Pete Haycock Geoff Taylor Ernst Volckheim Kristijonas Donelaitis Walter Körner Erich von Brückner Petre Steinbach Anno Blissenbach Carlos Werner Julius Ludorf Kurt Fett George J. Peters Turney W. Leonard Frederick Kawerau Wilhelm Schilling Sophus Williams Attila Csipler Helmut Quitzrau Habib Edip Törehan Edmund Kiss Fritz Lüdecke Eginhard Weißmann Herbert Kaiser Robert Stämpfli Helmuth Raithel Karl Blessinger Walter Klinger Liviu Măruia James Stokes Charles S. von Stade Robert T. Henry Friedrich Elchlepp Dieter Koulmann Alexander Petrowitsch Apsit Dennis Donnini Wilhelm Küpper Alfred Samlowski Joseph Mallmann Armen Movsisyan Günter Thorhauer Werner Unterdörfel Edward G. Wilkin İlhan Bardakçı Oskar Romm Sa'dun Hammadi Alfred Siegling August von Bibra Erich Rehm Miro Rys Giovanni Corvi Dan Held Piotra Sych Auguste Ludwig Karl Konrad August Ruppel Kurt Schilling Wilhelm Keilhaus Pol Demeuter Hans Dortenmann Jan Gałuszka Maurice Sachs Marcel Girault Alexander Berg Werner Wolf Walter Greite Mammad Mammadov Felix Woyrsch Herbert Lütkebohmert Karl Zierhofer Robert Franze Ottmar von Behr Manfred Schönfelder David Crowder Waybur Hans Neumann Hans-Georg von der Marwitz James Paul Wesley Kōrli Stalte Karl-Heinrich Welzel Gennadi Matveyev Ursula Reit Michael Schulz-Dornburg Gerhard Prokop Friedrich Karl Rhein Georg Christl Dimitrios Kalapothakis Hertha Marks Ayrton Josef Weißkopf Nero Claudius Drusus Hans Stock Eugène Droulers Princess Elisabeth Maria of Bavaria Rolf Höhne Carl Anton Schäfer Herbert Gundelach Kurt Plötner Egon Pollak Alexander Cockburn Helwig Luz Rolf von Lilienhoff-Zwowitzky Theodor Wolff Vahan Hovhannisyan Dietrich Beelitz Leo Keresselidze Rudolf Batz Theodore Runyon Wilfrid Richter Robert H. Dietz Anna Litvinova Alfred Csallner Kurt Albrecht Gilbert Fuchs Alex Suhr Børge Møller Grimstrup Svein Knutsson Rune T. Kidde Knud Hilding Johannes Marott Axel Frische Solveig Sundborg Kai Holm Piet Blom Svend Nielsen Sweyn II of Denmark Ole Theodor Helliesen Henrik Wiehe Ole Høyer Nina Pens Rode Villum Kann Rasmussen Bjarne Forchhammer Else Petersen Adriaan Kruseman Eli Fischer-Jørgensen William of Æbelholt Caroline Thielo Kjeld Petersen Hardy Rafn Pouel Kern Miskow Makwarth Gyda of Sweden Hans Christian Ægidius Edvin Tiemroth John Olsen Jonny Rieger Lis Ahlmann Henrik Adam Brockenhuus Freddy Koch Knud Schrøder Paul Sarauw Gunnar Strømvad Bertel Lauring Guri Richter Johanne Fritz-Petersen Peter Villaume Lise Ringheim Nicolai Esmit Margot von Gans Lise Thomsen Karl Kristian Steincke Princess Dagmar of Denmark Gunnar Bigum Poul Müller Berengaria of Portugal Laura Kieler Boetius of Dacia Avi Sagild Olaf Ussing Werner Heyking Christian Arhoff Eleanor of Portugal, Queen of Denmark Poul Thomsen Charles Wilken Emil Hass Christensen Henning Bendtsen Birger, King of Sweden Sophia of Denmark Henny Lindorff Buckhøj Bjarne Henning-Jensen Mette von Kohl John Henderson, 5th of Fordell Leonard Weisgard Bjørn Puggaard-Müller Elith Pio Joris de Caullery Lili Heglund Arne Weel Utilia Lenkiewitz Grete Frische Einar Juhl Valsø Holm Clara Østø Edith Hermansen Asbjørn Andersen Jens Rosing Jimmy Buckley Bendt Rothe Preben Uglebjerg Elith Foss John Hilbard Willy Rathnov Ellen Jansø Jørgen Weel Hans Schmidt-Gorsblock Keld Markuslund Kálfr Árnason Holger Juul Hansen Beatrice Bonnesen Bjørn Watt-Boolsen Dagmar of Bohemia Otto Møller Jensen Jørgen Ravn John Price Birger Var Ove Rud Else Jarlbak Nina Kalckar Fritz Magnussen Viktor Pietschmann Jean-Alain Tétart Gustav Krupp von Bohlen und Halbach Jewgienij Tarusski Karl Neumeister Walter Ebrecht Heinrich Mertens Erich Heintel Ladislaus Singer Franz Leppich Anatoli Kaigorodov Grete Freund Fredrik Oduya Jacob Fick Hans Weiss Franz von Walsegg Paul Ritter von Zach Kosta Vangelov Hans Weibrecht Paul Conrath Georgios A. Rallis Archduke Rudolf of Austria Bob Flegg Giovanni Sallustio Peruzzi Melchior Klesl Dieter Kesten Ferdinand von Scholz Teresa Feoderovna Ries Albert Herberstein Heinrich Wirri Neidhart von Reuental Helmut Müller Jeanne Leuba Ernst Rauscher Christoph Coler Edith Kramer Anton Lipošćak
Sweyn II of Denmark, Archduke Rudolf of Austria and Berengaria of Portugal have those political territories as place of death
Sweyn II of Denmark Archduke Rudolf of Austria Berengaria of Portugal
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Germany'] [{'concept': 'common name'}, 'place of death', 'Denmark'] [{'concept': 'common name'}, 'place of death', 'Austria']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death ?x . ?y rdf:type ontology:common_name . VALUES ( ?x ) { ( resource:Benelux ) ( resource:Karlovy_Vary_Region ) ( resource:Denmark ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q246812 Q93373 Q253571
P7
Q502895
USER
Who are those ones a sibling of ?
(Q246812,P7,c(Q502895)) (Q93373,P7,c(Q502895)) (Q253571,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
['Q246812', 'P7', {'concept': 'Q502895'}] ['Q93373', 'P7', {'concept': 'Q502895'}] ['Q253571', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?a property:P7 ?e . VALUES ( ?a ) { ( resource:Q4148022 ) ( resource:Q1397264 ) ( resource:Q5621239 ) } . ?e rdf:type ontology:Q502895 }
Sweyn II of Denmark Archduke Rudolf of Austria Berengaria of Portugal
action filter_type
action find
entity prev_answer
relation brother
type common name
['Sweyn II of Denmark', 'brother', {'concept': 'common name'}] ['Archduke Rudolf of Austria', 'brother', {'concept': 'common name'}] ['Berengaria of Portugal', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?a property:brother ?e . VALUES ( ?a ) { ( resource:Grigory_Grauerman ) ( resource:Mohammad_Yusuf ) ( resource:Gustav_Sturm ) } . ?e rdf:type ontology:common_name }
[]
common name
Q130834 Q84201 Q93427
SYSTEM
Francis I of Austria, Archduke Charles, Duke of Teschen, Archduke John of Austria
Q18357561 Q595088 Q93427 Q84201 Q130834 Q319764 Q309605 Q111975 Q442756 Q701087 Q296463 Q971207 Q469622
(Q246812,P7,c(Q502895)) (Q93373,P7,c(Q502895)) (Q253571,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
Those ones a sibling of are King [ANSWERS]
['Q246812', 'P7', {'concept': 'Q502895'}] ['Q93373', 'P7', {'concept': 'Q502895'}] ['Q253571', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?a property:P7 ?e . VALUES ( ?a ) { ( resource:Q4148022 ) ( resource:Q1397264 ) ( resource:Q5621239 ) } . ?e rdf:type ontology:Q502895 }
Beorn Estrithson Archduke Anton Victor of Austria Archduke John of Austria Archduke Charles, Duke of Teschen Francis I of Austria Archduke Joseph, Palatine of Hungary Ferdinand III, Grand Duke of Tuscany Archduke Louis of Austria Archduke Rainer Joseph of Austria Archduke Alexander Leopold of Austria Afonso II of Portugal Peter I, Count of Urgell Ferdinand, Count of Flanders
Those ones a sibling of are King Francis I of Austria, Archduke Charles, Duke of Teschen and Archduke John of Austria
Francis I of Austria Archduke Charles, Duke of Teschen Archduke John of Austria
action filter_type
action find
entity prev_answer
relation brother
type common name
['Sweyn II of Denmark', 'brother', {'concept': 'common name'}] ['Archduke Rudolf of Austria', 'brother', {'concept': 'common name'}] ['Berengaria of Portugal', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?a property:brother ?e . VALUES ( ?a ) { ( resource:Grigory_Grauerman ) ( resource:Mohammad_Yusuf ) ( resource:Gustav_Sturm ) } . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q130834
P53
Q13417114
USER
Which noble family did Francis I of Austria belong to ?
(Q130834,P53,c(Q13417114))
action filter_type
action find
entity Q130834
relation P53
type Q13417114
['Q130834', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?t WHERE { resource:Q130834 property:P53 ?t . ?t rdf:type ontology:Q13417114 }
Francis I of Austria
action filter_type
action find
entity Francis I of Austria
relation noble family
type noble family
['Francis I of Austria', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?t WHERE { resource:Francis_I_of_Austria property:noble_family ?t . ?t rdf:type ontology:noble_family }
[]
noble family
Q2638011
SYSTEM
House of Lorraine
Q2638011
(Q130834,P53,c(Q13417114))
action filter_type
action find
entity Q130834
relation P53
type Q13417114
Francis I of Austria belonged to [ANSWER]
['Q130834', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?t WHERE { resource:Q130834 property:P53 ?t . ?t rdf:type ontology:Q13417114 }
House of Lorraine
Francis I of Austria belonged to House of Lorraine
House of Lorraine
action filter_type
action find
entity Francis I of Austria
relation noble family
type noble family
['Francis I of Austria', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?t WHERE { resource:Francis_I_of_Austria property:noble_family ?t . ?t rdf:type ontology:noble_family }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q769720
Q13417114
USER
And how about Jutta of Saxony?
(Q769720,P53,c(Q13417114))
action filter_type
action find
entity Q769720
relation P53
type Q13417114
['Q769720', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?u WHERE { resource:Q769720 property:P53 ?u . ?u rdf:type ontology:Q13417114 }
Jutta of Saxony
action filter_type
action find
entity Jutta of Saxony
relation noble family
type noble family
['Jutta of Saxony', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?u WHERE { resource:Jutta_of_Saxony property:noble_family ?u . ?u rdf:type ontology:noble_family }
[]
noble family
Q168352
SYSTEM
House of Ascania
Q168352
(Q769720,P53,c(Q13417114))
action filter_type
action find
entity Q769720
relation P53
type Q13417114
[ANSWER]
['Q769720', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?u WHERE { resource:Q769720 property:P53 ?u . ?u rdf:type ontology:Q13417114 }
House of Ascania
House of Ascania
action filter_type
action find
entity Jutta of Saxony
relation noble family
type noble family
['Jutta of Saxony', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?u WHERE { resource:Jutta_of_Saxony property:noble_family ?u . ?u rdf:type ontology:noble_family }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q35
P85
Q7725634 Q484692 Q1048835
USER
How many political territories have an anthem named less number of literary works and hymns than Denmark ?
(c(Q1048835),P85,c(Q7725634)|c(Q484692))
action count
action less
action union
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action count
action filter_multi_types
action find
entity Q35
relation P85
type Q7725634
type Q484692
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?m WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q35 property:P85 ?c . { VALUES ( ?f ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?c rdf:type ?f } } } . FILTER ( ?h < ?n ) }
Denmark
action count
action less
action union
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action count
action filter_multi_types
action find
entity Denmark
relation anthem
type literary work
type hymn
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?m WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:hymn ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Denmark property:anthem ?c . { VALUES ( ?f ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?c rdf:type ?f } } } . FILTER ( ?h < ?n ) }
[]
literary work hymn political territorial entity
SYSTEM
38
Q1000 Q183 Q785 Q601252 Q193619 Q685 Q202023 Q763 Q664 Q9676 Q1054923 Q13353 Q5705 Q16 Q170604 Q5785 Q38610 Q3405693 Q18221 Q43448 Q778 Q1785790 Q5783 Q691 Q757 Q9648 Q234 Q35672 Q165783 Q40 Q35086 Q23635 Q192184 Q25228 Q31747 Q25305 Q129286 Q2594990
(c(Q1048835),P85,c(Q7725634)|c(Q484692))
action count
action less
action union
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action count
action filter_multi_types
action find
entity Q35
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?m WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q35 property:P85 ?c . { VALUES ( ?f ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?c rdf:type ?f } } } . FILTER ( ?h < ?n ) }
Gabon Germany Jersey Banovina of Croatia Union of South Africa Solomon Islands Herm Saint Kitts and Nevis New Zealand Isle of Man British Hong Kong Montserrat Catalonia Canada New France Cayman Islands Dominion of Newfoundland Sark Turks and Caicos Islands British Indian Ocean Territory The Bahamas Selbach, Rio Grande do Sul Andalusia Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Flemish Region Pitcairn Islands British Antarctic Territory Austria South Georgia and the South Sandwich Islands Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands British Raj Dominion of New Zealand
38
action count
action less
action union
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action count
action filter_multi_types
action find
entity Denmark
relation anthem
type literary work
type hymn
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?m WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:hymn ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Denmark property:anthem ?c . { VALUES ( ?f ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?c rdf:type ?f } } } . FILTER ( ?h < ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q766
P85
Q7725634 Q484692 Q1048835
USER
And how about Jamaica?
(c(Q1048835),P85,c(Q7725634)|c(Q484692))
action count
action less
action union
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action count
action filter_multi_types
action find
entity Q766
relation P85
type Q7725634
type Q484692
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?o rdf:type ?q } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q766 property:P85 ?r . { { ?r rdf:type ontology:Q7725634 } UNION { ?r rdf:type ontology:Q484692 } } } } . FILTER ( ?p < ?s ) }
Jamaica
action count
action less
action union
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action count
action filter_multi_types
action find
entity Jamaica
relation anthem
type literary work
type hymn
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?o rdf:type ?q } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Jamaica property:anthem ?r . { { ?r rdf:type ontology:literary_work } UNION { ?r rdf:type ontology:hymn } } } } . FILTER ( ?p < ?s ) }
[]
literary work hymn political territorial entity
SYSTEM
38
Q1000 Q183 Q785 Q601252 Q193619 Q685 Q202023 Q763 Q664 Q9676 Q1054923 Q13353 Q5705 Q16 Q170604 Q5785 Q38610 Q3405693 Q18221 Q43448 Q778 Q1785790 Q5783 Q691 Q757 Q9648 Q234 Q35672 Q165783 Q40 Q35086 Q23635 Q192184 Q25228 Q31747 Q25305 Q129286 Q2594990
(c(Q1048835),P85,c(Q7725634)|c(Q484692))
action count
action less
action union
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action count
action filter_multi_types
action find
entity Q766
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?o rdf:type ?q } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q766 property:P85 ?r . { { ?r rdf:type ontology:Q7725634 } UNION { ?r rdf:type ontology:Q484692 } } } } . FILTER ( ?p < ?s ) }
Gabon Germany Jersey Banovina of Croatia Union of South Africa Solomon Islands Herm Saint Kitts and Nevis New Zealand Isle of Man British Hong Kong Montserrat Catalonia Canada New France Cayman Islands Dominion of Newfoundland Sark Turks and Caicos Islands British Indian Ocean Territory The Bahamas Selbach, Rio Grande do Sul Andalusia Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Flemish Region Pitcairn Islands British Antarctic Territory Austria South Georgia and the South Sandwich Islands Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands British Raj Dominion of New Zealand
38
action count
action less
action union
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action count
action filter_multi_types
action find
entity Jamaica
relation anthem
type literary work
type hymn
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?o rdf:type ?q } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Jamaica property:anthem ?r . { { ?r rdf:type ontology:literary_work } UNION { ?r rdf:type ontology:hymn } } } } . FILTER ( ?p < ?s ) }
[]