Simple Question (Direct)
Simple Question
Q17284948
P39
Q12737077
USER
Which occupation was a position occupied by Giuseppe Fornasari ?
(Q17284948,P39,c(Q12737077))
action filter_type
action find
entity Q17284948
relation P39
type Q12737077
['Q17284948', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q17284948 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Giuseppe Fornasari
action filter_type
action find
entity Giuseppe Fornasari
relation position held
type occupation
['Giuseppe Fornasari', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Giuseppe_Fornasari property:position_held ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q18558478
SYSTEM
member of the Chamber of Deputies of the Italian Republic
Q18558478
(Q17284948,P39,c(Q12737077))
action filter_type
action find
entity Q17284948
relation P39
type Q12737077
The [ANSWER] was a position occupied by Giuseppe Fornasari
['Q17284948', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q17284948 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
member of the Chamber of Deputies of the Italian Republic
The member of the Chamber of Deputies of the Italian Republic was a position occupied by Giuseppe Fornasari
member of the Chamber of Deputies of the Italian Republic
action filter_type
action find
entity Giuseppe Fornasari
relation position held
type occupation
['Giuseppe Fornasari', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Giuseppe_Fornasari property:position_held ?g . ?g rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q732577 Q838948
USER
How many occupations were discussed in atleast 56 publications or works of art ?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 56
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?s WHERE { { ?s rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q838948 . ?b property:P921 ?s } UNION { ?b property:P921 ?s . ?s rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q732577 } } GROUP BY ?s } . FILTER ( ?h >= 56 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 56
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?s WHERE { { ?s rdf:type ontology:occupation . ?b rdf:type ontology:work_of_art . ?b property:main_subject ?s } UNION { ?b property:main_subject ?s . ?s rdf:type ontology:occupation . ?b rdf:type ontology:publication } } GROUP BY ?s } . FILTER ( ?h >= 56 ) }
[]
occupation publication work of art
SYSTEM
2
Q33999 Q9402
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 56
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?s WHERE { { ?s rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q838948 . ?b property:P921 ?s } UNION { ?b property:P921 ?s . ?s rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q732577 } } GROUP BY ?s } . FILTER ( ?h >= 56 ) }
actor ninja
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 56
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?s WHERE { { ?s rdf:type ontology:occupation . ?b rdf:type ontology:work_of_art . ?b property:main_subject ?s } UNION { ?b property:main_subject ?s . ?s rdf:type ontology:occupation . ?b rdf:type ontology:publication } } GROUP BY ?s } . FILTER ( ?h >= 56 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17284948
P19
Q15617994
USER
Which administrative territory is the place of birth of Giuseppe Fornasari ?
(Q17284948,P19,c(Q15617994))
action filter_type
action find
entity Q17284948
relation P19
type Q15617994
['Q17284948', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q17284948 property:P19 ?m . ?m rdf:type ontology:Q15617994 }
Giuseppe Fornasari
action filter_type
action find
entity Giuseppe Fornasari
relation place of birth
type designation for an administrative territorial entity
['Giuseppe Fornasari', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Giuseppe_Fornasari property:place_of_birth ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q13378
SYSTEM
Arezzo
Q13378
(Q17284948,P19,c(Q15617994))
action filter_type
action find
entity Q17284948
relation P19
type Q15617994
[ANSWER] is the place of birth of Giuseppe Fornasari
['Q17284948', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q17284948 property:P19 ?m . ?m rdf:type ontology:Q15617994 }
Arezzo
Arezzo is the place of birth of Giuseppe Fornasari
Arezzo
action filter_type
action find
entity Giuseppe Fornasari
relation place of birth
type designation for an administrative territorial entity
['Giuseppe Fornasari', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Giuseppe_Fornasari property:place_of_birth ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17284948
P937
Q56061
USER
Which is the work location of Giuseppe Fornasari ?
(Q17284948,P937,c(Q56061))
action filter_type
action find
entity Q17284948
relation P937
type Q56061
['Q17284948', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q17284948 property:P937 ?b . ?b rdf:type ontology:Q56061 }
Giuseppe Fornasari
action filter_type
action find
entity Giuseppe Fornasari
relation work location
type administrative territorial entity
['Giuseppe Fornasari', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Giuseppe_Fornasari property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q17284948,P937,c(Q56061))
action filter_type
action find
entity Q17284948
relation P937
type Q56061
[ANSWER] is the work location of Giuseppe Fornasari
['Q17284948', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q17284948 property:P937 ?b . ?b rdf:type ontology:Q56061 }
Rome
Rome is the work location of Giuseppe Fornasari
Rome
action filter_type
action find
entity Giuseppe Fornasari
relation work location
type administrative territorial entity
['Giuseppe Fornasari', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Giuseppe_Fornasari property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1629389
Q56061
USER
And how about Horst Grabert?
(Q1629389,P937,c(Q56061))
action filter_type
action find
entity Q1629389
relation P937
type Q56061
['Q1629389', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1629389 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Horst Grabert
action filter_type
action find
entity Horst Grabert
relation work location
type administrative territorial entity
['Horst Grabert', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Horst_Grabert property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1629389,P937,c(Q56061))
action filter_type
action find
entity Q1629389
relation P937
type Q56061
[ANSWER]
['Q1629389', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1629389 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Berlin
Berlin
action filter_type
action find
entity Horst Grabert
relation work location
type administrative territorial entity
['Horst Grabert', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Horst_Grabert property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q64 Q1922123 Q4456011
P47
Q1048835
USER
Does that administrative territory shares border with Villoldo and Ternivka ?
(Q64,P47,Q1922123) (Q64,P47,Q4456011)
action is_in
entity Q64
action intersection
action find_reverse
entity Q1922123
relation P47
action find_reverse
entity Q4456011
relation P47
['Q64', 'P47', 'Q1922123'] ['Q64', 'P47', 'Q4456011']
ASK WHERE { resource:Q64 property:P47 resource:Q1922123 . resource:Q64 property:P47 resource:Q4456011 }
Berlin Villoldo Ternivka
action is_in
entity Berlin
action intersection
action find_reverse
entity Villoldo
relation shares border with
action find_reverse
entity Ternivka
relation shares border with
['Berlin', 'shares border with', 'Villoldo'] ['Berlin', 'shares border with', 'Ternivka']
ASK WHERE { resource:Berlin property:shares_border_with resource:Villoldo . resource:Berlin property:shares_border_with resource:Ternivka }
[]
political territorial entity
SYSTEM
NO
(Q64,P47,Q1922123) (Q64,P47,Q4456011)
action is_in
entity Q64
action intersection
action find_reverse
entity Q1922123
relation P47
action find_reverse
entity Q4456011
relation P47
[ANSWER]
['Q64', 'P47', 'Q1922123'] ['Q64', 'P47', 'Q4456011']
ASK WHERE { resource:Q64 property:P47 resource:Q1922123 . resource:Q64 property:P47 resource:Q4456011 }
No
action is_in
entity Berlin
action intersection
action find_reverse
entity Villoldo
relation shares border with
action find_reverse
entity Ternivka
relation shares border with
['Berlin', 'shares border with', 'Villoldo'] ['Berlin', 'shares border with', 'Ternivka']
ASK WHERE { resource:Berlin property:shares_border_with resource:Villoldo . resource:Berlin property:shares_border_with resource:Ternivka }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64
P159
Q43229
USER
Which organizations have their HQ location at Berlin ?
(c(Q43229),P159,Q64)
action filter_type
action find_reverse
entity Q64
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q64']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q64 . ?i rdf:type ontology:Q43229 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Berlin']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:Berlin . ?i rdf:type ontology:organization }
[]
organization
Q81230 Q586581 Q256290
SYSTEM
Siemens, Confederation of German Trade Unions, Knorr-Bremse
Q16974189 Q658270 Q513830 Q3005576 Q5205908 Q544229 Q473704 Q697933 Q14930424 Q15836823 Q759253 Q320662 Q316922 Q196993 Q1746179 Q18620795 Q1484308 Q5469939 Q3180259 Q23384493 Q1326651 Q6947556 Q466871 Q1541978 Q16839994 Q314788 Q318732 Q697199 Q873794 Q1531730 Q469143 Q879469 Q571943 Q852099 Q882160 Q266566 Q2348891 Q5193701 Q19862330 Q265330 Q17404367 Q19901948 Q413958 Q16851459 Q19842298 Q300164 Q1595419 Q18562040 Q695251 Q27660240 Q7512866 Q5385625 Q1351741 Q1653101 Q896587 Q474400 Q23042747 Q190654 Q320038 Q4892402 Q5476817 Q14601951 Q314880 Q278961 Q2054208 Q317215 Q1881223 Q325635 Q544408 Q629536 Q454793 Q22081486 Q652569 Q319924 Q24068412 Q3935683 Q19697831 Q17042753 Q2539154 Q1092984 Q2449758 Q19963849 Q2575704 Q2308459 Q136570 Q700563 Q13715273 Q545590 Q8023546 Q21995443 Q697519 Q1024525 Q1884751 Q1376877 Q1649778 Q7581830 Q1718989 Q315451 Q22671586 Q563556 Q459819 Q1710262 Q1559154 Q256290 Q18019941 Q650626 Q174240 Q18286370 Q22344435 Q21984033 Q17012361 Q1487131 Q6711376 Q1328997 Q315369 Q315774 Q457297 Q82229 Q81230 Q660381 Q612459 Q17086932 Q6823303 Q1775008 Q2401300 Q882798 Q7071646 Q302924 Q5326911 Q641314 Q795372 Q1380879 Q442850 Q897024 Q1202325 Q797086 Q18636317 Q15840850 Q18018525 Q1435106 Q38791 Q1514244 Q264351 Q13824461 Q2353933 Q806654 Q1205728 Q4035509 Q378767 Q7784435 Q446499 Q16827098 Q652491 Q14601985 Q315859 Q322379 Q1977495 Q20054452 Q911958 Q2383864 Q646402 Q821856 Q1684019 Q17087080 Q23725828 Q19903840 Q316782 Q1940842 Q1347002 Q873059 Q164228 Q241331 Q529531 Q2248698 Q5984988 Q1389575 Q3816053 Q1662680 Q3269655 Q439859 Q473334 Q317601 Q586581 Q2117619 Q516134 Q823171 Q2238716 Q1371060 Q118686 Q23014836 Q1496677 Q546769 Q795947 Q316015 Q1419530 Q699439
(c(Q43229),P159,Q64)
action filter_type
action find_reverse
entity Q64
relation P159
type Q43229
[ANSWERS] have their HQ location at Berlin
[{'concept': 'Q43229'}, 'P159', 'Q64']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q64 . ?i rdf:type ontology:Q43229 }
AccessHolding KfW N.V. Nuon Energy Crumpler Dox Box Solon SE Cazzo Film Mittelwerk Auctionata Nieto sobejano arquitectos Auergesellschaft Neue Automobil Gesellschaft Aufbau-Verlag Zeuke Kleihues + Kleihues Emil Berliner Studios G. Schaub Apparatebau Formac Elektronik GmbH Snom Delivery Hero EAW Mykita Siemens-Schuckert Institute for European Politics GetYourGuide Staatsbank Berthold Type Foundry RapidEye MetaDesign Hengeler Mueller German New Guinea Company Luna Park Ford Germany Bewag Schmidt Spiele Artnet Berlin Palace–Humboldtforum Foundation Cultuzz ESNA European Higher Education News DAPD News Agency Lendico Blacklane Akademie Verlag Johnny Judge Gallery Spotcap AVM GmbH Heilmann & Littmann Georg Neumann VARTA Beckers Group Signavio Erento Teufel IBM Deutschland Customer Support Services Disconto-Gesellschaft LVG EliteSingles Zentralkonsum Deutsche Ausrüstungswerke Berlin Business Location Center Fox Mobile Entertainment Geschichte der Kunstschmiede Berlin Directmedia Publishing A. Molling & Comp. Part-Time Scientists Bundesdruckerei MBB SE Telefunken Argus Motoren Rohrbach Metall-Flugzeugbau Wertheim Bundesverband Druck und Medien Native Instruments Jerini Foodora Bayer HealthCare Pharmaceuticals Magix Software GmbH Plinga Waggon Union Circus Renz Transradio Studentendorf Schlachtensee eG Woellmer Type Foundry Speedminton GmbH Zalando SE Deutsche Reichsbahn (GDR) Atotech Bayer Schering Pharma Wimdu Bundesverband Deutscher Ziegenzüchter C. Bechstein Pianofortefabrik CT Arzneimittel Mahala Problem Cigarettes Kurt Becker KG Vattenfall Späth nursery Rheinmetall Automotive Verkehrsverbund Berlin-Brandenburg F. Wöhlert’sche Maschinenbau-Anstalt und Eisengiesserei Schering AG Dehomag Media Consulta Primacom Knorr-Bremse elumeo SE EBoy Transparency International Berlinheart Deutschland Lebensversicherungs-Gesellschaft Berlin-Charlottenburger Straßenbahn Mediapeers GSW Immobilien Löwe Automobil Kühlstein Versatel Graetz AG Ambi Budd Rocket Internet SE Siemens Fuck for Forest Francotyp Postalia Veganz Metaversum GmbH Virtual Global University Tele Columbus FontShop O&O Software Magix Earlybird Venture Capital Deutsche Werke BAE Batterien J. F. Schwarzlose Söhne Alkett Transdev GmbH DEGES BUNDjugend John Thompson Productions Posteo Auticon Txtr Hitler Youth GTAI Babbel NOXXON Pharma Strato AG Bank of German Labor, Inc. Deutsches Institut für Internationale Pädagogische Forschung Burmester Audiosysteme GmbH Adtranz Think-cell eDarling Berlin promotion agency Orenstein & Koppel Fittkau Metallbau und Kunstschmiede Herlitz Ableton Neofonie Rudolph Lepke’s Kunst-Auctions-Haus C. Lorenz AG TD Trump Deutschland Israel's Department Store Berliner Wasserbetriebe TELES CloudControl  RhodeCode GmbH Zencap Greenwheels Mix & Genest Epigenomics AG IAV GEMA 50Hertz Transmission GmbH Berliner Maschinenbau Scholz & Friends Ic! berlin FontShop International Swabr Infratest dimap Hill & Knowlton Heel Reichs-Rundfunk-Gesellschaft Bundesstiftung zur Aufarbeitung der SED-Diktatur Confederation of German Trade Unions Puhl & Wagner Royal Porcelain Factory GameDuell Schleicher Electronic Eternit AG Goerz HelloFresh Gazprom Germania Borsig (Company) BHW Insel Verlag KPMG Deutschland Rollei
Siemens, Confederation of German Trade Unions and Knorr-Bremse have their HQ location at Berlin
Siemens Confederation of German Trade Unions Knorr-Bremse
action filter_type
action find_reverse
entity Berlin
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Berlin']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:Berlin . ?i rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q256290
P1435
Q2065736
USER
Which cultural property is the heritage status of that organization ?
(Q256290,P1435,c(Q2065736))
action filter_type
action find
entity Q256290
relation P1435
type Q2065736
['Q256290', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?n WHERE { resource:Q256290 property:P1435 ?n . ?n rdf:type ontology:Q2065736 }
Knorr-Bremse
action filter_type
action find
entity Knorr-Bremse
relation heritage status
type cultural property
['Knorr-Bremse', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?n WHERE { resource:Knorr-Bremse property:heritage_status ?n . ?n rdf:type ontology:cultural_property }
[]
cultural property
Clarification for simple ques.
Q256290
SYSTEM
Did you mean Knorr-Bremse ?
Q81230 Q586581 Q256290
(Q81230,P1435,c(Q2065736)) (Q586581,P1435,c(Q2065736)) (Q256290,P1435,c(Q2065736))
[ANSWER]
['Q81230', 'P1435', {'concept': 'Q2065736'}] ['Q586581', 'P1435', {'concept': 'Q2065736'}] ['Q256290', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?n WHERE { resource:Q256290 property:P1435 ?n . ?n rdf:type ontology:Q2065736 }
Siemens Confederation of German Trade Unions Knorr-Bremse
Did you mean Knorr-Bremse ?
Knorr-Bremse
['Siemens', 'heritage status', {'concept': 'cultural property'}] ['Confederation of German Trade Unions', 'heritage status', {'concept': 'cultural property'}] ['Knorr-Bremse', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?n WHERE { resource:Knorr-Bremse property:heritage_status ?n . ?n rdf:type ontology:cultural_property }
[]
Simple Question (Coreferenced)
USER
Yes
(Q256290,P1435,c(Q2065736))
['Q256290', 'P1435', {'concept': 'Q2065736'}]
['Knorr-Bremse', 'heritage status', {'concept': 'cultural property'}]
[]
Q17297633
SYSTEM
Baudenkmal
Q17297633
(Q256290,P1435,c(Q2065736))
action filter_type
action find
entity Q256290
relation P1435
type Q2065736
[ANSWER] is the heritage status of that organization
['Q256290', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?n WHERE { resource:Q256290 property:P1435 ?n . ?n rdf:type ontology:Q2065736 }
Baudenkmal
Baudenkmal is the heritage status of that organization
Baudenkmal
action filter_type
action find
entity Knorr-Bremse
relation heritage status
type cultural property
['Knorr-Bremse', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?n WHERE { resource:Knorr-Bremse property:heritage_status ?n . ?n rdf:type ontology:cultural_property }
[]