Simple Question (Direct)
Simple Question
Q3165101
P102
Q7210356
USER
Which party is Jean-Marie Beffara affiliated with ?
(Q3165101,P102,c(Q7210356))
action filter_type
action find
entity Q3165101
relation P102
type Q7210356
['Q3165101', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q3165101 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Jean-Marie Beffara
action filter_type
action find
entity Jean-Marie Beffara
relation member of political party
type political organization
['Jean-Marie Beffara', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Jean-Marie_Beffara property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q170972
SYSTEM
Socialist Party
Q170972
(Q3165101,P102,c(Q7210356))
action filter_type
action find
entity Q3165101
relation P102
type Q7210356
Jean-Marie Beffara is affiliated with [ANSWER]
['Q3165101', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q3165101 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Socialist Party
Jean-Marie Beffara is affiliated with Socialist Party
Socialist Party
action filter_type
action find
entity Jean-Marie Beffara
relation member of political party
type political organization
['Jean-Marie Beffara', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Jean-Marie_Beffara property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3165101
P19
Q20667921
USER
Which french administrative division is the birthplace of that person ?
(Q170972,P19,c(Q20667921))
action filter_type
action find
entity Q3165101
relation P19
type Q20667921
['Q170972', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q20667921 . resource:Q3165101 property:P19 ?p }
Jean-Marie Beffara
action filter_type
action find
entity Jean-Marie Beffara
relation place of birth
type type of french administrative division
['Socialist Party', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:type_of_french_administrative_division . resource:Jean-Marie_Beffara property:place_of_birth ?p }
[]
type of french administrative division
Q174251
SYSTEM
Châteauroux
Q174251
(Q170972,P19,c(Q20667921))
action filter_type
action find
entity Q3165101
relation P19
type Q20667921
[ANSWER] is the birthplace of that person
['Q170972', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q20667921 . resource:Q3165101 property:P19 ?p }
Châteauroux
Châteauroux is the birthplace of that person
Châteauroux
action filter_type
action find
entity Jean-Marie Beffara
relation place of birth
type type of french administrative division
['Socialist Party', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:type_of_french_administrative_division . resource:Jean-Marie_Beffara property:place_of_birth ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3165101
P106
Q12737077
USER
What is the job of that person ?
(Q174251,P106,c(Q12737077))
action filter_type
action find
entity Q3165101
relation P106
type Q12737077
['Q174251', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q3165101 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Jean-Marie Beffara
action filter_type
action find
entity Jean-Marie Beffara
relation occupation
type occupation
['Châteauroux', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Jean-Marie_Beffara property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q174251,P106,c(Q12737077))
action filter_type
action find
entity Q3165101
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q174251', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q3165101 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity Jean-Marie Beffara
relation occupation
type occupation
['Châteauroux', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Jean-Marie_Beffara property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q46539 Q170972
P47 P17
Q15617994
USER
Which administrative territories are Socialist Party situated in or share border with Pieve di Soligo ?
OR((Q170972,P17,c(Q15617994)), (Q46539,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q170972
relation P17
action find
entity Q46539
relation P47
type Q15617994
{'OR': [['Q170972', 'P17', {'concept': 'Q15617994'}], ['Q46539', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q170972 property:P17 ?t } UNION { resource:Q46539 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
Pieve di Soligo Socialist Party
action filter_type
action union
action find
entity Socialist Party
relation country
action find
entity Pieve di Soligo
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Socialist Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pieve di Soligo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Socialist_Party property:country ?t } UNION { resource:Pieve_di_Soligo property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q48155 Q29402 Q47362 Q47042 Q46746 Q47634
SYSTEM
France, Follina, Cison di Valmarino, Refrontolo, Sernaglia della Battaglia, Susegana, Farra di Soligo
Q142 Q48155 Q29402 Q47362 Q47042 Q46746 Q47634
OR((Q170972,P17,c(Q15617994)), (Q46539,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q170972
relation P17
action find
entity Q46539
relation P47
type Q15617994
[ANSWERS] are Socialist Party situated in or share border with Pieve di Soligo
{'OR': [['Q170972', 'P17', {'concept': 'Q15617994'}], ['Q46539', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q170972 property:P17 ?t } UNION { resource:Q46539 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
France Follina Cison di Valmarino Refrontolo Sernaglia della Battaglia Susegana Farra di Soligo
France, Follina, Cison di Valmarino, Refrontolo, Sernaglia della Battaglia, Susegana and Farra di Soligo are Socialist Party situated in or share border with Pieve di Soligo
France Follina Cison di Valmarino Refrontolo Sernaglia della Battaglia Susegana Farra di Soligo
action filter_type
action union
action find
entity Socialist Party
relation country
action find
entity Pieve di Soligo
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Socialist Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pieve di Soligo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Socialist_Party property:country ?t } UNION { resource:Pieve_di_Soligo property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q142 Q48155 Q29402 Q47362 Q47042 Q46746 Q47634
P17
Q15617994
USER
Which administrative territories are France, Follina, Cison di Valmarino, Refrontolo, Sernaglia della Battaglia, Susegana and Farra di Soligo a part of ?
(Q142,P17,c(Q15617994)) (Q48155,P17,c(Q15617994)) (Q29402,P17,c(Q15617994)) (Q47362,P17,c(Q15617994)) (Q47042,P17,c(Q15617994)) (Q46746,P17,c(Q15617994)) (Q47634,P17,c(Q15617994))
action union
action filter_type
action find
entity Q142
relation P17
type Q15617994
action filter_type
action find
entity Q48155
relation P17
type Q15617994
action filter_type
action find
entity Q29402
relation P17
type Q15617994
action filter_type
action find
entity Q47362
relation P17
type Q15617994
action filter_type
action find
entity Q47042
relation P17
type Q15617994
action filter_type
action find
entity Q46746
relation P17
type Q15617994
action filter_type
action find
entity Q47634
relation P17
type Q15617994
['Q142', 'P17', {'concept': 'Q15617994'}] ['Q48155', 'P17', {'concept': 'Q15617994'}] ['Q29402', 'P17', {'concept': 'Q15617994'}] ['Q47362', 'P17', {'concept': 'Q15617994'}] ['Q47042', 'P17', {'concept': 'Q15617994'}] ['Q46746', 'P17', {'concept': 'Q15617994'}] ['Q47634', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?t ) { ( resource:Q142 ) ( resource:Q48155 ) } . ?t property:P17 ?n }
France Follina Cison di Valmarino Refrontolo Sernaglia della Battaglia Susegana Farra di Soligo
action union
action filter_type
action find
entity France
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Follina
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cison di Valmarino
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Refrontolo
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sernaglia della Battaglia
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Susegana
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Farra di Soligo
relation country
type designation for an administrative territorial entity
['France', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Follina', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cison di Valmarino', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Refrontolo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sernaglia della Battaglia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Susegana', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Farra di Soligo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?t ) { ( resource:France ) ( resource:Follina ) } . ?t property:country ?n }
[]
designation for an administrative territorial entity
Q38 Q38 Q38
SYSTEM
Italy
Q142 Q38 Q38 Q38 Q38 Q38 Q38
(Q142,P17,c(Q15617994)) (Q48155,P17,c(Q15617994)) (Q29402,P17,c(Q15617994)) (Q47362,P17,c(Q15617994)) (Q47042,P17,c(Q15617994)) (Q46746,P17,c(Q15617994)) (Q47634,P17,c(Q15617994))
action union
action filter_type
action find
entity Q142
relation P17
type Q15617994
action filter_type
action find
entity Q48155
relation P17
type Q15617994
action filter_type
action find
entity Q29402
relation P17
type Q15617994
action filter_type
action find
entity Q47362
relation P17
type Q15617994
action filter_type
action find
entity Q47042
relation P17
type Q15617994
action filter_type
action find
entity Q46746
relation P17
type Q15617994
action filter_type
action find
entity Q47634
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are France, Follina, Cison di Valmarino, Refrontolo, Sernaglia della Battaglia, Susegana and Farra di Soligo a part of
['Q142', 'P17', {'concept': 'Q15617994'}] ['Q48155', 'P17', {'concept': 'Q15617994'}] ['Q29402', 'P17', {'concept': 'Q15617994'}] ['Q47362', 'P17', {'concept': 'Q15617994'}] ['Q47042', 'P17', {'concept': 'Q15617994'}] ['Q46746', 'P17', {'concept': 'Q15617994'}] ['Q47634', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?t ) { ( resource:Q142 ) ( resource:Q48155 ) } . ?t property:P17 ?n }
France Italy Italy Italy Italy Italy Italy
Italy, Italy and Italy are France, Follina, Cison di Valmarino, Refrontolo, Sernaglia della Battaglia, Susegana and Farra di Soligo a part of
Italy Italy Italy
action union
action filter_type
action find
entity France
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Follina
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cison di Valmarino
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Refrontolo
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sernaglia della Battaglia
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Susegana
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Farra di Soligo
relation country
type designation for an administrative territorial entity
['France', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Follina', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cison di Valmarino', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Refrontolo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sernaglia della Battaglia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Susegana', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Farra di Soligo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?t ) { ( resource:France ) ( resource:Follina ) } . ?t property:country ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P159
Q194166
USER
Which consortium has the principal seat at France ?
(c(Q194166),P159,Q142)
action filter_type
action find_reverse
entity Q142
relation P159
type Q194166
[{'concept': 'Q194166'}, 'P159', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q142 . ?w rdf:type ontology:Q194166 }
France
action filter_type
action find_reverse
entity France
relation headquarters location
type consortium
[{'concept': 'consortium'}, 'headquarters location', 'France']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:France . ?w rdf:type ontology:consortium }
[]
consortium
Q1885901
SYSTEM
Maison de la France
Q1885901
(c(Q194166),P159,Q142)
action filter_type
action find_reverse
entity Q142
relation P159
type Q194166
[ANSWER] has the principal seat at France
[{'concept': 'Q194166'}, 'P159', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q142 . ?w rdf:type ontology:Q194166 }
Maison de la France
Maison de la France has the principal seat at France
Maison de la France
action filter_type
action find_reverse
entity France
relation headquarters location
type consortium
[{'concept': 'consortium'}, 'headquarters location', 'France']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:France . ?w rdf:type ontology:consortium }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q502895 Q277759 Q15850590
USER
Which people appears as a character in atmost 1 book series and theatrical genres ?
(c(Q277759)|c(Q15850590),P674,c(Q502895))
action atmost
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q277759
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
value 1
[[{'concept': 'Q277759'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?p WHERE { ?r rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15850590 ) ( ontology:Q277759 ) } } GROUP BY ?p } . FILTER ( ?y <= 1 ) }
action atmost
action union
action find_reverse_tuple_counts
relation characters
type common name
type book series
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
value 1
[[{'concept': 'book series'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?p WHERE { ?r rdf:type ?z . VALUES ( ?z ) { ( ontology:theatrical_genre ) ( ontology:book_series ) } } GROUP BY ?p } . FILTER ( ?y <= 1 ) }
[]
common name book series theatrical genre
Q7243 Q5879 Q41370
SYSTEM
Leo Tolstoy, Johann Wolfgang von Goethe, David
Q13562217 Q7793319 Q315726 Q5254 Q6741571 Q18720650 Q216362 Q457881 Q1986812 Q272246 Q33923 Q2054 Q33760 Q315795 Q3051256 Q676555 Q2635523 Q744125 Q157 Q7788839 Q152513 Q1353836 Q1851366 Q3680198 Q6173387 Q17141 Q551481 Q43706 Q725118 Q36724 Q1093574 Q200902 Q12316446 Q18733964 Q10261 Q5879 Q295824 Q2458567 Q12591 Q118653 Q353879 Q955856 Q262513 Q6779230 Q635 Q41370 Q3299086 Q5685 Q5686 Q854177 Q2468262 Q1093885 Q1774745 Q9640 Q248029 Q2850415 Q5170 Q57384 Q3867479 Q48438 Q849 Q36591 Q234022 Q319713 Q1354988 Q92639 Q981915 Q243203 Q1291267 Q229807 Q130221 Q21916822 Q6113413 Q6323112 Q456931 Q3181675 Q4212237 Q10265876 Q2085338 Q41155 Q270438 Q43353 Q206459 Q220344 Q765624 Q44387 Q312660 Q2254800 Q6139425 Q547828 Q44265 Q172480 Q1234647 Q830183 Q1937560 Q317554 Q257442 Q256663 Q62788 Q4679883 Q313421 Q47365 Q104804 Q294147 Q460763 Q230677 Q6562057 Q244912 Q1347324 Q2915318 Q13560546 Q1338025 Q6777920 Q234811 Q41980 Q2721219 Q185101 Q24061503 Q286238 Q2355196 Q229702 Q129165 Q282220 Q55398 Q1411 Q1413 Q363636 Q1416 Q1419 Q2521377 Q1067 Q42305 Q1140161 Q367387 Q937415 Q7200 Q7207 Q5343069 Q20749193 Q312332 Q5363384 Q172916 Q84192 Q6780580 Q187982 Q59180 Q43393 Q188646 Q328793 Q34428 Q8778 Q42544 Q223440 Q5015 Q7523 Q169329 Q83041 Q271278 Q353188 Q1979876 Q1227273 Q603096 Q83235 Q543853 Q9438 Q2412941 Q1348718 Q12927 Q81018 Q232913 Q2361344 Q5264 Q6780925 Q7742 Q1133523 Q281146 Q9077 Q181875 Q152717 Q15718786 Q81422 Q3187975 Q634239 Q591879 Q38370 Q207535 Q426862 Q1209603 Q154938 Q1059572 Q6818772 Q359237 Q662533 Q317188 Q378053 Q469118 Q17410 Q594805 Q719418 Q991 Q43600 Q128358 Q3090807 Q5598 Q531748 Q7243 Q76918 Q4344 Q19844997 Q188541 Q737786 Q172353 Q256439 Q184176 Q193232 Q43939 Q297285 Q335173 Q8462 Q692 Q2750254 Q355903 Q1425 Q1427 Q9353 Q312537 Q9215 Q43989 Q4791018 Q137680 Q315628 Q86745 Q209535 Q7422342 Q1981295 Q321166 Q40787 Q737533 Q236243 Q1281235 Q532354 Q111559 Q297776 Q185476 Q953718 Q81506 Q3860377 Q154971 Q83400 Q8442 Q200817 Q76721 Q352489 Q76723 Q83159 Q1030008 Q951503 Q289694 Q160441 Q7732 Q7734 Q311456 Q153670 Q1394 Q3236830 Q3080825 Q310303 Q1398 Q7328 Q434217 Q638973 Q215512 Q231944 Q7326 Q63639 Q307 Q6527 Q1280744 Q15995718 Q75568 Q24062019 Q20750935 Q166876 Q134309 Q273942 Q332020 Q1938388 Q7198 Q2633351 Q68366 Q6184 Q145746 Q282280 Q8747 Q118081 Q3064195 Q83375 Q549041 Q34943 Q1177456 Q170859 Q674683 Q8011 Q48305 Q8018 Q15897 Q165479 Q109860 Q8409 Q154723 Q2438324 Q451516 Q519984 Q312682 Q20749268 Q691873 Q102851 Q694093 Q706003 Q228896 Q9045 Q19348839 Q80823 Q57652 Q7071043 Q131412 Q743858 Q1773005 Q237201 Q353081 Q166056 Q131002 Q229432 Q47180 Q122290 Q170172 Q452048 Q5582 Q1377025 Q612501 Q231997 Q310686 Q170373 Q316876 Q16912694 Q144622 Q8581 Q913 Q785250 Q950850 Q7617726 Q3261049 Q335165 Q544680 Q717441 Q211246 Q9588 Q234533 Q2872353 Q366270 Q559541 Q41866 Q8058 Q83808 Q1824066 Q66107 Q199991 Q106077 Q141791 Q200637 Q16404704 Q2755054 Q193660 Q6780526 Q182637 Q3421721 Q4230107 Q15463333 Q466048 Q6264078 Q670332 Q5944261 Q868 Q19118331 Q5544435 Q318726 Q80048 Q247137 Q9458 Q5816 Q778520 Q230716 Q7367631 Q1370965 Q43718 Q170335 Q555304 Q1402591 Q3275910 Q5202472 Q1394174 Q172248 Q4712236 Q1281177 Q208359 Q186652 Q134646 Q188411 Q15711674 Q75090 Q1771963 Q365695 Q2497107 Q313817 Q7647581 Q4403346 Q443256 Q2596433 Q5689201 Q879350 Q82006 Q1541 Q151209 Q132786 Q828583 Q6197 Q859 Q310267 Q1747004 Q233359 Q2116944 Q360798 Q203792 Q981902 Q205523 Q325026 Q347133 Q545875 Q380482 Q230314 Q26702 Q43963 Q366205 Q1048 Q983502 Q453382 Q85393 Q665165 Q6691 Q36456 Q517 Q39837 Q154732 Q6779045 Q568082 Q3687804 Q469050 Q438615 Q36517 Q44279 Q745286 Q204236 Q889694 Q297050 Q36303 Q258369 Q17131 Q1960623 Q131463 Q3182316 Q158707 Q6762867 Q37085 Q313555 Q267733 Q920912 Q2361032 Q1774982 Q3471206 Q43746 Q40662 Q107626 Q205365 Q448586 Q5553293 Q315347 Q12324262 Q8820 Q190116 Q9181 Q860084 Q332750 Q772930 Q434579 Q671872 Q83321 Q1405 Q39259 Q1401 Q15427574 Q43954 Q289149 Q236017 Q187447 Q155596 Q174210 Q207370 Q60059 Q463440 Q218747 Q9960
(c(Q277759)|c(Q15850590),P674,c(Q502895))
action atmost
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q277759
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
value 1
[ANSWERS] appear as a character in atmost 1 book series and theatrical genres
[[{'concept': 'Q277759'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?p WHERE { ?r rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15850590 ) ( ontology:Q277759 ) } } GROUP BY ?p } . FILTER ( ?y <= 1 ) }
Mary Cecilia Bailly Thomas Putnam Grand Duke Alexei Alexandrovich of Russia Folquet de Marselha Malayaketu Nyssia August von Goethe John Tenniel Tituba Johanne Luise Heiberg Peter Seneca Bertrand Russell Bernal Díaz del Castillo Elizabeth Parris Francis of Assisi Henry Percy, 6th Earl of Northumberland Chaerephon François Hollande Thomas Danforth Henry Wadsworth Longfellow Hrothgar Pier Francesco Orsini Claudio Rangoni Jeff Bowen Harvey Milk Antoine Barnave John Chrysostom Carl Christian Hall Attila the Hun Ruggieri degli Ubaldini Shem Henrik Sass Larsen Peter Stahl Pythagoras Johann Wolfgang von Goethe Peter I of Portugal François Bonivard Nebuchadnezzar II August Engelhardt Jean François Paul de Gondi Pallas John Felton Mary Cleophas Foley Cleopatra David Mathos Anton Chekhov Charles Dickens Kay Scarpetta Jonah Hathi Billy Milligan Lyndon B. Johnson Jiro Horikoshi Ann Putnam, Jr. Blondel de Nesle Wernher von Braun Musciatto Franzesi Saint George François Villon Vladimir Nabokov Inês de Castro Leopold V, Duke of Austria Giles Corey Christos Papadimitriou Joseph Bazalgette Publius Papinius Statius Gundomar I Berengaria of Navarre Frederick II, Holy Roman Emperor Giovanni Corrado Orsini Rucio Nahor Sextus Tarquinius John Hale Kanva Dhana Nanda Vahan I Mamikonian Heraclitus Charles of Valois Aristophanes Feodor II of Russia Pythia Willem Adriaan van der Stel Darius I of Persia Gaius Mucius Scaevola Cunizza da Romano Thomas Hayward Christiaan de Wet Benedict of Nursia Isaac of Armenia Mark Smeaton Eve Mogens Lykketoft Hugh of Saint Victor Sarah Paulson Anne Geneviève de Bourbon Jethro Adam Tas Abel Marie Antoinette Saint Mesrob William Bligh Benjamin Madame du Barry Mushegh IV Mamikonian Hezekiah François de Vendôme, Duc de Beaufort Soupy Sales Heidi Blickenstaff Emma Forsayth Maruja Pachón Emma, Lady Hamilton Democritus Farinata degli Uberti Hamilcar Barca Petrus Kalden Thaïs Martinus Theunis Steyn Ham Xerxes Judah Bernadette Soubirous Claudius Nero Cardinal de Rohan Otho Vespasian Ottaviano degli Ubaldini Dante Alighieri Richard I of England Marina Mniszech William II of Sicily James Stewart, 1st Earl of Moray Alexander Pushkin Elizabeth I of England Edward Garrard Marsh Irma Le Fer de la Motte Alessandro Cagliostro Elizabeth Proctor John XXI Maximilian I of Mexico Mary Raphael Slattery Alcibiades Diogenes of Sinope Robert Boyle Lucan Periander Philip Galen Thomas More Lucius Junius Brutus Mette Frederiksen Kublai Khan Conrad of Montferrat Anaxagoras Jeanne of Valois-Saint-Rémy Lucius Tarquinius Collatinus Israel Hands Henry Mayhew Leon Klinghoffer Horatio Nelson Herod II Thomas Aquinas The Fox and the Cat Jean-Claude Romand Marine Le Pen Judas Iscariot Beatrice Portinari Durvasa Hippocrates Mary Warren Louis XIV of France Jephthah Yeznik of Kolb Moses Robert Peel Henry VII, Holy Roman Emperor Winona Noah Judith Atto Melani Piet Cronjé Henry VIII Roland Guido Bonatti Dick Beardsley Bede Khaled Al Khamissi Mercy Lewis Charles Martel of Anjou Hrólfr Kraki Theo van Gogh Rob Roy MacGregor Gaius Calpurnius Piso Zhou Enlai Jochebed Vasily Rozanov Fyodor Dostoyevsky Matthew the Apostle Bayezid I Almanzo Wilder Rembrandt Carsten Hansen Leo Tolstoy Johann Georg Faust Arnaut Daniel Sahakanuysh Chandragupta Maurya Giuseppe Moscati Pyrrhus Claudia Acte Seleucus I Nicator Vasili IV of Russia Anselm of Canterbury Ali Pasha Edward Hyde, 1st Earl of Clarendon Timur William Shakespeare Pharantzem Siger of Brabant Trajan Hadrian John Locke Gyges of Lydia Sigmund Freud Grigori Rasputin Aristodemus of Cydathenaeum Angela Burdett-Coutts, 1st Baroness Burdett-Coutts Cuitláhuac Georg Michael Welzel False Dmitriy I Sarah Good Francisco Santos Calderón Abihu Nicholas II of Russia Louis XIII of France Giulia Farnese Abas I of Armenia Margaret Erskine Judah Maccabee Pedanius Dioscorides Flavius Aetius Henry Bennet, 1st Earl of Arlington Charles I of England The Nun of Monza Carlota of Mexico Paulo da Gama Otto von Bismarck Titus van Rijn Godfrey of Bouillon Aulus Plautius Maurice de Saxe Clement VII Tamar Ashot II of Armenia Abigail Williams Rabanus Maurus Louis XVI of France Joshua Orosius Primo Levi Vladimir Lenin Princess Changping Frances Nelson Yazdegerd II Virgil Vasco da Gama Candaules Leofric, Earl of Mercia Levi Ann Radcliffe Hernán Cortés Charlotte Buff Galileo Galilei Jean-Jacques Rousseau Vardan Mamikonian Albert Hahl Ottilie von Goethe Henning Huising Athanasius Fogarty Isidore of Seville Charles IX of France Pia Gjellerup César Gaviria Miriam Ovid Vasak of Syunik Siward, Earl of Northumbria Plotius Tucca Joseph Vladimir Solovyov Euclid Pope Celestine V Hovsep Ier de Holotsim Empedocles Graciano Ptolemy David of Scotland, Earl of Huntingdon Nicholas III Terpsion Avicenna Euripides Augustine of Hippo Amy Winehouse Saint Patrick Dagobert I Alexander the Great Viktor Frankl Julie d'Aubigny Gaius Scribonius Curio Neil Strauss Euclid of Megara John Corbe Anthony Wood Boethius Ditlev Gothard Monrad Ugolino della Gherardesca Salome Chanakya Salammbô Anne Boleyn Helle Thorning-Schmidt Nydia Quintero Turbay Mary, Queen of Scots Joscius, Archbishop of Tyre Simeon Adrienne Lecouvreur Robert de Sablé Cardinal Mazarin Harun al-Rashid Lucretia Petronius Jean-Paul Marat Boris Godunov Hasdrubal Gisco Vincent van Gogh Bharata Yeghishe Sadako Sasaki Dionysius the Areopagite Christopher Wren Guido Cavalcanti Cornelia van Rijn Phil Collins Saladin Socrates Petrus Comestor Samuel Morland William Douglas, 6th Earl of Morton Louis Ange Pitou Osceola John Thurloe Alberto Salazar Caiaphas Richard Nixon Cornelia Africana Autaritus Guido Guinizelli Salvatore Giuliano Justinian I Louis XI of France François Joseph Lefebvre Arturo Bandini Henry Kissinger Joachim of Fiore Lady Godiva Moctezuma IIl Japheth Endel Nelis Guido I da Montefeltro Ramon Llull Mary Pius Regnier Jane Seymour Rebecca Nurse William Compton John Mordaunt, 1st Viscount Mordaunt Francesca da Rimini John Willard Comte de Troisville Hunter Bell Aristotle Andrey Shchelkalov George Seton, 7th Lord Seton Publius Valerius Publicola Al Capone Aelius Donatus Muhammad Mao Zedong Diana Turbay Poppaea Sabina Rose Angela Horan Peter Heywood Nikolai Gogol Constance, Queen of Sicily Georges Cadoudal Ohthere Anne Françoise Elisabeth Lange Célestine Guynemer de la Hailandière Paphnutius of Thebes Marcus Junius Brutus Alberto Villamizar Beowulf John Wallis Gilbert du Motier Boniface VIII Bernard of Clairvaux Zecora Adele Schopenhauer Naphtali Moses of Chorene Igor Svyatoslavich George Villiers, 1st Duke of Buckingham Susan Blackwell Sahak Sevada Marie Favart Naomi Hernando Santos Castillo Bjarne Corydon Benjamin Disraeli Cicero Anne of Austria Anastasius II Bertrand-François Mahé de La Bourdonnais Horace Plato Shapur III Timon of Athens Atossa Wealhþeow Saint Eligius Robert Guiscard Charles Simon Favart Zipporah Anacharsis George Boleyn, Viscount Rochford Monte Melkonian Agathon La Malinche Cardinal Richelieu Jack the Ripper Tigellinus Julius Caesar St. Nerses I John Adams Friedrich Wilhelm Riemer Sordello Homer Hannibal Napoleon Averroes Agrippina the Younger Mary Bernard Laughlin Arshak II Conte Attilio Pomponia Graecina Marie de Rohan Francis Drake Oliver Cromwell Sir Thomas Hardy, 1st Baronet John Fryer Hygelac Cuauhtémoc Thales Peter Damian Pontius Pilatus Tsarevna Xenia Borisovna of Russia Clement V John Proctor Pat Nixon Marie Helene Franey Solomon Hanno the Great Thaïs Theaetetus Thomas Ken Ruth Samuel Parris Bonaventure John the Baptist Seth Cain Fra Dolcino Gertrude Clare Owens Peter Lombard Lene Jensen Lucius Varius Rufus Benvenuto Cellini Abraham Pausanias of Athens Dionysius I of Syracuse Aulus Plautius Théodore Guérin Isaac Giacomo Casanova Augustus Recep Tayyip Erdoğan Petrarch John Hathorne Leo I Étienne François, duc de Choiseul Jiang Qing Pablo Escobar Philippe, Duke of Orléans, Regent of France Gael Corteza Gaius Cassius Longinus Albertus Magnus Hendrickje Stoffels Honoré Gabriel Riqueti, comte de Mirabeau Ronald Reagan
Leo Tolstoy, Johann Wolfgang von Goethe and David appear as a character in atmost 1 book series and theatrical genres
Leo Tolstoy Johann Wolfgang von Goethe David
action atmost
action union
action find_reverse_tuple_counts
relation characters
type common name
type book series
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
value 1
[[{'concept': 'book series'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?p WHERE { ?r rdf:type ?z . VALUES ( ?z ) { ( ontology:theatrical_genre ) ( ontology:book_series ) } } GROUP BY ?p } . FILTER ( ?y <= 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q41370
P140
Q874405
USER
Which social group does that person relate to ?
(Q41370,P140,c(Q874405))
action filter_type
action find
entity Q41370
relation P140
type Q874405
['Q41370', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?j WHERE { resource:Q41370 property:P140 ?j . ?j rdf:type ontology:Q874405 }
David
action filter_type
action find
entity David
relation religion
type social group
['David', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?j WHERE { resource:David property:religion ?j . ?j rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q7243
SYSTEM
Did you mean Leo Tolstoy ?
Q7243 Q5879 Q41370
(Q7243,P140,c(Q874405)) (Q5879,P140,c(Q874405)) (Q41370,P140,c(Q874405))
[ANSWER]
['Q7243', 'P140', {'concept': 'Q874405'}] ['Q5879', 'P140', {'concept': 'Q874405'}] ['Q41370', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?j WHERE { resource:Q41370 property:P140 ?j . ?j rdf:type ontology:Q874405 }
Leo Tolstoy Johann Wolfgang von Goethe David
Did you mean Leo Tolstoy ?
Leo Tolstoy
['Leo Tolstoy', 'religion', {'concept': 'social group'}] ['Johann Wolfgang von Goethe', 'religion', {'concept': 'social group'}] ['David', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?j WHERE { resource:David property:religion ?j . ?j rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
No, I meant David. Could you tell me the answer for that?
(Q41370,P140,c(Q874405))
Q41370
['Q41370', 'P140', {'concept': 'Q874405'}]
['David', 'religion', {'concept': 'social group'}]
[]
Q9268
SYSTEM
Judaism
Q9268
(Q41370,P140,c(Q874405))
action filter_type
action find
entity Q41370
relation P140
type Q874405
That person relates to [ANSWER]
['Q41370', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?j WHERE { resource:Q41370 property:P140 ?j . ?j rdf:type ontology:Q874405 }
Judaism
That person relates to Judaism
Judaism
action filter_type
action find
entity David
relation religion
type social group
['David', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?j WHERE { resource:David property:religion ?j . ?j rdf:type ontology:social_group }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q811979 Q82794 Q15617994
USER
Which administrative territories are parts of atmost 1 architectural structures and geographic regions ?
(c(Q15617994),P361,c(Q811979)|c(Q82794))
action atmost
action union
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action find_tuple_counts
relation P361
type Q15617994
type Q82794
value 1
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?l WHERE { { ?l property:P361 ?b . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q811979 } UNION { ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q82794 . ?l property:P361 ?b } } GROUP BY ?l } . FILTER ( ?a <= 1 ) }
action atmost
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?l WHERE { { ?l property:part_of ?b . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:architectural_structure } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:geographic_region . ?l property:part_of ?b } } GROUP BY ?l } . FILTER ( ?a <= 1 ) }
[]
architectural structure geographic region designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q288929 Q804 Q505785 Q314953 Q505789 Q2010810 Q511707 Q629629 Q334658 Q490442 Q506590 Q414 Q57857 Q21671144 Q281976 Q2871 Q550212 Q800 Q31586 Q489250 Q505048 Q184864 Q505739 Q553785 Q516362 Q511697 Q502786 Q531972 Q547269 Q506186 Q505817 Q306451 Q627586 Q505552 Q504328 Q627460 Q533626 Q528673 Q203830 Q181443 Q21850324 Q518154 Q507049 Q503339 Q159 Q504813 Q389298 Q155 Q627506 Q437679 Q536475 Q1796912 Q551234 Q511462 Q504282 Q264385 Q504955 Q627513 Q507100 Q517471 Q259102 Q505242 Q513796 Q504493 Q256423 Q529250 Q384382 Q180990 Q504259 Q119474 Q517577 Q513642 Q523922 Q701470 Q512016 Q203121 Q774406 Q404041 Q503526 Q524223 Q502692 Q503820 Q513868 Q532430 Q503825 Q629556 Q733 Q503358 Q514957 Q512066 Q503454 Q521569 Q504174 Q2313565 Q502745 Q504074 Q676178 Q502591 Q506003 Q262193 Q260736 Q713458 Q258172 Q548611 Q513261 Q503737 Q520900 Q502604 Q513542 Q574455 Q507804 Q783 Q1617121 Q174658 Q505372 Q355390 Q504673 Q503854 Q502859 Q503908 Q507412 Q14803 Q502580 Q503858 Q524350 Q525036 Q5701009 Q526462 Q489005 Q32070 Q550543 Q526007 Q32077 Q511280 Q143075 Q706938 Q503432 Q552430 Q539787 Q504985 Q176619 Q298 Q572087 Q585518 Q5668673 Q511126 Q251897 Q505583 Q546100 Q187503 Q572318 Q505589 Q1958624 Q505537 Q516761 Q454436 Q503872 Q550719 Q510011 Q558835 Q505079 Q511540 Q5084 Q542788 Q505201 Q504217 Q503574 Q683578 Q508787 Q736 Q513290 Q516315 Q506608 Q717 Q701332 Q506239 Q162003 Q165818 Q528238 Q267723 Q490326 Q749863 Q161129 Q513198 Q1787362 Q199053 Q511339 Q627424 Q526087 Q786024 Q503074 Q503250 Q948 Q503254 Q532046 Q516289 Q252426 Q531799 Q188315 Q834894 Q834920 Q21848848 Q262395 Q526069 Q509648 Q503382 Q33788 Q510530 Q517967 Q528284 Q1869695 Q554282 Q253496 Q507938 Q503773 Q528127 Q194203 Q488974 Q184188 Q510845 Q503403 Q2904452 Q1612711 Q478258 Q504003 Q547380 Q503790 Q258021 Q668 Q204953 Q503814 Q521085 Q1355455 Q517499 Q511207 Q566569 Q491632 Q502654 Q528465 Q203754 Q258790 Q510903 Q505382 Q505796 Q176219 Q505026 Q526121 Q22575704 Q505388 Q502720 Q31596 Q504995 Q488592 Q43014 Q505295 Q31598 Q43 Q549052 Q792 Q511508 Q790 Q531840 Q794 Q510762 Q514438 Q263850 Q510751 Q511294 Q7126796 Q511113 Q507352 Q526509 Q1917569 Q254501 Q383134 Q504316 Q504311 Q489123 Q241 Q34102 Q242 Q532 Q174307 Q314715 Q502700 Q512970 Q542907 Q503039 Q504866 Q259742 Q503035 Q258041 Q278967 Q509296 Q73551 Q36 Q558860 Q558945 Q120802 Q627500 Q38 Q505419 Q558868 Q524280 Q558847 Q503628 Q6063801 Q508729 Q517447 Q503195 Q256533 Q503588 Q525809 Q164009 Q280312 Q511972 Q427292 Q554134 Q504264 Q627484 Q316088 Q533133 Q232 Q512905 Q505809 Q532923 Q627477 Q254933 Q129003 Q627472 Q931366 Q705725 Q529701 Q12584 Q546448 Q504041 Q256051 Q503367 Q537414 Q503441 Q167661 Q504048 Q516249 Q834912 Q548982 Q502758 Q525931 Q531745 Q503699 Q511656 Q504163 Q511857 Q385664 Q512753 Q514208 Q127896 Q513573 Q508486 Q999609 Q528548 Q529010 Q686312 Q520870 Q647644 Q506544 Q637308 Q512127 Q506541 Q505345 Q13674 Q568473 Q186115 Q511032 Q503849 Q503965 Q750 Q549098 Q373582 Q561223 Q411004 Q199205 Q525796 Q510090 Q512055 Q513584 Q503990 Q255041 Q645832 Q505009 Q545248 Q512193 Q502717 Q511955 Q530556 Q502887 Q505116 Q254657 Q505111 Q514499 Q585444 Q513059 Q507245 Q510952 Q528727 Q258993 Q1572183 Q505593 Q572242 Q531813 Q504896 Q504181 Q511941 Q491818 Q77 Q510035 Q491811 Q265110 Q489260 Q558824 Q508471 Q72731 Q218427 Q505237 Q2741956 Q169039 Q503092 Q627445 Q503544 Q521954 Q549073 Q489285 Q506206 Q640310 Q506200 Q508930 Q505214 Q516330 Q508945 Q175698 Q542837 Q503149 Q513029 Q503061 Q556312 Q572182 Q558914 Q505284 Q513182 Q511325 Q627437 Q504089 Q430752 Q504080 Q504128 Q2661988 Q503950 Q532072 Q505842 Q183261 Q254076 Q504686 Q503400 Q521007 Q503393 Q511998 Q503955 Q266204 Q487328 Q506057 Q524573 Q2115448 Q512892 Q256575 Q521488 Q139676 Q502947 Q205497 Q508863 Q508517 Q502825 Q288569 Q502820 Q503085 Q513013 Q503202 Q504407 Q491740 Q512844 Q2765 Q511582 Q503801 Q504015 Q503805 Q505835 Q514237 Q552645 Q550512 Q508611 Q565257 Q566594 Q425952 Q705805 Q629503 Q302916 Q503894 Q545202 Q514340 Q512766 Q510590 Q739 Q503999 Q505394 Q255217 Q2307369 Q313651 Q503812 Q518030 Q14825 Q3327870 Q504711 Q504659 Q2899 Q516376 Q137593 Q531856 Q524234 Q182131 Q53381 Q627413 Q511269 Q569566 Q547243 Q505651 Q510982 Q374423 Q505578 Q258978 Q627566 Q526102 Q505571 Q512860 Q510964 Q504304 Q505607 Q505087 Q558882 Q527328 Q503016 Q504872 Q72425 Q549641 Q440661 Q529278 Q430649 Q505400 Q511408 Q230613 Q505408 Q3773354 Q558956 Q514327 Q503784 Q536874 Q504277 Q505636 Q503596 Q542892 Q511883 Q503617 Q522417 Q527529 Q625844 Q504374 Q504270 Q697685 Q223 Q73536 Q532000 Q508216 Q512917 Q17135847 Q520834 Q526537 Q378511 Q542809 Q524638 Q525889 Q257338 Q509320 Q551142 Q209495 Q122073 Q537429 Q19702215 Q504056 Q17396881 Q266039 Q508822 Q503372 Q436841 Q558852 Q525900 Q511811 Q503689 Q504113 Q280952 Q504110 Q504289 Q552129 Q796575 Q547059 Q549554 Q572343 Q491545 Q2503881 Q552122 Q355456 Q266726 Q256113 Q503055 Q436522 Q166228 Q502874 Q512033 Q270217 Q189058 Q510813 Q504169 Q504026 Q510872 Q189904 Q1902230 Q504695 Q504691 Q502971 Q503977 Q508149 Q511188 Q547205 Q73209 Q505751 Q505756 Q558811 Q505909 Q278169 Q512734 Q503233 Q504585 Q544776 Q270328 Q503479 Q583385 Q514486 Q552415 Q811 Q552419 Q504321 Q509368 Q549167 Q558842 Q490185 Q1617853 Q259795 Q510922 Q572873 Q21853467 Q255396 Q531867 Q504938 Q275579 Q1285601 Q505352 Q505727 Q531945 Q502793 Q547278 Q505547 Q627597 Q2904 Q489100 Q505542 Q505228 Q510047 Q526566 Q821435 Q627451 Q524395 Q624292 Q505221 Q506195 Q518095 Q254967 Q12536 Q148 Q528740 Q504808 Q558829 Q554078 Q7042 Q508908 Q511351 Q558968 Q261742 Q525945 Q266170 Q505612 Q589408 Q504521 Q508698 Q504486 Q503237 Q252916 Q506065 Q505068 Q517548 Q517233 Q511917 Q549007 Q525864 Q14175407 Q583335 Q628969 Q251915 Q528104 Q490167 Q2631599 Q490162 Q508592 Q509068 Q510100 Q508714 Q503555 Q503550 Q509410 Q589490 Q681224 Q529416 Q513956 Q503345 Q502930 Q503831 Q146846 Q258835 Q4628 Q251423 Q533019 Q504412 Q491751 Q158919 Q504417 Q311327 Q546335 Q426741 Q504679 Q31618 Q505823 Q505073 Q256895 Q513923 Q504095 Q503884 Q432528 Q513882 Q513556 Q837065 Q1601810 Q505363 Q507305 Q507819 Q18524218 Q503901 Q504667 Q169573 Q627576 Q511486 Q502597 Q502846 Q505762 Q510077 Q247903 Q521215 Q505766 Q511175 Q514454 Q490902 Q2198187 Q3942 Q504705 Q786 Q178365 Q504700 Q505676 Q505319 Q514359 Q545308 Q572696 Q96 Q550790 Q258682 Q505560 Q509987 Q503837 Q516343 Q526136 Q528579 Q508054 Q3247681 Q14889 Q505566 Q504968 Q632425 Q558803 Q550708 Q623929 Q2838 Q622456 Q632429 Q704288 Q256920 Q1849719 Q508414 Q524691 Q14788575 Q503067 Q511477 Q504208 Q503504 Q521676 Q484170 Q701312 Q531714 Q512928 Q261177 Q506228 Q528142 Q551112 Q161258 Q510791 Q258844 Q503519 Q503048 Q240874 Q585591 Q503510 Q2993203 Q269304 Q512876 Q504052 Q419 Q520820 Q508832 Q589530 Q254310 Q218693 Q511825 Q522677 Q263451 Q525915 Q558891 Q515854 Q505869 Q186467 Q503515 Q260271 Q504795 Q253780 Q506584 Q489160 Q507921 Q503602 Q503768 Q1222 Q503609 Q503945 Q774 Q514914 Q517994 Q502806 Q305056 Q262790 Q512144 Q508177 Q504037 Q253521 Q403583 Q502829 Q566574 Q514312 Q270295 Q511871 Q510734 Q31640 Q491723 Q583414 Q504425 Q513853 Q503460 Q503464 Q6247
(c(Q15617994),P361,c(Q811979)|c(Q82794))
action atmost
action union
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action find_tuple_counts
relation P361
type Q15617994
type Q82794
value 1
[ANSWERS] are parts of atmost 1 architectural structures and geographic regions
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?l WHERE { { ?l property:P361 ?b . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q811979 } UNION { ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q82794 . ?l property:P361 ?b } } GROUP BY ?l } . FILTER ( ?a <= 1 ) }
Unterroth Panama Pförring Kirchdorf Alerheim Oberreichenbach Sugenheim Glonn Abtswind Hettenshausen Blankenbach Argentina Zschorlau Mezhetchina Moos Hagen Heyersdorf Costa Rica Neukirchen bei Sulzbach-Rosenberg Ilmmünster Oberickelsheim Megara Leupoldsgrün Walsdorf Offenhausen Oberpframmern Eschenbach in der Oberpfalz Lamerdingen Medlingen Kinsau Bad Bayersoien Außernzell Wolfersdorf Neusitz Schondra Pollenfeld Kröning Langenpreising Oberreute Walkertshofen Gireyevo Weißenohe Hagenbüchach Huisheim Russia Gräfendorf Ebern Brazil Breitenthal Altenthann Gebenbach Kühbach Velden Wiesenbach Oberleichtersbach Altfraunhofen Rüdenau Gallmersgarten Aufseß Wiesthal Kastl Kupferberg Jengen Maihingen Elsendorf Weng Aislingen Oberschweinbach Elfershausen Otzing Wittislingen Georgenberg Attenkirchen Kirchweidach Ruderatshofen Schmiechen Aurachtal Aidhausen Steindorf Sulzemoos Issigau Weißdorf Kraftisried Niederfüllbach Rohrenfels Wallerfing Paraguay Marktbergel Bergheim Neuching Daiting Wettringen Schnabelwaid Spreng Creußen Rügland Viereck Wolframs-Eschenbach Paunzhausen Jesenwang Baierbach Manhay Holzheim district of the Czech Republic Obersüßbach Rain Großaitingen Teuschnitz Eitting Alfeld Baisweil Honduras Heßdorf Haunsheim Ippesheim Adelschlag Kasendorf Saal an der Donau Ellgau Wörnitz Wilburgstetten Weiden in der Oberpfalz Schauenstein Töpen Henfenfeld Moosach Gorji Rural District Kutzenhausen Gotteszell Schiltberg Lauter Walderbach Deuerling Haag Wollbach Werder Trogen Happurg Markt Berolzheim Heimbuchenthal Markt Bibart Chile Igling Stockheim Qombovan Rural District Ködnitz Pöttmes Schondorf am Ammersee Karbach Zell Hasloch Sengenthal Mühlhausen Hummeltal Fuchstal Palatinate-Sulzbach Kirchlauter Alesheim Weihenzell Villenbach Markt Taschendorf Welden hamlet Hartenstein Kaltental Witzmannsberg Insingen Superga Bundorf Ecuador Maierhöfen Aletshausen Sulzfeld am Main Venezuela Emmerting Mönchberg Maitenbeth Eching am Ammersee Waldstetten Pörnbach Sünching Marnehuizen Neumarkt-Sankt Veit Hergensweiler Sacro Monte di Crea Ziemetshausen Landensberg Röckingen Nennslingen Stammham Wiesenthau Maßbach Tunisia Untermeitingen Fischen Eggenthal Mammendorf Oberneukirchen Porto Venere Sachsenkam Ofterschwang Lyskovo Achslach Oberroth Gundelfingen an der Donau Bachhagel New Caledonia Volkenschwand Tittling Walpertskirchen Lonnerstadt Ferdinandshof Aham Speinshart Hainsfarth Reichenbach arrondissement of France Bach an der Donau canton of France (until 2015) Irsee Schöfweg Birel Qaanaaqs municipality Caltagirone Willanzheim Rieden Theisseil Aiglsbach India Albertshofen Buchbrunn Rechtmehring Erlbach Egglkofen Treffelstein Waal Mötzing Bürgstadt Wörth Bolsterlang Etzenricht Riedenberg Tännesberg Großweil Eschenlohe Münchsteinach Gleißenberg administrative quarter in France Oberscheinfeld Thurmansbang Emtmannsberg Hemmersheim Wörth an der Donau Sabbioneta Illesheim Neustadt am Kulm Turkey Westendorf El Salvador Postau Haiti Lohkirchen Iran Wechingen Langenmosen Baiern Finningen Röfingen Palatinate-Zweibrücken-Vohenstrauss-Parkstein Grafengehaig Ebelsbach Buch am Buchrain Mehring Aidenbach Seukendorf Leuchtenberg Heigenbrücken Brunn Cuba Modica Belize village Essing Partenstein Diebach Kleinaitingen Bonstetten Hochstadt am Main Markt Einersheim Todtenweis Dormitz Aindling Kraiburg Bichl Massing Poland Niederlauer Holzheim Mickhausen Greifenberg Italy Pilsach Lutzingen Reckendorf Strahlungen Benediktbeuern parish of Venezuela Syrgenstein Haag an der Amper Unterdießen Kochel Prebitz Hausen Hofheim Principality of Lüneburg Rettenbach am Auerberg Stadtsteinach Vorra Heinrichsthal Schernfeld Sommerach Hattenhofen Kazakhstan Biebelried Redwitz an der Rodach Reichersbeuern Unterreit Oberding French Southern and Antarctic Lands Scheuring Unterneukirchen Königsfeld Burgwindheim Maine-et-Loire Mödingen Buchhofen Baar Wolferstadt Furth Wallerstein Rödelsee Bischbrunn Schalkham Karsbach Heidenheim Wemding Burgsalach Buch Ihrlerstein Neufraunhofen Untersteinach Seeg Wehringen Finning Jettenbach Gerzen Aura im Sinngrund Kohlberg Buckenhof Holzheim Rettenbach Duchy of Amalfi Hiltenfingen Baar Poxdorf Wipfratal Illschwang Hörgertshausen Baudenbach Ragusa Burgraviate of Nuremberg Montmartre Harsdorf Gädheim Wildenberg Bolivia Rettenbach Plech Lancken-Granitz Aitrang Ziertheim Stettfeld Gachenbach Stöttwang Riegsee Rüdenhausen Schönberg Dasing Simmershofen Schönbrunn im Steigerwald Odelzhausen Eppenschlag Gesees Priesendorf Otting Großenseebach Adelshofen Nordendorf Wang administrative district of Prague Langenneufnach Offingen Obersinn Weidenbach Perach Halsbach Hurlach Ornbau Gars Neuhof an der Zenn Ehingen, Middle Franconia Stötten am Auerberg Wiesent Uruguay Lalling Laaber Buchloe Palazzolo Acreide Unsleben Gössenheim Sparneck Allershausen Dammbach Heckbous Burk Kleinsendelbach Tschirn Mitteleschenbach Ebrach Raitenbuch Reichertshofen Eresing Buckautal Weilersbach Neuhütten Emskirchen Thundorf in Unterfranken Retzstadt Ellzee Ettenstatt Pleystein Scherstetten Buchdorf Oettingen in Bayern Gottfrieding Heustreu Diespeck Sommerkahl Ergersheim, Middle Franconia Hunding Ohrenbach Stamsried Windelsbach Rögling urban settlement in Russia Nordheim am Main Eisenberg Sigmarszell Stadelhofen Pfaffing Kleinwallstadt Schöllnach Obermichelbach Kirchenthumbach Guttenberg Pösing Kirchdorf Marktl Allmannshofen Engelthal Intra-city territory of a federal city Hohenpolding Reischach Weiltingen Zachenberg Pressath Hopferau Mindelstetten Mittelsinn Buch am Wald Wiesen Auhausen Pinzberg Heretsried Ichenhausen Rugendorf Riekofen Aßling Gelsenkirchen Wurmsham Kirchendemenreuth Esselbach Deisenhausen Bubesheim Oberbergkirchen Taufkirchen Weitnau Grattersdorf Bad Bertrich Wald Iggensbach Emmering Walting Wiesenbronn Burgpreppach Greiling Reichertsheim Röllbach Gremsdorf Colombia Bechtsrieth Uehlfeld Kottgeisering Spardorf Theres Burgsinn Neunkirchen, Lower Franconia Memmingen municipal corporation in the United States Berngau Rentweinsdorf Mülheim an der Ruhr Mespelbrunn Birgland Train Veitsbronn Betzenstein Tolmezzo Unterleinleiter Geroda Gerach Wald Schwaigen Fellen Parkstein Prittriching Hinterschmiding Ehingen Laugna Thaining Inning am Holz Binswangen Fuchsstadt Philippsreut Markt Nordheim Nordheim vor der Rhön Glashütten Dombühl Scheinfeld Pozzuoli Lisberg Althegnenberg Kühlenthal Amerdingen Spatzenhausen Weigenheim Zusamaltheim Unterammergau Alagonia Burglauer Niedertaufkirchen Schaufling Weigendorf Sulzthal Obermeitingen Bruckberg, Middle Franconia Roden Genderkingen Grafrath Apfeldorf Obermaiselstein Görzke Püchersreuth Rannungen House of Nassau-Weilburg Greenland Weißensberg Missen-Wilhams Westendorf Bächingen quarter of Genoa Etzelwang Kirchberg Mittelneufnach Steinfeld Balderschwang Westheim Adelzhausen Westerngrund Wartenberg historical province of France Wittelshofen Röthenbach Gemeinde Oberdollendorf Riedbach Turgutlu (city) and Turgutlu (district) Reichenbach am Regen Neustadt am Main Hahnbach Altenbuch Hollstadt Meinheim Berglern Attenhofen Ederheim Seehausen am Staffelsee Tagmersheim Ramsthal Hirschbach ant colony Gnotzheim Bidingen Ebershausen Wolfsegg Uttenreuth Königstein Adelshofen, Middle Franconia Dürrlauingen Ernsgaden Hiltpoltstein Alteglofsheim Wiesentheid Trautskirchen Unterthingau Monterosso al Mare Zellingen Gerolfingen Forheim Stiefenhofen Schollbrunn Zenting Marloffstein Wonfurt Seybothenreuth Schillingsfürst Störnstein Erlenbach bei Marktheidenfeld Gerhardshofen Duggendorf Weiding Ermershausen Dachsbach Hohenroth Höchstädt an der Donau Donaustauf Vilgertshofen Effeltrich Ebermannstadt Waidhofen Vernazza Irchenrieth Oberstreu Osterzell Grünenbach Nicaragua Gestratz Euerdorf Kleinkahl Dittenheim Aubstadt Kallmünz Tyrlaching Geisenfeld Tuchenbach Gößnitz Romanovo Mauern Friesenried Haldenwang Mering Novi Zagreb – zapad Aura an der Saale Fürsteneck Biessenhofen Gattendorf Vorbach Schwifting Steinkirchen Herne Ruhmannsfelden Reichling Oberottmarshausen Weiherhammer Frauenneuharting district of Berlin Gammelsdorf Langquaid Wenzlow Münsterhausen Kunreuth Weidenberg Petersdorf Abbasid caliphate People's Republic of China Langenfeld Baunach Rödelmaier Neuendorf Amberg Rechtenbach Waltenhausen Hendungen Eitensheim Pfofeld Kreuzwertheim Mainstockheim Sulzdorf an der Lederhecke Monheim Schwarzenbach Niederschönenfeld Hetzles administrative quarter Klosterlechfeld Kleinlangheim Gollhofen Thüngen Ludwigschorgast Bergen Höttingen District 6 Hausen Pfaffenhofen an der Roth Teugn Untrasried Pielenhofen district of Uzbekistan Pfakofen Hafenlohr Ettal Geslau Birkenfeld Obergriesbach Ehingen am Ries Krombach Salz Röttenbach Lengenwang Burgebrach Emersacker Wertingen Perlesreut Zangberg Ustersbach Faroe Islands Sielenbach Beutelsbach Pfarrweisach Pfatter Feilitzsch Segnitz Castell Langenaltheim Megesheim Obernbreit Michelsneukirchen Saulgrub Gutenstetten Münster Obergünzburg Schneckenlohe Kirchenpingarten Ohlstadt Görisried Leutenbach Tiefenbach Heldenstein Mittelstetten Schlammersdorf Gundremmingen canton of France (starting March 2015) Trebgast Trabitz Schirmitz Kötz Pastetten Gräfenberg Kirchehrenbach Windach Gebsattel Zöschingen Falkenstein Munningen Winterbach Mistelbach Aufhausen Stehnen Aschaffenburg Steinsfeld Dominican Republic Stegaurach Berg im Gau Roßhaupten Mistelgau Oberostendorf Pfaffenhofen an der Glonn Grub am Forst Mexico Schlehdorf Niederbergkirchen Rieden am Forggensee Egweil Mönchsdeggingen Pforzen Glött Wörth an der Isar Neu Wulmstorf governorate of Saudi Arabia Schwabach Deiningen Seinsheim Schwenningen Herbstadt Wattendorf Gräben Oberhausen Lage Hinrichshagen Duchy of Holstein Albaching municipal formation in Russia Kleinheubach Langerringen rural settlement Marktzeuln Mamming Malching Reimlingen Eurasburg commune of France Feichten Schönberg Gessertshausen Hausen Mitwitz Weihmichl Polling Clipperton Island Böhmfeld Ergoldsbach Plankenfels Hollfeld Wilhelmsdorf, Bavaria Sulzfeld Marktoffingen Ropsha Biburg Fünfstetten Martinsheim Peru Schöllkrippen Urspringen Höchheim Landsberied Zolling Ottenhofen Nassenfels Oberdolling Brunnen Trappstadt Rott Vestenbergsgreuth Mönchsroth Marktleugast Herrngiersdorf Großlangheim Erharting Wieseth Brennberg Pürgen Wonsees Balzhausen Aosta Valley Hohenaltheim Siegenburg Guatemala Blindheim Rotthalmünster Marktgraitz Ponitz Schöngeising Egmating Himmelstadt Breitbrunn Bayerbach bei Ergoldsbach Aichen Dentlein Bruck Rattenkirchen Riomaggiore Rückholz Günzach Unterschwaningen Holzheim am Forst Schönau an der Brend Oberpöring Hofstetten Pirk Innernzell Mantua
Italy, Brazil and Russia are parts of atmost 1 architectural structures and geographic regions
Italy Brazil Russia
action atmost
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?l WHERE { { ?l property:part_of ?b . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:architectural_structure } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:geographic_region . ?l property:part_of ?b } } GROUP BY ?l } . FILTER ( ?a <= 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2001209
P840
Q166142
USER
Do Punch-Out!! have a setting location of those administrative territories ?
(Q2001209,P840,Q38) (Q2001209,P840,Q155) (Q2001209,P840,Q159)
action is_in
entity prev_answer
action find
entity Q2001209
relation P840
['Q2001209', 'P840', 'Q38'] ['Q2001209', 'P840', 'Q155'] ['Q2001209', 'P840', 'Q159']
ASK WHERE { resource:Q2001209 property:P840 ?x . VALUES ( ?x ) { ( resource:Q288929 ) ( resource:Q804 ) ( resource:Q505785 ) } }
Punch-Out!!
action is_in
entity prev_answer
action find
entity Punch-Out!!
relation narrative location
['Punch-Out!!', 'narrative location', 'Italy'] ['Punch-Out!!', 'narrative location', 'Brazil'] ['Punch-Out!!', 'narrative location', 'Russia']
ASK WHERE { resource:Punch-Out!! property:narrative_location ?x . VALUES ( ?x ) { ( resource:Unterroth ) ( resource:Panama ) ( resource:Pförring ) } }
[]
application
SYSTEM
NO
(Q2001209,P840,Q38) (Q2001209,P840,Q155) (Q2001209,P840,Q159)
action is_in
entity prev_answer
action find
entity Q2001209
relation P840
[ANSWER]
['Q2001209', 'P840', 'Q38'] ['Q2001209', 'P840', 'Q155'] ['Q2001209', 'P840', 'Q159']
ASK WHERE { resource:Q2001209 property:P840 ?x . VALUES ( ?x ) { ( resource:Q288929 ) ( resource:Q804 ) ( resource:Q505785 ) } }
No
action is_in
entity prev_answer
action find
entity Punch-Out!!
relation narrative location
['Punch-Out!!', 'narrative location', 'Italy'] ['Punch-Out!!', 'narrative location', 'Brazil'] ['Punch-Out!!', 'narrative location', 'Russia']
ASK WHERE { resource:Punch-Out!! property:narrative_location ?x . VALUES ( ?x ) { ( resource:Unterroth ) ( resource:Panama ) ( resource:Pförring ) } }
[]