Simple Question (Direct)
Simple Question
Q957069
P19
Q20667921
USER
Where was Jean-Marie Duhamel born ?
(Q957069,P19,c(Q20667921))
action filter_type
action find
entity Q957069
relation P19
type Q20667921
['Q957069', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q957069 property:P19 ?h . ?h rdf:type ontology:Q20667921 }
Jean-Marie Duhamel
action filter_type
action find
entity Jean-Marie Duhamel
relation place of birth
type type of french administrative division
['Jean-Marie Duhamel', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Jean-Marie_Duhamel property:place_of_birth ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q163108
SYSTEM
Saint-Malo
Q163108
(Q957069,P19,c(Q20667921))
action filter_type
action find
entity Q957069
relation P19
type Q20667921
Jean-Marie Duhamel was born à [ANSWER]
['Q957069', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q957069 property:P19 ?h . ?h rdf:type ontology:Q20667921 }
Saint-Malo
Jean-Marie Duhamel was born à Saint-Malo
Saint-Malo
action filter_type
action find
entity Jean-Marie Duhamel
relation place of birth
type type of french administrative division
['Jean-Marie Duhamel', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Jean-Marie_Duhamel property:place_of_birth ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q957069
P106
Q12737077
USER
Which occupations have Jean-Marie Duhamel as his/her 's career ?
(Q957069,P106,c(Q12737077))
action filter_type
action find
entity Q957069
relation P106
type Q12737077
['Q957069', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q957069 property:P106 ?q }
Jean-Marie Duhamel
action filter_type
action find
entity Jean-Marie Duhamel
relation occupation
type occupation
['Jean-Marie Duhamel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Jean-Marie_Duhamel property:occupation ?q }
[]
occupation
Q169470 Q1622272 Q170790
SYSTEM
physicist, university teacher, mathematician
Q169470 Q1622272 Q170790
(Q957069,P106,c(Q12737077))
action filter_type
action find
entity Q957069
relation P106
type Q12737077
[ANSWERS] have Jean-Marie Duhamel as his/her 's career
['Q957069', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q957069 property:P106 ?q }
physicist university teacher mathematician
Physicist, university teacher and mathematician have Jean-Marie Duhamel as his/her 's career
physicist university teacher mathematician
action filter_type
action find
entity Jean-Marie Duhamel
relation occupation
type occupation
['Jean-Marie Duhamel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Jean-Marie_Duhamel property:occupation ?q }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q169470 Q1622272 Q170790
P101
Q502895
USER
Which people have specialisation in those occupations ?
(c(Q502895),P101,Q169470) (c(Q502895),P101,Q1622272) (c(Q502895),P101,Q170790)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q169470'] [{'concept': 'Q502895'}, 'P101', 'Q1622272'] [{'concept': 'Q502895'}, 'P101', 'Q170790']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P101 ?m . VALUES ( ?m ) { ( resource:Q169470 ) ( resource:Q1622272 ) ( resource:Q170790 ) } }
physicist university teacher mathematician
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'physicist'] [{'concept': 'common name'}, 'field of work', 'university teacher'] [{'concept': 'common name'}, 'field of work', 'mathematician']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:field_of_work ?m . VALUES ( ?m ) { ( resource:physicist ) ( resource:university_teacher ) ( resource:mathematician ) } }
[]
common name
Q21030230 Q505197 Q34943
SYSTEM
Eliška Klimková-Deutschová, Henry Augustus Rowland, Ptolemy
Q505197 Q1530613 Q4682592 Q7025641 Q1612625 Q21030230 Q34943 Q60677 Q5938836
(c(Q502895),P101,Q169470) (c(Q502895),P101,Q1622272) (c(Q502895),P101,Q170790)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] have specialisation in those occupations
[{'concept': 'Q502895'}, 'P101', 'Q169470'] [{'concept': 'Q502895'}, 'P101', 'Q1622272'] [{'concept': 'Q502895'}, 'P101', 'Q170790']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P101 ?m . VALUES ( ?m ) { ( resource:Q169470 ) ( resource:Q1622272 ) ( resource:Q170790 ) } }
Henry Augustus Rowland James S. Langer Adi Bulsara Nicholas J. Phillips Hermann Schmidt Eliška Klimková-Deutschová Ptolemy Charles Proteus Steinmetz José Carrillo Menéndez
Eliška Klimková-Deutschová, Henry Augustus Rowland and Ptolemy have specialisation in those occupations
Eliška Klimková-Deutschová Henry Augustus Rowland Ptolemy
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'physicist'] [{'concept': 'common name'}, 'field of work', 'university teacher'] [{'concept': 'common name'}, 'field of work', 'mathematician']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:field_of_work ?m . VALUES ( ?m ) { ( resource:physicist ) ( resource:university_teacher ) ( resource:mathematician ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q34943
P2348
Q451967
USER
Which human action was that person associated with ?
(Q34943,P2348,c(Q451967))
action filter_type
action find
entity Q34943
relation P2348
type Q451967
['Q34943', 'P2348', {'concept': 'Q451967'}]
SELECT DISTINCT ?c WHERE { resource:Q34943 property:P2348 ?c . ?c rdf:type ontology:Q451967 }
Ptolemy
action filter_type
action find
entity Ptolemy
relation period
type human action
['Ptolemy', 'period', {'concept': 'human action'}]
SELECT DISTINCT ?c WHERE { resource:Ptolemy property:period ?c . ?c rdf:type ontology:human_action }
[]
human action
Clarification for simple ques.
Q21030230
SYSTEM
Did you mean Eliška Klimková-Deutschová ?
Q21030230 Q505197 Q34943
(Q21030230,P2348,c(Q451967)) (Q505197,P2348,c(Q451967)) (Q34943,P2348,c(Q451967))
[ANSWER]
['Q21030230', 'P2348', {'concept': 'Q451967'}] ['Q505197', 'P2348', {'concept': 'Q451967'}] ['Q34943', 'P2348', {'concept': 'Q451967'}]
SELECT DISTINCT ?c WHERE { resource:Q34943 property:P2348 ?c . ?c rdf:type ontology:Q451967 }
Eliška Klimková-Deutschová Henry Augustus Rowland Ptolemy
Did you mean Eliška Klimková-Deutschová ?
Eliška Klimková-Deutschová
['Eliška Klimková-Deutschová', 'period', {'concept': 'human action'}] ['Henry Augustus Rowland', 'period', {'concept': 'human action'}] ['Ptolemy', 'period', {'concept': 'human action'}]
SELECT DISTINCT ?c WHERE { resource:Ptolemy property:period ?c . ?c rdf:type ontology:human_action }
[]
Simple Question (Coreferenced)
USER
No, I meant Ptolemy. Could you tell me the answer for that?
(Q34943,P2348,c(Q451967))
Q34943
['Q34943', 'P2348', {'concept': 'Q451967'}]
['Ptolemy', 'period', {'concept': 'human action'}]
[]
Q428995
SYSTEM
Hellenistic period
Q428995
(Q34943,P2348,c(Q451967))
action filter_type
action find
entity Q34943
relation P2348
type Q451967
That person was associated with [ANSWER]
['Q34943', 'P2348', {'concept': 'Q451967'}]
SELECT DISTINCT ?c WHERE { resource:Q34943 property:P2348 ?c . ?c rdf:type ontology:Q451967 }
Hellenistic period
That person was associated with Hellenistic period
Hellenistic period
action filter_type
action find
entity Ptolemy
relation period
type human action
['Ptolemy', 'period', {'concept': 'human action'}]
SELECT DISTINCT ?c WHERE { resource:Ptolemy property:period ?c . ?c rdf:type ontology:human_action }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P2348
Q502895
USER
How many people happened in the historical era of that human action ?
(c(Q502895),P2348,Q428995)
action count
action filter_type
action find_reverse
entity Q428995
relation P2348
type Q502895
[{'concept': 'Q502895'}, 'P2348', 'Q428995']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P2348 resource:Q428995 . ?w rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Hellenistic period
relation period
type common name
[{'concept': 'common name'}, 'period', 'Hellenistic period']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:period resource:Hellenistic_period . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
824
Q897689 Q714054 Q648287 Q3817836 Q5279166 Q5279165 Q925716 Q363368 Q4691258 Q137152 Q347144 Q3271749 Q334457 Q456935 Q724127 Q812115 Q351469 Q391216 Q39595 Q657941 Q720863 Q539514 Q4892033 Q1387449 Q474974 Q19902513 Q16178483 Q469746 Q766310 Q3558122 Q925732 Q2569389 Q2102893 Q3071835 Q366125 Q4678807 Q263489 Q271809 Q4892783 Q7123104 Q2194939 Q359222 Q2711623 Q179718 Q4354648 Q118612 Q211488 Q44024 Q6710205 Q6710208 Q312114 Q296446 Q5170720 Q11938731 Q39962 Q11932002 Q346780 Q740432 Q469714 Q433332 Q16989335 Q887967 Q2274948 Q43182 Q459774 Q758060 Q470087 Q651636 Q189506 Q248840 Q11939253 Q39976 Q939773 Q380793 Q5638786 Q780789 Q2405888 Q926097 Q473381 Q2457060 Q262225 Q1280167 Q4688536 Q7186281 Q1225062 Q118668 Q2217419 Q9618505 Q2720247 Q1257343 Q131169 Q381819 Q2695834 Q3626128 Q5961731 Q466951 Q553856 Q11905569 Q4785538 Q1047995 Q16168701 Q1406282 Q39957 Q39952 Q2062146 Q742345 Q532315 Q433363 Q738605 Q1226828 Q367298 Q4069325 Q1091124 Q16010640 Q248817 Q171303 Q266299 Q3350 Q3356 Q441460 Q9250176 Q4813405 Q280432 Q579596 Q518039 Q456649 Q3508851 Q3650978 Q3345 Q139798 Q15107128 Q22906416 Q432578 Q11905554 Q2559200 Q5022209 Q325955 Q7777231 Q59734 Q3373 Q3371 Q4893214 Q594441 Q609147 Q1057347 Q443510 Q2679652 Q3362 Q3365 Q2397427 Q2333948 Q299618 Q4351618 Q965086 Q486945 Q3071943 Q207363 Q656021 Q294945 Q458437 Q381874 Q927845 Q59137 Q1235326 Q22936218 Q7257104 Q7257101 Q247747 Q655430 Q7517957 Q237626 Q21704621 Q1610219 Q448188 Q11917227 Q183144 Q340320 Q298628 Q298624 Q1131105 Q3530990 Q365953 Q1185502 Q40252 Q3071926 Q11925526 Q11925524 Q318466 Q2183340 Q451066 Q2503433 Q5410878 Q315006 Q888286 Q189597 Q365110 Q365115 Q542808 Q218441 Q580565 Q313286 Q731906 Q515542 Q7183088 Q179149 Q3680236 Q40247 Q40242 Q4720493 Q3299484 Q237642 Q39602 Q241293 Q2861408 Q755297 Q1227205 Q557215 Q4759543 Q6940057 Q942439 Q386261 Q40234 Q6729719 Q1073837 Q546375 Q297651 Q297657 Q4740187 Q345277 Q312809 Q5907018 Q359215 Q14981671 Q197037 Q1372275 Q981586 Q365918 Q255275 Q318021 Q312548 Q294923 Q4791059 Q2572655 Q2614752 Q1345109 Q190368 Q978418 Q6398587 Q4354525 Q434203 Q745160 Q40258 Q1092175 Q3554962 Q503075 Q359231 Q39996 Q380371 Q380378 Q316915 Q1247079 Q5185744 Q428222 Q4354531 Q346567 Q409649 Q526000 Q185770 Q11906122 Q355917 Q211783 Q380368 Q1229024 Q7696793 Q335032 Q7094472 Q12900207 Q3624485 Q12901533 Q924215 Q946625 Q350769 Q1385296 Q2420899 Q31845 Q744212 Q5279393 Q5732535 Q170472 Q315776 Q2706119 Q3072173 Q4893160 Q47154 Q3621403 Q2635886 Q2475901 Q45013 Q2713729 Q350749 Q950303 Q316334 Q346463 Q2657157 Q1243557 Q2499623 Q437876 Q1150145 Q948383 Q5129141 Q185150 Q3732053 Q4132264 Q738503 Q4354547 Q2705204 Q939680 Q299007 Q237156 Q888521 Q1320609 Q5397541 Q406789 Q7800387 Q314467 Q2319252 Q177103 Q381765 Q734029 Q835194 Q3429319 Q554387 Q5252438 Q457405 Q729244 Q4775061 Q794615 Q1073930 Q1522999 Q581732 Q205704 Q462768 Q575798 Q662267 Q18642924 Q2696542 Q878546 Q3622711 Q1356736 Q969976 Q373015 Q366589 Q379987 Q2401991 Q288177 Q5309410 Q7965888 Q5298263 Q203911 Q1799262 Q11917209 Q26427827 Q662932 Q6125793 Q185126 Q332744 Q434773 Q933860 Q3134747 Q231682 Q39576 Q335156 Q1226993 Q380826 Q3295088 Q161853 Q548104 Q1073902 Q556865 Q709719 Q4664703 Q769067 Q3073249 Q660170 Q1266634 Q2323013 Q10929187 Q237136 Q2749849 Q231668 Q1487010 Q1991509 Q269928 Q1616998 Q5255306 Q4791109 Q1385977 Q471916 Q295530 Q359573 Q134189 Q886894 Q12902324 Q3773544 Q644214 Q269950 Q984626 Q2760481 Q580014 Q451082 Q347916 Q17097507 Q450841 Q2054 Q667147 Q362604 Q961762 Q316867 Q1446568 Q269946 Q312916 Q717647 Q507036 Q1259636 Q718154 Q192417 Q3603892 Q2050698 Q235494 Q632540 Q1113270 Q11904265 Q6163861 Q919774 Q2892486 Q365183 Q5385022 Q1050414 Q19713801 Q646951 Q3624248 Q641051 Q221951 Q16210063 Q6197 Q269964 Q4318 Q1254602 Q1593768 Q666667 Q2352675 Q4893653 Q3780759 Q11943224 Q11925495 Q11925492 Q7806914 Q513816 Q1641597 Q2429421 Q317146 Q2369009 Q218451 Q343604 Q619196 Q1233057 Q231688 Q2612071 Q299387 Q780259 Q248287 Q40060 Q878437 Q178217 Q1934546 Q358482 Q11906236 Q11906237 Q20502383 Q3122635 Q20379273 Q3189987 Q1387029 Q718124 Q878405 Q316353 Q606249 Q3773310 Q4162012 Q160362 Q313847 Q7782253 Q174380 Q317947 Q317942 Q1291212 Q1489064 Q468821 Q5382918 Q3060389 Q34943 Q3060421 Q724327 Q381654 Q878418 Q189718 Q577756 Q9259819 Q4451405 Q535769 Q280872 Q1225067 Q4775081 Q461067 Q189767 Q577747 Q313018 Q943529 Q1960640 Q11904838 Q2414934 Q619488 Q1229944 Q223383 Q2528551 Q7806903 Q15839920 Q288467 Q3072465 Q3072469 Q897523 Q569024 Q1390986 Q237248 Q452929 Q1159316 Q2696019 Q292317 Q1960573 Q3072458 Q450311 Q2311453 Q4891265 Q1752691 Q40010 Q16168539 Q4803927 Q189759 Q189750 Q2759424 Q312452 Q721412 Q248616 Q547879 Q310149 Q311112 Q691292 Q315871 Q451204 Q632595 Q833663 Q313052 Q712755 Q325921 Q337819 Q1965137 Q309804 Q11916529 Q673550 Q2674522 Q2661420 Q311107 Q200922 Q43216 Q2556077 Q1465879 Q905827 Q581833 Q1241409 Q526962 Q512839 Q310808 Q310805 Q114280 Q4355017 Q1287486 Q315670 Q352621 Q888492 Q311733 Q363818 Q357027 Q482107 Q905818 Q18999 Q2530523 Q436634 Q233771 Q110745 Q926524 Q270678 Q1430 Q8739 Q521203 Q611724 Q1227416 Q353702 Q13426522 Q662209 Q23640769 Q1223467 Q1288680 Q441138 Q214121 Q5114831 Q1370594 Q706089 Q524490 Q2639498 Q3395555 Q16226602 Q7263937 Q347878 Q5274260 Q205468 Q666967 Q7416447 Q312431 Q4352000 Q314341 Q936686 Q791314 Q3822345 Q320042 Q537304 Q3133991 Q312425 Q656891 Q359570 Q359014 Q7447948 Q878366 Q4687703 Q3705296 Q6125523 Q5269315 Q5396276 Q11933893 Q1231472 Q235061 Q2045778 Q40003 Q3372447 Q7782484 Q976669 Q381971 Q3362836 Q8747 Q1397528 Q7622230 Q361357 Q284994 Q313733 Q2708906 Q192638 Q328724 Q3061129 Q1295215 Q13426498 Q11934457 Q7563158 Q1345852 Q1387170 Q350388 Q4867431 Q40023 Q40022 Q40020 Q40027 Q4813409 Q31278 Q5279079 Q7124091 Q11951880 Q18122110 Q2955937 Q337828 Q17002244 Q1271013 Q1387162 Q20002969 Q305267 Q2570422 Q203445 Q1058530 Q579949 Q665984 Q16190656 Q542572 Q2998633 Q2998634 Q404023 Q366021 Q4796329 Q5546697 Q20002971 Q3559745 Q1234536 Q236594 Q7252031 Q637394 Q465838 Q717806 Q297420 Q1371938 Q222930 Q315480 Q73527 Q555818 Q1267360 Q108816 Q4786155 Q204677 Q458108 Q296304 Q452077 Q3429323 Q441786 Q762982 Q1367611 Q3803884 Q5409733 Q226868 Q7247449 Q2381819 Q372361 Q888470 Q1355265 Q535413 Q3340 Q1279413 Q735515 Q506540 Q205947 Q3731017 Q313782 Q211426 Q2064634 Q721095 Q2866901 Q354384 Q2272063 Q7247450 Q446503 Q352988 Q405173 Q248624 Q887445 Q211411 Q4718145 Q437332 Q273612 Q928551 Q2493434 Q451572 Q586050 Q391454 Q391458 Q3061108 Q2567890 Q248975 Q429744 Q5517437 Q1897013 Q18330882 Q3237090 Q356050 Q451051 Q764766 Q391427 Q391426 Q24915052 Q3576076 Q205556 Q289276 Q317014 Q482098 Q934510 Q2367894 Q859 Q878392 Q353675 Q3060400 Q724307 Q451550 Q2666131 Q3233494 Q261592 Q506553 Q3526363 Q270585 Q337108 Q198293 Q1374110 Q1387135 Q373042 Q5638781 Q472809 Q1378985 Q3624266 Q5279180 Q5506107 Q949530 Q2363451 Q310173 Q11903 Q1373037 Q682291 Q574812 Q1387461 Q180766 Q315360 Q309719 Q731078
(c(Q502895),P2348,Q428995)
action count
action filter_type
action find_reverse
entity Q428995
relation P2348
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P2348', 'Q428995']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P2348 resource:Q428995 . ?w rdf:type ontology:Q502895 }
Chaeremon of Alexandria Nicanor Idomeneus of Lampsacus Thraso Diodorus of Adramyttium Diodorus of Alexandria Olympiodorus the Elder Diodotus II Agapius Aeneas of Gaza Philip IV of Macedon Léontine Zanta Dio Chrysostom Andragoras Strato I Bagadates I Adamantius Agatharchides Ptolemy IV Philopator Albinus Asander Metrodorus of Lampsacus Philotas Hippostratos Aretes Isidorus Artemidorus of Alexandria Boethus Ariarathes II of Cappadocia Sosibius of Tarentum Nicanor the Elephant Menedemus the Cynic Aristo of Alexandria Polycrates of Argos Tiberius Julius Rhadamsades Heliokles II Adam Burski Philip I Philadelphus Proclus Hermagoras of Amphipolis Paconius Agrippinus Antipater of Cyrene Prusias II of Bithynia Tiberius Julius Cotys I Catherine of Alexandria Asclepiades the Cynic Zoilos I Antiochus I Soter Athanasius of Alexandria Lysimachus Lysimachus of Telmessos Aristarchus of Samothrace Antiochus IX Cyzicenus Coriscus of Scepsis Nicolaus of Aetolia Berenice I of Egypt Lysiades Adaios of Mytilene Polyaenus of Lampsacus Ariarathes X of Cappadocia Mara Bar-Serapion Zenodotus Sames II Theosebes Dikaios Philostratus Eratosthenes Ambrose of Alexandria Atticus Mithridates I Callinicus Tlepolemus Aristippus Hierocles of Alexandria Oenanthe of Egypt Ptolemy VII Neos Philopator Drusilla of Mauretania Aelianus Tacticus Hagnon of Tarsus Attalus Antisthenes of Rhodes Philoxenus Anicetus Ammonius of Athens Antiochus II of Commagene Arete of Cyrene Alexander Aeschylus of Alexandria Philotas Siro the Epicurean Prepelaus Nicomachus Antigonus Gepaepyris Demetrios III Polybius Eucratides I Agathobulus Antiochis of Commagene Hypsicratea Clitomachus Polemon Andronicus of Macedonia Archagathus Antipater of Tyre Apol·lònides d'Útica Himerius Ptolemy V Epiphanes Ptolemy VI Philometor Marcus Julius Alexander Demetrius the Cynic Athenodoros Cordylion Laodice V Boethus of Sidon Diogenes of Tarsus Timaeus Aristotle of Mytilene Nysa Quintus Aelius Tubero Philip Zeno of Citium Philochorus Ptolemy VIII Physcon Antiochus IV Epiphanes Meleager of Gadara Echecratides Athenagoras of Macedon Athenodoros Cananites Antiochus Antigone of Macedon Maximus of Tyre Tiberius Julius Synges Calonymus Ptolemy X Alexander I Seleucus of Seleucia Horos son of Nechoutes Antonius Aelius Promotus Andragathus Oenomaus of Gadara Callinicus Speusippus Theagenes of Patras Demetrius I of Macedon Seleucus II Callinicus Seleucus III Ceraunus Myrmidon of Athens Publius Clodius Thrasea Paetus Phylarchus Hegesander Hesychius of Alexandria Teutamus Seleucus IV Philopator Antiochus III the Great Heraclides Lembus Amynomachus Antiochus XI Epiphanes Menander of Ephesus Sotades Sotion Tiberius Julius Sauromates III Perseus of Macedon Achillas Antiochus VII Sidetes Theodamas Gaius Musonius Rufus Theodotus of Aetolia Diogenes of Oenoanda Sosicrates Dionysius of Alexandria Ptolemy II of Telmessos Ptolemy-el-Garib Philip Molon Simmias Apama Sarapion of Alexandria Hermaeus Laodice of Pontus Diodorus of Sinope Epictetus Achilleus Tatios Antiochus V Antiochus VI Dionysus Acesander Tiberius Julius Rhescuporis IV Diomedes Soter Demetrius Lacon Cleopatra I Syra Tiberius Julius Rhoemetalces Heraclides of Alexandria Heraclides Perdiccas III of Macedon Hermeias Apama II Zariadres Eupolemus Alexander II Zabinas Demetrius II of India Philo Philo of Larissa Agrippa the Skeptic Hermarchus Zoilos II Palaephatus Demetrius of Phalerum Asclepiodotus of Alexandria Agathemerus Philip Antisthenes István Cs. Bartos Cleopatra II of Egypt Cleopatra V of Egypt Alexander of Acarnania Theoxena of Syracuse Laodice III Ptolemy III Euergetes Arsinoe of Macedon Aristion Athenaeus Mechanicus Menelaus Ptolemaeus of Commagene Androsthenes of Cyzicus Musaeus Monimus Lacydes of Cyrene Arsinoe II Magas of Macedon Critolaus Publius Egnatius Celer Diodotus Tryphon Alexander Balas Amarantus of Alexandria Basilides Demetrius III Eucaerus Horus Pharnaces I of Pontus Oros of Alexandria Zeuxis Eudorus of Alexandria Menedemus of Pyrrha Polyxenos Epiphanes Soter Charmadas Mithridates I of Pontus Megasthenes Athenaeus Aristonicus Aristocreon Hippobotus Gordius of Cappadocia Appian Marsyas of Pella Philotera Diotimus the Stoic Diogenes of Babylon Artakama Arsinoe III of Egypt Gorgias Lysimachus of Egypt Crates of Mallus Bion of Borysthenes Ptolemy XI Alexander II Ariobarzanes I of Cappadocia Ariarathes III of Cappadocia Antonius Felix Pamphilus of Alexandria Crinis Chaeron of Pellene Heraclius the Cynic Callixenus of Rhodes Aeschines of Neapolis Ptolemy of Mauretania Posidonius Antímac d'Heliòpolis Antiochus Hierax Pappus of Alexandria Ariarathes IV of Cappadocia Themista of Lampsacus Telesarchus Diodotus I Onomastus of Macedon Hegesippus of Halicarnassus Gaius Julius Archelaus Antiochus Epiphanes Pleistias of Cos Hecato of Rhodes Phoenix of Tenedos Mithridates III of Pontus Quintus Sextius Diognetus Arrian Xerxes of Armenia Dionysius Heraclides of Aenus Origen Philip II Philoromaeus Telecles Tiberius Julius Teiranes Monimus Lucretius Archagathus of Libya Carneiscus Basilides the Epicurean Axiothea of Phlius Hieronymus of Rhodes Mithridates IV of Pontus Cratippus of Pergamon Heraclides Ponticus Archelaus of Cappadocia Titus Albucius Alexander the Alabarch Socrates Chrestus Hegesias of Cyrene Polemon of Athens Diodorus of Aspendus Claudia Capitolina Eudoxus of Cnidus Herminus Galaton Demetrius of Pharos Panthoides Evander Palladas Seleucus VI Epiphanes Laodice I Eucratides II Hephaestion of Thebes Esdron Iotapa of Emesa Tiberius Julius Rhescuporis III Aenesidemus Polemon II of Pontus Aëtus son of Aëtus Theodorus the Atheist Mithridates II of Commagene Pancrates of Athens Tiberius Julius Rhescuporis II Favorinus Deimachus Theodotus Hemiolius Calcidius Antiochus Nikator Aetius Nicarchus Sirras Antipater of Tarsus Apollodorus of Athens Antiochus I Theos of Commagene Seleucus Ariobarzanes III of Cappadocia Menoeceus Apollonius the Sophist Leukon of Bosporus Aristonicus of Alexandria Ptolemy Dionysius the Renegade Mithridates V of Pontus Theodotus of Chios Geminus Telesphorus Laodice VII Thea Drusilla of Mauretania Walter Quin Dorothea of Alexandria Metrodorus of Stratonicea Apollonius of Tyre Deinomachus Aglaias Persaeus Nicanor Mithridates VI of Pontus Philostephanus Crantor Hermippus of Smyrna Hestiaeus of Perinthus Cleopatra Thea Ptolemy II Philadelphus Aristoxenus Dionysius Periegetes Aelius Herodianus Marsyas of Philippi Hero of Alexandria Julius Pollux Xenon Anniceris Sallustius of Emesa Abdaraxus Tiberius Julius Rhescuporis I Tiberius Julius Pharsanzes Isidore of Alexandria Ariarathes VIII of Cappadocia Agathodaemon Scopas of Aetolia Berenice Athenodorus of Soli Arsinoe I Ptolemaeus Chennus Hierius Laodice VI Neanthes of Cyzicus Demetrius of Amphipolis Aristotle of Cyrene Ezekiel the Tragedian Hecataeus of Abdera Philip III of Macedon Ariarathes VI of Cappadocia Plotinus Ptolemy Apion Temisó de Samos Xenoetas Dionysius of Lamptrai Laodice II Christodorus Potamo of Alexandria Antiochus IV of Commagene Laodice IV Demetrius I of Bactria Marcus Vigellius Laodice Seneca Batis of Lampsacus Euthydemus I Patrocles Sosigenes of Alexandria Pyrrhias of Aetolia Antigone Nonnus Gnaeus Claudius Severus Arabianus Lucius Annaeus Cornutus Ariarathes IX of Cappadocia Lagus Callimachus Acacius Archagathus Hipparchia of Maroneia Archebius Archedemus of Tarsus Aphthonius of Alexandria Jason of Cyrene King Telephos Hanan the Egyptian Themistius Erastus of Scepsis Phaedrus the Epicurean Damis Aristo of Chios Stratonice of Cappadocia Arius Didymus Achilles Tatius Euaeon of Lampsacus Horace Phila Theopompus Chion of Heraclea Hegias Aristocles of Messene Darius of Pontus Dio of Alexandria Patro the Epicurean Ptolemy of Alexandria Hermodorus Hermòdor Timolaus of Cyzicus Andrònic d'Olint Hyspaosines Thraseas Alexander of Aphrodisias Apollodorus the Epicurean Zoilus Nicomedes I of Bithynia Apollodotus I Craterus Berenice III of Egypt Tiberius Julius Theothorses Ptolemy Keraunos Metrodorus of Lampsacus Peregrinus Proteus Seleucus VII Kybiosaktes Mithridates I of the Bosporus Diophantus Ptolemy I Epigone Eudemus of Rhodes Apollonius Apol·lofanes de Selèucia Sosylus of Lacedaemon Stratonice of Pergamon Sosigenes Jun Tsuji Plato of Bactria Calliphon Demetrius the Fair Strato of Lampsacus Antonius Diogenes Polyxenidas Dionysius of Cyrene Theophrastus Demetrius II Aetolicus Theon Manetho Crates of Thebes Euhemerus Bacchides Pleistarchus Bilistiche Epigonos of Telmessos Tiberius Julius Eupator Ptolemy Euphraeus Peukolaos Aeropus of Lyncestis Euthydemus II Zenodotus Antimachus II Philonides of Laodicea Lysimachus of Alexandria Metrodorus of Chios Timon of Phlius Leonteus of Lampsacus Antipater Epigonos Pantaenus Zeno of Tarsus Antimachus I Aristophanes of Byzantium Phaenias of Eresus Claudius Maximus Alceus Leontion Apollophanes Aristodemus of Miletus Mnesarchus of Athens Aristo of Ceos Timocrates of Lampsacus Pelops Lastheneia of Mantinea Tiberius Julius Sauromates IV Tiberius Julius Ininthimeus Papirius Fabianus Polystratus the Epicurean Helvidius Priscus Philip V of Macedon Alexander Praxiphanes Alexander of Aegae Eurydice II of Macedon Xenarchus of Seleucia Tiberius Julius Rhescuporis V Alypius Sphaerus Berenice Agathinus Berenice II Apollodorus of Susiana Asclepiodotus of Heraclea Zeno of Sidon Zeno of Caunus Anticlides Philetaerus Harpocration Apollodorus of Seleucia Ariamnes of Cappadocia Cleanthes Antiochus VIII Grypus Philostratus of Lemnos Justus Lipsius Tryphaena Archelaus Herennius Senecio Pharnaces II of Pontus Crates of Athens Polemon I of Pontus Artemidoros Marcus Favonius Attalus III Leon of Athens Eudoxus of Cyzicus Demodamas Dardanus of Athens Antiochus XII Dionysus Mithridates III of Commagene Epicurus Orestes Xeniades Diodorus of Tyre Marinus of Neapolis Guillaume du Vair Orophernes of Cappadocia Andromachus Antiochus X Eusebes Seleucus V Philometor Antipater of Sidon Diyllus Metrocles Juba II Dicaearchus Ptolemy Eupator Titus Pomponius Atticus Nicander Synesius Amyntas Diodotus the Stoic Junius Rusticus Adrastus of Aphrodisias Cassius Longinus Eurydice of Egypt Attalus I Dionysios Soter Eumenes II Marcus Aurelius Antoninus Archimedes Duris of Samos Agathocles Ptolemy Nicomedes III of Bithynia Iotapa of Commagene Ariobarzanes II of Cappadocia Apollonius Quintus Lucilius Balbus Zipoetes II of Bithynia Alexander Polyhistor Xenocrates Chrysogonus of Macedon Lysias Artapanus of Alexandria Cratesipolis Boethus of Sidon Polyidus of Thessaly Iotapa Python of Aenus Menander I Didymeia Zipoetes I of Bithynia Aristomenes of Alyzia Sandon Attalus II Philadelphus Jason of Nysa Eumenes I Alcinous Bathyllus Menander II Antiochus of Ascalon Plutarch of Athens Tiberius Julius Sauromates II Berossus Arulenus Rusticus Ariarathes VII of Cappadocia Mithridates II of Pontus Seleucus of Alexandria Timarchus Aelius Dionysius Demetrius the Chronographer Jakub Górski Dharmaraksita Erymneus Logbasis Philostratus the Younger Stratonice of Syria Antiochus Cleopatra III of Egypt Paulus Alexandrinus Theoxena of Egypt Apollophanes of Antioch Aetus I Eupolemus Euclid Heliodorus Stratonice of Libya Tiberius Julius Alexander Carneades Antiochus XIII Asiaticus Tiberius Julius Sauromates I Apollonius of Rhodes Nicanor Stigmatias Euthalius Satyrus the Peripatetic Iotapa Lysias of Tarsus Sophytes Alexander Lysias Anicetus Eumenes III Basilides Cleopatra IV of Egypt Berenice IV of Egypt Cleopatra VI of Egypt Cleopatra Selene I Athenais of Media Atropatene Cleomedes Diocles of Cnidus Paeon of Amathus Timotheus of Sinope Heraclides of Tarsus Chamaeleon Apollodotus II Dioscorides Adrianus King Nicias Heraclides of Athens Abydenus Sotion Porphyry Satyros I of Bosporus Antiochus III of Commagene Aristippus the Younger Democrates Epimachus of Athens Tiberius Julius Cotys III Tiberius Julius Cotys II Aedesius Epander Arsaces of Pontus George of Laodicea Heracleides of Byzantium Echecrates of Thessaly Colotes Sextus Empiricus Protomachus Sosigenes the Peripatetic Nicomedes II of Bithynia Gnaeus Claudius Severus Panaetius Tryphiodorus Antiochus II Theos Nicomedes IV of Bithynia Arcesilaus Philip of Opus Nicanor Antigonus III Doson Archestratus Menyllus Apion Demetrius I Soter Menippus Tiberius Julius Rhescuporis VI Julia Balbilla Patroclus Socrates the Younger Istros the Callimachean Eunice Zosimos of Panopolis Proclus of Naucratis Tiberius Julius Mithridates Prusias I of Bithynia Ptolemy of Cyprus Hierocles Achaeus Ptolemy IX Lathyros Cercidas Aspasius Didymus Chalcenterus Claudian Heracleides of Tarentum Claudius Aelianus Agathocles of Bactria Machares Metrodorus of Athens Tiberius Julius Aspurgus Theon of Alexandria Serapion Proclus Mallotes Laodice of Macedonia Andronicus of Rhodes Aelius Theon Amelius Mithridates II of Cius Chrysippus of Soli Alexander Cleomenes the Cynic Dynamis Origen the Pagan Lagoras Menelaus of Alexandria Asclepigenia Agathocles Agathocles of Egypt Eusebius of Alexandria Sextus of Chaeronea Herillus Philinus of Agrigentum Gaius Julius Alexio Achaeus Ameinias the Phocian Leukon II of Bosporus Attalus Antiochis Hegesinus of Pergamon Agathokleia Agathoclea Apollonius of Chalcedon Zòpir Agathon Lysandra Sextus Julius Africanus Amyntas Nikator Lyco of Troas Teles of Megara Plato Magas of Cyrene Ariobarzanes of Pontus Euphantus Pantaleon Philodemus Euphrates the Stoic Magas of Egypt Sames of Commagene Olympiodorus of Thebes Theodora of Alexandria Stratonice Ariarathes V of Cappadocia Ziaelas of Bithynia Euphorbus Strato II and III Onasander Hagnothemis Apollonius Dyscolus Eutychides Laodice Diogenes of Seleucia Fronto of Emesa Demonax Crescens the Cynic Ammonius Saccas Hypatia Syrianus Sosibius Antialcidas Theophilos Heliocles I Damascius Demetrius II Nicator Secundus the Silent
824
action count
action filter_type
action find_reverse
entity Hellenistic period
relation period
type common name
[{'concept': 'common name'}, 'period', 'Hellenistic period']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:period resource:Hellenistic_period . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q505197 Q13298
P166
Q618779
USER
How many awards were awarded to Henry Augustus Rowland or Graz ?
(Q505197,P166,c(Q618779)) (Q13298,P166,c(Q618779))
action count
action union
action filter_type
action find
entity Q505197
relation P166
type Q618779
action filter_type
action find
entity Q13298
relation P166
type Q618779
['Q505197', 'P166', {'concept': 'Q618779'}] ['Q13298', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { VALUES ( ?z ) { ( resource:Q505197 ) ( resource:Q13298 ) } . ?z property:P166 ?r }
Henry Augustus Rowland Graz
action count
action union
action filter_type
action find
entity Henry Augustus Rowland
relation award received
type award
action filter_type
action find
entity Graz
relation award received
type award
['Henry Augustus Rowland', 'award received', {'concept': 'award'}] ['Graz', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { VALUES ( ?z ) { ( resource:Henry_Augustus_Rowland ) ( resource:Graz ) } . ?z property:award_received ?r }
[]
award
SYSTEM
2
Q746633 Q20828891
(Q505197,P166,c(Q618779)) (Q13298,P166,c(Q618779))
action count
action union
action filter_type
action find
entity Q505197
relation P166
type Q618779
action filter_type
action find
entity Q13298
relation P166
type Q618779
[ANSWER]
['Q505197', 'P166', {'concept': 'Q618779'}] ['Q13298', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { VALUES ( ?z ) { ( resource:Q505197 ) ( resource:Q13298 ) } . ?z property:P166 ?r }
Henry Draper Medal European City of the Reformation
2
action count
action union
action filter_type
action find
entity Henry Augustus Rowland
relation award received
type award
action filter_type
action find
entity Graz
relation award received
type award
['Henry Augustus Rowland', 'award received', {'concept': 'award'}] ['Graz', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { VALUES ( ?z ) { ( resource:Henry_Augustus_Rowland ) ( resource:Graz ) } . ?z property:award_received ?r }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can around 2163 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2163
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?u = 2163 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2163
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?u = 2163 ) }
[]
musical instrument common name
SYSTEM
5
Q46185 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2163
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?u = 2163 ) }
bass guitar trumpet cello organ drum kit
5
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2163
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?u = 2163 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34943
P61
Q2465832 Q17444909
USER
How many branches of science or astronomical object types were discovered by Ptolemy ?
(c(Q2465832),P61,Q34943) (c(Q17444909),P61,Q34943)
action count
action union
action filter_type
action find_reverse
entity Q34943
relation P61
type Q2465832
action filter_type
action find_reverse
entity Q34943
relation P61
type Q17444909
[{'concept': 'Q2465832'}, 'P61', 'Q34943'] [{'concept': 'Q17444909'}, 'P61', 'Q34943']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2465832 ) ( ontology:Q17444909 ) } }
Ptolemy
action count
action union
action filter_type
action find_reverse
entity Ptolemy
relation discoverer or inventor
type branch of science
action filter_type
action find_reverse
entity Ptolemy
relation discoverer or inventor
type astronomical object type
[{'concept': 'branch of science'}, 'discoverer or inventor', 'Ptolemy'] [{'concept': 'astronomical object type'}, 'discoverer or inventor', 'Ptolemy']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?p . VALUES ( ?p ) { ( ontology:branch_of_science ) ( ontology:astronomical_object_type ) } }
[]
branch of science astronomical object type
SYSTEM
2
Q11234 Q1965418
(c(Q2465832),P61,Q34943) (c(Q17444909),P61,Q34943)
action count
action union
action filter_type
action find_reverse
entity Q34943
relation P61
type Q2465832
action filter_type
action find_reverse
entity Q34943
relation P61
type Q17444909
[ANSWER]
[{'concept': 'Q2465832'}, 'P61', 'Q34943'] [{'concept': 'Q17444909'}, 'P61', 'Q34943']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2465832 ) ( ontology:Q17444909 ) } }
Messier 7 equant
2
action count
action union
action filter_type
action find_reverse
entity Ptolemy
relation discoverer or inventor
type branch of science
action filter_type
action find_reverse
entity Ptolemy
relation discoverer or inventor
type astronomical object type
[{'concept': 'branch of science'}, 'discoverer or inventor', 'Ptolemy'] [{'concept': 'astronomical object type'}, 'discoverer or inventor', 'Ptolemy']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?p . VALUES ( ?p ) { ( ontology:branch_of_science ) ( ontology:astronomical_object_type ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q334111
P35
Q502895 Q7275 Q35798
USER
How many people are the heads of state of around the same number of states or executive branches as Sunjong of the Korean Empire ?
(c(Q7275)|c(Q35798),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q334111
relation P35
type Q7275
type Q35798
[[{'concept': 'Q7275'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { FILTER ( ?h = ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P35 resource:Q334111 . { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:Q7275 ) ( ontology:Q35798 ) } } } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?g WHERE { VALUES ( ?y ) { ( ontology:Q7275 ) ( ontology:Q35798 ) } . ?f rdf:type ?y } GROUP BY ?g } }
Sunjong of the Korean Empire
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Sunjong of the Korean Empire
relation head of state
type state
type executive branch
[[{'concept': 'state'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { FILTER ( ?h = ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:head_of_state resource:Sunjong_of_the_Korean_Empire . { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:state ) ( ontology:executive_branch ) } } } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?g WHERE { VALUES ( ?y ) { ( ontology:state ) ( ontology:executive_branch ) } . ?f rdf:type ?y } GROUP BY ?g } }
[]
common name state executive branch
SYSTEM
590
Q29574 Q298403 Q2573 Q356990 Q2571 Q6737124 Q6756617 Q19830768 Q19830761 Q189732 Q57530 Q110330 Q709734 Q653611 Q153620 Q1428924 Q9151911 Q2494376 Q154952 Q67345 Q297950 Q19464383 Q157 Q214029 Q13107337 Q152511 Q463533 Q19830715 Q365209 Q3176299 Q152335 Q365196 Q217500 Q320 Q194000 Q361567 Q57534 Q329 Q151929 Q153986 Q43179 Q56226 Q16105901 Q171977 Q57491 Q57319 Q152274 Q312557 Q57258 Q57313 Q236503 Q57315 Q162269 Q151667 Q167724 Q55758 Q1359023 Q18119638 Q1459699 Q57383 Q57380 Q57381 Q310775 Q57385 Q157651 Q6809265 Q128332 Q629702 Q13631996 Q13014 Q367825 Q1059948 Q57405 Q57407 Q57402 Q310536 Q16105972 Q237951 Q57543 Q296741 Q207728 Q78490 Q19831439 Q78492 Q19831437 Q152756 Q352200 Q181154 Q19831432 Q14362 Q151312 Q259331 Q264210 Q151087 Q444 Q267745 Q19810371 Q58056 Q167699 Q16765135 Q297825 Q472323 Q400961 Q4413 Q57429 Q57537 Q38987 Q94941 Q15382355 Q187149 Q363392 Q855252 Q57473 Q5901842 Q57348 Q361173 Q12967 Q157812 Q3956186 Q57478 Q181832 Q444290 Q19216 Q172388 Q15031 Q299100 Q188214 Q16988 Q42939 Q16849387 Q294969 Q561837 Q12762303 Q20875 Q57449 Q57363 Q57366 Q57441 Q40722 Q57444 Q57446 Q154444 Q284233 Q2503364 Q295212 Q2610 Q76179 Q5448556 Q41117 Q445553 Q165210 Q355610 Q19831452 Q2625711 Q1464 Q968038 Q128416 Q29032 Q29207 Q310247 Q289285 Q2866 Q2042 Q155002 Q155004 Q196070 Q208497 Q179858 Q250087 Q2416022 Q34105 Q9439 Q44819 Q23530 Q1354851 Q880065 Q335323 Q2542 Q2540 Q7747 Q152306 Q379203 Q57667 Q299152 Q57542 Q735387 Q147989 Q122304 Q6762928 Q377935 Q36233 Q154936 Q334851 Q156617 Q555531 Q157789 Q976974 Q236853 Q17485808 Q57324 Q57327 Q57488 Q6707612 Q16669148 Q290786 Q57480 Q57482 Q773874 Q192049 Q886786 Q7244117 Q12149 Q2960197 Q36788 Q502185 Q57390 Q57392 Q57394 Q57398 Q6127060 Q2594 Q52878 Q570155 Q2112764 Q57431 Q57434 Q161958 Q57436 Q57438 Q344729 Q154998 Q182266 Q2646 Q156187 Q14356 Q151305 Q2105 Q76437 Q189186 Q335310 Q944643 Q2038 Q19581 Q52927 Q157793 Q93427 Q483672 Q12366816 Q19830746 Q16597 Q15850 Q373532 Q76 Q3911 Q3910 Q11753 Q280856 Q57509 Q57506 Q57502 Q284003 Q16908893 Q37181 Q52890 Q43330 Q128894 Q76127 Q191045 Q12950 Q44329 Q157099 Q296950 Q57340 Q332709 Q34464 Q2665070 Q362618 Q128911 Q324108 Q15029 Q218435 Q4250160 Q334923 Q1079522 Q157776 Q57298 Q235454 Q57295 Q4631 Q150747 Q590227 Q4414 Q2498541 Q2677 Q188409 Q57276 Q57274 Q57272 Q57379 Q57376 Q17410819 Q57371 Q5018756 Q15054736 Q9099 Q562209 Q230578 Q9094 Q102139 Q1112792 Q3518013 Q8467 Q2601 Q2602 Q2607 Q612803 Q3318231 Q295141 Q314791 Q39619 Q153832 Q270645 Q2091478 Q52925 Q52924 Q29213 Q52926 Q485946 Q1231345 Q570195 Q42410 Q69569 Q156572 Q1568274 Q10665 Q2444338 Q23034482 Q335033 Q18117069 Q156806 Q336285 Q163945 Q602428 Q45785 Q15633683 Q30487 Q223183 Q172183 Q311413 Q213791 Q58077 Q12911 Q76167 Q2551 Q242651 Q336913 Q7176020 Q84204 Q156502 Q17995110 Q42852 Q171684 Q57553 Q511888 Q257425 Q58600 Q468847 Q57311 Q379148 Q13593432 Q77233 Q504372 Q217442 Q160318 Q355053 Q210329 Q313539 Q84475 Q205993 Q381027 Q22513 Q57331 Q165487 Q57336 Q157068 Q153940 Q57232 Q1455923 Q613051 Q471037 Q6127112 Q46809 Q19831185 Q19831184 Q19831183 Q154993 Q157121 Q399998 Q354705 Q154041 Q16004 Q5972763 Q57343 Q81215 Q57424 Q57422 Q57421 Q14345 Q14342 Q16193958 Q19831457 Q473247 Q2569 Q156494 Q20022984 Q76156 Q2563 Q1982245 Q2567 Q152463 Q455854 Q157781 Q936831 Q153167 Q1855372 Q58132 Q212188 Q156781 Q156780 Q2185 Q299629 Q11726 Q57519 Q57512 Q57517 Q57555 Q17488307 Q273228 Q1354229 Q187697 Q151944 Q371854 Q72856 Q154946 Q161059 Q5816 Q62483 Q57550 Q661663 Q19861344 Q311583 Q7726 Q128413 Q152265 Q357539 Q72898 Q150620 Q1260 Q563297 Q313350 Q559756 Q313355 Q2582 Q6225811 Q17582456 Q206471 Q151729 Q541507 Q34453 Q57289 Q57360 Q172083 Q57282 Q153586 Q57284 Q704339 Q57460 Q57467 Q310000 Q57464 Q2667 Q57308 Q3246667 Q156349 Q37979 Q965155 Q57303 Q5983599 Q10707 Q26776 Q332157 Q239717 Q2357762 Q159585 Q50678 Q450675 Q4715 Q105480 Q128307 Q37731 Q154460 Q312355 Q146496 Q188667 Q43915 Q298577 Q1356927 Q334111 Q2498455 Q3407316 Q57413 Q57410 Q19943 Q57418 Q20090884 Q21968142 Q317894 Q19628885 Q163813 Q57356 Q24692 Q456902 Q5220343 Q84263 Q1707507 Q2538 Q33168 Q2124 Q296054 Q360462 Q18352991 Q599988 Q297057 Q229493 Q57521 Q57526 Q373605 Q380187 Q17132 Q138048 Q212751 Q4772220 Q212058 Q878336 Q562002 Q701484 Q352 Q233984 Q314464 Q1382174 Q1898405 Q130834 Q12976 Q57261 Q12974 Q12973 Q12971 Q14257286 Q150652 Q1459658 Q128371 Q150712 Q319153 Q57634 Q314514 Q57306 Q19831445 Q299173 Q22368 Q206421 Q310136 Q57338 Q39259 Q307871 Q174662 Q2757 Q51672 Q57458 Q333824 Q57350 Q57352 Q57452 Q57456 Q57454 Q183848 Q65917 Q380985 Q15039600 Q2628 Q19831449
(c(Q7275)|c(Q35798),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q334111
relation P35
type Q7275
type Q35798
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { FILTER ( ?h = ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P35 resource:Q334111 . { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:Q7275 ) ( ontology:Q35798 ) } } } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?g WHERE { VALUES ( ?y ) { ( ontology:Q7275 ) ( ontology:Q35798 ) } . ?f rdf:type ?y } GROUP BY ?g } }
Beatrix of the Netherlands Umar II Gustav Heinemann Michal Kováč Walter Scheel Maithripala Sirisena Marcelo Rebelo de Sousa Thomas Currie Jonathan Lambert Leonid Kravchuk Gurbanguly Berdimuhamedow Ephraim Katzir Evaristo Carvalho Hipólito Mejía Amānullāh Khān Nicola Mancino Andrzej Duda Edmund Lawrence Willem-Alexander of the Netherlands John William, Duke of Jülich-Cleves-Berg R. Venkataraman John Woolley François Hollande Kaarlo Juho Ståhlberg Giorgi Margvelashvili Eddie Fenech Adami Michel Temer Robert Ben Madison Konstantinos Tsatsos Kolinda Grabar-Kitarović László Sólyom Phaedon Gizikis Rupiah Banda Michelle Bachelet Arnold Rüütel Muhammadu Buhari Mohammed Magariaf Nicolas Sarkozy Eduard Shevardnadze Guy Scott Ellen Johnson Sirleaf Kim Jong-un Paul Delprat Tokugawa Ieyasu Ricardo Martinelli Norodom Sihamoni Edvard Beneš V. V. Giri Ivo Josipović José Eduardo dos Santos Fernando Collor de Mello Salva Kiir Mayardit Jefferson Davis Ferdinand I of Bulgaria Guido de Marco Aleksander Kwaśniewski Raul Khadjimba Guerrino Zanotti Viktor Yushchenko Girma Wolde-Giorgis Goodluck Jonathan Haris Silajdžić Jean-Claude Duvalier Teodoro Obiang Nguema Mbasogo Gustáv Husák Mehbooba Mufti Hisham ibn Abd al-Malik Leonid Kuchma Chennamaneni Vidyasagar Rao Franz Jonas Salman bin Abdulaziz Al Saud Khalifa bin Zayed Al Nahyan Susilo Bambang Yudhoyono Truong Tan Sang Daniel Ortega Francesco I Sforza Michel Kafando Douglas Hyde Sprent Dabwido Enrique Peña Nieto Mohammad Najibullah Thomas Klestil Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Frederick VIII of Denmark Charles II, Duke of Parma Muawiyah I Giuseppe Bertoleoni Chun Doo-hwan Frederick IX of Denmark Yusof bin Ishak Muawiya II Jérôme Bonaparte Lech Wałęsa William Deane Vít Jedlička Christopher of Bavaria Ugo Mifsud Bonnici Isabel Saint Malo Željko Komšić Ranasinghe Premadasa Ahmad bin Yahya Alpha Condé Danilo Medina Letsie III of Lesotho Tony Tan Keng Yam Frederick VII of Denmark Hery Rajaonarimampianina Umberto II of Italy Michel Aoun Bhumibol Adulyadej Joan Enric Vives Sicília Horacio Cartes Isaias Afewerki Sulejman Tihić Leopold II Frederick III of Denmark Sergio Mattarella Nicolae Timofti Moshe Katsav Louis, King of Etruria Ma Ying-jeou Ashraf Ghani Ahmadzai Xi Jinping Zalman Shazar Mary Robinson Liu Shaoqi Bronisław Komorowski Jam Nizamuddin II Mohamed Ould Abdel Aziz Mauricio Macri Andrej Kiska Edward VII Ian Khama Andry Rajoelina Emomali Rahmon Ram Baran Yadav Dilma Rousseff Choummaly Sayasone Pranab Mukherjee Grand Duke Michael Alexandrovich of Russia Sulayman ibn Abd al-Malik Pietro Grasso Rosen Plevneliev Willi Stoph Megawati Sukarnoputri Filipe Nyusi Kim Il-sung Prince Charles, Count of Flanders Kim Young-sam Mohammed Nadir Shah Carlo II Bertoleoni Vseslav Izyaslavich Benigno Simeon Cojuangco Aquino III Dong Biwu Ibrahim ibn al-Walid Miloš Zeman Sauli Niinistö Mohammed Daoud Khan Filippo Maria Visconti Alexander Lukashenko Charles de Gaulle Frederick VI of Denmark Philippe of Belgium Uhuru Kenyatta Tupou VI Urho Kekkonen Bill Hayden Raimonds Vējonis Hosni Mubarak Queen Victoria Suharto Dmitry Medvedev John Kerr Héctor García Godoy William Morrison, 1st Viscount Dunrossil Horst Köhler Christian Wulff Vladimir Putin Carl Gustaf Emil Mannerheim Khieu Samphan Dési Bouterse Emil Constantinescu Filip Vujanović William McKell Joaquín Balaguer Nitish Kumar Marie Louise Coleiro Preca Yang Shangkun Václav Havel Arnulf of Carinthia Zail Singh Christian X of Denmark Paddy Roy Bates Frederick I of Denmark Peter Cosgrove Ludovico Sforza Aguila Salah Issa Blaise Compaoré Hassanal Bolkiah Jakaya Kikwete Lydia Emerencia Patrice Talon Stefan Dragutin Abdrabbuh Mansour Hadi Mahamadou Issoufou Maria I of Portugal Yun Posun Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Thein Sein Charles Savarin Abd al-Malik ibn Marwan Andrey Vorobyov Ismaïl Omar Guelleh Armando Guebuza Nursultan Nazarbayev Aníbal Cavaco Silva Jam Feruzudin Theodor Heuss Gustaf VI Adolf of Sweden John II, Duke of Cleves Nicos Anastasiades Tomislav Nikolić Václav Klaus Eric of Pomerania Gjorge Ivanov Macky Sall Christos Sartzetakis Christian III of Denmark Xiang Yu Friedrich Ebert Frederick V of Denmark Park Chung-hee Christian IX of Denmark Jacques Chirac Karl Dönitz Zelman Cowen Richard Casey, Baron Casey Mladen Ivanić François Mitterrand Ratael Correa Charles XIV John of Sweden Christian V of Denmark Archduke John of Austria Ali Abdullah Saleh Kersti Kaljulaid King Louis I of Talossa Jiang Zemin Oleksandr Turchynov Michail Stasinopoulos Barack Obama Albert II Albert II Heinz Fischer George VI Atifete Jahjaga Andris Bērziņš George Abela Al-Walid I José Mário Vaz Luiz Inácio Lula da Silva Gustaf V of Sweden Mikhail Saakashvili Yitzhak Ben-Zvi Sukarno Felipe VI Alain Poher Bashar al-Assad Louis the Child Antanas Smetona Mswati III Giovanni Spadolini Philip III of Spain Jozo Križanović Adolph I, Duke of Cleves Ezer Weizman Ibrahim Boubacar Keïta Hu Jintao Zviad Gamsakhurdia Tion Otang Abu Bakr Erasme Louis Surlet de Chokier John, King of Denmark Abdullah of Saudi Arabia K. R. Narayanan Ivan Gašparovič Mohamed Morsi Wilhelmina of the Netherlands Edward VIII Faure Gnassingbé Rogvolod Wilhelm II Yevgeny Shevchuk Michael Higgins Yoweri Museveni Paul Biya Dalia Grybauskaitė Jigme Khesar Namgyel Wangchuck Fuad Masum Ilham Aliyev John Magufuli Mulatu Teshome Tabaré Vázquez Cesare Merzagora Fernando Henrique Cardoso José Mujica Margrethe II of Denmark Anna Maria Muccioli N. Chandrababu Naidu Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Serzh Sargsyan Joko Widodo Chaim Herzog Yazid II Alī ibn Abī Ṭālib Alcide De Gasperi Rose Francine Rogombé Ioannis Alevras Charles XV of Sweden Oscar II of Sweden Tarja Halonen Oscar I of Sweden Itamar Franco Paul Kagame John I, Duke of Cleves Evo Morales Sardar Muhammad Yaqoob Khan Christian VII of Denmark Hage Geingob Kim Jong-il Mirko Šarović Taaneti Mamau William Slim, 1st Viscount Slim Baldwin Lonsdale Konstantinos Karamanlis Tommy Remengesau Yahya Muhammad Hamid ed-Din Antonio Guzmán Fernández Kim Dae-jung Catherine Samba-Panza Mikhail Gorbachev Peter II of Yugoslavia Chaim Weizmann Li Xiannian Eric Bloodaxe Petro Poroshenko Christopher Loeak Abdurrahman Wahid Johannes Rau Roh Tae-woo Neelam Sanjiva Reddy Peter Mutharika Theodor Körner Emil Hácha Jimmy Morales Abdullah Gül Rhee Syng-man Mohammed VI of Morocco Leonard Petrosyan Gojong of the Korean Empire Friedrich III of Germany Oswiu of Northumbria Juan Manuel Santos Jean-Pierre Bemba Adly Mansour Frederick III, Elector of Saxony Ye Jianying Yazid I Norodom Sihanouk Michael Jeffery Yuan Shikai Beji Caid el Sebsi Michael Hainisch William Gopallawa Pedro Pablo Kuczynski Zhu De Qaboos bin Said al Said Ahmet Necdet Sezer Ali Khamenei Lord Mountbatten Christian I of Denmark Sabine Bergmann-Pohl Takakazu Ishii Robert Kocharyan Inayatullah Khan Jam Unar Raúl Castro Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Christian VI of Denmark Conrad I of Germany Wee Kim Wee Frederick Ballantyne Frederick II of Denmark Henri, Grand Duke of Luxembourg Jacobo Majluta Azar Pierre Nkurunziza Petar Stoyanov Manuel Serifo Nhamadjo Donald Ramotar Tsakhiagiin Elbegdorj Roh Moo-hyun Lee Myung-bak Bidhya Bhandari Tonino Bertoleoni Habibullāh Kalakāni Karl Carstens Antonín Novotný Ameenah Gurib-Fakim Bacharuddin Jusuf Habibie Roman Herzog Ismail Shammout Richard von Weizsäcker Louis the German Reuven Rivlin Christian VIII of Denmark Salvador Sánchez Cerén Valdas Adamkus Tamim bin Hamad Al Thani Nicolás Maduro S. R. Nathan Mário Soares Jorge Sampaio Georges Pompidou Léon M'ba Karl Renner Taur Matan Ruak Michel Martelly Jorge Carlos Fonseca Sabah Al-Ahmad Al-Jaber Al-Sabah Aleksandr Zakharchenko Amintore Fanfani Peter Hollingworth François Duvalier Leonel Fernández el ladron Antonín Zápotocký Rudolf Kirchschläger Juliana of the Netherlands Frederick IV of Denmark Mao Zedong William, Duke of Jülich-Cleves-Berg Abdul Halim of Kedah Stephen Vladislav II of Syrmia Niels Vermeersch Yitzhak Navon Joseph Bonaparte Yazid III Mohammed Zahir Shah Gian Galeazzo Visconti Adolf Schärf Henry I the Fowler Kurt Waldheim Baron Waqa Choi Kyu-ha Dragan Čović Alexander Ankvab Heinrich Lübke John Charlton Rudge Ihor Plotnytskiy Borut Pahor Süleyman Demirel Arkadi Ghukasyan Boris Yeltsin Toomas Hendrik Ilves Hamad bin Khalifa Al Thani Omar Bongo Jacob Zuma Christian IV of Denmark Ólafur Ragnar Grímsson John III, Duke of Cleves Ernest Bai Koroma János Áder Ludvík Svoboda Abdullah II of Jordan Paul von Hindenburg Abdelaziz Bouteflika Abdul Hamid Sarvepalli Radhakrishnan Akihito Teburoro Tito Karolos Papoulias Luis Guillermo Solís Robert Mugabe Momčilo Krajišnik Shankar Dayal Sharma Pearlette Louisy Izyaslav of Polotsk Boris III of Bulgaria John Mahama Francis Moncef Marzouki Kenneth Kaunda Al-Walid II Uthman ibn Affan Christian II of Denmark Bakir Izetbegović Stjepan Mesić Burhanuddin Rabbani Otto I the Great Marwan I Ninian Stephen Sunjong of the Korean Empire Bryachislav of Polotsk Prokopis Pavlopoulos Alassane Ouattara Shimon Peres Juan Carlos I Denis Sassou Nguesso Hilda C. Heine Casten Nemra Galeazzo Maria Sforza Michael Bates Rudolf Schuster Yahya Jammeh Almazbek Atambayev Gian Maria Visconti Danny Faure Wilhelm Miklas Eliud Williams Joachim Gauck Kalvakuntla Chandrashekar Valéry Giscard d'Estaing Klement Gottwald Bako Sahakyan Edgar Lungu Roch Marc Christian Kaboré Frederick Chiluba Nino Burjanadze Ali Bongo Ondimba Bujar Nishani Epeli Nailatikau Ahmed Mahamoud Silanyo Soong Ching-ling Park Geun-hye Algirdas Brazauskas Anthony Carmona Levy Mwanawasa Gianfranco Terenzi Salvador Jorge Blanco Klaus Iohannis Adolf Hitler Tsai Ing-wen Tokugawa Hidetada Paul Hasluck Konijeti Rosaiah Francis I of Austria Baudouin of Belgium Georgi Parvanov Albert I Leopold III Leopold I Mamnoon Hussain Wilhelm I of Germany Viktor Yanukovych Marwan II Charles the Fat Hassan Sheikh Mohamud Hashim Thaçi Gian Galeazzo Sforza Jalal Talabani Mariangela Bertoleoni Michael Sata Chen Shui-bian Konstantinos Stephanopoulos Nebojša Radmanović Mahinda Rajapaksa Recep Tayyip Erdoğan Abdel Fattah el-Sisi Mary McAleese Lech Kaczyński Herod the Great Ikililou Dhoinine William Sidney, 1st Viscount De L'Isle Idriss Déby Hamad bin Isa Al Khalifa François Bozizé Anote Tong Hans-Adam II, Prince of Liechtenstein Alija Izetbegović Wilhelm Pieck Aleksandras Stulginskis Gian Carlo Capicchioni Walter Ulbricht Paolo II Bertoleoni
590
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Sunjong of the Korean Empire
relation head of state
type state
type executive branch
[[{'concept': 'state'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { FILTER ( ?h = ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:head_of_state resource:Sunjong_of_the_Korean_Empire . { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:state ) ( ontology:executive_branch ) } } } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?g WHERE { VALUES ( ?y ) { ( ontology:state ) ( ontology:executive_branch ) } . ?f rdf:type ?y } GROUP BY ?g } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q6756617
P35
Q502895 Q7275 Q35798
USER
And also tell me about Marcelo Rebelo de Sousa?
(c(Q7275)|c(Q35798),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q6756617
relation P35
type Q7275
type Q35798
[[{'concept': 'Q7275'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?l WHERE { { ?s property:P35 ?l . ?s rdf:type ontology:Q7275 . ?l rdf:type ontology:Q502895 } UNION { ?s property:P35 ?l . ?l rdf:type ontology:Q502895 . ?s rdf:type ontology:Q35798 } } GROUP BY ?l } . FILTER ( ?c = ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:P35 resource:Q6756617 . { { ?w rdf:type ontology:Q35798 } UNION { ?w rdf:type ontology:Q7275 } } } } }
Marcelo Rebelo de Sousa
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Marcelo Rebelo de Sousa
relation head of state
type state
type executive branch
[[{'concept': 'state'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?l WHERE { { ?s property:head_of_state ?l . ?s rdf:type ontology:state . ?l rdf:type ontology:common_name } UNION { ?s property:head_of_state ?l . ?l rdf:type ontology:common_name . ?s rdf:type ontology:executive_branch } } GROUP BY ?l } . FILTER ( ?c = ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:head_of_state resource:Marcelo_Rebelo_de_Sousa . { { ?w rdf:type ontology:executive_branch } UNION { ?w rdf:type ontology:state } } } } }
[]
common name state executive branch
SYSTEM
583
Q29574 Q298403 Q2573 Q356990 Q2571 Q6737124 Q6756617 Q19830768 Q19830761 Q189732 Q57530 Q110330 Q709734 Q653611 Q153620 Q1428924 Q9151911 Q2494376 Q67345 Q19464383 Q157 Q214029 Q13107337 Q152511 Q463533 Q19830715 Q365209 Q3176299 Q152335 Q365196 Q217500 Q320 Q194000 Q361567 Q57534 Q329 Q151929 Q153986 Q43179 Q56226 Q16105901 Q171977 Q57491 Q57319 Q312557 Q57258 Q57313 Q236503 Q57315 Q162269 Q151667 Q167724 Q55758 Q1359023 Q18119638 Q1459699 Q57383 Q57380 Q57381 Q310775 Q57385 Q157651 Q6809265 Q128332 Q629702 Q13631996 Q13014 Q367825 Q1059948 Q57405 Q57407 Q57402 Q310536 Q16105972 Q57543 Q296741 Q207728 Q78490 Q19831439 Q78492 Q19831437 Q152756 Q352200 Q181154 Q19831432 Q14362 Q151312 Q259331 Q264210 Q151087 Q444 Q267745 Q19810371 Q58056 Q167699 Q16765135 Q297825 Q472323 Q400961 Q4413 Q57429 Q57537 Q38987 Q94941 Q15382355 Q187149 Q363392 Q855252 Q57473 Q5901842 Q57348 Q361173 Q12967 Q157812 Q3956186 Q57478 Q181832 Q444290 Q19216 Q172388 Q15031 Q299100 Q16988 Q42939 Q16849387 Q294969 Q561837 Q12762303 Q20875 Q57449 Q57363 Q57366 Q57441 Q40722 Q57444 Q57446 Q154444 Q284233 Q2503364 Q295212 Q2610 Q76179 Q5448556 Q41117 Q445553 Q165210 Q355610 Q19831452 Q2625711 Q1464 Q968038 Q128416 Q29032 Q29207 Q310247 Q289285 Q2866 Q2042 Q155002 Q155004 Q196070 Q208497 Q179858 Q250087 Q2416022 Q34105 Q9439 Q44819 Q23530 Q1354851 Q880065 Q335323 Q2542 Q2540 Q7747 Q152306 Q379203 Q57667 Q57542 Q735387 Q147989 Q122304 Q6762928 Q377935 Q36233 Q154936 Q334851 Q156617 Q555531 Q157789 Q976974 Q236853 Q17485808 Q57324 Q57327 Q57488 Q6707612 Q16669148 Q290786 Q57480 Q57482 Q773874 Q192049 Q886786 Q7244117 Q12149 Q2960197 Q36788 Q502185 Q57390 Q57392 Q57394 Q57398 Q6127060 Q2594 Q52878 Q570155 Q2112764 Q57431 Q57434 Q161958 Q57436 Q57438 Q344729 Q154998 Q182266 Q2646 Q156187 Q14356 Q151305 Q2105 Q76437 Q189186 Q335310 Q944643 Q2038 Q19581 Q52927 Q157793 Q93427 Q483672 Q12366816 Q19830746 Q16597 Q15850 Q373532 Q76 Q3911 Q3910 Q11753 Q280856 Q57509 Q57506 Q57502 Q284003 Q16908893 Q37181 Q52890 Q43330 Q128894 Q76127 Q191045 Q12950 Q44329 Q157099 Q296950 Q57340 Q332709 Q34464 Q2665070 Q362618 Q128911 Q324108 Q15029 Q218435 Q4250160 Q334923 Q1079522 Q157776 Q57298 Q235454 Q57295 Q4631 Q150747 Q590227 Q4414 Q2498541 Q2677 Q188409 Q57276 Q57274 Q57272 Q57379 Q57376 Q17410819 Q57371 Q5018756 Q15054736 Q9099 Q562209 Q230578 Q9094 Q102139 Q1112792 Q3518013 Q8467 Q2601 Q2602 Q2607 Q612803 Q3318231 Q295141 Q314791 Q39619 Q153832 Q270645 Q2091478 Q52925 Q52924 Q29213 Q52926 Q485946 Q1231345 Q570195 Q42410 Q69569 Q156572 Q1568274 Q10665 Q2444338 Q23034482 Q335033 Q18117069 Q156806 Q336285 Q163945 Q602428 Q45785 Q15633683 Q30487 Q223183 Q172183 Q311413 Q213791 Q58077 Q12911 Q76167 Q2551 Q242651 Q336913 Q7176020 Q84204 Q156502 Q17995110 Q42852 Q171684 Q57553 Q511888 Q257425 Q58600 Q468847 Q57311 Q379148 Q13593432 Q77233 Q504372 Q217442 Q160318 Q355053 Q210329 Q313539 Q84475 Q205993 Q381027 Q22513 Q57331 Q165487 Q57336 Q157068 Q153940 Q57232 Q1455923 Q613051 Q471037 Q6127112 Q46809 Q19831185 Q19831184 Q19831183 Q154993 Q157121 Q399998 Q354705 Q154041 Q16004 Q5972763 Q57343 Q81215 Q57424 Q57422 Q57421 Q14345 Q14342 Q16193958 Q19831457 Q473247 Q2569 Q156494 Q20022984 Q76156 Q2563 Q1982245 Q2567 Q152463 Q455854 Q157781 Q936831 Q153167 Q1855372 Q58132 Q212188 Q156781 Q156780 Q2185 Q299629 Q11726 Q57519 Q57512 Q57517 Q57555 Q17488307 Q273228 Q1354229 Q187697 Q151944 Q371854 Q72856 Q154946 Q161059 Q5816 Q62483 Q57550 Q661663 Q19861344 Q311583 Q7726 Q128413 Q152265 Q357539 Q72898 Q150620 Q1260 Q563297 Q313350 Q559756 Q313355 Q2582 Q6225811 Q17582456 Q206471 Q151729 Q541507 Q34453 Q57289 Q57360 Q172083 Q57282 Q153586 Q57284 Q704339 Q57460 Q57467 Q310000 Q57464 Q2667 Q57308 Q3246667 Q156349 Q37979 Q965155 Q57303 Q5983599 Q10707 Q26776 Q332157 Q239717 Q2357762 Q159585 Q50678 Q450675 Q4715 Q105480 Q128307 Q37731 Q154460 Q312355 Q146496 Q188667 Q43915 Q298577 Q1356927 Q334111 Q2498455 Q3407316 Q57413 Q57410 Q19943 Q57418 Q20090884 Q21968142 Q317894 Q19628885 Q163813 Q57356 Q24692 Q456902 Q5220343 Q84263 Q1707507 Q2538 Q33168 Q2124 Q296054 Q360462 Q18352991 Q599988 Q297057 Q229493 Q57521 Q57526 Q373605 Q380187 Q17132 Q138048 Q212751 Q4772220 Q212058 Q878336 Q562002 Q701484 Q352 Q233984 Q314464 Q1382174 Q1898405 Q130834 Q12976 Q57261 Q12974 Q12973 Q12971 Q14257286 Q150652 Q1459658 Q128371 Q150712 Q319153 Q57634 Q314514 Q57306 Q19831445 Q299173 Q22368 Q206421 Q310136 Q57338 Q39259 Q307871 Q2757 Q51672 Q57458 Q333824 Q57350 Q57352 Q57452 Q57456 Q57454 Q183848 Q65917 Q380985 Q15039600 Q2628 Q19831449
(c(Q7275)|c(Q35798),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q6756617
relation P35
type Q7275
type Q35798
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?l WHERE { { ?s property:P35 ?l . ?s rdf:type ontology:Q7275 . ?l rdf:type ontology:Q502895 } UNION { ?s property:P35 ?l . ?l rdf:type ontology:Q502895 . ?s rdf:type ontology:Q35798 } } GROUP BY ?l } . FILTER ( ?c = ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:P35 resource:Q6756617 . { { ?w rdf:type ontology:Q35798 } UNION { ?w rdf:type ontology:Q7275 } } } } }
Beatrix of the Netherlands Umar II Gustav Heinemann Michal Kováč Walter Scheel Maithripala Sirisena Marcelo Rebelo de Sousa Thomas Currie Jonathan Lambert Leonid Kravchuk Gurbanguly Berdimuhamedow Ephraim Katzir Evaristo Carvalho Hipólito Mejía Amānullāh Khān Nicola Mancino Andrzej Duda Edmund Lawrence John William, Duke of Jülich-Cleves-Berg John Woolley François Hollande Kaarlo Juho Ståhlberg Giorgi Margvelashvili Eddie Fenech Adami Michel Temer Robert Ben Madison Konstantinos Tsatsos Kolinda Grabar-Kitarović László Sólyom Phaedon Gizikis Rupiah Banda Michelle Bachelet Arnold Rüütel Muhammadu Buhari Mohammed Magariaf Nicolas Sarkozy Eduard Shevardnadze Guy Scott Ellen Johnson Sirleaf Kim Jong-un Paul Delprat Tokugawa Ieyasu Ricardo Martinelli Norodom Sihamoni V. V. Giri Ivo Josipović José Eduardo dos Santos Fernando Collor de Mello Salva Kiir Mayardit Jefferson Davis Ferdinand I of Bulgaria Guido de Marco Aleksander Kwaśniewski Raul Khadjimba Guerrino Zanotti Viktor Yushchenko Girma Wolde-Giorgis Goodluck Jonathan Haris Silajdžić Jean-Claude Duvalier Teodoro Obiang Nguema Mbasogo Gustáv Husák Mehbooba Mufti Hisham ibn Abd al-Malik Leonid Kuchma Chennamaneni Vidyasagar Rao Franz Jonas Salman bin Abdulaziz Al Saud Khalifa bin Zayed Al Nahyan Susilo Bambang Yudhoyono Truong Tan Sang Daniel Ortega Francesco I Sforza Michel Kafando Sprent Dabwido Enrique Peña Nieto Mohammad Najibullah Thomas Klestil Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Frederick VIII of Denmark Charles II, Duke of Parma Muawiyah I Giuseppe Bertoleoni Chun Doo-hwan Frederick IX of Denmark Yusof bin Ishak Muawiya II Jérôme Bonaparte Lech Wałęsa William Deane Vít Jedlička Christopher of Bavaria Ugo Mifsud Bonnici Isabel Saint Malo Željko Komšić Ranasinghe Premadasa Ahmad bin Yahya Alpha Condé Danilo Medina Letsie III of Lesotho Tony Tan Keng Yam Frederick VII of Denmark Hery Rajaonarimampianina Umberto II of Italy Michel Aoun Bhumibol Adulyadej Joan Enric Vives Sicília Horacio Cartes Isaias Afewerki Sulejman Tihić Leopold II Frederick III of Denmark Sergio Mattarella Nicolae Timofti Moshe Katsav Louis, King of Etruria Ma Ying-jeou Ashraf Ghani Ahmadzai Xi Jinping Zalman Shazar Liu Shaoqi Bronisław Komorowski Jam Nizamuddin II Mohamed Ould Abdel Aziz Mauricio Macri Andrej Kiska Edward VII Ian Khama Andry Rajoelina Emomali Rahmon Ram Baran Yadav Dilma Rousseff Choummaly Sayasone Pranab Mukherjee Grand Duke Michael Alexandrovich of Russia Sulayman ibn Abd al-Malik Pietro Grasso Rosen Plevneliev Willi Stoph Megawati Sukarnoputri Filipe Nyusi Kim Il-sung Prince Charles, Count of Flanders Kim Young-sam Mohammed Nadir Shah Carlo II Bertoleoni Vseslav Izyaslavich Benigno Simeon Cojuangco Aquino III Dong Biwu Ibrahim ibn al-Walid Miloš Zeman Sauli Niinistö Mohammed Daoud Khan Filippo Maria Visconti Alexander Lukashenko Charles de Gaulle Frederick VI of Denmark Philippe of Belgium Uhuru Kenyatta Tupou VI Urho Kekkonen Bill Hayden Raimonds Vējonis Hosni Mubarak Queen Victoria Suharto Dmitry Medvedev John Kerr Héctor García Godoy William Morrison, 1st Viscount Dunrossil Horst Köhler Christian Wulff Vladimir Putin Carl Gustaf Emil Mannerheim Khieu Samphan Dési Bouterse Filip Vujanović William McKell Joaquín Balaguer Nitish Kumar Marie Louise Coleiro Preca Yang Shangkun Václav Havel Arnulf of Carinthia Zail Singh Christian X of Denmark Paddy Roy Bates Frederick I of Denmark Peter Cosgrove Ludovico Sforza Aguila Salah Issa Blaise Compaoré Hassanal Bolkiah Jakaya Kikwete Lydia Emerencia Patrice Talon Stefan Dragutin Abdrabbuh Mansour Hadi Mahamadou Issoufou Maria I of Portugal Yun Posun Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Thein Sein Charles Savarin Abd al-Malik ibn Marwan Andrey Vorobyov Ismaïl Omar Guelleh Armando Guebuza Nursultan Nazarbayev Aníbal Cavaco Silva Jam Feruzudin Theodor Heuss Gustaf VI Adolf of Sweden John II, Duke of Cleves Nicos Anastasiades Tomislav Nikolić Václav Klaus Eric of Pomerania Gjorge Ivanov Macky Sall Christos Sartzetakis Christian III of Denmark Xiang Yu Friedrich Ebert Frederick V of Denmark Park Chung-hee Christian IX of Denmark Jacques Chirac Karl Dönitz Zelman Cowen Richard Casey, Baron Casey Mladen Ivanić François Mitterrand Ratael Correa Charles XIV John of Sweden Christian V of Denmark Archduke John of Austria Ali Abdullah Saleh Kersti Kaljulaid King Louis I of Talossa Jiang Zemin Oleksandr Turchynov Michail Stasinopoulos Barack Obama Albert II Albert II Heinz Fischer George VI Atifete Jahjaga Andris Bērziņš George Abela Al-Walid I José Mário Vaz Luiz Inácio Lula da Silva Gustaf V of Sweden Mikhail Saakashvili Yitzhak Ben-Zvi Sukarno Felipe VI Alain Poher Bashar al-Assad Louis the Child Antanas Smetona Mswati III Giovanni Spadolini Philip III of Spain Jozo Križanović Adolph I, Duke of Cleves Ezer Weizman Ibrahim Boubacar Keïta Hu Jintao Zviad Gamsakhurdia Tion Otang Abu Bakr Erasme Louis Surlet de Chokier John, King of Denmark Abdullah of Saudi Arabia K. R. Narayanan Ivan Gašparovič Mohamed Morsi Wilhelmina of the Netherlands Edward VIII Faure Gnassingbé Rogvolod Wilhelm II Yevgeny Shevchuk Michael Higgins Yoweri Museveni Paul Biya Dalia Grybauskaitė Jigme Khesar Namgyel Wangchuck Fuad Masum Ilham Aliyev John Magufuli Mulatu Teshome Tabaré Vázquez Cesare Merzagora Fernando Henrique Cardoso José Mujica Margrethe II of Denmark Anna Maria Muccioli N. Chandrababu Naidu Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Serzh Sargsyan Joko Widodo Chaim Herzog Yazid II Alī ibn Abī Ṭālib Alcide De Gasperi Rose Francine Rogombé Ioannis Alevras Charles XV of Sweden Oscar II of Sweden Tarja Halonen Oscar I of Sweden Itamar Franco Paul Kagame John I, Duke of Cleves Evo Morales Sardar Muhammad Yaqoob Khan Christian VII of Denmark Hage Geingob Kim Jong-il Mirko Šarović Taaneti Mamau William Slim, 1st Viscount Slim Baldwin Lonsdale Konstantinos Karamanlis Tommy Remengesau Yahya Muhammad Hamid ed-Din Antonio Guzmán Fernández Kim Dae-jung Catherine Samba-Panza Mikhail Gorbachev Peter II of Yugoslavia Chaim Weizmann Li Xiannian Eric Bloodaxe Petro Poroshenko Christopher Loeak Abdurrahman Wahid Johannes Rau Roh Tae-woo Neelam Sanjiva Reddy Peter Mutharika Theodor Körner Emil Hácha Jimmy Morales Abdullah Gül Rhee Syng-man Mohammed VI of Morocco Leonard Petrosyan Gojong of the Korean Empire Friedrich III of Germany Oswiu of Northumbria Juan Manuel Santos Jean-Pierre Bemba Adly Mansour Frederick III, Elector of Saxony Ye Jianying Yazid I Norodom Sihanouk Michael Jeffery Yuan Shikai Beji Caid el Sebsi Michael Hainisch William Gopallawa Pedro Pablo Kuczynski Zhu De Qaboos bin Said al Said Ahmet Necdet Sezer Ali Khamenei Lord Mountbatten Christian I of Denmark Sabine Bergmann-Pohl Takakazu Ishii Robert Kocharyan Inayatullah Khan Jam Unar Raúl Castro Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Christian VI of Denmark Conrad I of Germany Wee Kim Wee Frederick Ballantyne Frederick II of Denmark Henri, Grand Duke of Luxembourg Jacobo Majluta Azar Pierre Nkurunziza Petar Stoyanov Manuel Serifo Nhamadjo Donald Ramotar Tsakhiagiin Elbegdorj Roh Moo-hyun Lee Myung-bak Bidhya Bhandari Tonino Bertoleoni Habibullāh Kalakāni Karl Carstens Antonín Novotný Ameenah Gurib-Fakim Bacharuddin Jusuf Habibie Roman Herzog Ismail Shammout Richard von Weizsäcker Louis the German Reuven Rivlin Christian VIII of Denmark Salvador Sánchez Cerén Valdas Adamkus Tamim bin Hamad Al Thani Nicolás Maduro S. R. Nathan Mário Soares Jorge Sampaio Georges Pompidou Léon M'ba Karl Renner Taur Matan Ruak Michel Martelly Jorge Carlos Fonseca Sabah Al-Ahmad Al-Jaber Al-Sabah Aleksandr Zakharchenko Amintore Fanfani Peter Hollingworth François Duvalier Leonel Fernández el ladron Antonín Zápotocký Rudolf Kirchschläger Juliana of the Netherlands Frederick IV of Denmark Mao Zedong William, Duke of Jülich-Cleves-Berg Abdul Halim of Kedah Stephen Vladislav II of Syrmia Niels Vermeersch Yitzhak Navon Joseph Bonaparte Yazid III Mohammed Zahir Shah Gian Galeazzo Visconti Adolf Schärf Henry I the Fowler Kurt Waldheim Baron Waqa Choi Kyu-ha Dragan Čović Alexander Ankvab Heinrich Lübke John Charlton Rudge Ihor Plotnytskiy Borut Pahor Süleyman Demirel Arkadi Ghukasyan Boris Yeltsin Toomas Hendrik Ilves Hamad bin Khalifa Al Thani Omar Bongo Jacob Zuma Christian IV of Denmark Ólafur Ragnar Grímsson John III, Duke of Cleves Ernest Bai Koroma János Áder Ludvík Svoboda Abdullah II of Jordan Paul von Hindenburg Abdelaziz Bouteflika Abdul Hamid Sarvepalli Radhakrishnan Akihito Teburoro Tito Karolos Papoulias Luis Guillermo Solís Robert Mugabe Momčilo Krajišnik Shankar Dayal Sharma Pearlette Louisy Izyaslav of Polotsk Boris III of Bulgaria John Mahama Francis Moncef Marzouki Kenneth Kaunda Al-Walid II Uthman ibn Affan Christian II of Denmark Bakir Izetbegović Stjepan Mesić Burhanuddin Rabbani Otto I the Great Marwan I Ninian Stephen Sunjong of the Korean Empire Bryachislav of Polotsk Prokopis Pavlopoulos Alassane Ouattara Shimon Peres Juan Carlos I Denis Sassou Nguesso Hilda C. Heine Casten Nemra Galeazzo Maria Sforza Michael Bates Rudolf Schuster Yahya Jammeh Almazbek Atambayev Gian Maria Visconti Danny Faure Wilhelm Miklas Eliud Williams Joachim Gauck Kalvakuntla Chandrashekar Valéry Giscard d'Estaing Klement Gottwald Bako Sahakyan Edgar Lungu Roch Marc Christian Kaboré Frederick Chiluba Nino Burjanadze Ali Bongo Ondimba Bujar Nishani Epeli Nailatikau Ahmed Mahamoud Silanyo Soong Ching-ling Park Geun-hye Algirdas Brazauskas Anthony Carmona Levy Mwanawasa Gianfranco Terenzi Salvador Jorge Blanco Klaus Iohannis Adolf Hitler Tsai Ing-wen Tokugawa Hidetada Paul Hasluck Konijeti Rosaiah Francis I of Austria Baudouin of Belgium Georgi Parvanov Albert I Leopold III Leopold I Mamnoon Hussain Wilhelm I of Germany Viktor Yanukovych Marwan II Charles the Fat Hassan Sheikh Mohamud Hashim Thaçi Gian Galeazzo Sforza Jalal Talabani Mariangela Bertoleoni Michael Sata Chen Shui-bian Konstantinos Stephanopoulos Nebojša Radmanović Mahinda Rajapaksa Recep Tayyip Erdoğan Abdel Fattah el-Sisi Lech Kaczyński Herod the Great Ikililou Dhoinine William Sidney, 1st Viscount De L'Isle Idriss Déby Hamad bin Isa Al Khalifa François Bozizé Anote Tong Hans-Adam II, Prince of Liechtenstein Alija Izetbegović Wilhelm Pieck Aleksandras Stulginskis Gian Carlo Capicchioni Walter Ulbricht Paolo II Bertoleoni
583
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Marcelo Rebelo de Sousa
relation head of state
type state
type executive branch
[[{'concept': 'state'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?l WHERE { { ?s property:head_of_state ?l . ?s rdf:type ontology:state . ?l rdf:type ontology:common_name } UNION { ?s property:head_of_state ?l . ?l rdf:type ontology:common_name . ?s rdf:type ontology:executive_branch } } GROUP BY ?l } . FILTER ( ?c = ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:head_of_state resource:Marcelo_Rebelo_de_Sousa . { { ?w rdf:type ontology:executive_branch } UNION { ?w rdf:type ontology:state } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18119638
P39
Q12737077
USER
What was the position held by Guerrino Zanotti ?
(Q18119638,P39,c(Q12737077))
action filter_type
action find
entity Q18119638
relation P39
type Q12737077
['Q18119638', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q18119638 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Guerrino Zanotti
action filter_type
action find
entity Guerrino Zanotti
relation position held
type occupation
['Guerrino Zanotti', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Guerrino_Zanotti property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q20968670
SYSTEM
member of the Grand and General Council of San Marino
Q20968670
(Q18119638,P39,c(Q12737077))
action filter_type
action find
entity Q18119638
relation P39
type Q12737077
The position held by Guerrino Zanotti was a [ANSWER]
['Q18119638', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q18119638 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
member of the Grand and General Council of San Marino
The position held by Guerrino Zanotti was a member of the Grand and General Council of San Marino
member of the Grand and General Council of San Marino
action filter_type
action find
entity Guerrino Zanotti
relation position held
type occupation
['Guerrino Zanotti', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Guerrino_Zanotti property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3214532
P180
Q12737077 Q17638008 Q386724
USER
Which occupations are expressed in around the same number of game equipment or works as plowman ?
(c(Q17638008)|c(Q386724),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q3214532
relation P180
type Q17638008
type Q386724
[[{'concept': 'Q17638008'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:Q386724 ) ( ontology:Q17638008 ) } . ?x rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P180 resource:Q3214532 . { { ?b rdf:type ontology:Q17638008 } UNION { ?b rdf:type ontology:Q386724 } } } } . FILTER ( ?m = ?h ) }
plowman
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity plowman
relation depicts
type game equipment
type work
[[{'concept': 'game equipment'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:work ) ( ontology:game_equipment ) } . ?x rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:depicts resource:plowman . { { ?b rdf:type ontology:game_equipment } UNION { ?b rdf:type ontology:work } } } } . FILTER ( ?m = ?h ) }
[]
occupation game equipment work
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q386724),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q3214532
relation P180
type Q17638008
type Q386724
[ANSWERS] are expressed in around the same number of game equipment or works as plowman
[[{'concept': 'Q17638008'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:Q386724 ) ( ontology:Q17638008 ) } . ?x rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P180 resource:Q3214532 . { { ?b rdf:type ontology:Q17638008 } UNION { ?b rdf:type ontology:Q386724 } } } } . FILTER ( ?m = ?h ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are expressed in around the same number of game equipment or works as plowman
farmer nurse tailor
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity plowman
relation depicts
type game equipment
type work
[[{'concept': 'game equipment'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:work ) ( ontology:game_equipment ) } . ?x rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:depicts resource:plowman . { { ?b rdf:type ontology:game_equipment } UNION { ?b rdf:type ontology:work } } } } . FILTER ( ?m = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q15284879
P180
Q12737077 Q17638008 Q386724
USER
And what about plasterer?
(c(Q17638008)|c(Q386724),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q15284879
relation P180
type Q17638008
type Q386724
[[{'concept': 'Q17638008'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?o ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q17638008 ) ( ontology:Q386724 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { { ?d rdf:type ontology:Q17638008 } UNION { ?d rdf:type ontology:Q386724 } } . ?d property:P180 resource:Q15284879 } } . FILTER ( ?o = ?s ) }
plasterer
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity plasterer
relation depicts
type game equipment
type work
[[{'concept': 'game equipment'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?o ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:game_equipment ) ( ontology:work ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { { ?d rdf:type ontology:game_equipment } UNION { ?d rdf:type ontology:work } } . ?d property:depicts resource:plasterer } } . FILTER ( ?o = ?s ) }
[]
occupation game equipment work
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q386724),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q15284879
relation P180
type Q17638008
type Q386724
[ANSWERS]
[[{'concept': 'Q17638008'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?o ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q17638008 ) ( ontology:Q386724 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { { ?d rdf:type ontology:Q17638008 } UNION { ?d rdf:type ontology:Q386724 } } . ?d property:P180 resource:Q15284879 } } . FILTER ( ?o = ?s ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
farmer nurse tailor
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity plasterer
relation depicts
type game equipment
type work
[[{'concept': 'game equipment'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?o ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:game_equipment ) ( ontology:work ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { { ?d rdf:type ontology:game_equipment } UNION { ?d rdf:type ontology:work } } . ?d property:depicts resource:plasterer } } . FILTER ( ?o = ?s ) }
[]