Simple Question (Direct)
Simple Question
Q3059786
P20
Q56061
USER
Where did Eugène Cottin expire ?
(Q3059786,P20,c(Q56061))
action filter_type
action find
entity Q3059786
relation P20
type Q56061
['Q3059786', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3059786 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Eugène Cottin
action filter_type
action find
entity Eugène Cottin
relation place of death
type administrative territorial entity
['Eugène Cottin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Eugène_Cottin property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3059786,P20,c(Q56061))
action filter_type
action find
entity Q3059786
relation P20
type Q56061
Eugène Cottin expired in [ANSWER]
['Q3059786', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3059786 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Paris
Eugène Cottin expired in Paris
Paris
action filter_type
action find
entity Eugène Cottin
relation place of death
type administrative territorial entity
['Eugène Cottin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Eugène_Cottin property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3059786
P1066
Q502895
USER
Who taught that one ?
(Q90,P1066,c(Q502895))
action filter_type
action find
entity Q3059786
relation P1066
type Q502895
['Q90', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q3059786 property:P1066 ?u . ?u rdf:type ontology:Q502895 }
Eugène Cottin
action filter_type
action find
entity Eugène Cottin
relation student of
type common name
['Paris', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Eugène_Cottin property:student_of ?u . ?u rdf:type ontology:common_name }
[]
common name
Q170259
SYSTEM
Léon Bonnat
Q170259
(Q90,P1066,c(Q502895))
action filter_type
action find
entity Q3059786
relation P1066
type Q502895
[ANSWER] taught that one
['Q90', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q3059786 property:P1066 ?u . ?u rdf:type ontology:Q502895 }
Léon Bonnat
Léon Bonnat taught that one
Léon Bonnat
action filter_type
action find
entity Eugène Cottin
relation student of
type common name
['Paris', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Eugène_Cottin property:student_of ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are that person a civilian of ?
(Q170259,P27,c(Q15617994))
action count
action filter_type
action find
entity Q170259
relation P27
type Q15617994
['Q170259', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q170259 property:P27 ?x }
action count
action filter_type
action find
entity Léon Bonnat
relation country of citizenship
type designation for an administrative territorial entity
['Léon Bonnat', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Léon_Bonnat property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q170259,P27,c(Q15617994))
action count
action filter_type
action find
entity Q170259
relation P27
type Q15617994
[ANSWER]
['Q170259', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q170259 property:P27 ?x }
France
1
action count
action filter_type
action find
entity Léon Bonnat
relation country of citizenship
type designation for an administrative territorial entity
['Léon Bonnat', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Léon_Bonnat property:country_of_citizenship ?x }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q15416 Q15961987 Q502895
USER
Which people are present in max number of television programs or television genres ?
(c(Q502895),P1441,c(Q15416)|c(Q15961987))
action argmax
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) ?l WHERE { VALUES ( ?r ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } . ?d rdf:type ?r } GROUP BY ?l } . FILTER ( ?c = ?m ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?z WHERE { { ?z property:P1441 ?j . ?z rdf:type ontology:Q502895 . ?j rdf:type ontology:Q15416 } UNION { ?z property:P1441 ?j . ?z rdf:type ontology:Q502895 . ?j rdf:type ontology:Q15961987 } } GROUP BY ?z } } }
action argmax
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'television genre'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) ?l WHERE { VALUES ( ?r ) { ( ontology:television_program ) ( ontology:television_genre ) } . ?d rdf:type ?r } GROUP BY ?l } . FILTER ( ?c = ?m ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?z WHERE { { ?z property:present_in_work ?j . ?z rdf:type ontology:common_name . ?j rdf:type ontology:television_program } UNION { ?z property:present_in_work ?j . ?z rdf:type ontology:common_name . ?j rdf:type ontology:television_genre } } GROUP BY ?z } } }
[]
television program television genre common name
Q32295
SYSTEM
Michael J. Massimino
Q32295
(c(Q502895),P1441,c(Q15416)|c(Q15961987))
action argmax
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
[ANSWER] is present in max number of television programs or television genres
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) ?l WHERE { VALUES ( ?r ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } . ?d rdf:type ?r } GROUP BY ?l } . FILTER ( ?c = ?m ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?z WHERE { { ?z property:P1441 ?j . ?z rdf:type ontology:Q502895 . ?j rdf:type ontology:Q15416 } UNION { ?z property:P1441 ?j . ?z rdf:type ontology:Q502895 . ?j rdf:type ontology:Q15961987 } } GROUP BY ?z } } }
Michael J. Massimino
Michael J. Massimino is present in max number of television programs or television genres
Michael J. Massimino
action argmax
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'television genre'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) ?l WHERE { VALUES ( ?r ) { ( ontology:television_program ) ( ontology:television_genre ) } . ?d rdf:type ?r } GROUP BY ?l } . FILTER ( ?c = ?m ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?z WHERE { { ?z property:present_in_work ?j . ?z rdf:type ontology:common_name . ?j rdf:type ontology:television_program } UNION { ?z property:present_in_work ?j . ?z rdf:type ontology:common_name . ?j rdf:type ontology:television_genre } } GROUP BY ?z } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q56061
USER
How many administrative territories are the birthplace of that person ?
(Q32295,P19,c(Q56061))
action count
action filter_type
action find
entity Q32295
relation P19
type Q56061
['Q32295', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q32295 property:P19 ?i . ?i rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Michael J. Massimino
relation place of birth
type administrative territorial entity
['Michael J. Massimino', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Michael_J._Massimino property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q60
(Q32295,P19,c(Q56061))
action count
action filter_type
action find
entity Q32295
relation P19
type Q56061
[ANSWER]
['Q32295', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q32295 property:P19 ?i . ?i rdf:type ontology:Q56061 }
New York City
1
action count
action filter_type
action find
entity Michael J. Massimino
relation place of birth
type administrative territorial entity
['Michael J. Massimino', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Michael_J._Massimino property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1317071 Q3059786
P27
Q15617994
USER
Which administrative territories are the native countriesof Eugène Cottin or Fausto Barbolini ?
OR((Q3059786,P27,c(Q15617994)), (Q1317071,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3059786
relation P27
action find
entity Q1317071
relation P27
type Q15617994
{'OR': [['Q3059786', 'P27', {'concept': 'Q15617994'}], ['Q1317071', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3059786 property:P27 ?i } UNION { resource:Q1317071 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
Fausto Barbolini Eugène Cottin
action filter_type
action union
action find
entity Eugène Cottin
relation country of citizenship
action find
entity Fausto Barbolini
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eugène Cottin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Fausto Barbolini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Eugène_Cottin property:country_of_citizenship ?i } UNION { resource:Fausto_Barbolini property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
OR((Q3059786,P27,c(Q15617994)), (Q1317071,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3059786
relation P27
action find
entity Q1317071
relation P27
type Q15617994
[ANSWERS] are the native countriesof Eugène Cottin or Fausto Barbolini
{'OR': [['Q3059786', 'P27', {'concept': 'Q15617994'}], ['Q1317071', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3059786 property:P27 ?i } UNION { resource:Q1317071 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
France Italy
France and Italy are the native countriesof Eugène Cottin or Fausto Barbolini
France Italy
action filter_type
action union
action find
entity Eugène Cottin
relation country of citizenship
action find
entity Fausto Barbolini
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eugène Cottin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Fausto Barbolini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Eugène_Cottin property:country_of_citizenship ?i } UNION { resource:Fausto_Barbolini property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1317071
P641
Q349
USER
Which sport did Fausto Barbolini participate in ?
(Q142,P641,c(Q349)) (Q38,P641,c(Q349))
action filter_type
action find
entity Q1317071
relation P641
type Q349
['Q142', 'P641', {'concept': 'Q349'}] ['Q38', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q1317071 property:P641 ?g . ?g rdf:type ontology:Q349 }
Fausto Barbolini
action filter_type
action find
entity Fausto Barbolini
relation sport
type sport
['France', 'sport', {'concept': 'sport'}] ['Italy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Fausto_Barbolini property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q142,P641,c(Q349)) (Q38,P641,c(Q349))
action filter_type
action find
entity Q1317071
relation P641
type Q349
Fausto Barbolini participated in [ANSWER]
['Q142', 'P641', {'concept': 'Q349'}] ['Q38', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q1317071 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
Fausto Barbolini participated in association football
association football
action filter_type
action find
entity Fausto Barbolini
relation sport
type sport
['France', 'sport', {'concept': 'sport'}] ['Italy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Fausto_Barbolini property:sport ?g . ?g rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5032535
P559
Q56061 Q728937 Q34442
USER
Which administrative territories are the endpoints for less number of railroad lines and roads than Cann River ?
(c(Q728937)|c(Q34442),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q5032535
relation P559
type Q728937
type Q34442
[[{'concept': 'Q728937'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ?v . VALUES ( ?v ) { ( ontology:Q34442 ) ( ontology:Q728937 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P559 resource:Q5032535 . { ?t rdf:type ?p . VALUES ( ?p ) { ( ontology:Q728937 ) ( ontology:Q34442 ) } } } } . FILTER ( ?w < ?e ) }
Cann River
action less
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 road
action count
action filter_multi_types
action find_reverse
entity Cann River
relation terminus
type railroad line
type road
[[{'concept': 'railroad line'}, {'concept': 'road'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ?v . VALUES ( ?v ) { ( ontology:road ) ( ontology:railroad_line ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:terminus resource:Cann_River . { ?t rdf:type ?p . VALUES ( ?p ) { ( ontology:railroad_line ) ( ontology:road ) } } } } . FILTER ( ?w < ?e ) }
[]
administrative territorial entity railroad line road
Q1085 Q649 Q65
SYSTEM
Prague, Moscow, Los Angeles
Q938820 Q9832 Q3051477 Q1020217 Q3112707 Q11851639 Q23436 Q837211 Q69639 Q1017610 Q10084 Q375314 Q12439 Q7567083 Q541055 Q723164 Q82490 Q4825403 Q172157 Q575557 Q985313 Q23311 Q687333 Q932159 Q49550 Q38511 Q3469728 Q796625 Q185453 Q588804 Q130191 Q3001 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 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 Q1318695 Q1248150 Q2073801 Q1781385 Q1759693 Q369947 Q84 Q2300663 Q2132 Q2703030 Q2133814 Q794802 Q7944369 Q646784 Q79499 Q184383 Q6275457 Q375905 Q263954 Q10561690 Q12892 Q643160 Q6816 Q1735 Q17872 Q129610 Q766594 Q466054 Q953081 Q180717 Q2086787 Q79804 Q895452 Q40325 Q1229951 Q953719 Q580016 Q2290 Q244289 Q237253 Q485186 Q588417 Q634172 Q146659 Q522362 Q790938 Q530309 Q865872 Q65 Q1085
(c(Q728937)|c(Q34442),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q5032535
relation P559
type Q728937
type Q34442
[ANSWERS] are the endpoints for less number of railroad lines and roads than Cann River
[[{'concept': 'Q728937'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ?v . VALUES ( ?v ) { ( ontology:Q34442 ) ( ontology:Q728937 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P559 resource:Q5032535 . { ?t rdf:type ?p . VALUES ( ?p ) { ( ontology:Q728937 ) ( ontology:Q34442 ) } } } } . FILTER ( ?w < ?e ) }
Virrat Eindhoven Ellewoutsdijk Minehead Sedbury Annalankangas Edinburgh Scheveningen Göschenen Horgoš Vlissingen Folkestone Detroit South Drain 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 Paramaribo 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 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 Apoera 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 Antwerp Farnham Ulan-Ude Innsbruck Alice Springs Galway Bewdley Mahdia Orivesi Sousse Manitou Springs Sitka Bowling, West Dunbartonshire Springfield L'Estaque South Haven Albina Porsgrunn Athis-Mons Great Yarmouth Key West Sewell, Chile Banihal Clapham Bad Säckingen Aviemore Karkkila Birstall Los Angeles Prague
Prague, Moscow and Los Angeles are the endpoints for less number of railroad lines and roads than Cann River
Prague Moscow Los Angeles
action less
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 road
action count
action filter_multi_types
action find_reverse
entity Cann River
relation terminus
type railroad line
type road
[[{'concept': 'railroad line'}, {'concept': 'road'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ?v . VALUES ( ?v ) { ( ontology:road ) ( ontology:railroad_line ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:terminus resource:Cann_River . { ?t rdf:type ?p . VALUES ( ?p ) { ( ontology:railroad_line ) ( ontology:road ) } } } } . FILTER ( ?w < ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1729
P559
Q56061 Q728937 Q34442
USER
And what about Erfurt?
(c(Q728937)|c(Q34442),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q1729
relation P559
type Q728937
type Q34442
[[{'concept': 'Q728937'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?b ) WHERE { { ?q property:P559 ?w . ?w rdf:type ontology:Q56061 . ?q rdf:type ontology:Q728937 } UNION { ?w rdf:type ontology:Q56061 . ?q rdf:type ontology:Q34442 . ?q property:P559 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P559 resource:Q1729 . { { ?d rdf:type ontology:Q728937 } UNION { ?d rdf:type ontology:Q34442 } } } } . FILTER ( ?b < ?a ) }
Erfurt
action less
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 road
action count
action filter_multi_types
action find_reverse
entity Erfurt
relation terminus
type railroad line
type road
[[{'concept': 'railroad line'}, {'concept': 'road'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?b ) WHERE { { ?q property:terminus ?w . ?w rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:railroad_line } UNION { ?w rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:road . ?q property:terminus ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:terminus resource:Erfurt . { { ?d rdf:type ontology:railroad_line } UNION { ?d rdf:type ontology:road } } } } . FILTER ( ?b < ?a ) }
[]
administrative territorial entity railroad line road
Q1085 Q649 Q65
SYSTEM
Prague, Moscow, Los Angeles
Q938820 Q9832 Q3051477 Q1020217 Q3112707 Q11851639 Q23436 Q837211 Q69639 Q1017610 Q10084 Q375314 Q12439 Q7567083 Q541055 Q723164 Q82490 Q4825403 Q172157 Q575557 Q985313 Q23311 Q687333 Q932159 Q49550 Q38511 Q3469728 Q796625 Q185453 Q588804 Q130191 Q3001 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 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 Q1318695 Q1248150 Q2073801 Q1781385 Q1759693 Q369947 Q84 Q2300663 Q2132 Q2703030 Q2133814 Q794802 Q7944369 Q646784 Q79499 Q184383 Q6275457 Q375905 Q263954 Q10561690 Q12892 Q643160 Q6816 Q1735 Q17872 Q129610 Q766594 Q466054 Q953081 Q180717 Q2086787 Q79804 Q895452 Q40325 Q1229951 Q953719 Q580016 Q2290 Q244289 Q237253 Q485186 Q588417 Q634172 Q146659 Q522362 Q790938 Q530309 Q865872 Q65 Q1085
(c(Q728937)|c(Q34442),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q1729
relation P559
type Q728937
type Q34442
[ANSWERS]
[[{'concept': 'Q728937'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?b ) WHERE { { ?q property:P559 ?w . ?w rdf:type ontology:Q56061 . ?q rdf:type ontology:Q728937 } UNION { ?w rdf:type ontology:Q56061 . ?q rdf:type ontology:Q34442 . ?q property:P559 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P559 resource:Q1729 . { { ?d rdf:type ontology:Q728937 } UNION { ?d rdf:type ontology:Q34442 } } } } . FILTER ( ?b < ?a ) }
Virrat Eindhoven Ellewoutsdijk Minehead Sedbury Annalankangas Edinburgh Scheveningen Göschenen Horgoš Vlissingen Folkestone Detroit South Drain 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 Paramaribo 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 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 Apoera 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 Antwerp Farnham Ulan-Ude Innsbruck Alice Springs Galway Bewdley Mahdia Orivesi Sousse Manitou Springs Sitka Bowling, West Dunbartonshire Springfield L'Estaque South Haven Albina Porsgrunn Athis-Mons Great Yarmouth Key West Sewell, Chile Banihal Clapham Bad Säckingen Aviemore Karkkila Birstall Los Angeles Prague
Prague Moscow Los Angeles
action less
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 road
action count
action filter_multi_types
action find_reverse
entity Erfurt
relation terminus
type railroad line
type road
[[{'concept': 'railroad line'}, {'concept': 'road'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?b ) WHERE { { ?q property:terminus ?w . ?w rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:railroad_line } UNION { ?w rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:road . ?q property:terminus ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:terminus resource:Erfurt . { { ?d rdf:type ontology:railroad_line } UNION { ?d rdf:type ontology:road } } } } . FILTER ( ?b < ?a ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q64
P190
Q56061
USER
Are Berlin sister town of those ones ?
(Q64,P190,Q1085) (Q64,P190,Q649) (Q64,P190,Q65)
action is_in
entity prev_answer
action find
entity Q64
relation P190
['Q64', 'P190', 'Q1085'] ['Q64', 'P190', 'Q649'] ['Q64', 'P190', 'Q65']
ASK WHERE { VALUES ( ?e ) { ( resource:Q938820 ) ( resource:Q9832 ) ( resource:Q3051477 ) } . resource:Q64 property:P190 ?e }
Berlin
action is_in
entity prev_answer
action find
entity Berlin
relation sister city
['Berlin', 'sister city', 'Prague'] ['Berlin', 'sister city', 'Moscow'] ['Berlin', 'sister city', 'Los Angeles']
ASK WHERE { VALUES ( ?e ) { ( resource:Virrat ) ( resource:Eindhoven ) ( resource:Ellewoutsdijk ) } . resource:Berlin property:sister_city ?e }
[]
administrative territorial entity
SYSTEM
YES
(Q64,P190,Q1085) (Q64,P190,Q649) (Q64,P190,Q65)
action is_in
entity prev_answer
action find
entity Q64
relation P190
[ANSWER]
['Q64', 'P190', 'Q1085'] ['Q64', 'P190', 'Q649'] ['Q64', 'P190', 'Q65']
ASK WHERE { VALUES ( ?e ) { ( resource:Q938820 ) ( resource:Q9832 ) ( resource:Q3051477 ) } . resource:Q64 property:P190 ?e }
Yes
action is_in
entity prev_answer
action find
entity Berlin
relation sister city
['Berlin', 'sister city', 'Prague'] ['Berlin', 'sister city', 'Moscow'] ['Berlin', 'sister city', 'Los Angeles']
ASK WHERE { VALUES ( ?e ) { ( resource:Virrat ) ( resource:Eindhoven ) ( resource:Ellewoutsdijk ) } . resource:Berlin property:sister_city ?e }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3059786 Q142
P27
Q15617994
USER
Is France the native country of Eugène Cottin ?
(Q3059786,P27,Q142)
action is_in
entity Q142
action find
entity Q3059786
relation P27
['Q3059786', 'P27', 'Q142']
ASK WHERE { resource:Q3059786 property:P27 resource:Q142 }
Eugène Cottin France
action is_in
entity France
action find
entity Eugène Cottin
relation country of citizenship
['Eugène Cottin', 'country of citizenship', 'France']
ASK WHERE { resource:Eugène_Cottin property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3059786,P27,Q142)
action is_in
entity Q142
action find
entity Q3059786
relation P27
[ANSWER]
['Q3059786', 'P27', 'Q142']
ASK WHERE { resource:Q3059786 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Eugène Cottin
relation country of citizenship
['Eugène Cottin', 'country of citizenship', 'France']
ASK WHERE { resource:Eugène_Cottin property:country_of_citizenship resource:France }
[]