Simple Question (Direct)
Simple Question
Q450523
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Eiki Nestor ?
(Q450523,P27,c(Q15617994))
action filter_type
action find
entity Q450523
relation P27
type Q15617994
['Q450523', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q450523 property:P27 ?x }
Eiki Nestor
action filter_type
action find
entity Eiki Nestor
relation country of citizenship
type designation for an administrative territorial entity
['Eiki Nestor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Eiki_Nestor property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q191
SYSTEM
Estonia
Q191
(Q450523,P27,c(Q15617994))
action filter_type
action find
entity Q450523
relation P27
type Q15617994
In [ANSWER] is the country of citizenship of Eiki Nestor
['Q450523', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q450523 property:P27 ?x }
Estonia
In Estonia is the country of citizenship of Eiki Nestor
Estonia
action filter_type
action find
entity Eiki Nestor
relation country of citizenship
type designation for an administrative territorial entity
['Eiki Nestor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Eiki_Nestor property:country_of_citizenship ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q191
P163
Q14660
USER
Which flag is associated with that administrative territory ?
(Q191,P163,c(Q14660))
action filter_type
action find
entity Q191
relation P163
type Q14660
['Q191', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q14660 . resource:Q191 property:P163 ?i }
Estonia
action filter_type
action find
entity Estonia
relation flag
type flag
['Estonia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:flag . resource:Estonia property:flag ?i }
[]
flag
Q81471
SYSTEM
Flag of Estonia
Q81471
(Q191,P163,c(Q14660))
action filter_type
action find
entity Q191
relation P163
type Q14660
Union [ANSWER] is associated with that administrative territory
['Q191', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q14660 . resource:Q191 property:P163 ?i }
Flag of Estonia
Union Flag of Estonia is associated with that administrative territory
Flag of Estonia
action filter_type
action find
entity Estonia
relation flag
type flag
['Estonia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:flag . resource:Estonia property:flag ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q962
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have diplomatic relationships with Benin ?
(Q962,P530,c(Q15617994)) (Q962,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q962
relation P530
type Q15617994
action filter_type
action find
entity Q962
relation P530
type Q1048835
['Q962', 'P530', {'concept': 'Q15617994'}] ['Q962', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { resource:Q962 property:P530 ?c . ?c rdf:type ontology:Q15617994 } UNION { resource:Q962 property:P530 ?c . ?c rdf:type ontology:Q1048835 } }
Benin
action count
action union
action filter_type
action find
entity Benin
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Benin
relation diplomatic relation
type political territorial entity
['Benin', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Benin', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { resource:Benin property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Benin property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q155 Q183
(Q962,P530,c(Q15617994)) (Q962,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q962
relation P530
type Q15617994
action filter_type
action find
entity Q962
relation P530
type Q1048835
[ANSWER]
['Q962', 'P530', {'concept': 'Q15617994'}] ['Q962', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { resource:Q962 property:P530 ?c . ?c rdf:type ontology:Q15617994 } UNION { resource:Q962 property:P530 ?c . ?c rdf:type ontology:Q1048835 } }
Brazil Germany
2
action count
action union
action filter_type
action find
entity Benin
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Benin
relation diplomatic relation
type political territorial entity
['Benin', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Benin', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { resource:Benin property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Benin property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q8205328 Q14660
USER
How many artefacts are depicted in atmost 1 flag ?
(c(Q14660),P180,c(Q8205328))
action count
action atmost
action find_reverse_tuple_counts
relation P180
type Q8205328
type Q14660
value 1
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q8205328'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { FILTER ( ?d <= 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P180 ?n . ?n rdf:type ontology:Q8205328 . ?j rdf:type ontology:Q14660 } GROUP BY ?n } }
action count
action atmost
action find_reverse_tuple_counts
relation depicts
type artefact
type flag
value 1
[{'concept': 'flag'}, 'depicts', {'concept': 'artefact'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { FILTER ( ?d <= 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:depicts ?n . ?n rdf:type ontology:artefact . ?j rdf:type ontology:flag } GROUP BY ?n } }
[]
artefact flag
SYSTEM
112
Q836773 Q1207302 Q1228822 Q567688 Q958210 Q140565 Q132397 Q7434 Q4821437 Q3561331 Q1221373 Q15026 Q112110 Q200539 Q9053464 Q2160801 Q220659 Q46311 Q366134 Q614806 Q1323569 Q3216816 Q347690 Q2302770 Q468794 Q198763 Q10563755 Q10971235 Q131740 Q201573 Q613972 Q1034198 Q849964 Q1160546 Q38942 Q891304 Q212989 Q197195 Q1054671 Q182940 Q828980 Q153988 Q2106696 Q134560 Q161928 Q3399907 Q188075 Q216530 Q4167876 Q483444 Q11083119 Q2731419 Q1537820 Q660782 Q2115878 Q131647 Q821952 Q18545 Q223269 Q1130359 Q42177 Q1144689 Q2820111 Q577947 Q152095 Q919777 Q191851 Q335661 Q19827042 Q105190 Q6435276 Q208820 Q616200 Q10289 Q223575 Q815738 Q215628 Q535449 Q184418 Q129211 Q201097 Q14952 Q186817 Q1539356 Q39908 Q622360 Q1318740 Q2881344 Q153362 Q12252328 Q7445455 Q4668625 Q12200 Q5771190 Q2710388 Q337481 Q808889 Q404785 Q851782 Q14748 Q169031 Q204776 Q2383211 Q1323314 Q2637814 Q865054 Q108640 Q661140 Q5184798 Q869381 Q1743788 Q50643
(c(Q14660),P180,c(Q8205328))
action count
action atmost
action find_reverse_tuple_counts
relation P180
type Q8205328
type Q14660
value 1
[ANSWER]
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q8205328'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { FILTER ( ?d <= 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P180 ?n . ?n rdf:type ontology:Q8205328 . ?j rdf:type ontology:Q14660 } GROUP BY ?n } }
Jokbal jar discus parka waistcoat sink pitcher uniform Flacon vitrine muff chair emblem dress costume skirt archaeological artifact bow chest suit skewer desk lamp workbench breeches poncho undergarment flagon cushion wallet milk churn tray cape jacket inkwell vat bolero swimsuit Fur clothing golf club dessert workwear bowl Lowboy belt footwear pot box waste container Chinese ritual bronze kimono urn seat bowl leggings Psyche (furniture) medal oil lamp ball shorts loincloth bed folding screen cult image ballot box bathtub golf ball vase monstrance bow and arrow levee gaiters baptismal font epaulette barrel drawer light fixture kerosene lamp tabard coffin cage basket headgear kasha gorget trousers Commode electric lamp rugby ball tennis racquet football see-through clothing tuxedo crêpe salt cellar houppelande overcoat Barretina ewer tableware table glove bench tug bag shelf baggage ice skate scabbard crew neck flowerpot packing case watering can
112
action count
action atmost
action find_reverse_tuple_counts
relation depicts
type artefact
type flag
value 1
[{'concept': 'flag'}, 'depicts', {'concept': 'artefact'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { FILTER ( ?d <= 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:depicts ?n . ?n rdf:type ontology:artefact . ?j rdf:type ontology:flag } GROUP BY ?n } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q191 Q961148
P915
Q838948
USER
How many works of art had Estonia or Leadenhall Market as their location of filming ?
(c(Q838948),P915,Q191) (c(Q838948),P915,Q961148)
action count
action union
action filter_type
action find_reverse
entity Q191
relation P915
type Q838948
action filter_type
action find_reverse
entity Q961148
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q191'] [{'concept': 'Q838948'}, 'P915', 'Q961148']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:P915 resource:Q191 . ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q838948 . ?u property:P915 resource:Q961148 } }
Estonia Leadenhall Market
action count
action union
action filter_type
action find_reverse
entity Estonia
relation filming location
type work of art
action filter_type
action find_reverse
entity Leadenhall Market
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Estonia'] [{'concept': 'work of art'}, 'filming location', 'Leadenhall Market']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:filming_location resource:Estonia . ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:work_of_art . ?u property:filming_location resource:Leadenhall_Market } }
[]
work of art
SYSTEM
2
Q102438 Q2618838
(c(Q838948),P915,Q191) (c(Q838948),P915,Q961148)
action count
action union
action filter_type
action find_reverse
entity Q191
relation P915
type Q838948
action filter_type
action find_reverse
entity Q961148
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q191'] [{'concept': 'Q838948'}, 'P915', 'Q961148']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:P915 resource:Q191 . ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q838948 . ?u property:P915 resource:Q961148 } }
Harry Potter and the Philosopher's Stone Purge
2
action count
action union
action filter_type
action find_reverse
entity Estonia
relation filming location
type work of art
action filter_type
action find_reverse
entity Leadenhall Market
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Estonia'] [{'concept': 'work of art'}, 'filming location', 'Leadenhall Market']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:filming_location resource:Estonia . ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:work_of_art . ?u property:filming_location resource:Leadenhall_Market } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q1292279 Q17335294
USER
Which administrative territories are judicially linked to exactly 7 political borders or coats of arms ?
(c(Q1292279)|c(Q17335294),P1001,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
value 7
[[{'concept': 'Q1292279'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?w = 7 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?l WHERE { VALUES ( ?g ) { ( ontology:Q17335294 ) ( ontology:Q1292279 ) } . ?f rdf:type ?g } GROUP BY ?l } }
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
value 7
[[{'concept': 'political border'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?w = 7 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?l WHERE { VALUES ( ?g ) { ( ontology:flag_or_coat_of_arms ) ( ontology:political_border ) } . ?f rdf:type ?g } GROUP BY ?l } }
[]
designation for an administrative territorial entity political border flag or coat of arms
Q29 Q41 Q889
SYSTEM
Spain, Greece, Afghanistan
Q41 Q889 Q241 Q28 Q1032 Q912 Q29 Q79 Q869
(c(Q1292279)|c(Q17335294),P1001,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
value 7
[ANSWERS] are judicially linked to exactly 7 political borders or coats of arms
[[{'concept': 'Q1292279'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?w = 7 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?l WHERE { VALUES ( ?g ) { ( ontology:Q17335294 ) ( ontology:Q1292279 ) } . ?f rdf:type ?g } GROUP BY ?l } }
Greece Afghanistan Cuba Hungary Niger Mali Spain Egypt Thailand
Spain, Greece and Afghanistan are judicially linked to exactly 7 political borders or coats of arms
Spain Greece Afghanistan
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
value 7
[[{'concept': 'political border'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?w = 7 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?l WHERE { VALUES ( ?g ) { ( ontology:flag_or_coat_of_arms ) ( ontology:political_border ) } . ?f rdf:type ?g } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q29 Q41 Q889
P17
Q14524493
USER
Which terrains are located in Spain, Greece and Afghanistan ?
(c(Q14524493),P17,Q29) (c(Q14524493),P17,Q41) (c(Q14524493),P17,Q889)
action union
action filter_type
action find_reverse
entity Q29
relation P17
type Q14524493
action filter_type
action find_reverse
entity Q41
relation P17
type Q14524493
action filter_type
action find_reverse
entity Q889
relation P17
type Q14524493
[{'concept': 'Q14524493'}, 'P17', 'Q29'] [{'concept': 'Q14524493'}, 'P17', 'Q41'] [{'concept': 'Q14524493'}, 'P17', 'Q889']
SELECT DISTINCT ?w WHERE { { ?w property:P17 resource:Q29 . ?w rdf:type ontology:Q14524493 } UNION { ?w property:P17 resource:Q41 . ?w rdf:type ontology:Q14524493 } }
Spain Greece Afghanistan
action union
action filter_type
action find_reverse
entity Spain
relation country
type terrain
action filter_type
action find_reverse
entity Greece
relation country
type terrain
action filter_type
action find_reverse
entity Afghanistan
relation country
type terrain
[{'concept': 'terrain'}, 'country', 'Spain'] [{'concept': 'terrain'}, 'country', 'Greece'] [{'concept': 'terrain'}, 'country', 'Afghanistan']
SELECT DISTINCT ?w WHERE { { ?w property:country resource:Spain . ?w rdf:type ontology:terrain } UNION { ?w property:country resource:Greece . ?w rdf:type ontology:terrain } }
[]
terrain
Q215662 Q2298456 Q3382382
SYSTEM
Monte Perdido, Pic du Balaïtous, Pic de Maupas
Q2737839 Q7260573 Q3178760 Q7259038 Q8196712 Q4893362 Q7260567 Q7260561 Q6904197 Q602169 Q1394137 Q11941472 Q3307550 Q6904469 Q2379316 Q17477 Q7191025 Q5184752 Q7160088 Q3124887 Q6075110 Q699291 Q5747046 Q7850953 Q6463934 Q6150741 Q2636482 Q3751086 Q3756092 Q4887373 Q20934398 Q6465448 Q15622232 Q2838723 Q6127695 Q7191062 Q1568788 Q7260569 Q3612390 Q5015376 Q1122701 Q5351039 Q6785970 Q458478 Q7190453 Q11918184 Q3398641 Q368857 Q2504871 Q1859850 Q215662 Q2666055 Q6758738 Q5131098 Q3129191 Q7259029 Q3756051 Q11930892 Q3823889 Q2693141 Q5520549 Q6463887 Q3818022 Q17482407 Q7259017 Q7259016 Q7259015 Q7259011 Q7259019 Q7259018 Q956785 Q657357 Q2748808 Q8531408 Q35644 Q1804574 Q7259022 Q7259023 Q7259021 Q7259024 Q7259025 Q7260574 Q7260570 Q23987851 Q23987852 Q3128667 Q739109 Q6896098 Q23987850 Q2945638 Q7259039 Q7259035 Q7259031 Q7259030 Q7259033 Q8351969 Q8538065 Q3781440 Q5351638 Q55824 Q3500432 Q1568704 Q648438 Q6127715 Q11943739 Q8531448 Q623534 Q8534972 Q6529125 Q7259037 Q960756 Q3382382 Q1164350 Q5120047 Q5120045 Q1510073 Q6492067 Q6075028 Q6075022 Q2096768 Q539792 Q6913486 Q8535087 Q7827876 Q7827874 Q7827870 Q7827878 Q3571501 Q1529769 Q1143392 Q5494685 Q5964846 Q1628507 Q2209719 Q11937945 Q7827869 Q7827863 Q7827864 Q7827867 Q5980268 Q6075002 Q988865 Q3573794 Q7190467 Q2983085 Q11952749 Q7194558 Q1397708 Q587189 Q6663744 Q367766 Q3756086 Q7455241 Q7455248 Q6075060 Q5049700 Q6462598 Q7190459 Q7190458 Q6462385 Q11918352 Q3297690 Q6075049 Q5000545 Q557374 Q3322098 Q1765102 Q2750385 Q6905078 Q5351639 Q557367 Q7511503 Q3054050 Q8531534 Q203353 Q6743484 Q2298456 Q2530666 Q6895630 Q17482913 Q11952668 Q11918395 Q7455227 Q7511316 Q11930360 Q5553017 Q6529253 Q7455239 Q6021061 Q3562719 Q2904601 Q3750441 Q5590538 Q2917535 Q576888 Q3461571 Q385384 Q968445 Q6024140 Q2330837 Q8535666 Q7152210 Q546180 Q2828834 Q5150472 Q209528 Q17483877 Q2651720 Q1463283 Q2648558 Q5551802 Q1540798 Q5049644 Q11931605 Q11915991 Q3572504 Q2487532 Q8531548 Q3571460 Q557130 Q1685429 Q7353679 Q3111010 Q5351265 Q2420742 Q11918397 Q590012 Q8535187 Q8531595 Q8531591 Q1478880 Q3394948 Q7455222 Q3573042 Q5367368 Q3055491 Q937042 Q3100806 Q2656048 Q6748219 Q8531381 Q443610 Q3106788 Q6461537 Q7190457 Q6745874 Q3055443 Q2281516 Q1130287 Q5264063 Q1809392 Q7259040 Q2865980 Q3025531 Q3393454 Q7419073 Q7419072 Q4895920 Q8535114 Q8535118 Q8537932 Q3845789 Q5352208 Q11945822 Q6904618 Q1983409 Q3483441 Q1269228 Q1834490 Q3572386 Q2602926 Q8535718 Q11912236 Q7511639 Q7455195 Q7455196 Q1862666 Q3328243 Q1123457 Q8538642 Q5034455 Q5034453 Q7455247 Q599722 Q3752138 Q2030934 Q1141050 Q5590537 Q11943541 Q7856613 Q7856610 Q7856611 Q7165403 Q7511655 Q7511659 Q11944006 Q3756423 Q7419084 Q7419083 Q7419089 Q3120793 Q5351683 Q3384238 Q7856603 Q7856602 Q7856605 Q7856604 Q7856606 Q7856609 Q7856608 Q11949451 Q4896265 Q4896263 Q7419099 Q7419090 Q3122365 Q2344395 Q3773263 Q3572470 Q3572476 Q7511670 Q24021255 Q11943809 Q7260504 Q1374413 Q3826627 Q7353676 Q7353671 Q3750768 Q7827872 Q7827873 Q3087278 Q384027 Q4850026 Q7827079 Q11910197 Q11943945 Q6074964 Q7353669 Q1747940 Q1786914 Q3483462 Q7178358 Q7827019 Q1455256 Q6746532 Q8188242 Q4892698 Q6906641 Q1502386 Q7419114 Q6920195 Q658271 Q3053720 Q732115 Q638628 Q4986703 Q3019737 Q208081 Q2877079 Q7419105 Q6906079 Q11941510 Q8538291 Q3070583 Q5015822 Q11949156 Q7357513 Q282981 Q4884080 Q2092383 Q1537733 Q2030404 Q2273949 Q2717665 Q2438981 Q7190465 Q7190469 Q3776656 Q7259041 Q2984642 Q474901 Q1389729 Q5637031 Q5150470 Q2945669 Q6904169 Q7511701 Q7511704 Q1520376 Q8538196 Q2664716 Q4897005 Q1989399 Q11945839 Q11945838 Q507593 Q6895635 Q3048955 Q2822632 Q6906569 Q1420262 Q11913788 Q2878015 Q4117228 Q1088937 Q4896942 Q5351076 Q6895629 Q5821240 Q2880780 Q2828822 Q1182225 Q2332271 Q6461875 Q17500415 Q4894784 Q24021364 Q23979455 Q3751102 Q7260524 Q3437347 Q7190472 Q7190470 Q3650066 Q3483442 Q11948296 Q8355779 Q948850 Q12397657 Q6409435 Q3178771 Q6936983 Q1337784 Q730750 Q83659 Q4692494 Q3394352 Q2071883 Q757912 Q3554874 Q7086865 Q1343616 Q1227795 Q1448901 Q3559973 Q1232572 Q3555829 Q25123156 Q6435173 Q6927190 Q7143086 Q4832857 Q3562231 Q1296693 Q6743331 Q6924034 Q6821851 Q105261 Q3392962 Q1076591 Q6921832 Q587149 Q132378 Q1244234 Q2703145 Q7696875 Q1232266 Q985449 Q139362 Q129296 Q752012 Q2223986 Q16330910 Q16331617 Q1471677 Q12884530 Q2733631 Q1334825 Q734559 Q1513696 Q6434578 Q6919611 Q2742554 Q3555954 Q1144693 Q5280742 Q7798619 Q7849519 Q5353601 Q754695 Q3561875 Q1367959 Q3560397 Q3321879 Q2112070 Q966918 Q12880882 Q3275032 Q3555791 Q3561330 Q8525023 Q1674880 Q1357713 Q749507 Q5102897 Q1878690 Q2581216 Q130321 Q215516 Q3561932 Q420810 Q1137982 Q602538 Q391510 Q1230182 Q1363703 Q1227803 Q7281542 Q630782 Q6434725 Q775676 Q258996 Q5254361 Q1288074 Q333229 Q285086 Q8540311 Q574974 Q2458111 Q2005416 Q833949 Q7090750 Q797539 Q6737390 Q1125206 Q6488235 Q3631196 Q21795056 Q20191405 Q21740349 Q21763600 Q6442008 Q21764931 Q21820899 Q21755014 Q271700 Q21760642 Q21817406 Q7678599 Q7461260 Q16893335 Q16893334 Q16893333 Q21484455 Q21769454 Q21763843 Q5158843 Q6678687 Q21755631 Q6704400 Q21807911 Q6443583 Q8553217 Q21423563 Q21802282 Q21812204 Q2367275 Q15253520 Q6433857 Q21763929 Q6455380
(c(Q14524493),P17,Q29) (c(Q14524493),P17,Q41) (c(Q14524493),P17,Q889)
action union
action filter_type
action find_reverse
entity Q29
relation P17
type Q14524493
action filter_type
action find_reverse
entity Q41
relation P17
type Q14524493
action filter_type
action find_reverse
entity Q889
relation P17
type Q14524493
[ANSWERS] are located in Spain, Greece and Afghanistan
[{'concept': 'Q14524493'}, 'P17', 'Q29'] [{'concept': 'Q14524493'}, 'P17', 'Q41'] [{'concept': 'Q14524493'}, 'P17', 'Q889']
SELECT DISTINCT ?w WHERE { { ?w property:P17 resource:Q29 . ?w rdf:type ontology:Q14524493 } UNION { ?w property:P17 resource:Q41 . ?w rdf:type ontology:Q14524493 } }
Larrun Punta del Curull Aspe peak Puigsacalm Alto Abedules Turó de l'Home Punta de l'Aigua Punta Senyalada Montalt Sierra de Los Filabres Serra del Cadí pic de Llena Andia Montau Catalan Mediterranean System Puigmal Pico del Caballo Creu de Santos Pedró dels Quatre Batlles Gavarres Pico de la Sarga Arrate Canchal de la Ceja Tuc del Caubo La Moleta La Torrecilla Naranjo de Bulnes Gibralfaro Aratz Lo Corrunco Pico Yordas La Tossa La Camperona Alluitz Sierra de Candelario Picorandan Roque de Agando Punta de la Barrina La Mira Cabezo de Altomira Montjuïc El Cogul Matagalls Anboto Pic Morto El Bon Aire Port del Comte Bandama Caldera Cordillera Penibética Santa Margarida Volcano Monte Perdido Serra de Granera Mare de Déu del Mont Puig de l'Àliga (Sant Pere de Torelló) Untxillaitz Puig de Pastuira Hernio La Tossa Mountains of Sis Vulturó Ganboa La Miranda Sierra Mágina Tossal del Llurba Puig Cerverís Puig Castellar Puig-l'agulla Pui de Lleràs Puig Cornador Puig Cornador Roque de los Muchachos Sierra de Alcaraz Castro Valnera Monteixo Mount Pindo Monte Pedroso Puig Drau Puig Estela Puig Cornador Puig Sesarques Puig d'Arques Punta del Pollo Punta de la Torroja Sierra Bermeja Sierra Bermeja Hautza Monte Corona Moles de Xert Sierra Bermeja Sierra Harana Puigsacalm Xic Puig de la Talaia Puig de l'Obiol Puig de Fontnegra Puig de la Mola Cross of the Three Kingdoms La Higa Muela de Ares El Montmajor Serra Calderona Sierra de Javalambre Monte do Gozo Sa Talaiassa Sierra de Cogollos Puig de les Parets Puig de Fontlletera Sant Llorenç del Munt L'Agullola Les Agudes Puigllançada Collarada Pic de Maupas Puig Tomir Cim del Mont-roig Cim de Pla de Pujalts Maladeta Las Banderillas pico ocejon Pico Mágina Alcazaba Monte Naranco Morral de Cabrafeixet Talaies d'Alcalà Tossal de les Torretes Tossal de Mirapallars i Urgell Tossal d'Engrilló Tosseta Rasa Sierra de Gúdar Serranía de Ronda Sierra de Callosa Mount Guajara La Pinareja Serra del Montsec Pic de Sanfonts El Rabat Tossal Gros de Vallbona Tossa Plana de Lles Tossa de Viamar Tossal Gros Los Pérez La Galana La Marañosa Txamantxoia Pic de Salòria Serra dos Ancares Tossal de l'Àguila Piló dels Senyalets Cerro de Charo Puig Major Lobo Hill Jandía Beriain Serra de l'Espina Serra dels Pesells La Villuerca Castelltallat range La Foradada Pic de Canalbona Pic de Contraix La Faiada El Gurugú Montcalm Massif Turbina Burrén and Burrena Gorbea Mount San Lorenzo Carche Txindoki Montegordo El Montsec d'Ares Oiz Sierra Menera Espadas Peak Mola dels Quatre Termes Pico Almanzor Tuc de Molières Pic du Balaïtous Peñas de Aya Mola del Guerxet Còpia de Palomes Tossal d'en Punyet El Mirador Serra de Paüls Sierra Alpujata La Castelloneta Talayón Les Borregues Serra de la Fatarella Molló de la Creu Volcà del Montsacopa Bisaurin Adarra Gra de Fajol Petit Santa Cueva de Montserrat Jaizkibel Saibi Rasos de Peguera Puigpedrós Morezón Moncayo Massif Serra de la Llena Puntal dels Escambrons Mesa de los Tres Reyes Aizkorri Comabona Mulhacén Punta del Xena Sierra de Segura Serra de Collserola Basque Mountains Sierra de la Virgen La Maroma Castejón Mountains Les Guixeres Western Crabioules Sierra de Algairén Peña Falconera La Mussara (Vilaplana) Penyagolosa Ganekogorta Sierra de Guara Rocallarga Aralar Range El Far Mont Valier El Mirador Urkulu Penyagalera La Morella Puig Cornador (Vilanova de Sau) Peñalara Monte Aloia Serra de Llaberia Sierra de San Just Els Munts Tellamendi Montseny Pic de Vallibierna Pico Birigoyo Tossal dels Tres Reis Besiberri Sud Alto de L'Angliru Mallos de Riglos La Carabassa Pic Verdaguer Prades Mountains Orisol Sierra de Mijas Monte Hacho Desert de les Palmes Peña Montañesa Puigsou Mount Artxanda Urbasa Roque de Garachico Sant Amand Sant Alís Montcau Serra de Pàndols Serra de Cavalls Peña Cabarga Mount Abantos El Sui Roc Roig Montdois Peña de los Enamorados Sierra Bermeja Pic de Noufonts San Antonio Sierra de Cucalón Sierra Madrona Tossal d'Orenga Capollet de l'Àguila Sierra de Cazorla Serra d'En Celler Serra d'En Galceran Pedraforca Trevinca Mount Benacantil Peña Labra Cap del Verd Cap de Boumort Serra del Tallat Mont Caro Picos de Urbión Urgull Croscat Gra de Fajol Puig d'en Ponç Turó del Samont Turó del Castell Turó del Galutxo Penyes Altes de Moixeró Sierra de Nava Alta Sierra de Orihuela Punta del Cortana Uzturre Sant Corneli Sant Benet Sant Gregori Pagasarri El Negrell Roques de Anaga Turó de Morou Turó Gros Turó de Sant Elies Turó de Bellver Turó de Tagamanent Turó de la Creu de Gurb Turó de la Mamella Serret dels Avencs Besiberri Nord Besiberri del Mig Sant Mamet Sant Jeroni Mugarra Serra de Crevillent Roca Entravessada Roques de Benet Sierra de Vicort Sierra de Santa Cruz, Aragon Sierra del Romeral Puig s'Agulla Punta Alta de Comalesbienes Teneguía Gran Tuc de Colomers Roca de la Feixa Roca Centella Jabalcón Tossal d'en Cervera Tossal de la Baltasana Pic de Sotllo Sierra de la Plata Balandrau Torreta de Cadí Burriac End of Shechem Pico Almenara Roc de la Guàrdia Sierra de Baza Montgó Massif Sierra de Leyre Petit Encantat Torreneules Ports de Tortosa-Beseit Puig Campana Adi Pic de Costa Cabirolera Monturull Puig de Randa Sant Roc d'Amer Mount Cobetas Tibidabo Gran Encantat Montserrat Puig de Massanella Buinaca Sierra de la Alfaguara Aneto Buruntza Sant Miquel de Solterra Montmeneu turquilla Mondúber Mount Ulia Cabrera (Santa Maria de Corcó) Serrat de la Cavorca Rodó de Canalbona Pico Posets Bellmunt Pico viejo Pica d'Estats Pic d'Orhy Serra del Montsià Besiberri Massif Peña de Francia Pic de Peguera Pic de Subenuix La Tossa d'Alp Puigsallança Comaloforno El Toro Roque Cinchado Hacha Grande Coma del Clot Sierra de Alhama Montagut d'Ancosa Sierra de Ávila Sierra del Mugrón Torre de Cerredo Montcabrer Pic del Port Vell Serra d'Irta Somosierra Roc de Sant Cugat Roc de Sant Aventí Cilindro de Marboré Molacima Guilleries Acantilados de Los Gigantes Montsent de Pallars Veleta Estremera Summit Montaña de Tindaya Campo de las Varillas Sierra de Gata Els Cornadors El Coscollet Mola de Colldejou El Carmolí Balerdi Aitz Txiki El Dedo de Dios Soum de Ramond La Cogulla Volcán de San Juan Puig de Bassegoda Cerro de las Canteras Montaña Tamia Obarenes Mountains Punta Gabarró Roc de Frausa Pic de la Pala Alta de Sarradé Pic de l'Estany Fondo Calar Alto Sierra Alhamilla Serra Carbonària Cerro de Gorría Pic de Médécourbe Pico Sacro El Fraile Montejurra Muntanya de Santa Bàrbara Mount Nemërçkë Mount Giona Mount Ida Agia Dynati Mount Paiko Santorini caldera Attavyros Vourinos Oligyrtos Mount Ainos Kallidromo Pangaion Hills Mount Kedros Mount Kyllini Xerovouni Troúllos Voras Mountains Movri Pastra Azoria Tomaros Egaleo Mali i Mesit Mount Tanagra Messapio Mount Parnassus Vermio Mountains Mount Chortiatis Mount Lichada Belasica Mount Oeta Vardousia Mainalo Telethrio Hymettus Laurium Smolikas Santorini Mitsikeli Fengari Ktenias Mount Trachy Mount Ossa Skollis Kožuf Pelion Ochi Mountains Kolumbo Koulochera Mount Barbas Slavyanka Vrontous Minoan eruption Dirfi Thrypti Tsemperou Elati Athamanika Varasova Kerkis Exomvourgo Mount Juktas Profitis Ilias (Rhodes) Gyali Merenda Makrynoros Lygkos Minthi Olympus (Euboea) Mount Tityros Mount Lycabettus Geraneia Chlomo Mount Lykaion Falakro Mount Athos Mount Helicon Kantili Acrocorinth Lefka Ori Ithome Tymfristos Agrafa Mount Erymanthos Panaitoliko Radomir Aroania Kouroupa Mount Othrys Mourgana Delos Mountain Kaimaktsalan Mount Pantokrator Cynthus Varnous Antichasia Tumba Peak Tymfi Mount Parthenion Omplos Baba Mountain Maja e Vallamarës Penteliko Mountain Lapithas Mountains Mount Sikaram Chiragal Ghar Shāh Fōlādī Tapah-ye Yakah Baydak Kōh-e Band-e Siyāh Kuh-e Bandaka Anjīrān Spērêh Pitāw Ghar Jang Ghundyan Noshaq Kuh-e Chuk Shakh Dār Sarūnah Takur Ghar Shah Dhar Kharkush Kharkush Khar Kush Silsilah-ye Safēd Kōh Kōh-e Ghōrmōl Būkē Ghar Concord Peak Lor Koh Kōh-e Ghāl Khirs Lunkho e Dosare Kōh-e Qarkh Kumargah Koh e Alburz Sharki Baratayi Mountain Butah Zarīn Kōh-e Kīsh Safēd Kōh Mir Samir Kotal-e Khushk Chādor Kūh-e Zābī
Monte Perdido, Pic du Balaïtous and Pic de Maupas are located in Spain, Greece and Afghanistan
Monte Perdido Pic du Balaïtous Pic de Maupas
action union
action filter_type
action find_reverse
entity Spain
relation country
type terrain
action filter_type
action find_reverse
entity Greece
relation country
type terrain
action filter_type
action find_reverse
entity Afghanistan
relation country
type terrain
[{'concept': 'terrain'}, 'country', 'Spain'] [{'concept': 'terrain'}, 'country', 'Greece'] [{'concept': 'terrain'}, 'country', 'Afghanistan']
SELECT DISTINCT ?w WHERE { { ?w property:country resource:Spain . ?w rdf:type ontology:terrain } UNION { ?w property:country resource:Greece . ?w rdf:type ontology:terrain } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P740
Q2088357
USER
Which is the musical ensemble that originates at Spain ?
(c(Q2088357),P740,Q29)
action filter_type
action find_reverse
entity Q29
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q29']
SELECT DISTINCT ?g WHERE { ?g property:P740 resource:Q29 . ?g rdf:type ontology:Q2088357 }
Spain
action filter_type
action find_reverse
entity Spain
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Spain']
SELECT DISTINCT ?g WHERE { ?g property:location_of_formation resource:Spain . ?g rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q3021779
SYSTEM
Silver Fist
Q3021779
(c(Q2088357),P740,Q29)
action filter_type
action find_reverse
entity Q29
relation P740
type Q2088357
[ANSWER] is the musical ensemble that originates at Spain
[{'concept': 'Q2088357'}, 'P740', 'Q29']
SELECT DISTINCT ?g WHERE { ?g property:P740 resource:Q29 . ?g rdf:type ontology:Q2088357 }
Silver Fist
Silver Fist is the musical ensemble that originates at Spain
Silver Fist
action filter_type
action find_reverse
entity Spain
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Spain']
SELECT DISTINCT ?g WHERE { ?g property:location_of_formation resource:Spain . ?g rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P291
Q1002697
USER
Which periodical literature was published in Spain ?
(c(Q1002697),P291,Q29)
action filter_type
action find_reverse
entity Q29
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', 'Q29']
SELECT DISTINCT ?s WHERE { ?s property:P291 resource:Q29 . ?s rdf:type ontology:Q1002697 }
Spain
action filter_type
action find_reverse
entity Spain
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Spain']
SELECT DISTINCT ?s WHERE { ?s property:place_of_publication resource:Spain . ?s rdf:type ontology:periodical_literature }
[]
periodical literature
Q20085827
SYSTEM
Nuestro Cinema
Q20085827
(c(Q1002697),P291,Q29)
action filter_type
action find_reverse
entity Q29
relation P291
type Q1002697
[ANSWER] was published in Spain
[{'concept': 'Q1002697'}, 'P291', 'Q29']
SELECT DISTINCT ?s WHERE { ?s property:P291 resource:Q29 . ?s rdf:type ontology:Q1002697 }
Nuestro Cinema
Nuestro Cinema was published in Spain
Nuestro Cinema
action filter_type
action find_reverse
entity Spain
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Spain']
SELECT DISTINCT ?s WHERE { ?s property:place_of_publication resource:Spain . ?s rdf:type ontology:periodical_literature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P1313
Q12737077
USER
What is the occupation held by Spain ?
(Q29,P1313,c(Q12737077))
action filter_type
action find
entity Q29
relation P1313
type Q12737077
['Q29', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q29 property:P1313 ?i . ?i rdf:type ontology:Q12737077 }
Spain
action filter_type
action find
entity Spain
relation office held by head of government
type occupation
['Spain', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Spain property:office_held_by_head_of_government ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q844587
SYSTEM
Prime Minister of Spain
Q844587
(Q29,P1313,c(Q12737077))
action filter_type
action find
entity Q29
relation P1313
type Q12737077
The occupation held by Spain is the [ANSWER]
['Q29', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q29 property:P1313 ?i . ?i rdf:type ontology:Q12737077 }
Prime Minister of Spain
The occupation held by Spain is the Prime Minister of Spain
Prime Minister of Spain
action filter_type
action find
entity Spain
relation office held by head of government
type occupation
['Spain', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Spain property:office_held_by_head_of_government ?i . ?i rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of atmost 1 occupation ?
(c(Q12737077),P417,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:P417 ?j . ?z rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?g <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:patron_saint ?j . ?z rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?g <= 1 ) }
[]
common name occupation
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q163900 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q48438 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q508214 Q9200 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q26486 Q324700 Q158504 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[ANSWERS] are the patron saint of atmost 1 occupation
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:P417 ?j . ?z rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?g <= 1 ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Saint Roch Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Saint Francis Xavier Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Vitus Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Clare of Assisi Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Saint George Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Paul Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry John the Baptist Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Thomas Aquinas and Tadeusz Kościuszko are the patron saint of atmost 1 occupation
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:patron_saint ?j . ?z rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?g <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9682
P161
Q838948 Q201658
USER
How many works of art or film genres stars Elizabeth II as actor ?
(c(Q838948),P161,Q9682) (c(Q201658),P161,Q9682)
action count
action union
action filter_type
action find_reverse
entity Q9682
relation P161
type Q838948
action filter_type
action find_reverse
entity Q9682
relation P161
type Q201658
[{'concept': 'Q838948'}, 'P161', 'Q9682'] [{'concept': 'Q201658'}, 'P161', 'Q9682']
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f property:P161 resource:Q9682 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P161 resource:Q9682 . ?f rdf:type ontology:Q201658 } }
Elizabeth II
action count
action union
action filter_type
action find_reverse
entity Elizabeth II
relation cast member
type work of art
action filter_type
action find_reverse
entity Elizabeth II
relation cast member
type film genre
[{'concept': 'work of art'}, 'cast member', 'Elizabeth II'] [{'concept': 'film genre'}, 'cast member', 'Elizabeth II']
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f property:cast_member resource:Elizabeth_II . ?f rdf:type ontology:work_of_art } UNION { ?f property:cast_member resource:Elizabeth_II . ?f rdf:type ontology:film_genre } }
[]
work of art film genre
SYSTEM
4
Q3221713 Q19776639 Q3942068 Q21950723
(c(Q838948),P161,Q9682) (c(Q201658),P161,Q9682)
action count
action union
action filter_type
action find_reverse
entity Q9682
relation P161
type Q838948
action filter_type
action find_reverse
entity Q9682
relation P161
type Q201658
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q9682'] [{'concept': 'Q201658'}, 'P161', 'Q9682']
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f property:P161 resource:Q9682 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P161 resource:Q9682 . ?f rdf:type ontology:Q201658 } }
Le confort et l'indifférence Journey to the Safest Place on Earth Royal Journey Happy and Glorious
4
action count
action union
action filter_type
action find_reverse
entity Elizabeth II
relation cast member
type work of art
action filter_type
action find_reverse
entity Elizabeth II
relation cast member
type film genre
[{'concept': 'work of art'}, 'cast member', 'Elizabeth II'] [{'concept': 'film genre'}, 'cast member', 'Elizabeth II']
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f property:cast_member resource:Elizabeth_II . ?f rdf:type ontology:work_of_art } UNION { ?f property:cast_member resource:Elizabeth_II . ?f rdf:type ontology:film_genre } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
Which works had atleast 2 people as the dubbing artist ?
(c(Q386724),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 2
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?e ) WHERE { ?y property:P725 ?c . ?y rdf:type ontology:Q386724 . ?c rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?e >= 2 ) }
action atleast
action find_tuple_counts
relation voice actor
type work
type common name
value 2
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?e ) WHERE { ?y property:voice_actor ?c . ?y rdf:type ontology:work . ?c rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?e >= 2 ) }
[]
common name work
Q13516675 Q26331781 Q26712000
SYSTEM
Sakura Trick, Hércules y el examen de conducir, Hércules y los Tecno-Griegos
Q26987217 Q26331781 Q26701981 Q23752771 Q27627540 Q26712000 Q24175397 Q26390366 Q26715049 Q26299860 Q25858085 Q26457246 Q26301623 Q13516675 Q26829863 Q23894983
(c(Q386724),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 2
[ANSWERS] had atleast 2 people as the dubbing artist
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?e ) WHERE { ?y property:P725 ?c . ?y rdf:type ontology:Q386724 . ?c rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?e >= 2 ) }
Hércules y la visita de Zeus Hércules y el examen de conducir Hércules y el grifo Iron Man Doctor Strange (Doctor Extraño) Hércules y los Tecno-Griegos Capitán América: El primer vengador Hércules y el rey de Tesalia Peter y el dragón Hércules y el primer médico del mundo Alicia a través del espejo Hércules y el arma secreta Hércules y el primer día de escuela Sakura Trick Angry Birds: La película Iron Man 2
Sakura Trick, Hércules y el examen de conducir and Hércules y los Tecno-Griegos had atleast 2 people as the dubbing artist
Sakura Trick Hércules y el examen de conducir Hércules y los Tecno-Griegos
action atleast
action find_tuple_counts
relation voice actor
type work
type common name
value 2
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?e ) WHERE { ?y property:voice_actor ?c . ?y rdf:type ontology:work . ?c rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?e >= 2 ) }
[]