Simple Question (Direct)
Simple Question
Q5044372
P21
Q290
USER
Which sex does Carol Herselle Krinsky belong to ?
(Q5044372,P21,c(Q290))
action filter_type
action find
entity Q5044372
relation P21
type Q290
['Q5044372', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q5044372 property:P21 ?d . ?d rdf:type ontology:Q290 }
Carol Herselle Krinsky
action filter_type
action find
entity Carol Herselle Krinsky
relation gender
type sex
['Carol Herselle Krinsky', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Carol_Herselle_Krinsky property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q5044372,P21,c(Q290))
action filter_type
action find
entity Q5044372
relation P21
type Q290
Carol Herselle Krinsky belongs to [ANSWER]
['Q5044372', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q5044372 property:P21 ?d . ?d rdf:type ontology:Q290 }
female
Carol Herselle Krinsky belongs to female
female
action filter_type
action find
entity Carol Herselle Krinsky
relation gender
type sex
['Carol Herselle Krinsky', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Carol_Herselle_Krinsky property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5044372
P108
Q163740
USER
Which nonprofit organization is the employer of that person ?
(Q6581072,P108,c(Q163740))
action filter_type
action find
entity Q5044372
relation P108
type Q163740
['Q6581072', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { resource:Q5044372 property:P108 ?o . ?o rdf:type ontology:Q163740 }
Carol Herselle Krinsky
action filter_type
action find
entity Carol Herselle Krinsky
relation employer
type nonprofit organization
['female', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { resource:Carol_Herselle_Krinsky property:employer ?o . ?o rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49210
SYSTEM
New York University
Q49210
(Q6581072,P108,c(Q163740))
action filter_type
action find
entity Q5044372
relation P108
type Q163740
[ANSWER] is the employer of that person
['Q6581072', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { resource:Q5044372 property:P108 ?o . ?o rdf:type ontology:Q163740 }
New York University
New York University is the employer of that person
New York University
action filter_type
action find
entity Carol Herselle Krinsky
relation employer
type nonprofit organization
['female', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { resource:Carol_Herselle_Krinsky property:employer ?o . ?o rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5044372
P106
Q12737077
USER
What is the profession of that person ?
(Q49210,P106,c(Q12737077))
action filter_type
action find
entity Q5044372
relation P106
type Q12737077
['Q49210', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q5044372 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Carol Herselle Krinsky
action filter_type
action find
entity Carol Herselle Krinsky
relation occupation
type occupation
['New York University', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Carol_Herselle_Krinsky property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q201788
SYSTEM
historian
Q201788
(Q49210,P106,c(Q12737077))
action filter_type
action find
entity Q5044372
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q49210', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q5044372 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
historian
The profession of that person is a historian
historian
action filter_type
action find
entity Carol Herselle Krinsky
relation occupation
type occupation
['New York University', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Carol_Herselle_Krinsky property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16425313 Q5044372
P19 P1383
Q56061
USER
Which administrative territories are the places of birth of Carol Herselle Krinsky or are contained in Mogoș ?
OR((Q5044372,P19,c(Q56061)), (Q16425313,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q5044372
relation P19
action find
entity Q16425313
relation P1383
type Q56061
{'OR': [['Q5044372', 'P19', {'concept': 'Q56061'}], ['Q16425313', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q5044372 property:P19 ?u } UNION { resource:Q16425313 property:P1383 ?u } } . ?u rdf:type ontology:Q56061 }
Mogoș Carol Herselle Krinsky
action filter_type
action union
action find
entity Carol Herselle Krinsky
relation place of birth
action find
entity Mogoș
relation contains settlement
type administrative territorial entity
{'OR': [['Carol Herselle Krinsky', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mogoș', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Carol_Herselle_Krinsky property:place_of_birth ?u } UNION { resource:Mogoș property:contains_settlement ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12083294 Q10862268 Q10862265 Q10863022 Q10862264 Q913650 Q822721 Q10863019 Q10863028 Q10862271
SYSTEM
Some of them are Bogdănești, Valea Țupilor, Valea Bârluțești, Butești, Bârlești-Cătun, Mogoș, Cojocani, Bocești, Negrești, Valea Giogești
Q10863028 Q913650 Q12135991 Q10863022 Q10863026 Q3894293 Q822721 Q10862269 Q10862268 Q10862266 Q10862265 Q10862264 Q10862263 Q10862261 Q10863019 Q12083294 Q1164445 Q10862291 Q10862270 Q10862271 Q10862272 Q60
OR((Q5044372,P19,c(Q56061)), (Q16425313,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q5044372
relation P19
action find
entity Q16425313
relation P1383
type Q56061
[ANSWERS] are the places of birth of Carol Herselle Krinsky or are contained in Mogoș
{'OR': [['Q5044372', 'P19', {'concept': 'Q56061'}], ['Q16425313', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q5044372 property:P19 ?u } UNION { resource:Q16425313 property:P1383 ?u } } . ?u rdf:type ontology:Q56061 }
Negrești Mogoș Oncești Butești Tomești Bârlești Cojocani Valea Barnii Valea Țupilor Valea Mlacii Valea Bârluțești Bârlești-Cătun Bărbești Bârzogani Bocești Bogdănești Mămăligani Cristești Poienile-Mogoș Valea Giogești Valea Cocești New York City
Bogdănești, Valea Țupilor, Valea Bârluțești, Butești, Bârlești-Cătun, Mogoș, Cojocani, Bocești, Negrești and Valea Giogești are the places of birth of Carol Herselle Krinsky or are contained in Mogoș
Bogdănești Valea Țupilor Valea Bârluțești Butești Bârlești-Cătun Mogoș Cojocani Bocești Negrești Valea Giogești
action filter_type
action union
action find
entity Carol Herselle Krinsky
relation place of birth
action find
entity Mogoș
relation contains settlement
type administrative territorial entity
{'OR': [['Carol Herselle Krinsky', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mogoș', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Carol_Herselle_Krinsky property:place_of_birth ?u } UNION { resource:Mogoș property:contains_settlement ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q913650
P17
Q15617994
USER
How many administrative territories are Mogoș located in ?
(Q913650,P17,c(Q15617994))
action count
action filter_type
action find
entity Q913650
relation P17
type Q15617994
['Q913650', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q913650 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Mogoș
action count
action filter_type
action find
entity Mogoș
relation country
type designation for an administrative territorial entity
['Mogoș', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Mogoș property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q218
(Q913650,P17,c(Q15617994))
action count
action filter_type
action find
entity Q913650
relation P17
type Q15617994
[ANSWER]
['Q913650', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q913650 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Romania
1
action count
action filter_type
action find
entity Mogoș
relation country
type designation for an administrative territorial entity
['Mogoș', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Mogoș property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q26479201
Q15617994
USER
And also tell me about 9, 11 And 13, Delf Hill?
(Q26479201,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26479201
relation P17
type Q15617994
['Q26479201', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q26479201 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
9, 11 And 13, Delf Hill
action count
action filter_type
action find
entity 9, 11 And 13, Delf Hill
relation country
type designation for an administrative territorial entity
['9, 11 And 13, Delf Hill', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:9,_11_And_13,_Delf_Hill property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q26479201,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26479201
relation P17
type Q15617994
[ANSWER]
['Q26479201', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q26479201 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity 9, 11 And 13, Delf Hill
relation country
type designation for an administrative territorial entity
['9, 11 And 13, Delf Hill', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:9,_11_And_13,_Delf_Hill property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q687945
P559
Q56061 Q44377 Q728937
USER
Which administrative territories serve as the endpoint for less number of tunnels and railroad lines than San Bernardino ?
(c(Q44377)|c(Q728937),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action count
action filter_multi_types
action find_reverse
entity Q687945
relation P559
type Q44377
type Q728937
[[{'concept': 'Q44377'}, {'concept': 'Q728937'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?m WHERE { VALUES ( ?y ) { ( ontology:Q44377 ) ( ontology:Q728937 ) } . ?p rdf:type ?y } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P559 resource:Q687945 . { ?b rdf:type ?k . VALUES ( ?k ) { ( ontology:Q728937 ) ( ontology:Q44377 ) } } } } . FILTER ( ?r < ?e ) }
San Bernardino
action less
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action count
action filter_multi_types
action find_reverse
entity San Bernardino
relation terminus
type tunnel
type railroad line
[[{'concept': 'tunnel'}, {'concept': 'railroad line'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?m WHERE { VALUES ( ?y ) { ( ontology:tunnel ) ( ontology:railroad_line ) } . ?p rdf:type ?y } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:terminus resource:San_Bernardino . { ?b rdf:type ?k . VALUES ( ?k ) { ( ontology:railroad_line ) ( ontology:tunnel ) } } } } . FILTER ( ?r < ?e ) }
[]
administrative territorial entity tunnel railroad line
Q1085 Q649 Q65
SYSTEM
Prague, Moscow, Los Angeles
Q938820 Q9832 Q1020217 Q3112707 Q11851639 Q23436 Q837211 Q3812238 Q1017610 Q10084 Q7567083 Q541055 Q723164 Q82490 Q172157 Q575557 Q985313 Q23311 Q687333 Q932159 Q49550 Q38511 Q3469728 Q796625 Q185453 Q588804 Q130191 Q3001 Q723372 Q167155 Q2272 Q986100 Q6023 Q7811572 Q171357 Q134620 Q956 Q959 Q556989 Q1011611 Q727 Q649 Q2065223 Q211059 Q42159 Q7986745 Q1009428 Q18808 Q1011221 Q24826 Q6509 Q671348 Q28327 Q5477618 Q5032535 Q4093 Q4356873 Q33959 Q11839080 Q586 Q585 Q987170 Q1017331 Q1763 Q1449 Q848909 Q1420136 Q754868 Q125080 Q1757 Q36989 Q49218 Q990112 Q100 Q2734845 Q1020951 Q40840 Q542966 Q1616042 Q643944 Q257034 Q1571025 Q756103 Q25330 Q856860 Q517381 Q3992 Q190847 Q1318695 Q1248150 Q2073801 Q1781385 Q1759693 Q369947 Q84 Q2300663 Q2132 Q2133814 Q7944369 Q646784 Q79499 Q184383 Q375905 Q263954 Q10561690 Q12892 Q643160 Q6816 Q17872 Q129610 Q766594 Q466054 Q953081 Q180717 Q2086787 Q79804 Q895452 Q40325 Q953719 Q580016 Q2290 Q244289 Q237253 Q485186 Q588417 Q146659 Q522362 Q790938 Q530309 Q865872 Q65 Q1085
(c(Q44377)|c(Q728937),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action count
action filter_multi_types
action find_reverse
entity Q687945
relation P559
type Q44377
type Q728937
[ANSWERS] serve as the endpoint for less number of tunnels and railroad lines than San Bernardino
[[{'concept': 'Q44377'}, {'concept': 'Q728937'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?m WHERE { VALUES ( ?y ) { ( ontology:Q44377 ) ( ontology:Q728937 ) } . ?p rdf:type ?y } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P559 resource:Q687945 . { ?b rdf:type ?k . VALUES ( ?k ) { ( ontology:Q728937 ) ( ontology:Q44377 ) } } } } . FILTER ( ?r < ?e ) }
Virrat Eindhoven Minehead Sedbury Annalankangas Edinburgh Scheveningen Bronygarth Horgoš Vlissingen South Drain Oijen Pop Lyme Regis Winchester Grand Tower Ingleton City of London Middleton-by-Wirksworth Hart Maó-Mahón Turku Salford Quays Edale Multan Badrinath Norwich Paramaribo Narva-Jõesuu Kalamazoo Skien Ridder Lapua Tobermory, Ontario Kecskemét Jyväskylä Beijing Vladivostok Ankeny Portpatrick Amsterdam Moscow Port Grimaud Jõhvi Hanam West Vale Drymen Pyongyang Kincardine Liverpool Burgas Worthing Örnsköldsvik Frafjord Cann River Glasgow Mariehäll Nice Akdere, Silifke Bonn Oslo Inčukalns Westport, County Mayo Murmansk Genoa Fort William Herøya Cumberland Vaasa Helsinki Pardubice Rochester Littlehampton Boston Henley-in-Arden Ilkley Tampere Angren, Uzbekistan Hessle Asaluyeh Kemble Mullan Lewes Trenton Hammond Dillenburg Liège Alexandroupoli Apoera Wallsend Helmsley Björkhagen South Boston El Cajon London Gaylord Victoria St Nicholas-at-Wade Värpinge Moffat Helena Zeebrugge Deerfield Afobaka Lilla Alby Antwerp Farnham Ulan-Ude Alice Springs Galway Bewdley Mahdia Orivesi Sousse Manitou Springs Sitka Bowling, West Dunbartonshire Springfield South Haven Albina Porsgrunn Athis-Mons Great Yarmouth Key West Sewell, Chile Clapham Bad Säckingen Aviemore Karkkila Birstall Los Angeles Prague
Prague, Moscow and Los Angeles serve as the endpoint for less number of tunnels and railroad lines than San Bernardino
Prague Moscow Los Angeles
action less
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action count
action filter_multi_types
action find_reverse
entity San Bernardino
relation terminus
type tunnel
type railroad line
[[{'concept': 'tunnel'}, {'concept': 'railroad line'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?m WHERE { VALUES ( ?y ) { ( ontology:tunnel ) ( ontology:railroad_line ) } . ?p rdf:type ?y } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:terminus resource:San_Bernardino . { ?b rdf:type ?k . VALUES ( ?k ) { ( ontology:railroad_line ) ( ontology:tunnel ) } } } } . FILTER ( ?r < ?e ) }
[]