Simple Question (Direct)
Simple Question
Q361839
P102
Q7210356
USER
Which party is Adolf Germann affiliated with ?
(Q361839,P102,c(Q7210356))
action filter_type
action find
entity Q361839
relation P102
type Q7210356
['Q361839', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q361839 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Adolf Germann
action filter_type
action find
entity Adolf Germann
relation member of political party
type political organization
['Adolf Germann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Adolf_Germann property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
political organization
Q13850128
SYSTEM
Free Democratic Party of Switzerland
Q13850128
(Q361839,P102,c(Q7210356))
action filter_type
action find
entity Q361839
relation P102
type Q7210356
Adolf Germann is affiliated with [ANSWER]
['Q361839', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q361839 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Free Democratic Party of Switzerland
Adolf Germann is affiliated with Free Democratic Party of Switzerland
Free Democratic Party of Switzerland
action filter_type
action find
entity Adolf Germann
relation member of political party
type political organization
['Adolf Germann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Adolf_Germann property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q361839
P937
Q56061
USER
Which administrative territory is the work location of Adolf Germann ?
(Q361839,P937,c(Q56061))
action filter_type
action find
entity Q361839
relation P937
type Q56061
['Q361839', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q361839 property:P937 ?r }
Adolf Germann
action filter_type
action find
entity Adolf Germann
relation work location
type administrative territorial entity
['Adolf Germann', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Adolf_Germann property:work_location ?r }
[]
administrative territorial entity
Q70
SYSTEM
Bern
Q70
(Q361839,P937,c(Q56061))
action filter_type
action find
entity Q361839
relation P937
type Q56061
[ANSWER] is the work location of Adolf Germann
['Q361839', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q361839 property:P937 ?r }
Bern
Bern is the work location of Adolf Germann
Bern
action filter_type
action find
entity Adolf Germann
relation work location
type administrative territorial entity
['Adolf Germann', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Adolf_Germann property:work_location ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11066700
Q56061
USER
And what about Erling Bjørnson?
(Q11066700,P937,c(Q56061))
action filter_type
action find
entity Q11066700
relation P937
type Q56061
['Q11066700', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q11066700 property:P937 ?m . ?m rdf:type ontology:Q56061 }
Erling Bjørnson
action filter_type
action find
entity Erling Bjørnson
relation work location
type administrative territorial entity
['Erling Bjørnson', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Erling_Bjørnson property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q585
SYSTEM
Oslo
Q585
(Q11066700,P937,c(Q56061))
action filter_type
action find
entity Q11066700
relation P937
type Q56061
[ANSWER]
['Q11066700', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q11066700 property:P937 ?m . ?m rdf:type ontology:Q56061 }
Oslo
Oslo
action filter_type
action find
entity Erling Bjørnson
relation work location
type administrative territorial entity
['Erling Bjørnson', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Erling_Bjørnson property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q585 Q6491699
P937
Q502895
USER
Does Lars Ramndal have that administrative territory as work location ?
(Q6491699,P937,Q585)
action is_in
entity Q585
action find
entity Q6491699
relation P937
['Q6491699', 'P937', 'Q585']
ASK WHERE { resource:Q6491699 property:P937 resource:Q585 }
Oslo Lars Ramndal
action is_in
entity Oslo
action find
entity Lars Ramndal
relation work location
['Lars Ramndal', 'work location', 'Oslo']
ASK WHERE { resource:Lars_Ramndal property:work_location resource:Oslo }
[]
common name
SYSTEM
YES
(Q6491699,P937,Q585)
action is_in
entity Q585
action find
entity Q6491699
relation P937
[ANSWER]
['Q6491699', 'P937', 'Q585']
ASK WHERE { resource:Q6491699 property:P937 resource:Q585 }
Yes
action is_in
entity Oslo
action find
entity Lars Ramndal
relation work location
['Lars Ramndal', 'work location', 'Oslo']
ASK WHERE { resource:Lars_Ramndal property:work_location resource:Oslo }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q70 Q39
P17
Q15617994
USER
Is Bern a part of Switzerland ?
(Q70,P17,Q39)
action is_in
entity Q39
action find
entity Q70
relation P17
['Q70', 'P17', 'Q39']
ASK WHERE { resource:Q70 property:P17 resource:Q39 }
Bern Switzerland
action is_in
entity Switzerland
action find
entity Bern
relation country
['Bern', 'country', 'Switzerland']
ASK WHERE { resource:Bern property:country resource:Switzerland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q70,P17,Q39)
action is_in
entity Q39
action find
entity Q70
relation P17
[ANSWER]
['Q70', 'P17', 'Q39']
ASK WHERE { resource:Q70 property:P17 resource:Q39 }
Yes
action is_in
entity Switzerland
action find
entity Bern
relation country
['Bern', 'country', 'Switzerland']
ASK WHERE { resource:Bern property:country resource:Switzerland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q13850128 Q115877
P488
Q502895
USER
Was Fulvio Pelli the chairperson of Free Democratic Party of Switzerland ?
(Q13850128,P488,Q115877)
action is_in
entity Q115877
action find
entity Q13850128
relation P488
['Q13850128', 'P488', 'Q115877']
ASK WHERE { resource:Q13850128 property:P488 resource:Q115877 }
Free Democratic Party of Switzerland Fulvio Pelli
action is_in
entity Fulvio Pelli
action find
entity Free Democratic Party of Switzerland
relation chairperson
['Free Democratic Party of Switzerland', 'chairperson', 'Fulvio Pelli']
ASK WHERE { resource:Free_Democratic_Party_of_Switzerland property:chairperson resource:Fulvio_Pelli }
[]
common name
SYSTEM
YES
(Q13850128,P488,Q115877)
action is_in
entity Q115877
action find
entity Q13850128
relation P488
[ANSWER]
['Q13850128', 'P488', 'Q115877']
ASK WHERE { resource:Q13850128 property:P488 resource:Q115877 }
Yes
action is_in
entity Fulvio Pelli
action find
entity Free Democratic Party of Switzerland
relation chairperson
['Free Democratic Party of Switzerland', 'chairperson', 'Fulvio Pelli']
ASK WHERE { resource:Free_Democratic_Party_of_Switzerland property:chairperson resource:Fulvio_Pelli }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P559
Q56061 Q728937 Q83620
USER
How many administrative territories serve as the endpoint for atmost 1 railroad lines or thoroughfares ?
(c(Q728937)|c(Q83620),P559,c(Q56061))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
value 1
[[{'concept': 'Q728937'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?p ) WHERE { { ?k property:P559 ?s . ?s rdf:type ontology:Q56061 . ?k rdf:type ontology:Q728937 } UNION { ?s rdf:type ontology:Q56061 . ?k rdf:type ontology:Q83620 . ?k property:P559 ?s } } GROUP BY ?s } . FILTER ( ?p <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
value 1
[[{'concept': 'railroad line'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?p ) WHERE { { ?k property:terminus ?s . ?s rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:railroad_line } UNION { ?s rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:thoroughfare . ?k property:terminus ?s } } GROUP BY ?s } . FILTER ( ?p <= 1 ) }
[]
administrative territorial entity railroad line thoroughfare
SYSTEM
154
Q938820 Q9832 Q3051477 Q1020217 Q3112707 Q11851639 Q23436 Q837211 Q3812238 Q69639 Q1017610 Q10084 Q375314 Q12439 Q7567083 Q2814 Q541055 Q723164 Q82490 Q4825403 Q172157 Q575557 Q985313 Q23311 Q687333 Q932159 Q49550 Q38511 Q3469728 Q796625 Q185453 Q588804 Q130191 Q5902931 Q723372 Q167155 Q2272 Q986100 Q6023 Q7811572 Q7651719 Q171357 Q134620 Q956 Q959 Q992420 Q556989 Q1011611 Q727 Q649 Q2065223 Q211059 Q42159 Q7986745 Q1009428 Q18808 Q1011221 Q7050868 Q24826 Q6509 Q671348 Q28327 Q5477618 Q5032535 Q4093 Q4356873 Q33959 Q11839080 Q586 Q585 Q987170 Q1017331 Q35433 Q1763 Q1449 Q66208 Q2796951 Q848909 Q1420136 Q754868 Q687945 Q125080 Q782155 Q12714367 Q1757 Q36989 Q49218 Q990112 Q100 Q2734845 Q6820370 Q1020951 Q40840 Q542966 Q1616042 Q643944 Q257034 Q1571025 Q756103 Q25330 Q856860 Q517381 Q3992 Q190847 Q1248150 Q2073801 Q1781385 Q1759693 Q369947 Q84 Q2300663 Q2132 Q2703030 Q2133814 Q794802 Q7944369 Q646784 Q79499 Q184383 Q6275457 Q375905 Q263954 Q10561690 Q643160 Q6816 Q1735 Q17872 Q129610 Q766594 Q466054 Q953081 Q180717 Q2086787 Q79804 Q895452 Q40325 Q1229951 Q953719 Q580016 Q2290 Q12191 Q244289 Q237253 Q485186 Q588417 Q634172 Q146659 Q522362 Q1729 Q790938 Q530309 Q865872 Q65 Q1085
(c(Q728937)|c(Q83620),P559,c(Q56061))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
value 1
[ANSWER]
[[{'concept': 'Q728937'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?p ) WHERE { { ?k property:P559 ?s . ?s rdf:type ontology:Q56061 . ?k rdf:type ontology:Q728937 } UNION { ?s rdf:type ontology:Q56061 . ?k rdf:type ontology:Q83620 . ?k property:P559 ?s } } GROUP BY ?s } . FILTER ( ?p <= 1 ) }
Virrat Eindhoven Ellewoutsdijk Minehead Sedbury Annalankangas Edinburgh Scheveningen Bronygarth Göschenen Horgoš Vlissingen Folkestone Detroit South Drain Halle (Saale) Oijen Pop Lyme Regis Austrepollen Winchester Grand Tower Ingleton City of London Middleton-by-Wirksworth Hart Maó-Mahón Turku Salford Quays Edale Multan Badrinath Norwich Horda, Norway Narva-Jõesuu Kalamazoo Skien Ridder Lapua Tobermory, Ontario Svartnes Kecskemét Jyväskylä Beijing Vladivostok Fjærland Ankeny Portpatrick Amsterdam Moscow Port Grimaud Jõhvi Hanam West Vale Drymen Pyongyang Kincardine Nordrepollen Liverpool Burgas Worthing Örnsköldsvik Frafjord Cann River Glasgow Mariehäll Nice Akdere, Silifke Bonn Oslo Inčukalns Westport, County Mayo Saint-Rhémy-en-Bosses Murmansk Genoa Frutigen Cumberland Gap Fort William Herøya Cumberland San Bernardino Vaasa Jarrow Granvin Helsinki Pardubice Rochester Littlehampton Boston Henley-in-Arden Merritton, Ontario Ilkley Tampere Angren, Uzbekistan Hessle Asaluyeh Kemble Mullan Lewes Trenton Hammond Dillenburg Liège Alexandroupoli Wallsend Helmsley Björkhagen South Boston El Cajon London Gaylord Victoria Kilsby St Nicholas-at-Wade Otira Värpinge Moffat Helena Zeebrugge Jong, Norway Deerfield Afobaka Lilla Alby Farnham Ulan-Ude Innsbruck Alice Springs Galway Bewdley Mahdia Orivesi Sousse Manitou Springs Sitka Bowling, West Dunbartonshire Springfield L'Estaque South Haven Albina Porsgrunn Nantes Athis-Mons Great Yarmouth Key West Sewell, Chile Banihal Clapham Bad Säckingen Erfurt Aviemore Karkkila Birstall Los Angeles Prague
154
action count
action atmost
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
value 1
[[{'concept': 'railroad line'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?p ) WHERE { { ?k property:terminus ?s . ?s rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:railroad_line } UNION { ?s rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:thoroughfare . ?k property:terminus ?s } } GROUP BY ?s } . FILTER ( ?p <= 1 ) }
[]