Simple Question (Direct)
Simple Question
Q3619417
P1412
Q34770
USER
Which language is spoken by Antonio Ciccone ?
(Q3619417,P1412,c(Q34770))
action filter_type
action find
entity Q3619417
relation P1412
type Q34770
['Q3619417', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q3619417 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
Antonio Ciccone
action filter_type
action find
entity Antonio Ciccone
relation languages spoken, written or signed
type language
['Antonio Ciccone', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Antonio_Ciccone property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3619417,P1412,c(Q34770))
action filter_type
action find
entity Q3619417
relation P1412
type Q34770
The [ANSWER] is spoken by Antonio Ciccone
['Q3619417', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q3619417 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
Italian
The Italian is spoken by Antonio Ciccone
Italian
action filter_type
action find
entity Antonio Ciccone
relation languages spoken, written or signed
type language
['Antonio Ciccone', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Antonio_Ciccone property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3619417
P19
Q15617994
USER
Which administrative territory was Antonio Ciccone born in ?
(Q3619417,P19,c(Q15617994))
action filter_type
action find
entity Q3619417
relation P19
type Q15617994
['Q3619417', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3619417 property:P19 ?i . ?i rdf:type ontology:Q15617994 }
Antonio Ciccone
action filter_type
action find
entity Antonio Ciccone
relation place of birth
type designation for an administrative territorial entity
['Antonio Ciccone', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Antonio_Ciccone property:place_of_birth ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q72619
SYSTEM
Saviano
Q72619
(Q3619417,P19,c(Q15617994))
action filter_type
action find
entity Q3619417
relation P19
type Q15617994
Antonio Ciccone was born in [ANSWER]
['Q3619417', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3619417 property:P19 ?i . ?i rdf:type ontology:Q15617994 }
Saviano
Antonio Ciccone was born in Saviano
Saviano
action filter_type
action find
entity Antonio Ciccone
relation place of birth
type designation for an administrative territorial entity
['Antonio Ciccone', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Antonio_Ciccone property:place_of_birth ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q72619
P47
Q15617994
USER
Which administrative territories share border with that one ?
(c(Q15617994),P47,Q72619)
action filter_type
action find
entity Q72619
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q72619']
SELECT DISTINCT ?s WHERE { resource:Q72619 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Saviano
action filter_type
action find
entity Saviano
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Saviano']
SELECT DISTINCT ?s WHERE { resource:Saviano property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q72288 Q72666 Q72503
SYSTEM
Nola, Somma Vesuviana, San Giuseppe Vesuviano
Q72503 Q72490 Q72288 Q72666 Q72559
(c(Q15617994),P47,Q72619)
action filter_type
action find
entity Q72619
relation P47
type Q15617994
[ANSWERS] share border with that one
[{'concept': 'Q15617994'}, 'P47', 'Q72619']
SELECT DISTINCT ?s WHERE { resource:Q72619 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
San Giuseppe Vesuviano San Gennaro Vesuviano Nola Somma Vesuviana San Vitaliano
Nola, Somma Vesuviana and San Giuseppe Vesuviano share border with that one
Nola Somma Vesuviana San Giuseppe Vesuviano
action filter_type
action find
entity Saviano
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Saviano']
SELECT DISTINCT ?s WHERE { resource:Saviano property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q72619
P47
Q15617994
USER
Do Saviano have an adjacent border with those ones ?
(Q72619,P47,Q72288) (Q72619,P47,Q72666) (Q72619,P47,Q72503)
action is_in
entity prev_answer
action find
entity Q72619
relation P47
['Q72619', 'P47', 'Q72288'] ['Q72619', 'P47', 'Q72666'] ['Q72619', 'P47', 'Q72503']
ASK WHERE { resource:Q72619 property:P47 ?h . VALUES ( ?h ) { ( resource:Q72503 ) ( resource:Q72490 ) ( resource:Q72288 ) } }
Saviano
action is_in
entity prev_answer
action find
entity Saviano
relation shares border with
['Saviano', 'shares border with', 'Nola'] ['Saviano', 'shares border with', 'Somma Vesuviana'] ['Saviano', 'shares border with', 'San Giuseppe Vesuviano']
ASK WHERE { resource:Saviano property:shares_border_with ?h . VALUES ( ?h ) { ( resource:San_Giuseppe_Vesuviano ) ( resource:San_Gennaro_Vesuviano ) ( resource:Nola ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q72619,P47,Q72288) (Q72619,P47,Q72666) (Q72619,P47,Q72503)
action is_in
entity prev_answer
action find
entity Q72619
relation P47
[ANSWER]
['Q72619', 'P47', 'Q72288'] ['Q72619', 'P47', 'Q72666'] ['Q72619', 'P47', 'Q72503']
ASK WHERE { resource:Q72619 property:P47 ?h . VALUES ( ?h ) { ( resource:Q72503 ) ( resource:Q72490 ) ( resource:Q72288 ) } }
Yes
action is_in
entity prev_answer
action find
entity Saviano
relation shares border with
['Saviano', 'shares border with', 'Nola'] ['Saviano', 'shares border with', 'Somma Vesuviana'] ['Saviano', 'shares border with', 'San Giuseppe Vesuviano']
ASK WHERE { resource:Saviano property:shares_border_with ?h . VALUES ( ?h ) { ( resource:San_Giuseppe_Vesuviano ) ( resource:San_Gennaro_Vesuviano ) ( resource:Nola ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q166142 Q838948
USER
How many administrative territories are the narrative locations of atmost 164 applications and works of art ?
(c(Q166142)|c(Q838948),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
value 164
[[{'concept': 'Q166142'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?z ) WHERE { { ?t property:P840 ?n . ?n rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q838948 } UNION { ?n rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q166142 . ?t property:P840 ?n } } GROUP BY ?n } . FILTER ( ?z <= 164 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
value 164
[[{'concept': 'application'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?z ) WHERE { { ?t property:narrative_location ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:work_of_art } UNION { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:application . ?t property:narrative_location ?n } } GROUP BY ?n } . FILTER ( ?z <= 164 ) }
[]
designation for an administrative territorial entity application work of art
SYSTEM
152
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q55 Q1948 Q145 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q159 Q41 Q155 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 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(Q166142)|c(Q838948),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
value 164
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?z ) WHERE { { ?t property:P840 ?n . ?n rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q838948 } UNION { ?n rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q166142 . ?t property:P840 ?n } } GROUP BY ?n } . FILTER ( ?z <= 164 ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Netherlands Manitoba United Kingdom Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Russia Greece Brazil Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland 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
152
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
value 164
[[{'concept': 'application'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?z ) WHERE { { ?t property:narrative_location ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:work_of_art } UNION { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:application . ?t property:narrative_location ?n } } GROUP BY ?n } . FILTER ( ?z <= 164 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q838948 Q166142
USER
How many administrative territories are atmost 194 works of art or applications set in ?
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 194
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?m ) WHERE { { ?b rdf:type ontology:Q838948 . ?x rdf:type ontology:Q15617994 . ?b property:P840 ?x } UNION { ?b property:P840 ?x . ?x rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q166142 } } GROUP BY ?x } . FILTER ( ?m <= 194 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 194
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?m ) WHERE { { ?b rdf:type ontology:work_of_art . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:narrative_location ?x } UNION { ?b property:narrative_location ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:application } } GROUP BY ?x } . FILTER ( ?m <= 194 ) }
[]
designation for an administrative territorial entity work of art application
SYSTEM
152
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q55 Q1948 Q145 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q159 Q41 Q155 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 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(Q838948)|c(Q166142),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 194
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?m ) WHERE { { ?b rdf:type ontology:Q838948 . ?x rdf:type ontology:Q15617994 . ?b property:P840 ?x } UNION { ?b property:P840 ?x . ?x rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q166142 } } GROUP BY ?x } . FILTER ( ?m <= 194 ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Netherlands Manitoba United Kingdom Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Russia Greece Brazil Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland 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
152
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 194
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?m ) WHERE { { ?b rdf:type ontology:work_of_art . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:narrative_location ?x } UNION { ?b property:narrative_location ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:application } } GROUP BY ?x } . FILTER ( ?m <= 194 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q652
P2439
Q7397 Q502895
USER
How many software and people have Italian as the language associated with it ?
(c(Q7397),P2439,Q652) (c(Q502895),P2439,Q652)
action count
action union
action filter_type
action find_reverse
entity Q652
relation P2439
type Q7397
action filter_type
action find_reverse
entity Q652
relation P2439
type Q502895
[{'concept': 'Q7397'}, 'P2439', 'Q652'] [{'concept': 'Q502895'}, 'P2439', 'Q652']
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { VALUES ( ?o ) { ( ontology:Q7397 ) ( ontology:Q502895 ) } . ?j rdf:type ?o }
Italian
action count
action union
action filter_type
action find_reverse
entity Italian
relation language
type software
action filter_type
action find_reverse
entity Italian
relation language
type common name
[{'concept': 'software'}, 'language', 'Italian'] [{'concept': 'common name'}, 'language', 'Italian']
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { VALUES ( ?o ) { ( ontology:software ) ( ontology:common_name ) } . ?j rdf:type ?o }
[]
software common name
SYSTEM
1 software and 1 people
Q1421571 Q27048749
(c(Q7397),P2439,Q652) (c(Q502895),P2439,Q652)
action count
action union
action filter_type
action find_reverse
entity Q652
relation P2439
type Q7397
action filter_type
action find_reverse
entity Q652
relation P2439
type Q502895
[ANSWER]
[{'concept': 'Q7397'}, 'P2439', 'Q652'] [{'concept': 'Q502895'}, 'P2439', 'Q652']
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { VALUES ( ?o ) { ( ontology:Q7397 ) ( ontology:Q502895 ) } . ?j rdf:type ?o }
Mantis Bug Tracker Davide Anselmi
1 software and 1 people
action count
action union
action filter_type
action find_reverse
entity Italian
relation language
type software
action filter_type
action find_reverse
entity Italian
relation language
type common name
[{'concept': 'software'}, 'language', 'Italian'] [{'concept': 'common name'}, 'language', 'Italian']
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { VALUES ( ?o ) { ( ontology:software ) ( ontology:common_name ) } . ?j rdf:type ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q72619
P20
Q502895
USER
Which people expired at Saviano ?
(c(Q502895),P20,Q72619)
action filter_type
action find_reverse
entity Q72619
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q72619']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q72619 . ?x rdf:type ontology:Q502895 }
Saviano
action filter_type
action find_reverse
entity Saviano
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Saviano']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Saviano . ?x rdf:type ontology:common_name }
[]
common name
Q16591648 Q26853766
SYSTEM
Vincenzo Sorrentino, Clemente De Rosa
Q16591648 Q26853766
(c(Q502895),P20,Q72619)
action filter_type
action find_reverse
entity Q72619
relation P20
type Q502895
[ANSWERS] expired at Saviano
[{'concept': 'Q502895'}, 'P20', 'Q72619']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q72619 . ?x rdf:type ontology:Q502895 }
Vincenzo Sorrentino Clemente De Rosa
Vincenzo Sorrentino and Clemente De Rosa expired at Saviano
Vincenzo Sorrentino Clemente De Rosa
action filter_type
action find_reverse
entity Saviano
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Saviano']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Saviano . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16591648
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q16591648,P27,c(Q15617994))
action filter_type
action find
entity Q16591648
relation P27
type Q15617994
['Q16591648', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q16591648 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Vincenzo Sorrentino
action filter_type
action find
entity Vincenzo Sorrentino
relation country of citizenship
type designation for an administrative territorial entity
['Vincenzo Sorrentino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Vincenzo_Sorrentino property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q26853766
SYSTEM
Did you mean Clemente De Rosa ?
Q16591648 Q26853766
(Q16591648,P27,c(Q15617994)) (Q26853766,P27,c(Q15617994))
[ANSWER]
['Q16591648', 'P27', {'concept': 'Q15617994'}] ['Q26853766', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q16591648 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Vincenzo Sorrentino Clemente De Rosa
Did you mean Clemente De Rosa ?
Clemente De Rosa
['Vincenzo Sorrentino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Clemente De Rosa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Vincenzo_Sorrentino property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Vincenzo Sorrentino. Could you tell me the answer for that?
(Q16591648,P27,c(Q15617994))
Q16591648
['Q16591648', 'P27', {'concept': 'Q15617994'}]
['Vincenzo Sorrentino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q16591648,P27,c(Q15617994))
action filter_type
action find
entity Q16591648
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q16591648', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q16591648 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Italy
Italy is the native country of that person
Italy
action filter_type
action find
entity Vincenzo Sorrentino
relation country of citizenship
type designation for an administrative territorial entity
['Vincenzo Sorrentino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Vincenzo_Sorrentino property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q38 Q189 Q1833
P530
Q15617994
USER
Does that administrative territory have diplomatic relations with Iceland and Wandsbek ?
(Q38,P530,Q189) (Q38,P530,Q1833)
action is_in
entity Q38
action intersection
action find_reverse
entity Q189
relation P530
action find_reverse
entity Q1833
relation P530
['Q38', 'P530', 'Q189'] ['Q38', 'P530', 'Q1833']
ASK WHERE { resource:Q38 property:P530 resource:Q189 . resource:Q38 property:P530 resource:Q1833 }
Italy Iceland Wandsbek
action is_in
entity Italy
action intersection
action find_reverse
entity Iceland
relation diplomatic relation
action find_reverse
entity Wandsbek
relation diplomatic relation
['Italy', 'diplomatic relation', 'Iceland'] ['Italy', 'diplomatic relation', 'Wandsbek']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Iceland . resource:Italy property:diplomatic_relation resource:Wandsbek }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q38,P530,Q189) (Q38,P530,Q1833)
action is_in
entity Q38
action intersection
action find_reverse
entity Q189
relation P530
action find_reverse
entity Q1833
relation P530
[ANSWER]
['Q38', 'P530', 'Q189'] ['Q38', 'P530', 'Q1833']
ASK WHERE { resource:Q38 property:P530 resource:Q189 . resource:Q38 property:P530 resource:Q1833 }
YES and NO respectively
action is_in
entity Italy
action intersection
action find_reverse
entity Iceland
relation diplomatic relation
action find_reverse
entity Wandsbek
relation diplomatic relation
['Italy', 'diplomatic relation', 'Iceland'] ['Italy', 'diplomatic relation', 'Wandsbek']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Iceland . resource:Italy property:diplomatic_relation resource:Wandsbek }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q72666 Q72293 Q4028030
P47
Q15617994
USER
Is Somma Vesuviana bordered by Ottaviano and Mokva ?
(Q72666,P47,Q72293) (Q72666,P47,Q4028030)
action is_in
entity Q72666
action intersection
action find_reverse
entity Q72293
relation P47
action find_reverse
entity Q4028030
relation P47
['Q72666', 'P47', 'Q72293'] ['Q72666', 'P47', 'Q4028030']
ASK WHERE { resource:Q72666 property:P47 resource:Q72293 . resource:Q72666 property:P47 resource:Q4028030 }
Somma Vesuviana Ottaviano Mokva
action is_in
entity Somma Vesuviana
action intersection
action find_reverse
entity Ottaviano
relation shares border with
action find_reverse
entity Mokva
relation shares border with
['Somma Vesuviana', 'shares border with', 'Ottaviano'] ['Somma Vesuviana', 'shares border with', 'Mokva']
ASK WHERE { resource:Somma_Vesuviana property:shares_border_with resource:Ottaviano . resource:Somma_Vesuviana property:shares_border_with resource:Mokva }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q72666,P47,Q72293) (Q72666,P47,Q4028030)
action is_in
entity Q72666
action intersection
action find_reverse
entity Q72293
relation P47
action find_reverse
entity Q4028030
relation P47
[ANSWER]
['Q72666', 'P47', 'Q72293'] ['Q72666', 'P47', 'Q4028030']
ASK WHERE { resource:Q72666 property:P47 resource:Q72293 . resource:Q72666 property:P47 resource:Q4028030 }
YES and NO respectively
action is_in
entity Somma Vesuviana
action intersection
action find_reverse
entity Ottaviano
relation shares border with
action find_reverse
entity Mokva
relation shares border with
['Somma Vesuviana', 'shares border with', 'Ottaviano'] ['Somma Vesuviana', 'shares border with', 'Mokva']
ASK WHERE { resource:Somma_Vesuviana property:shares_border_with resource:Ottaviano . resource:Somma_Vesuviana property:shares_border_with resource:Mokva }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q355304 Q15617994
USER
How many administrative territories are situated close to atleast 4 waterways and watercourses ?
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action count
action atleast
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
value 4
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { FILTER ( ?g >= 4 ) . { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?p ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } . ?d rdf:type ?p } GROUP BY ?i } }
action count
action atleast
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { FILTER ( ?g >= 4 ) . { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?p ) { ( ontology:waterway ) ( ontology:watercourse ) } . ?d rdf:type ?p } GROUP BY ?i } }
[]
waterway watercourse designation for an administrative territorial entity
SYSTEM
4
Q214 Q36 Q28 Q213
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action count
action atleast
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
value 4
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { FILTER ( ?g >= 4 ) . { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?p ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } . ?d rdf:type ?p } GROUP BY ?i } }
Slovakia Poland Hungary Czech Republic
4
action count
action atleast
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { FILTER ( ?g >= 4 ) . { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?p ) { ( ontology:waterway ) ( ontology:watercourse ) } . ?d rdf:type ?p } GROUP BY ?i } }
[]