Simple Question (Direct)
Simple Question
Q3349834
P69
Q3918
USER
Which university is the alma mater of Haraprasad Shastri ?
(Q3349834,P69,c(Q3918))
action filter_type
action find
entity Q3349834
relation P69
type Q3918
['Q3349834', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q3349834 property:P69 ?t . ?t rdf:type ontology:Q3918 }
Haraprasad Shastri
action filter_type
action find
entity Haraprasad Shastri
relation educated at
type university
['Haraprasad Shastri', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Haraprasad_Shastri property:educated_at ?t . ?t rdf:type ontology:university }
[]
university
Q1145306
SYSTEM
University of Calcutta
Q1145306
(Q3349834,P69,c(Q3918))
action filter_type
action find
entity Q3349834
relation P69
type Q3918
[ANSWER] is the alma mater of Haraprasad Shastri
['Q3349834', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q3349834 property:P69 ?t . ?t rdf:type ontology:Q3918 }
University of Calcutta
University of Calcutta is the alma mater of Haraprasad Shastri
University of Calcutta
action filter_type
action find
entity Haraprasad Shastri
relation educated at
type university
['Haraprasad Shastri', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Haraprasad_Shastri property:educated_at ?t . ?t rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3349834
P106
Q12737077
USER
What do Haraprasad Shastri do for a living ?
(Q3349834,P106,c(Q12737077))
action filter_type
action find
entity Q3349834
relation P106
type Q12737077
['Q3349834', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3349834 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Haraprasad Shastri
action filter_type
action find
entity Haraprasad Shastri
relation occupation
type occupation
['Haraprasad Shastri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Haraprasad_Shastri property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q36180 Q635734
SYSTEM
writer, archivist
Q36180 Q635734
(Q3349834,P106,c(Q12737077))
action filter_type
action find
entity Q3349834
relation P106
type Q12737077
Haraprasad Shastri do for a living as [ANSWERS]
['Q3349834', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3349834 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
writer archivist
Haraprasad Shastri do for a living as writer and archivist
writer archivist
action filter_type
action find
entity Haraprasad Shastri
relation occupation
type occupation
['Haraprasad Shastri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Haraprasad_Shastri property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q109613
Q12737077
USER
And what about Friedrich Wilhelm von Westphalen?
(Q109613,P106,c(Q12737077))
action filter_type
action find
entity Q109613
relation P106
type Q12737077
['Q109613', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q109613 property:P106 ?y }
Friedrich Wilhelm von Westphalen
action filter_type
action find
entity Friedrich Wilhelm von Westphalen
relation occupation
type occupation
['Friedrich Wilhelm von Westphalen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Friedrich_Wilhelm_von_Westphalen property:occupation ?y }
[]
occupation
Q42603
SYSTEM
priest
Q42603
(Q109613,P106,c(Q12737077))
action filter_type
action find
entity Q109613
relation P106
type Q12737077
[ANSWER]
['Q109613', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q109613 property:P106 ?y }
priest
priest
action filter_type
action find
entity Friedrich Wilhelm von Westphalen
relation occupation
type occupation
['Friedrich Wilhelm von Westphalen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Friedrich_Wilhelm_von_Westphalen property:occupation ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q635734
P425
Q5962346
USER
Which classification scheme has archivist as thier associated field of occupation ?
(Q635734,P425,c(Q5962346))
action filter_type
action find
entity Q635734
relation P425
type Q5962346
['Q635734', 'P425', {'concept': 'Q5962346'}]
SELECT DISTINCT ?i WHERE { resource:Q635734 property:P425 ?i . ?i rdf:type ontology:Q5962346 }
archivist
action filter_type
action find
entity archivist
relation field of this occupation
type classification scheme
['archivist', 'field of this occupation', {'concept': 'classification scheme'}]
SELECT DISTINCT ?i WHERE { resource:archivist property:field_of_this_occupation ?i . ?i rdf:type ontology:classification_scheme }
[]
classification scheme
Q380313
SYSTEM
archival science
Q380313
(Q635734,P425,c(Q5962346))
action filter_type
action find
entity Q635734
relation P425
type Q5962346
[ANSWER] has archivist as thier associated field of occupation
['Q635734', 'P425', {'concept': 'Q5962346'}]
SELECT DISTINCT ?i WHERE { resource:Q635734 property:P425 ?i . ?i rdf:type ontology:Q5962346 }
archival science
Archival science has archivist as thier associated field of occupation
archival science
action filter_type
action find
entity archivist
relation field of this occupation
type classification scheme
['archivist', 'field of this occupation', {'concept': 'classification scheme'}]
SELECT DISTINCT ?i WHERE { resource:archivist property:field_of_this_occupation ?i . ?i rdf:type ontology:classification_scheme }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P361
Q1914636 Q874405 Q5962346
USER
Which classification schemes are a component of approximately the same number of activities or social groups as that classification scheme ?
(c(Q5962346),P361,c(Q1914636)|c(Q874405))
action approx
action union
action find_tuple_counts
relation P361
type Q5962346
type Q1914636
action find_tuple_counts
relation P361
type Q5962346
type Q874405
action count
action filter_multi_types
action find
entity Q380313
relation P361
type Q1914636
type Q874405
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?r ) WHERE { { ?b property:P361 ?w . ?b rdf:type ontology:Q5962346 . ?w rdf:type ontology:Q1914636 } UNION { ?b property:P361 ?w . ?b rdf:type ontology:Q5962346 . ?w rdf:type ontology:Q874405 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { { ?o rdf:type ontology:Q1914636 } UNION { ?o rdf:type ontology:Q874405 } } . resource:Q380313 property:P361 ?o } } . FILTER ( ?r = ?j ) }
action approx
action union
action find_tuple_counts
relation part of
type classification scheme
type activity
action find_tuple_counts
relation part of
type classification scheme
type social group
action count
action filter_multi_types
action find
entity archival science
relation part of
type activity
type social group
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'activity'}, {'concept': 'social group'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?r ) WHERE { { ?b property:part_of ?w . ?b rdf:type ontology:classification_scheme . ?w rdf:type ontology:activity } UNION { ?b property:part_of ?w . ?b rdf:type ontology:classification_scheme . ?w rdf:type ontology:social_group } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { { ?o rdf:type ontology:activity } UNION { ?o rdf:type ontology:social_group } } . resource:archival_science property:part_of ?o } } . FILTER ( ?r = ?j ) }
[]
activity social group classification scheme
SYSTEM
167
Q814495 Q18336 Q13295 Q905036 Q17308701 Q56936 Q7081687 Q1346342 Q7071313 Q165838 Q795113 Q2145956 Q2714388 Q16334497 Q5577428 Q35111 Q144713 Q380313 Q856638 Q33852 Q3064420 Q770723 Q484761 Q715396 Q954321 Q1929812 Q33136 Q391015 Q853915 Q15614122 Q2701314 Q831873 Q1422731 Q25433 Q1056396 Q574273 Q787422 Q2056514 Q1429100 Q938245 Q1924856 Q381496 Q294217 Q128030 Q10427676 Q3217376 Q126842 Q3217378 Q1380905 Q1193625 Q27660317 Q382113 Q3450906 Q16583941 Q1063076 Q3123021 Q15783860 Q7007379 Q6743068 Q1436372 Q25295 Q621080 Q1412461 Q41217 Q599958 Q420591 Q16113196 Q2029930 Q2397881 Q396188 Q7632661 Q1255897 Q1153495 Q6424775 Q1334774 Q1603899 Q378426 Q1738162 Q3039115 Q812943 Q164273 Q13955118 Q161272 Q930752 Q1481411 Q32906 Q615684 Q1944497 Q33750 Q7847646 Q335632 Q2458420 Q1908419 Q47307 Q323936 Q371304 Q2153999 Q1640108 Q34090 Q34230 Q3745514 Q2045692 Q193870 Q2520728 Q336387 Q5617043 Q407784 Q591763 Q2520723 Q1434048 Q3217502 Q1362435 Q290578 Q396090 Q179805 Q1338164 Q185925 Q379838 Q735602 Q10387 Q26721 Q5551285 Q986800 Q184793 Q1200977 Q1413406 Q52040 Q380344 Q730675 Q11797549 Q30134 Q870895 Q840400 Q1663002 Q18575626 Q372449 Q15841889 Q184274 Q179957 Q624758 Q55640 Q5329170 Q12636140 Q7022532 Q150971 Q294417 Q4663617 Q7974669 Q1413942 Q456632 Q3699526 Q1460420 Q149584 Q171184 Q828395 Q33932 Q10374568 Q1421211 Q687826 Q180592 Q1323395 Q190637 Q4866154 Q163629 Q44325 Q5381001 Q175002
(c(Q5962346),P361,c(Q1914636)|c(Q874405))
action approx
action union
action find_tuple_counts
relation P361
type Q5962346
type Q1914636
action find_tuple_counts
relation P361
type Q5962346
type Q874405
action count
action filter_multi_types
action find
entity Q380313
relation P361
type Q1914636
type Q874405
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?r ) WHERE { { ?b property:P361 ?w . ?b rdf:type ontology:Q5962346 . ?w rdf:type ontology:Q1914636 } UNION { ?b property:P361 ?w . ?b rdf:type ontology:Q5962346 . ?w rdf:type ontology:Q874405 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { { ?o rdf:type ontology:Q1914636 } UNION { ?o rdf:type ontology:Q874405 } } . resource:Q380313 property:P361 ?o } } . FILTER ( ?r = ?j ) }
Services for the disabled heraldry South Estonian computational sociology Gogodala languages Rgyalrongic languages Ok languages Anglic languages Nyungic languages limnology B-physics Capacity management Western Romance languages Type IXC/40 submarine Gogodala–Suki Chatino language East Slavic languages archival science library catalog Northwest Caucasian languages Ngero–Vitiaz languages auxiliary sciences of history philosophy of language Solid-state physics Gallo-Iberian languages systemic therapy Baltic languages Eastern Iranian languages Economic geology measure theory East Barito languages Betriebsfestigkeit Oghur languages Low German human resource management municipal law Automatic Control (technology of automation) Active safety Igboid languages Vanguard-class submarine metal construction Aero climatology public sector dynamics civil defense Western Visayan languages philosophy of law Central Visayan languages social psychiatry social research Rural geography Admiralty law Behavioural Biology German Type IXD-2 submarine voluntary sector Atlas languages sociology of work business process management Malekula Coastal languages Sira languages language family Library of Congress Classification psephology mechanics Occitano-Romance languages Micronesian languages Kairiru-Manam languages organizational studies Hindi languages Agricultural journalism Dreadnought-class submarine Dinka–Nuer languages configuration management Koch languages Lahnda languages Makaa–Njem languages diplomatics Kele languages North New Guinea languages Civil Service Law East Semitic languages earthworks social psychology medical specialty IT service management Adamawa languages social computing Crop protection Mongolic languages Trukic languages mathematical finance Tsogo languages mathematical geography genealogy pharmacokinetics Gorontalo–Mongondow languages Central Algonquian languages switching technology Turkic languages Tungusic languages Filosofia latinoamericana industrial and organizational psychology tribology Administrative Law in Germany digital history Gujarati languages child development private sector Administrative Procedure Law Aircraft construction Central and South New Guinea languages Psychology of learning Radiophysics Agricultural geography political philosophy Codicology graphic design Sigillography quantum optics gerontology West Germanic languages Type IXB submarine Low German languages computer-aided design quaternary sector of the economy technical documentation High German languages descriptive statistics quantitative research Type IXD-1 submarine Ingvaeonic languages health informatics evolutionary biology engineering construction Gorontalic Forest protection computer engineering celestial mechanics palaeography psychopathology primary sector of the economy Anglo-Frisian languages Manam languages Ngondi–Ngiri languages computer graphics Public Building Law (Germany) Abazgi languages Wati languages material handling information privacy South Omotic languages emergency management organizational theory phylogeny social policy Ubangian languages Type IXC submarine Media psychology Mbam languages social philosophy Ekoid languages Web design Basa languages Ethiopian Semitic languages ontology Environment, Health and Safety developmental psychology
167
action approx
action union
action find_tuple_counts
relation part of
type classification scheme
type activity
action find_tuple_counts
relation part of
type classification scheme
type social group
action count
action filter_multi_types
action find
entity archival science
relation part of
type activity
type social group
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'activity'}, {'concept': 'social group'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?r ) WHERE { { ?b property:part_of ?w . ?b rdf:type ontology:classification_scheme . ?w rdf:type ontology:activity } UNION { ?b property:part_of ?w . ?b rdf:type ontology:classification_scheme . ?w rdf:type ontology:social_group } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { { ?o rdf:type ontology:activity } UNION { ?o rdf:type ontology:social_group } } . resource:archival_science property:part_of ?o } } . FILTER ( ?r = ?j ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q82955 Q42603
P106
Q502895
USER
Which people have a job as priest and politician ?
AND((c(Q502895),P106,Q42603), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q42603
relation P106
action find_reverse
entity Q82955
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q42603'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?v WHERE { ?v property:P106 resource:Q42603 . ?v property:P106 resource:Q82955 . ?v rdf:type ontology:Q502895 }
politician priest
action filter_type
action intersection
action find_reverse
entity priest
relation occupation
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'priest'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?v WHERE { ?v property:occupation resource:priest . ?v property:occupation resource:politician . ?v rdf:type ontology:common_name }
[]
common name
Q520881 Q659633 Q336504 Q12714790 Q4560151 Q655506 Q1452908 Q5076284 Q10742286 Q11114977
SYSTEM
Some of them are Stephen Platten, Dezső Dersfi, Colin James, Fredrik Schiørn, Hans Nilsen Hauge, Mervyn Stockwood, Frederick Hervey, 4th Earl of Bristol, Charles Clarence Neslen, Abraham Vilhelm Heffermehl, Frederik Rode
Q11977839 Q374707 Q3181131 Q2079924 Q5767122 Q3360251 Q2129847 Q12718844 Q336470 Q460539 Q5707382 Q6028176 Q3170577 Q10742286 Q12006659 Q3397940 Q3421956 Q3553612 Q16591841 Q255795 Q14633019 Q11876131 Q2581169 Q6086346 Q4706365 Q5794593 Q24434557 Q3353977 Q2496044 Q1494837 Q11850819 Q12717767 Q1924075 Q547944 Q336504 Q1362839 Q11866713 Q5773639 Q5408324 Q3433134 Q11872786 Q3374692 Q5768295 Q5547796 Q10284790 Q12714009 Q10383118 Q5587013 Q16760901 Q1378695 Q11928888 Q4762888 Q1499992 Q440166 Q2727991 Q16991152 Q2831921 Q950329 Q11865437 Q3373496 Q5627420 Q1541911 Q711983 Q6068338 Q1368292 Q3354810 Q5969026 Q5795077 Q1452908 Q1346181 Q434406 Q302936 Q6224449 Q2066815 Q11884104 Q6262644 Q7176861 Q1337529 Q520881 Q511499 Q7026488 Q739561 Q3433526 Q11857192 Q2077618 Q5699147 Q887654 Q336307 Q6253945 Q6526293 Q4574253 Q4582415 Q10309226 Q336495 Q1707537 Q5082682 Q451473 Q2173085 Q23309949 Q5490536 Q11851990 Q6161282 Q335740 Q207655 Q540288 Q6019416 Q6769585 Q9384808 Q780817 Q5109969 Q11865654 Q6178680 Q6292498 Q1503044 Q3020077 Q2746106 Q313548 Q15983371 Q1989558 Q10540338 Q1503040 Q1789833 Q16168493 Q11110625 Q5543295 Q5768933 Q972894 Q126264 Q6148522 Q5553528 Q1541951 Q11966564 Q2463832 Q1790851 Q535922 Q577347 Q5346755 Q3383294 Q4719923 Q1058183 Q13501330 Q983502 Q6045848 Q336344 Q573819 Q6227184 Q3023153 Q3195647 Q25991329 Q6232470 Q5543792 Q5620994 Q11974178 Q1086743 Q11961366 Q534143 Q26449143 Q3307968 Q1999495 Q6114323 Q1703013 Q16299877 Q6385172 Q1498629 Q7345247 Q7807047 Q2916741 Q1799081 Q6092251 Q6168419 Q11980269 Q11868157 Q1785260 Q457072 Q432059 Q1281930 Q4566567 Q336992 Q11859977 Q20608833 Q337025 Q10285486 Q1176649 Q5481824 Q12714790 Q924163 Q2269911 Q737043 Q335458 Q1969584 Q2756994 Q7825865 Q5962543 Q180988 Q2572680 Q5544175 Q3565660 Q142983 Q613638 Q655506 Q4757317 Q5908691 Q6309729 Q3315380 Q4721976 Q6490243 Q5899369 Q6409574 Q11993119 Q6251229 Q286937 Q2433925 Q723451 Q6220376 Q11956720 Q1779675 Q1927449 Q4669358 Q5700125 Q11867061 Q336315 Q5720633 Q7047028 Q2043558 Q12393098 Q2546913 Q2581350 Q3752948 Q16206810 Q6065563 Q3354040 Q1523773 Q1782904 Q2492949 Q11973790 Q2337014 Q16760860 Q4864685 Q16760862 Q5804623 Q10742187 Q982904 Q723778 Q15262813 Q5944901 Q5082604 Q336825 Q5485561 Q5985507 Q168135 Q3187583 Q11957973 Q17383472 Q947202 Q11957979 Q5492252 Q6046703 Q6969648 Q10295559 Q5423979 Q5629588 Q5989945 Q3396531 Q18507395 Q6772053 Q435376 Q5906828 Q12004319 Q72921 Q153509 Q5055849 Q8470954 Q5344779 Q6221832 Q21662519 Q6299488 Q16202836 Q2729980 Q683447 Q1700227 Q2518237 Q317887 Q82301 Q4560672 Q125874 Q3266574 Q151120 Q12715799 Q655625 Q6216704 Q249142 Q366307 Q3422189 Q2643980 Q573941 Q11222912 Q5559558 Q10310067 Q336858 Q11960773 Q1176712 Q1642782 Q336850 Q607069 Q11860782 Q15729769 Q16491211 Q1779960 Q941286 Q178597 Q620877 Q381157 Q6999907 Q1926755 Q336326 Q12015012 Q2159976 Q15493468 Q1787996 Q5540505 Q3386198 Q6188945 Q4566550 Q2254599 Q6218380 Q1328980 Q5885542 Q3373997 Q336912 Q3375711 Q335864 Q335465 Q516182 Q6844758 Q11850768 Q11977829 Q17410321 Q1081418 Q11882788 Q2830926 Q15700706 Q12715414 Q2151937 Q5349629 Q590682 Q6183975 Q2535785 Q6229192 Q11849791 Q1929333 Q1806306 Q8002132 Q6765203 Q3904360 Q91750 Q19943388 Q463174 Q11991479 Q195942 Q11867601 Q6271007 Q2086520 Q7348762 Q685734 Q4991985 Q6236659 Q210783 Q5450646 Q709181 Q3427798 Q11995310 Q1774165 Q6219947 Q6537142 Q4609356 Q459860 Q5727115 Q5562579 Q11855398 Q2159284 Q2400334 Q4585142 Q17099512 Q5889518 Q4575914 Q11679887 Q2577202 Q5076284 Q3069570 Q12717701 Q335473 Q336569 Q336564 Q5544241 Q3386149 Q5389673 Q7342688 Q7175988 Q247948 Q3421946 Q1655490 Q642195 Q11866571 Q1241409 Q333086 Q709870 Q6372250 Q3184392 Q5113446 Q6235300 Q5385015 Q5614513 Q2059064 Q6085536 Q11957969 Q4358636 Q1875296 Q6149044 Q11957888 Q4953886 Q1665338 Q75173 Q6886206 Q10324478 Q111558 Q3374099 Q5577219 Q5606094 Q16168478 Q6454691 Q5976864 Q1554799 Q98554 Q6729101 Q808404 Q3299534 Q4578850 Q7518233 Q11991365 Q2150176 Q1933723 Q206774 Q3263267 Q1695503 Q5568408 Q12006195 Q5754690 Q12713298 Q671908 Q12713515 Q4588867 Q6133086 Q5112531 Q5346340 Q1774757 Q1659500 Q5217436 Q1984977 Q3753681 Q6171440 Q5724747 Q1493072 Q2033937 Q5397269 Q7176137 Q5966463 Q5387089 Q9057674 Q11978383 Q4770759 Q5813408 Q17402946 Q4889807 Q1690772 Q1703178 Q336875 Q16171603 Q335125 Q2545543 Q11974121 Q1779121 Q6047275 Q166932 Q6240068 Q3839266 Q2442294 Q6104261 Q1700556 Q6202617 Q5622475 Q3083409 Q441594 Q490870 Q11973986 Q11986782 Q5806064 Q6238946 Q336389 Q12006221 Q5854226 Q11978727 Q728387 Q49615 Q659633 Q3767278 Q18241515 Q5658047 Q5343562 Q1678324 Q7652234 Q60952 Q5588644 Q683491 Q1791593 Q21848527 Q3171106 Q4560151 Q16167866 Q385613 Q203198 Q4350748 Q11851321 Q4894213 Q5360601 Q11114977 Q7364903 Q12714047 Q4582377 Q12715929 Q5748557 Q5231324 Q2526641 Q3352354 Q6438003 Q3375695 Q5619206 Q1507982 Q1231894 Q6242849 Q5234662 Q11887709 Q345654 Q548285 Q5490848 Q11680046 Q6456445 Q1667151 Q3370934 Q262551 Q182249 Q5486641 Q2107244 Q1322709 Q11882547 Q5543061 Q2033994
AND((c(Q502895),P106,Q42603), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q42603
relation P106
action find_reverse
entity Q82955
relation P106
type Q502895
[ANSWERS] have a job as priest and politician
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q42603'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?v WHERE { ?v property:P106 resource:Q42603 . ?v property:P106 resource:Q82955 . ?v rdf:type ontology:Q502895 }
Jacob Hersleb Sodemann Jacob Neumann Jens Christian Folkman Schaanning Hryhory Yakhymovych Frithiof Grafström Hartvig Caspar Christie Ralph de Warneville Sæmund Vik Richard Chartres Cecilia Wikström Axel Ekstedt Valerius Olsson Jean Baptiste de Beauvais Abraham Vilhelm Heffermehl Tom Sverre Tomren Xesús Ferro Couselo Paul Vinsnes Pelagius of Oviedo Kjell Joachimsen Nigel Stock Jos Schreurs Ljungo Tuomaanpoika William de Vere Herman Råbergh Alan Chesters Gustaf Hazén Carlos Augusto Peixoto de Alencar Frederik Schmidt Gustaaf Hendrik Flamen Alastair Redfern Alfred Brynolf Roos Poul Fredrik Vilhelm Schnitler Berenguer de Cruïlles Nils Trædal Colin James Gian Girolamo Albani Johannes Schwartzberg Carl Grundell Eugenio Pizarro Geir Jørgen Bekkevold Kosti Kankainen Jens Stub Axel Fredrik Granfelt Carl Henrik Alopaeus Francisco Gomes Parente Carl Theodor Rode Tomás Pompeu de Sousa Brasil Carl Johan Brodén Gunnar Prestegård Eustace Josep Ribas Ribas Angelo Geraldini Józef Kłos Lauri Ingman Luc Versteylen Olli Valtonen Albion W. Knight, Jr. Germanos of Patras J. W. Wartiainen Jacob Hersleb Darre Gustaf Edström Graham Dow John Hamilton Torsten Thure Renvall Leonidas Polk Claus Daae Anton Julius Lyth Sven Hector Frederick Hervey, 4th Earl of Bristol Vasile Aftenie David of Burgundy Sidonius Apollinaris Bartholdus Vhael Pedro Pablo Vidal Nea Kontio John Waine Peter Selby Ranulf Flambard Stephen Platten Flemming Kofod-Svendsen Nicholas of Ely Demetrius of Esztergom Jens Aars Eino Sares Peter Price Otto Immanuel Colliander Carlos Felipe Morales Randall Davidson John R. Murdock Leonhard Christian Borchgrevink Holmboe Hieronymus Heyerdahl Kolbjørn Varmann José Custódio Dias Eric Kemp Josef Lukas Charles Stewart Burchard II Rudolf Joseph Jakob Weiß Vicente Manterola José María Rolón Anton Lilius August Pettersson John Habgood Kjell Magne Bondevik Papaflessas Johan Nydahl Mark Santer Aaron Gustaf Borg John Hind Christian Nielsen Lund Jakob Henrik Roos Albert Sjöholm José Ignacio Cienfuegos Geoffrey Rufus Julian Sas-Kuilovsky Kyrillos III Absalon Anton Gregorčič Nigel McCulloch Johan Amnell Geoffrey Ridel Andreas Hauge Petrus Carstenius Agathon Bartholomæus Hansteen Lars Peter Afzelius Jöran Grapenson Francisco Javier de Lizana y Beaumont Berkeley L. Bunker Tomás Cámara y Castro Gerónimo Castillón y Salas Graham James Edvard Storm Munch Michel van Winkel Otto Jensen László Tőkés David Sheppard Edwin Q. Cannon Pierre Louis Parisis Alexander Ratiu Benedek I, Archbishop of Esztergom Peder Eiesland St. Nerses I Carl Magnus Joachim Petrelli Cosmo Gordon Lang Anthony Priddis John Corrill Dennis Drainville Sebastián Ramírez de Fuenleal Jan Holba Antero Warelius George Reindorp Gustaf Johansson Harald Bekken Christopher Hill Bjørn Hesselberg Pieter van Vlaanderen Ernesti Aarnio Søren Georg Abel Norman D. Shumway Jack Nicholls Jonas Rein Kimmo Kivelä Keith W. Wilcox Mike Hill Robert Hardy Timothy Bavin Manuel Tovar y Chamorro Niels Hertzberg Karl Sandegård Anders Niclas Schmidt Karl Julius Arnesen Juuso Hedberg Peder Olivarius Bugge Inge Lønning Lars-Ivar Ericson Prætextatus Jacob Andreas Wille Stuart Blanch, Baron Blanch Frans Wilhelm Gustaf Hjelt Søren Henrik Theodor Sørensen Cyril Garbett Francisco dos Santos Pinto Michael Ball Jaakko Gummerus Fredrik Schiørn Simon Sudbury Leo Beaufort István Kühár George Carey Józef Teodorowicz Domingo Ram y Lanaja Torkell Tande Yrjö Loimaranta Ola T. Lånke Wilhelm Frank Pehr Ahlqvist Domenico Bollani Sergius I of Constantinople Antonio Ibáñez de la Riva Herrera Mervyn Stockwood Andrew Hogan Alfred Kihlman Julius Christopher Hammer Kazimieras Steponas Šaulys Alfons de Tous Larry Echo Hawk Ilkka Kantola Kim Wolfe Odd Kristian Reme John Oliver David James Tim Dakin William of Wykeham John Baker Aage Schavland Carl Peter Parelius Essendrop Michael Perham Abram Hatch Antonio Zamorano Josef Grönberg William Temple Anders Josef Europaeus Noel Jones Antonio José Ruiz de Padrón Matías Usero Torrente Walter de Gray Willibald Rausch Gabriel Urralburu John Laing Otto Redelius Jørgen Tandberg Gijsbrecht van Brederode Alfred Eriksen Valerian Trifa Halvor Aschehoug José María Luis Mora Frederik Nicolai Jensen Barry Rogerson Simon Nicolai Kildal Elis Heüman Jørgen Meier Heffermehl Johan Nordahl Brun Maurice Ludvig Daae Zwilgmeyer Carl Liljenmark Charles Sreeve Peterson Robin Eames Fredrik Hertzberg Charodotes Meurling Zbigniew Oleśnicki Juan Bautista de Ormaechea Andreas Frederik Weidemann Heikki Riihijärvi Hans Riddervold Andreas Hval Johan Fredrik Bergh Carl Pettersson Nathaniel H. Felt Hildebrando de Freitas Pedroso F. Melvin Hammond Christian Ekeborgh Johan Arvid Moberger Michael of Ohrid and Macedonia Andrej Marušič Marmaduke Lumley Helen Bjørnøy Horton D. Haight Svend Aschenberg George of the Palatinate Makarios III Cec Purves Diego Jaén Botella Edward Partridge, Jr. John Bickersteth Germain Dufour Juan Cayetano Gómez de Portugal y Solís Hugh de Pateshull Ian Harland Joseph Sembratovych John Gladwin Thomas-Marie-Joseph Gousset George Herbert Per Lønning Vilhelm Andreas Wexelsen Isak Brenner Luigj Bumçi Charles the Bold Jens Glatved John Taylor Johannes Gilleberg Hans Wille Fan S. Noli John Aas Dolf Coppes Anthony Russell Rolf Steffensen Lars Arnell d. ä. José Martiniano Pereira de Alencar Kenneth Stevenson Berit Øksnes Gjerløw David Stancliffe Silvester de Everdon Michael Nazir-Ali Gordon H. Smith Gustaf Dahlberg Joseph Abbal Antônio Batista Vieira Tim Stevens Fu Tieshan Robert Bloet Hubert Walter Orrin Hatch Emilio Bufardeci Michael Adie George Bell Johnny Bakke Antonius Vesters Graeme Knowles Hans Christian Ulrik Midelfart George Hepburn Pierre Masuyer Lars-Olov Stendahl Christopher Knudsen Étienne Hubert de Cambacérès Peter Törnqvist Michael Langrish Gregorio Tobajas Nicolai Niels Nielsen Peter Forster Peter Hersleb Harboe Castberg David Hope Robert Runcie James Smith Bush Miguel Ramos Arizpe Alexander Ferdinand Borenius Jacob Bull Jens Christian Samsing Camillo Massimo Mikko Salmi David van Ooijen Christian Langballe Henrik Dahl Gustaf Gadolin Einar Gelius Juan Rodríguez de Fonseca Jerry Lewis Jaime Cardona John Dennis Adolf Fredrik Rosendal Michael Scott-Joynt Lars Oftedal Wilhelm Christian Magelssen Marion G. Romney Pedro Folc de Cardona Émile Wetterlé Božidar Raič John of Flanders Nils Jønsberg William of Jülich Juho Koskimies Jon Jørundson Mannsåker Philip de Harcourt Robert Paterson Pietro Bonomo Harald Ulrik Sverdrup Mårten Werner Haagen Ludvig Bergh Finn Kristian Marthinsen Gil Álvarez Carrillo de Albornoz Søren Wilhelm Thorne Per Tønder Tom Butler Jonas Unger Lewis W. Shurtliff Simo Rundgren Ambrož Hradecký Carl Fehrman Magnus Aurivillius Claudius Hedman Robert de Sigello Hendrik Claeys Andreas Bonnevie Trond Kasbo Johan Viktor Johnsson Gustav Adolph Lammers Antonio de Fonseca William Fraser Charles Clarence Neslen Fernando de Valdés y Salas Peter Christian Boye Geoffrey Fisher Michael Ramsey John Sentamu Anders Gustaf Ahlstrand Pierre Marini Bodho Erkki Kaila Robert Cairncross Peter Mumford Jean-Marie Runiga Lugerero Peter Ulrik Magnus Hount Ian Cundy Ivan Naumovych Johan Cajanus Guillaume du Vair Lope de Barrientos Berge Furre Karl Seip Joseph-Octave Plessis Christopher Winther Scheen John Gilbert Erastus Otis Haven Zacharias Cygnæus den äldre Paul Butler Peter Rydholm Andreas Faye Hans Conrad Thoresen Louis de Bourbon, Bishop of Liège Jan Helge Jansen Anders Mathias Larsen Brad Dee William of Kilkenny Theophil Wurm Mo Denis Manuel Rodrigues da Costa Christopher Cocksworth Hans Hein Nysom Petrus Bjugg Nicolaus Johan Cervin-Stéenhoff Henrik Carstenius José Manuel Pérez Castellano Richard Markgren Gunnar Stålsett Edmund Radziwiłł Maeda Gen'i Anton Barnabas Fink Nikollë Kaçorri Ole Bergesen Simon Barrington-Ward Niels Griis Alstrup Dahl Richard Marsh Mikko Juva Reginar, Duke of Lorraine Louis Verdet Johann Melchior Mohr Anders Fredrik Beckman Thorkild Aschehoug Oscar Geijer Albert Balchen John Stafford Arnoldus Schytte Georg Burchard Jersin James E. Faust Christopher Herbert Edwin D. Woolley Hans Jacob Stabel David Young Jan Heijmans Nicholas Reade Antonio Pildain y Zapiain Jean Richardot the Younger Carl Magnus Fallenius Gamelin Sampiro Kullervo Hulkko Peter Nott Anders Lunderqvist Eric Mercer Pedro Solabarria Jens-Petter Johnsen Anssi Joutsenlahti Carl Hoppe William Barber II Bennie Dee Warner Walter K. Granger Jonathan Gledhill Archibald Tait Ole Gustav Barman N. T. Wright William Cumin Hans Reiersen Jacob Sverdrup Smitt Per Pettersson Georg Prahl Harbitz Jonas Widén Luigi Anelli Robertus van Dover J.O. Patterson, Jr. John Inge Per Sörensson Guy Mone François-Jean-Hyacinthe Feutrier Ida Auken Anders Chydenius Hans Cato Aall Lorentz Angell Diego Elizondo Prado John Henry Smith Donald Coggan Thorstein Fretheim Fabián Allende Barrera Johan Garmann Edwin Morris Rowan Williams Dezső Dersfi Giovanni Francesco Lottini Franc Kulovec Adolfo Linares Edward Hunter Martin Wharton Sverre Bernhard Nybø Albert of Riga Fritz Bruun-Rasmussen Spyrydon Lytvynovych Diogo Antônio Feijó Johan Daniel Stub Landmark Jean Canard Hans Nilsen Hauge Johan Bäckwall Mercurino Gattinara Avitus Frans Ludvig Schauman Anders Kyander Bernhard Ludvig Essendrop Elias Simojoki Frederik Rode Ronald Gordon Christian Qvale Hans Jacob Grøgaard Just Bing Ebbesen Hewlett Thompson David Bentley Vincent Kwabena Damuah Jakob Liv Rosted Sverdrup Kristian Tønder Lars Andreas Oftedahl Gunner Berg George Neville Richard Foxe John Kennedy David Halsey Peter Kankkonen Carl Adolph Agardh Philip I, Count of Savoy Nestor Järvinen Atilano Coco Martín L. Edward Brown John Packer Daniel Bremer Juell George Cassidy Iver Hesselberg Julius Immanuel Bergh Lars Tangvik John Saxbee Mika Ebeling George Osmond Vladas Mironas
Stephen Platten, Dezső Dersfi, Colin James, Fredrik Schiørn, Hans Nilsen Hauge, Mervyn Stockwood, Frederick Hervey, 4th Earl of Bristol, Charles Clarence Neslen, Abraham Vilhelm Heffermehl and Frederik Rode have a job as priest and politician
Stephen Platten Dezső Dersfi Colin James Fredrik Schiørn Hans Nilsen Hauge Mervyn Stockwood Frederick Hervey, 4th Earl of Bristol Charles Clarence Neslen Abraham Vilhelm Heffermehl Frederik Rode
action filter_type
action intersection
action find_reverse
entity priest
relation occupation
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'priest'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?v WHERE { ?v property:occupation resource:priest . ?v property:occupation resource:politician . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q372371 Q4560151
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Hans Nilsen Hauge or Floris Takens ?
OR((Q4560151,P27,c(Q15617994)), (Q372371,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4560151
relation P27
action find
entity Q372371
relation P27
type Q15617994
{'OR': [['Q4560151', 'P27', {'concept': 'Q15617994'}], ['Q372371', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { ?t property:P27 ?e . VALUES ( ?t ) { ( resource:Q4560151 ) ( resource:Q372371 ) } } . ?e rdf:type ontology:Q15617994 }
Floris Takens Hans Nilsen Hauge
action filter_type
action union
action find
entity Hans Nilsen Hauge
relation country of citizenship
action find
entity Floris Takens
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hans Nilsen Hauge', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Floris Takens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { ?t property:country_of_citizenship ?e . VALUES ( ?t ) { ( resource:Hans_Nilsen_Hauge ) ( resource:Floris_Takens ) } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q155 Q29999
SYSTEM
Norway, Brazil, Kingdom of the Netherlands
Q20 Q155 Q29999
OR((Q4560151,P27,c(Q15617994)), (Q372371,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4560151
relation P27
action find
entity Q372371
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Hans Nilsen Hauge or Floris Takens
{'OR': [['Q4560151', 'P27', {'concept': 'Q15617994'}], ['Q372371', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { ?t property:P27 ?e . VALUES ( ?t ) { ( resource:Q4560151 ) ( resource:Q372371 ) } } . ?e rdf:type ontology:Q15617994 }
Norway Brazil Kingdom of the Netherlands
Norway, Brazil and Kingdom of the Netherlands are the countries of citizenship of Hans Nilsen Hauge or Floris Takens
Norway Brazil Kingdom of the Netherlands
action filter_type
action union
action find
entity Hans Nilsen Hauge
relation country of citizenship
action find
entity Floris Takens
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hans Nilsen Hauge', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Floris Takens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { ?t property:country_of_citizenship ?e . VALUES ( ?t ) { ( resource:Hans_Nilsen_Hauge ) ( resource:Floris_Takens ) } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q191067 Q838948
USER
Which occupations were discussed in atleast 28 articles and works of art ?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 28
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?d WHERE { { ?n rdf:type ontology:Q838948 . ?d rdf:type ontology:Q12737077 . ?n property:P921 ?d } UNION { ?n property:P921 ?d . ?d rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q191067 } } GROUP BY ?d } . FILTER ( ?u >= 28 ) }
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 28
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?d WHERE { { ?n rdf:type ontology:work_of_art . ?d rdf:type ontology:occupation . ?n property:main_subject ?d } UNION { ?n property:main_subject ?d . ?d rdf:type ontology:occupation . ?n rdf:type ontology:article } } GROUP BY ?d } . FILTER ( ?u >= 28 ) }
[]
occupation article work of art
Q33999 Q9402 Q33231
SYSTEM
actor, ninja, photographer
Q33999 Q9402 Q33231
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 28
The [ANSWERS] were discussed in atleast 28 articles and works of art
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?d WHERE { { ?n rdf:type ontology:Q838948 . ?d rdf:type ontology:Q12737077 . ?n property:P921 ?d } UNION { ?n property:P921 ?d . ?d rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q191067 } } GROUP BY ?d } . FILTER ( ?u >= 28 ) }
actor ninja photographer
The actor, ninja and photographer were discussed in atleast 28 articles and works of art
actor ninja photographer
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 28
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?d WHERE { { ?n rdf:type ontology:work_of_art . ?d rdf:type ontology:occupation . ?n property:main_subject ?d } UNION { ?n property:main_subject ?d . ?d rdf:type ontology:occupation . ?n rdf:type ontology:article } } GROUP BY ?d } . FILTER ( ?u >= 28 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q33231
P417
Q502895
USER
Which person is the patron saint of that occupation ?
(Q33231,P417,c(Q502895))
action filter_type
action find
entity Q33231
relation P417
type Q502895
['Q33231', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q33231 property:P417 ?j . ?j rdf:type ontology:Q502895 }
photographer
action filter_type
action find
entity photographer
relation patron saint
type common name
['photographer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:photographer property:patron_saint ?j . ?j rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q9402
SYSTEM
Did you mean ninja ?
Q33999 Q9402 Q33231
(Q33999,P417,c(Q502895)) (Q9402,P417,c(Q502895)) (Q33231,P417,c(Q502895))
[ANSWER]
['Q33999', 'P417', {'concept': 'Q502895'}] ['Q9402', 'P417', {'concept': 'Q502895'}] ['Q33231', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q33231 property:P417 ?j . ?j rdf:type ontology:Q502895 }
actor ninja photographer
Did you mean ninja ?
ninja
['actor', 'patron saint', {'concept': 'common name'}] ['ninja', 'patron saint', {'concept': 'common name'}] ['photographer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:photographer property:patron_saint ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant photographer. Could you tell me the answer for that?
(Q33231,P417,c(Q502895))
Q33231
['Q33231', 'P417', {'concept': 'Q502895'}]
['photographer', 'patron saint', {'concept': 'common name'}]
[]
Q196653
SYSTEM
Saint Veronica
Q196653
(Q33231,P417,c(Q502895))
action filter_type
action find
entity Q33231
relation P417
type Q502895
[ANSWER] is the patron saint of that occupation
['Q33231', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q33231 property:P417 ?j . ?j rdf:type ontology:Q502895 }
Saint Veronica
Saint Veronica is the patron saint of that occupation
Saint Veronica
action filter_type
action find
entity photographer
relation patron saint
type common name
['photographer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:photographer property:patron_saint ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q196653
P180
Q838948
USER
Which work of art depicts that person ?
(c(Q838948),P180,Q196653)
action filter_type
action find_reverse
entity Q196653
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q196653']
SELECT DISTINCT ?x WHERE { ?x property:P180 resource:Q196653 . ?x rdf:type ontology:Q838948 }
Saint Veronica
action filter_type
action find_reverse
entity Saint Veronica
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Saint Veronica']
SELECT DISTINCT ?x WHERE { ?x property:depicts resource:Saint_Veronica . ?x rdf:type ontology:work_of_art }
[]
work of art
Q3464578
SYSTEM
Saint Veronica
Q3464578
(c(Q838948),P180,Q196653)
action filter_type
action find_reverse
entity Q196653
relation P180
type Q838948
And saint Veronica depicts that person
[{'concept': 'Q838948'}, 'P180', 'Q196653']
SELECT DISTINCT ?x WHERE { ?x property:P180 resource:Q196653 . ?x rdf:type ontology:Q838948 }
Saint Veronica
And saint Veronica depicts that person
Saint Veronica
action filter_type
action find_reverse
entity Saint Veronica
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Saint Veronica']
SELECT DISTINCT ?x WHERE { ?x property:depicts resource:Saint_Veronica . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used to assemble min number of works of art ?
(c(Q838948),P2079,Q170593)
action argmin
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?u WHERE { FILTER ( ?r = ?z ) . { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P2079 ?u . ?u rdf:type ontology:Q2695280 . ?w rdf:type ontology:Q838948 } GROUP BY ?u } . { SELECT DISTINCT ( MIN ( ?t ) AS ?z ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P2079 ?c . ?c rdf:type ontology:Q2695280 . ?i rdf:type ontology:Q838948 } GROUP BY ?c } } }
action argmin
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?u WHERE { FILTER ( ?r = ?z ) . { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:fabrication_method ?u . ?u rdf:type ontology:technics . ?w rdf:type ontology:work_of_art } GROUP BY ?u } . { SELECT DISTINCT ( MIN ( ?t ) AS ?z ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:fabrication_method ?c . ?c rdf:type ontology:technics . ?i rdf:type ontology:work_of_art } GROUP BY ?c } } }
[]
technics work of art
Q173242 Q26265824 Q139106
SYSTEM
woodcut technique, chasing, engraving
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,Q170593)
action argmin
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[ANSWERS] are used to assemble min number of works of art
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?u WHERE { FILTER ( ?r = ?z ) . { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P2079 ?u . ?u rdf:type ontology:Q2695280 . ?w rdf:type ontology:Q838948 } GROUP BY ?u } . { SELECT DISTINCT ( MIN ( ?t ) AS ?z ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P2079 ?c . ?c rdf:type ontology:Q2695280 . ?i rdf:type ontology:Q838948 } GROUP BY ?c } } }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
Woodcut technique, chasing and engraving are used to assemble min number of works of art
woodcut technique chasing engraving
action argmin
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?u WHERE { FILTER ( ?r = ?z ) . { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:fabrication_method ?u . ?u rdf:type ontology:technics . ?w rdf:type ontology:work_of_art } GROUP BY ?u } . { SELECT DISTINCT ( MIN ( ?t ) AS ?z ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:fabrication_method ?c . ?c rdf:type ontology:technics . ?i rdf:type ontology:work_of_art } GROUP BY ?c } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q191067 Q838948
USER
How many occupations were the main subjects of around 16 articles and works of art 's work ?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 16
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?i WHERE { VALUES ( ?v ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } . ?h rdf:type ?v } GROUP BY ?i } . FILTER ( ?y = 16 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 16
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?i WHERE { VALUES ( ?v ) { ( ontology:article ) ( ontology:work_of_art ) } . ?h rdf:type ?v } GROUP BY ?i } . FILTER ( ?y = 16 ) }
[]
occupation article work of art
SYSTEM
2
Q164236 Q16746569
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 16
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?i WHERE { VALUES ( ?v ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } . ?h rdf:type ?v } GROUP BY ?i } . FILTER ( ?y = 16 ) }
war correspondent high school student
2
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 16
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?i WHERE { VALUES ( ?v ) { ( ontology:article ) ( ontology:work_of_art ) } . ?h rdf:type ?v } GROUP BY ?i } . FILTER ( ?y = 16 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P194
Q1752346
USER
Which assembly is the legislative body for Norway ?
(Q20,P194,c(Q1752346))
action filter_type
action find
entity Q20
relation P194
type Q1752346
['Q20', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1752346 . resource:Q20 property:P194 ?u }
Norway
action filter_type
action find
entity Norway
relation legislative body
type assembly
['Norway', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:assembly . resource:Norway property:legislative_body ?u }
[]
assembly
Q109016
SYSTEM
Parliament of Norway
Q109016
(Q20,P194,c(Q1752346))
action filter_type
action find
entity Q20
relation P194
type Q1752346
Norway [ANSWER] is the legislative body for Norway
['Q20', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1752346 . resource:Q20 property:P194 ?u }
Parliament of Norway
Norway Parliament of Norway is the legislative body for Norway
Parliament of Norway
action filter_type
action find
entity Norway
relation legislative body
type assembly
['Norway', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:assembly . resource:Norway property:legislative_body ?u }
[]