Simple Question (Direct)
Simple Question
Q1242626
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Jacques Baumel ?
(Q1242626,P27,c(Q15617994))
action filter_type
action find
entity Q1242626
relation P27
type Q15617994
['Q1242626', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1242626 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Jacques Baumel
action filter_type
action find
entity Jacques Baumel
relation country of citizenship
type designation for an administrative territorial entity
['Jacques Baumel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jacques_Baumel property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1242626,P27,c(Q15617994))
action filter_type
action find
entity Q1242626
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of Jacques Baumel
['Q1242626', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1242626 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
France
The France is the country of citizenship of Jacques Baumel
France
action filter_type
action find
entity Jacques Baumel
relation country of citizenship
type designation for an administrative territorial entity
['Jacques Baumel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jacques_Baumel property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1242626
P39
Q12737077
USER
Which occupations were a position held by Jacques Baumel ?
(Q1242626,P39,c(Q12737077))
action filter_type
action find
entity Q1242626
relation P39
type Q12737077
['Q1242626', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1242626 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Jacques Baumel
action filter_type
action find
entity Jacques Baumel
relation position held
type occupation
['Jacques Baumel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Jacques_Baumel property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q14828018 Q3044918 Q20177062
SYSTEM
member of the Senate of France, member of the French National Assembly, senator of community
Q14828018 Q382617 Q3044918 Q20177062
(Q1242626,P39,c(Q12737077))
action filter_type
action find
entity Q1242626
relation P39
type Q12737077
[ANSWERS]
['Q1242626', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1242626 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
member of the Senate of France maire member of the French National Assembly senator of community
Member of the Senate of France, member of the French National Assembly and senator of community were a position held by Jacques Baumel
member of the Senate of France member of the French National Assembly senator of community
action filter_type
action find
entity Jacques Baumel
relation position held
type occupation
['Jacques Baumel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Jacques_Baumel property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q14828018 Q3044918 Q20177062
P1001
Q15617994
USER
Which administrative territories are judicially linked to member of the Senate of France, member of the French National Assembly and senator of community ?
(Q14828018,P1001,c(Q15617994)) (Q3044918,P1001,c(Q15617994)) (Q20177062,P1001,c(Q15617994))
action union
action filter_type
action find
entity Q14828018
relation P1001
type Q15617994
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
action filter_type
action find
entity Q20177062
relation P1001
type Q15617994
['Q14828018', 'P1001', {'concept': 'Q15617994'}] ['Q3044918', 'P1001', {'concept': 'Q15617994'}] ['Q20177062', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?r property:P1001 ?y . VALUES ( ?r ) { ( resource:Q3044918 ) ( resource:Q14828018 ) } }
member of the Senate of France member of the French National Assembly senator of community
action union
action filter_type
action find
entity member of the Senate of France
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity senator of community
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Senate of France', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['senator of community', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?r property:applies_to_jurisdiction ?y . VALUES ( ?r ) { ( resource:member_of_the_French National_Assembly ) ( resource:member_of_the_Senate_of_France ) } }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q14828018,P1001,c(Q15617994)) (Q3044918,P1001,c(Q15617994)) (Q20177062,P1001,c(Q15617994))
action union
action filter_type
action find
entity Q14828018
relation P1001
type Q15617994
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
action filter_type
action find
entity Q20177062
relation P1001
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are judicially linked to member of the Senate of [ANSWER], member of the French National Assembly and senator of community
['Q14828018', 'P1001', {'concept': 'Q15617994'}] ['Q3044918', 'P1001', {'concept': 'Q15617994'}] ['Q20177062', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?r property:P1001 ?y . VALUES ( ?r ) { ( resource:Q3044918 ) ( resource:Q14828018 ) } }
France France France
France, France and France are judicially linked to member of the Senate of France, member of the French National Assembly and senator of community
France France France
action union
action filter_type
action find
entity member of the Senate of France
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity senator of community
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Senate of France', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['senator of community', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?r property:applies_to_jurisdiction ?y . VALUES ( ?r ) { ( resource:member_of_the_French National_Assembly ) ( resource:member_of_the_Senate_of_France ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1242626
P937
Q56061
USER
What is the work location of Jacques Baumel ?
(Q1242626,P937,c(Q56061))
action filter_type
action find
entity Q1242626
relation P937
type Q56061
['Q1242626', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1242626 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Jacques Baumel
action filter_type
action find
entity Jacques Baumel
relation work location
type administrative territorial entity
['Jacques Baumel', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Jacques_Baumel property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q1242626,P937,c(Q56061))
action filter_type
action find
entity Q1242626
relation P937
type Q56061
The work location of Jacques Baumel is in [ANSWER]
['Q1242626', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1242626 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Paris
The work location of Jacques Baumel is in Paris
Paris
action filter_type
action find
entity Jacques Baumel
relation work location
type administrative territorial entity
['Jacques Baumel', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Jacques_Baumel property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5479373
Q56061
USER
And also tell me about Eustasio Amilibia?
(Q5479373,P937,c(Q56061))
action filter_type
action find
entity Q5479373
relation P937
type Q56061
['Q5479373', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q5479373 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Eustasio Amilibia
action filter_type
action find
entity Eustasio Amilibia
relation work location
type administrative territorial entity
['Eustasio Amilibia', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Eustasio_Amilibia property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q10313
SYSTEM
Donostia/San Sebastián
Q10313
(Q5479373,P937,c(Q56061))
action filter_type
action find
entity Q5479373
relation P937
type Q56061
[ANSWER]
['Q5479373', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q5479373 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Donostia/San Sebastián
Donostia/San Sebastián
action filter_type
action find
entity Eustasio Amilibia
relation work location
type administrative territorial entity
['Eustasio Amilibia', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Eustasio_Amilibia property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q81177
P609
Q56061 Q83620 Q34442
USER
How many administrative territories are the destinations of more number of thoroughfares and roads than Leersum ?
(c(Q83620)|c(Q34442),P609,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q81177
relation P609
type Q83620
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { FILTER ( ?g > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P609 resource:Q81177 . { ?y rdf:type ?j . VALUES ( ?j ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } } } } . { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?e ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?v rdf:type ?e } GROUP BY ?t } }
Leersum
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
action count
action filter_multi_types
action find_reverse
entity Leersum
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { FILTER ( ?g > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:terminus_location resource:Leersum . { ?y rdf:type ?j . VALUES ( ?j ) { ( ontology:thoroughfare ) ( ontology:road ) } } } } . { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?e ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?v rdf:type ?e } GROUP BY ?t } }
[]
administrative territorial entity thoroughfare road
SYSTEM
85
Q803 Q599331 Q180139 Q38511 Q23311 Q12443 Q83178 Q10014 Q4093 Q832938 Q488924 Q748747 Q9920 Q131335 Q923799 Q749 Q960454 Q675049 Q3532 Q79889 Q755600 Q506586 Q3239732 Q1948672 Q502312 Q793 Q545457 Q3322237 Q23436 Q81137 Q828753 Q26430 Q192896 Q992 Q8686 Q33518 Q756103 Q170263 Q472 Q34863 Q934511 Q2056925 Q1007168 Q780532 Q184587 Q755106 Q959585 Q956 Q174224 Q9832 Q179224 Q26421 Q631666 Q58900 Q44989 Q2543653 Q12439 Q2906589 Q49225 Q2549819 Q937736 Q2278965 Q8385 Q18681973 Q1310 Q727 Q989919 Q990130 Q1988986 Q34370 Q2181173 Q28237 Q24454 Q75967 Q2076290 Q40844 Q60705 Q49267 Q369947 Q755773 Q975 Q2659606 Q1017 Q505601 Q1085
(c(Q83620)|c(Q34442),P609,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q81177
relation P609
type Q83620
type Q34442
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { FILTER ( ?g > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P609 resource:Q81177 . { ?y rdf:type ?j . VALUES ( ?j ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } } } } . { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?e ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?v rdf:type ?e } GROUP BY ?t } }
Utrecht Biddinghuizen Hradec Králové Turku City of London Marquette Almere Kampen Glasgow Bodegraven Oceanside New Buffalo Haarlem Sioux Falls Santee Groningen Holyport Flandreau Hemel Hempstead Casa Grande Milford Newark Sulphur Carlin Maasdijk Zwolle Nieuw-Vennep Venlo Edinburgh Olomouc Coronado Tilburg Carlisle Amersfoort Shanghai Dover Lewes Chester Sofia Oklahoma City Papendrecht Tripp IJsselmuiden Negaunee Grand Rapids Rehoboth Beach Streefkerk Beijing Wilmington Eindhoven Dover Dordrecht Holtville Doncaster Tulsa Den Hoorn, South Holland Detroit Blijham Reno Seaton Burn Hot Springs Henryetta Ostrava Kedonperä Arnhem Amsterdam Farmington Hills Hook of Holland Mitchell Rotterdam Bellingwolde Lansing Troisvierges Schoondijke Wells Breda Emmeloord Henderson El Cajon Harrington San Antonio Caldwell Aachen Wassenaar Prague
85
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
action count
action filter_multi_types
action find_reverse
entity Leersum
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { FILTER ( ?g > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:terminus_location resource:Leersum . { ?y rdf:type ?j . VALUES ( ?j ) { ( ontology:thoroughfare ) ( ontology:road ) } } } } . { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?e ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?v rdf:type ?e } GROUP BY ?t } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q20203420
P609
Q56061 Q83620 Q34442
USER
And what about Heumen?
(c(Q83620)|c(Q34442),P609,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q20203420
relation P609
type Q83620
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?r ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?d rdf:type ?r } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:P609 resource:Q20203420 . { { ?t rdf:type ontology:Q83620 } UNION { ?t rdf:type ontology:Q34442 } } } } . FILTER ( ?j > ?z ) }
Heumen
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
action count
action filter_multi_types
action find_reverse
entity Heumen
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?r ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?d rdf:type ?r } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:terminus_location resource:Heumen . { { ?t rdf:type ontology:thoroughfare } UNION { ?t rdf:type ontology:road } } } } . FILTER ( ?j > ?z ) }
[]
administrative territorial entity thoroughfare road
SYSTEM
85
Q803 Q599331 Q180139 Q38511 Q23311 Q12443 Q83178 Q10014 Q4093 Q832938 Q488924 Q748747 Q9920 Q131335 Q923799 Q749 Q960454 Q675049 Q3532 Q79889 Q755600 Q506586 Q3239732 Q1948672 Q502312 Q793 Q545457 Q3322237 Q23436 Q81137 Q828753 Q26430 Q192896 Q992 Q8686 Q33518 Q756103 Q170263 Q472 Q34863 Q934511 Q2056925 Q1007168 Q780532 Q184587 Q755106 Q959585 Q956 Q174224 Q9832 Q179224 Q26421 Q631666 Q58900 Q44989 Q2543653 Q12439 Q2906589 Q49225 Q2549819 Q937736 Q2278965 Q8385 Q18681973 Q1310 Q727 Q989919 Q990130 Q1988986 Q34370 Q2181173 Q28237 Q24454 Q75967 Q2076290 Q40844 Q60705 Q49267 Q369947 Q755773 Q975 Q2659606 Q1017 Q505601 Q1085
(c(Q83620)|c(Q34442),P609,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q20203420
relation P609
type Q83620
type Q34442
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?r ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?d rdf:type ?r } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:P609 resource:Q20203420 . { { ?t rdf:type ontology:Q83620 } UNION { ?t rdf:type ontology:Q34442 } } } } . FILTER ( ?j > ?z ) }
Utrecht Biddinghuizen Hradec Králové Turku City of London Marquette Almere Kampen Glasgow Bodegraven Oceanside New Buffalo Haarlem Sioux Falls Santee Groningen Holyport Flandreau Hemel Hempstead Casa Grande Milford Newark Sulphur Carlin Maasdijk Zwolle Nieuw-Vennep Venlo Edinburgh Olomouc Coronado Tilburg Carlisle Amersfoort Shanghai Dover Lewes Chester Sofia Oklahoma City Papendrecht Tripp IJsselmuiden Negaunee Grand Rapids Rehoboth Beach Streefkerk Beijing Wilmington Eindhoven Dover Dordrecht Holtville Doncaster Tulsa Den Hoorn, South Holland Detroit Blijham Reno Seaton Burn Hot Springs Henryetta Ostrava Kedonperä Arnhem Amsterdam Farmington Hills Hook of Holland Mitchell Rotterdam Bellingwolde Lansing Troisvierges Schoondijke Wells Breda Emmeloord Henderson El Cajon Harrington San Antonio Caldwell Aachen Wassenaar Prague
85
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
action count
action filter_multi_types
action find_reverse
entity Heumen
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?r ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?d rdf:type ?r } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:terminus_location resource:Heumen . { { ?t rdf:type ontology:thoroughfare } UNION { ?t rdf:type ontology:road } } } } . FILTER ( ?j > ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12515
P840
Q15617994 Q2342494 Q166142
USER
How many administrative territories are around the same number of collectables and applications set in as Gard ?
(c(Q2342494)|c(Q166142),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q12515
relation P840
type Q2342494
type Q166142
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?k WHERE { VALUES ( ?i ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } . ?c rdf:type ?i } GROUP BY ?k } . FILTER ( ?r = ?h ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:P840 resource:Q12515 . { { ?x rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q166142 } } } } }
Gard
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Gard
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?k WHERE { VALUES ( ?i ) { ( ontology:collectable ) ( ontology:application ) } . ?c rdf:type ?i } GROUP BY ?k } . FILTER ( ?r = ?h ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:narrative_location resource:Gard . { { ?x rdf:type ontology:collectable } UNION { ?x rdf:type ontology:application } } } } }
[]
designation for an administrative territorial entity collectable application
SYSTEM
145
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q55 Q1948 Q145 Q262 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q43 Q790 Q796 Q794 Q884 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q32 Q31 Q37 Q36 Q34 Q928 Q39 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q2342494)|c(Q166142),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q12515
relation P840
type Q2342494
type Q166142
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?k WHERE { VALUES ( ?i ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } . ?c rdf:type ?i } GROUP BY ?k } . FILTER ( ?r = ?h ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:P840 resource:Q12515 . { { ?x rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q166142 } } } } }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime Netherlands Manitoba United Kingdom Algeria Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Turkey Haiti Iraq Iran South Korea Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Luxembourg Belgium Lithuania Poland Sweden Philippines Switzerland Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
145
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Gard
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?k WHERE { VALUES ( ?i ) { ( ontology:collectable ) ( ontology:application ) } . ?c rdf:type ?i } GROUP BY ?k } . FILTER ( ?r = ?h ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:narrative_location resource:Gard . { { ?x rdf:type ontology:collectable } UNION { ?x rdf:type ontology:application } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q189
P840
Q15617994 Q2342494 Q166142
USER
And also tell me about Iceland?
(c(Q2342494)|c(Q166142),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q189
relation P840
type Q2342494
type Q166142
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?m WHERE { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P840 resource:Q189 . { { ?l rdf:type ontology:Q2342494 } UNION { ?l rdf:type ontology:Q166142 } } } } . FILTER ( ?u = ?g ) }
Iceland
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Iceland
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?m WHERE { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:collectable ) ( ontology:application ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:narrative_location resource:Iceland . { { ?l rdf:type ontology:collectable } UNION { ?l rdf:type ontology:application } } } } . FILTER ( ?u = ?g ) }
[]
designation for an administrative territorial entity collectable application
SYSTEM
145
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q55 Q1948 Q145 Q262 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q43 Q790 Q796 Q794 Q884 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q32 Q31 Q37 Q36 Q34 Q928 Q39 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q2342494)|c(Q166142),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q189
relation P840
type Q2342494
type Q166142
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?m WHERE { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P840 resource:Q189 . { { ?l rdf:type ontology:Q2342494 } UNION { ?l rdf:type ontology:Q166142 } } } } . FILTER ( ?u = ?g ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime Netherlands Manitoba United Kingdom Algeria Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Turkey Haiti Iraq Iran South Korea Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Luxembourg Belgium Lithuania Poland Sweden Philippines Switzerland Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
145
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Iceland
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?m WHERE { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:collectable ) ( ontology:application ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:narrative_location resource:Iceland . { { ?l rdf:type ontology:collectable } UNION { ?l rdf:type ontology:application } } } } . FILTER ( ?u = ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10313
P190
Q56061
USER
Which administrative territories are partner town of Donostia/San Sebastián ?
(c(Q56061),P190,Q10313)
action filter_type
action find
entity Q10313
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q10313']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q10313 property:P190 ?u }
Donostia/San Sebastián
action filter_type
action find
entity Donostia/San Sebastián
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Donostia/San Sebastián']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Donostia/San_Sebastián property:sister_city ?u }
[]
administrative territorial entity
Q3376 Q43382 Q129352
SYSTEM
Trento, Plymouth, Stepanakert
Q3376 Q49225 Q43382 Q129352 Q984646
(c(Q56061),P190,Q10313)
action filter_type
action find
entity Q10313
relation P190
type Q56061
[ANSWERS] are partner town of Donostia/San Sebastián
[{'concept': 'Q56061'}, 'P190', 'Q10313']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q10313 property:P190 ?u }
Trento Reno Plymouth Stepanakert Jiutepec
Trento, Plymouth and Stepanakert are partner town of Donostia/San Sebastián
Trento Plymouth Stepanakert
action filter_type
action find
entity Donostia/San Sebastián
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Donostia/San Sebastián']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Donostia/San_Sebastián property:sister_city ?u }
[]
Clarification
Simple Question|Single Entity|Indirect
Q43382
P276
Q1190554
USER
What is situated at that administrative territory ?
(c(Q1190554),P276,Q43382)
action filter_type
action find_reverse
entity Q43382
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q43382']
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q43382 . ?t rdf:type ontology:Q1190554 }
Plymouth
action filter_type
action find_reverse
entity Plymouth
relation location
type event
[{'concept': 'event'}, 'location', 'Plymouth']
SELECT DISTINCT ?t WHERE { ?t property:location resource:Plymouth . ?t rdf:type ontology:event }
[]
event
Clarification for simple ques.
Q129352
SYSTEM
Did you mean Stepanakert ?
Q3376 Q43382 Q129352
(c(Q1190554),P276,Q3376) (c(Q1190554),P276,Q43382) (c(Q1190554),P276,Q129352)
[ANSWER]
[{'concept': 'Q1190554'}, 'P276', 'Q3376'] [{'concept': 'Q1190554'}, 'P276', 'Q43382'] [{'concept': 'Q1190554'}, 'P276', 'Q129352']
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q43382 . ?t rdf:type ontology:Q1190554 }
Trento Plymouth Stepanakert
Did you mean Stepanakert ?
Stepanakert
[{'concept': 'event'}, 'location', 'Trento'] [{'concept': 'event'}, 'location', 'Plymouth'] [{'concept': 'event'}, 'location', 'Stepanakert']
SELECT DISTINCT ?t WHERE { ?t property:location resource:Plymouth . ?t rdf:type ontology:event }
[]
Simple Question (Coreferenced)
USER
No, I meant Plymouth. Could you tell me the answer for that?
(c(Q1190554),P276,Q43382)
Q43382
[{'concept': 'Q1190554'}, 'P276', 'Q43382']
[{'concept': 'event'}, 'location', 'Plymouth']
[]
Q1438686
SYSTEM
Battle of Plymouth
Q1438686
(c(Q1190554),P276,Q43382)
action filter_type
action find_reverse
entity Q43382
relation P276
type Q1190554
[ANSWER] is situated at that administrative territory
[{'concept': 'Q1190554'}, 'P276', 'Q43382']
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q43382 . ?t rdf:type ontology:Q1190554 }
Battle of Plymouth
Battle of Plymouth is situated at that administrative territory
Battle of Plymouth
action filter_type
action find_reverse
entity Plymouth
relation location
type event
[{'concept': 'event'}, 'location', 'Plymouth']
SELECT DISTINCT ?t WHERE { ?t property:location resource:Plymouth . ?t rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1438686
P276
Q56061
USER
Which administrative territory is the place where that event is located ?
(Q1438686,P276,c(Q56061))
action filter_type
action find
entity Q1438686
relation P276
type Q56061
['Q1438686', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1438686 property:P276 ?x . ?x rdf:type ontology:Q56061 }
Battle of Plymouth
action filter_type
action find
entity Battle of Plymouth
relation location
type administrative territorial entity
['Battle of Plymouth', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Battle_of_Plymouth property:location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q43382
SYSTEM
Plymouth
Q43382
(Q1438686,P276,c(Q56061))
action filter_type
action find
entity Q1438686
relation P276
type Q56061
[ANSWER] is the place where that event is located
['Q1438686', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1438686 property:P276 ?x . ?x rdf:type ontology:Q56061 }
Plymouth
Plymouth is the place where that event is located
Plymouth
action filter_type
action find
entity Battle of Plymouth
relation location
type administrative territorial entity
['Battle of Plymouth', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Battle_of_Plymouth property:location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]