Simple Question (Direct)
Simple Question
Q748287
P106
Q12737077
USER
What does Andre Johnson do for a living ?
(Q748287,P106,c(Q12737077))
action filter_type
action find
entity Q748287
relation P106
type Q12737077
['Q748287', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q748287 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Andre Johnson
action filter_type
action find
entity Andre Johnson
relation occupation
type occupation
['Andre Johnson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Andre_Johnson property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q748287,P106,c(Q12737077))
action filter_type
action find
entity Q748287
relation P106
type Q12737077
Andre Johnson does an [ANSWER] for a living
['Q748287', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q748287 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
American football player
Andre Johnson does an American football player for a living
American football player
action filter_type
action find
entity Andre Johnson
relation occupation
type occupation
['Andre Johnson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Andre_Johnson property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q748287
P734
Q82799
USER
Which name is associated with Andre Johnson ?
(Q748287,P734,c(Q82799))
action filter_type
action find
entity Q748287
relation P734
type Q82799
['Q748287', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q748287 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Andre Johnson
action filter_type
action find
entity Andre Johnson
relation family name
type name
['Andre Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Andre_Johnson property:family_name ?k . ?k rdf:type ontology:name }
[]
name
Q1158485
SYSTEM
Johnson
Q1158485
(Q748287,P734,c(Q82799))
action filter_type
action find
entity Q748287
relation P734
type Q82799
[ANSWER] is associated with Andre [ANSWER]
['Q748287', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q748287 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Johnson
Johnson is associated with Andre Johnson
Johnson
action filter_type
action find
entity Andre Johnson
relation family name
type name
['Andre Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Andre_Johnson property:family_name ?k . ?k rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q748287
P69
Q163740
USER
Which nonprofit organization is Andre Johnson an alumni of ?
(Q748287,P69,c(Q163740))
action filter_type
action find
entity Q748287
relation P69
type Q163740
['Q748287', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?u WHERE { resource:Q748287 property:P69 ?u . ?u rdf:type ontology:Q163740 }
Andre Johnson
action filter_type
action find
entity Andre Johnson
relation educated at
type nonprofit organization
['Andre Johnson', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?u WHERE { resource:Andre_Johnson property:educated_at ?u . ?u rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q738258
SYSTEM
University of Miami
Q738258
(Q748287,P69,c(Q163740))
action filter_type
action find
entity Q748287
relation P69
type Q163740
Miami [ANSWER] is Andre Johnson an alumni of
['Q748287', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?u WHERE { resource:Q748287 property:P69 ?u . ?u rdf:type ontology:Q163740 }
University of Miami
Miami University of Miami is Andre Johnson an alumni of
University of Miami
action filter_type
action find
entity Andre Johnson
relation educated at
type nonprofit organization
['Andre Johnson', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?u WHERE { resource:Andre_Johnson property:educated_at ?u . ?u rdf:type ontology:nonprofit_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19666672
Q163740
USER
And how about Mark Helpsmeet?
(Q19666672,P69,c(Q163740))
action filter_type
action find
entity Q19666672
relation P69
type Q163740
['Q19666672', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?a WHERE { resource:Q19666672 property:P69 ?a . ?a rdf:type ontology:Q163740 }
Mark Helpsmeet
action filter_type
action find
entity Mark Helpsmeet
relation educated at
type nonprofit organization
['Mark Helpsmeet', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?a WHERE { resource:Mark_Helpsmeet property:educated_at ?a . ?a rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1045167
SYSTEM
Carroll University
Q1045167
(Q19666672,P69,c(Q163740))
action filter_type
action find
entity Q19666672
relation P69
type Q163740
[ANSWER]
['Q19666672', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?a WHERE { resource:Q19666672 property:P69 ?a . ?a rdf:type ontology:Q163740 }
Carroll University
Carroll University
action filter_type
action find
entity Mark Helpsmeet
relation educated at
type nonprofit organization
['Mark Helpsmeet', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?a WHERE { resource:Mark_Helpsmeet property:educated_at ?a . ?a rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q748287
P19
Q515
USER
Which city is the birthplace of Andre Johnson ?
(Q748287,P19,c(Q515))
action filter_type
action find
entity Q748287
relation P19
type Q515
['Q748287', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q515 . resource:Q748287 property:P19 ?k }
Andre Johnson
action filter_type
action find
entity Andre Johnson
relation place of birth
type city
['Andre Johnson', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:city . resource:Andre_Johnson property:place_of_birth ?k }
[]
city
Q8652
SYSTEM
Miami
Q8652
(Q748287,P19,c(Q515))
action filter_type
action find
entity Q748287
relation P19
type Q515
[ANSWER] is the birthplace of Andre Johnson
['Q748287', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q515 . resource:Q748287 property:P19 ?k }
Miami
Miami is the birthplace of Andre Johnson
Miami
action filter_type
action find
entity Andre Johnson
relation place of birth
type city
['Andre Johnson', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:city . resource:Andre_Johnson property:place_of_birth ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q8652 Q7757515
P915
Q838948
USER
Was The Plot Against Harry filmed in the location that city ?
(Q7757515,P915,Q8652)
action is_in
entity Q7757515
action find
entity Q8652
relation P915
['Q7757515', 'P915', 'Q8652']
ASK WHERE { resource:Q8652 property:P915 resource:Q7757515 }
Miami The Plot Against Harry
action is_in
entity The Plot Against Harry
action find
entity Miami
relation filming location
['The Plot Against Harry', 'filming location', 'Miami']
ASK WHERE { resource:Miami property:filming_location resource:The_Plot_Against_Harry }
[]
work of art
SYSTEM
NO
(Q7757515,P915,Q8652)
action is_in
entity Q7757515
action find
entity Q8652
relation P915
[ANSWER]
['Q7757515', 'P915', 'Q8652']
ASK WHERE { resource:Q8652 property:P915 resource:Q7757515 }
No
action is_in
entity The Plot Against Harry
action find
entity Miami
relation filming location
['The Plot Against Harry', 'filming location', 'Miami']
ASK WHERE { resource:Miami property:filming_location resource:The_Plot_Against_Harry }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q148540
P1376
Q515 Q515
USER
Which cities have around the same number of cities have their center of administration as Republic of Florence ?
(c(Q515),P1376,c(Q515))
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_type
action find
entity Q148540
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P1376 ?w . ?a rdf:type ontology:Q515 . ?w rdf:type ontology:Q515 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { ?d rdf:type ontology:Q515 . resource:Q148540 property:P1376 ?d } } . FILTER ( ?l = ?h ) }
Republic of Florence
action approx
action find_reverse_tuple_counts
relation capital of
type city
type city
action count
action filter_type
action find
entity Republic of Florence
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:capital_of ?w . ?a rdf:type ontology:city . ?w rdf:type ontology:city } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { ?d rdf:type ontology:city . resource:Republic_of_Florence property:capital_of ?d } } . FILTER ( ?l = ?h ) }
[]
city city
Q19660 Q587746 Q855187
SYSTEM
Bucharest, Siret, Câmpeni
Q280364 Q168921 Q837161 Q253825 Q507846 Q283862 Q850974 Q3846983 Q935834 Q765841 Q851056 Q292769 Q851409 Q775799 Q585548 Q777619 Q508313 Q328647 Q584825 Q248018 Q169127 Q850982 Q835227 Q639520 Q851037 Q331577 Q1018204 Q771191 Q325736 Q275645 Q275642 Q855187 Q325732 Q3573941 Q837167 Q2198771 Q803706 Q850962 Q276156 Q265012 Q850969 Q386945 Q794200 Q276164 Q923254 Q556266 Q666373 Q851042 Q732851 Q207196 Q851048 Q571769 Q276168 Q276152 Q226000 Q591285 Q751352 Q737830 Q169135 Q837968 Q10860283 Q221214 Q789811 Q276120 Q837960 Q778516 Q209782 Q641218 Q276004 Q592480 Q203929 Q930102 Q837170 Q596043 Q250006 Q829051 Q276042 Q521108 Q275810 Q275895 Q423441 Q899427 Q179297 Q737276 Q276119 Q837173 Q225257 Q1018184 Q373707 Q946893 Q518992 Q376233 Q660417 Q666521 Q851007 Q276336 Q325555 Q252061 Q963829 Q739444 Q586387 Q235 Q912204 Q750220 Q570113 Q916156 Q610341 Q593157 Q267708 Q899454 Q590443 Q548502 Q568376 Q186719 Q276083 Q75537 Q535516 Q508057 Q754721 Q839796 Q837157 Q837154 Q837152 Q748068 Q743752 Q736276 Q276135 Q276137 Q148540 Q276132 Q197687 Q383306 Q253872 Q1209 Q217131 Q899448 Q275990 Q248959 Q511951 Q855719 Q576804 Q834101 Q935846 Q75504 Q313689 Q629776 Q899551 Q275981 Q651322 Q906711 Q276128 Q790338 Q186214 Q756585 Q851001 Q292759 Q375371 Q276127 Q912224 Q855721 Q276009 Q305001 Q305182 Q169064 Q772576 Q1017982 Q166829 Q926163 Q247807 Q589880 Q526019 Q167121 Q275997 Q548575 Q275910 Q678884 Q668701 Q584531 Q587746 Q383085 Q756593 Q756590 Q756596 Q851013 Q167792 Q19660 Q602184 Q899467 Q276154 Q423371 Q899461 Q209977 Q650981 Q764806 Q791387 Q756578 Q390156 Q851021 Q592497 Q727421 Q276117 Q533078 Q851029 Q225100 Q423414 Q596609 Q655818 Q386091 Q386888 Q275904 Q275890 Q508670 Q125604 Q1006796 Q679428 Q276145 Q276146 Q213296 Q276141 Q850992
(c(Q515),P1376,c(Q515))
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_type
action find
entity Q148540
relation P1376
type Q515
[ANSWERS] have around the same number of cities have their center of administration as Republic of Florence
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P1376 ?w . ?a rdf:type ontology:Q515 . ?w rdf:type ontology:Q515 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { ?d rdf:type ontology:Q515 . resource:Q148540 property:P1376 ?d } } . FILTER ( ?l = ?h ) }
Titu Bragadiru Sânnicolau Mare Salcea Sebiș Băicoi Segarcea Șimleu Silvaniei Sângeorz-Băi Urlați Cristuru Secuiesc Întorsura Buzăului Budești Baia de Arieș Ocnele Mari Strehaia Nădlac Sulina Scornicești Isaccea Chitila Curtici Ineu Voluntari Comarnic Abrud Slănic Berești Ciacova Fierbinți-Târg Roznov Câmpeni Gătaia Săliște Hațeg Măgurele Baia Sprie Copșa Mică Berbești Bușteni Victoria Babadag Beclean Căzănești Fundulea Târgu Ocna Seini Hârlău Mioveni Zlatna Făget Boldești-Scăeni Pătârlagele Dragomirești Jimbolia Piatra-Olt Plopeni Mizil Pantelimon Băile Tușnad Broșteni Cugir Bălan Ulmeni Năvodari Baia de Aramă Borșa Videle Murgeni Târgu Bujor Zimnicea Tăuții-Măgherăuș Gura Humorului Ovidiu Slănic-Moldova Moldova Nouă Băneasa Dumbrăveni Cajvana Șomcuta Mare Țăndărei Iernut Nehoiu Cehu Silvaniei Liteni Cisnădie Rupea Cavnic Luduș Teiuș Călan Săcueni Jibou Târgu Cărbunești Deta Livada Recaș Valea lui Mihai Mihăilești Topoloveni Eforie Monaco Lehliu Gară Huedin Uricani Ghimbav Pogoanele Murfatlar Sovata Panciu Balș Anina Breaza Ocna Sibiului Potcoava Oțelu Roșu Azuga Drăgănești-Olt Corabia Borsec Covasna Simeria Ocna Mureș Hârșova Odobești Cernavodă Dăbuleni Milișăuți Republic of Florence Pecica Miercurea Sibiului Tismana Bechet Free Hanseatic City of Bremen Buftea Negrești Răcari Zărnești Predeal Băile Govora Mărășești Bolintin-Vale Vlăhița Bocșa Agnita Vânju Mare Ianca Podu Iloaiei Năsăud Nucet Frasin Râșnov Turceni Buhuși Măcin Însurăței Călimănești Bălcești Techirghiol Băile Olănești Amara Negru Vodă Dărmănești Sângeorgiu de Pădure Negrești-Oaș Geoagiu Miercurea Nirajului Popești-Leordeni Săveni Pucioasa Brezoi Ungheni Ardud Aninoasa Sântana Fieni Tășnad Bumbești-Jiu Siret Oravița Târgu Neamț Comănești Filiași Vașcău Sărmașu Bucharest Solca Darabani Ștefănești Ștei Horezu Ștefănești Băile Herculane Rovinari Avrig Târgu Frumos Petrila Pâncota Vălenii de Munte Otopeni Dolhasca Baraolt Aleșd Bicaz Țicleni Vișeu de Sus Buziaș Novaci Târgu Lăpuș Flămânzi Băbeni Chișineu-Criș Găești Făurei Tălmaciu Vicovu de Sus Bucecea Sinaia Săliștea de Sus Costești
Bucharest, Siret and Câmpeni have around the same number of cities have their center of administration as Republic of Florence
Bucharest Siret Câmpeni
action approx
action find_reverse_tuple_counts
relation capital of
type city
type city
action count
action filter_type
action find
entity Republic of Florence
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:capital_of ?w . ?a rdf:type ontology:city . ?w rdf:type ontology:city } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { ?d rdf:type ontology:city . resource:Republic_of_Florence property:capital_of ?d } } . FILTER ( ?l = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q267708
P1376
Q515 Q515
USER
And how about Sovata?
(c(Q515),P1376,c(Q515))
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_type
action find
entity Q267708
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Q267708 property:P1376 ?f . ?f rdf:type ontology:Q515 } } . FILTER ( ?u = ?s ) . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P1376 ?t . ?e rdf:type ontology:Q515 . ?t rdf:type ontology:Q515 } GROUP BY ?t } }
Sovata
action approx
action find_reverse_tuple_counts
relation capital of
type city
type city
action count
action filter_type
action find
entity Sovata
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Sovata property:capital_of ?f . ?f rdf:type ontology:city } } . FILTER ( ?u = ?s ) . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:capital_of ?t . ?e rdf:type ontology:city . ?t rdf:type ontology:city } GROUP BY ?t } }
[]
city city
Q19660 Q587746 Q855187
SYSTEM
Bucharest, Siret, Câmpeni
Q280364 Q168921 Q837161 Q253825 Q507846 Q283862 Q850974 Q3846983 Q935834 Q765841 Q851056 Q292769 Q851409 Q775799 Q585548 Q777619 Q508313 Q328647 Q584825 Q248018 Q169127 Q850982 Q835227 Q639520 Q851037 Q331577 Q1018204 Q771191 Q325736 Q275645 Q275642 Q855187 Q325732 Q3573941 Q837167 Q2198771 Q803706 Q850962 Q276156 Q265012 Q850969 Q386945 Q794200 Q276164 Q923254 Q556266 Q666373 Q851042 Q732851 Q207196 Q851048 Q571769 Q276168 Q276152 Q226000 Q591285 Q751352 Q737830 Q169135 Q837968 Q10860283 Q221214 Q789811 Q276120 Q837960 Q778516 Q209782 Q641218 Q276004 Q592480 Q203929 Q930102 Q837170 Q596043 Q250006 Q829051 Q276042 Q521108 Q275810 Q275895 Q423441 Q899427 Q179297 Q737276 Q276119 Q837173 Q225257 Q1018184 Q373707 Q946893 Q518992 Q376233 Q660417 Q666521 Q851007 Q276336 Q325555 Q252061 Q963829 Q739444 Q586387 Q235 Q912204 Q750220 Q570113 Q916156 Q610341 Q593157 Q267708 Q899454 Q590443 Q548502 Q568376 Q186719 Q276083 Q75537 Q535516 Q508057 Q754721 Q839796 Q837157 Q837154 Q837152 Q748068 Q743752 Q736276 Q276135 Q276137 Q148540 Q276132 Q197687 Q383306 Q253872 Q1209 Q217131 Q899448 Q275990 Q248959 Q511951 Q855719 Q576804 Q834101 Q935846 Q75504 Q313689 Q629776 Q899551 Q275981 Q651322 Q906711 Q276128 Q790338 Q186214 Q756585 Q851001 Q292759 Q375371 Q276127 Q912224 Q855721 Q276009 Q305001 Q305182 Q169064 Q772576 Q1017982 Q166829 Q926163 Q247807 Q589880 Q526019 Q167121 Q275997 Q548575 Q275910 Q678884 Q668701 Q584531 Q587746 Q383085 Q756593 Q756590 Q756596 Q851013 Q167792 Q19660 Q602184 Q899467 Q276154 Q423371 Q899461 Q209977 Q650981 Q764806 Q791387 Q756578 Q390156 Q851021 Q592497 Q727421 Q276117 Q533078 Q851029 Q225100 Q423414 Q596609 Q655818 Q386091 Q386888 Q275904 Q275890 Q508670 Q125604 Q1006796 Q679428 Q276145 Q276146 Q213296 Q276141 Q850992
(c(Q515),P1376,c(Q515))
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_type
action find
entity Q267708
relation P1376
type Q515
[ANSWERS]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Q267708 property:P1376 ?f . ?f rdf:type ontology:Q515 } } . FILTER ( ?u = ?s ) . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P1376 ?t . ?e rdf:type ontology:Q515 . ?t rdf:type ontology:Q515 } GROUP BY ?t } }
Titu Bragadiru Sânnicolau Mare Salcea Sebiș Băicoi Segarcea Șimleu Silvaniei Sângeorz-Băi Urlați Cristuru Secuiesc Întorsura Buzăului Budești Baia de Arieș Ocnele Mari Strehaia Nădlac Sulina Scornicești Isaccea Chitila Curtici Ineu Voluntari Comarnic Abrud Slănic Berești Ciacova Fierbinți-Târg Roznov Câmpeni Gătaia Săliște Hațeg Măgurele Baia Sprie Copșa Mică Berbești Bușteni Victoria Babadag Beclean Căzănești Fundulea Târgu Ocna Seini Hârlău Mioveni Zlatna Făget Boldești-Scăeni Pătârlagele Dragomirești Jimbolia Piatra-Olt Plopeni Mizil Pantelimon Băile Tușnad Broșteni Cugir Bălan Ulmeni Năvodari Baia de Aramă Borșa Videle Murgeni Târgu Bujor Zimnicea Tăuții-Măgherăuș Gura Humorului Ovidiu Slănic-Moldova Moldova Nouă Băneasa Dumbrăveni Cajvana Șomcuta Mare Țăndărei Iernut Nehoiu Cehu Silvaniei Liteni Cisnădie Rupea Cavnic Luduș Teiuș Călan Săcueni Jibou Târgu Cărbunești Deta Livada Recaș Valea lui Mihai Mihăilești Topoloveni Eforie Monaco Lehliu Gară Huedin Uricani Ghimbav Pogoanele Murfatlar Sovata Panciu Balș Anina Breaza Ocna Sibiului Potcoava Oțelu Roșu Azuga Drăgănești-Olt Corabia Borsec Covasna Simeria Ocna Mureș Hârșova Odobești Cernavodă Dăbuleni Milișăuți Republic of Florence Pecica Miercurea Sibiului Tismana Bechet Free Hanseatic City of Bremen Buftea Negrești Răcari Zărnești Predeal Băile Govora Mărășești Bolintin-Vale Vlăhița Bocșa Agnita Vânju Mare Ianca Podu Iloaiei Năsăud Nucet Frasin Râșnov Turceni Buhuși Măcin Însurăței Călimănești Bălcești Techirghiol Băile Olănești Amara Negru Vodă Dărmănești Sângeorgiu de Pădure Negrești-Oaș Geoagiu Miercurea Nirajului Popești-Leordeni Săveni Pucioasa Brezoi Ungheni Ardud Aninoasa Sântana Fieni Tășnad Bumbești-Jiu Siret Oravița Târgu Neamț Comănești Filiași Vașcău Sărmașu Bucharest Solca Darabani Ștefănești Ștei Horezu Ștefănești Băile Herculane Rovinari Avrig Târgu Frumos Petrila Pâncota Vălenii de Munte Otopeni Dolhasca Baraolt Aleșd Bicaz Țicleni Vișeu de Sus Buziaș Novaci Târgu Lăpuș Flămânzi Băbeni Chișineu-Criș Găești Făurei Tălmaciu Vicovu de Sus Bucecea Sinaia Săliștea de Sus Costești
Bucharest Siret Câmpeni
action approx
action find_reverse_tuple_counts
relation capital of
type city
type city
action count
action filter_type
action find
entity Sovata
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Sovata property:capital_of ?f . ?f rdf:type ontology:city } } . FILTER ( ?u = ?s ) . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:capital_of ?t . ?e rdf:type ontology:city . ?t rdf:type ontology:city } GROUP BY ?t } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19660 Q587746 Q855187
P17
Q15617994
USER
Which administrative territories are Bucharest, Siret and Câmpeni situated in ?
(Q19660,P17,c(Q15617994)) (Q587746,P17,c(Q15617994)) (Q855187,P17,c(Q15617994))
action union
action filter_type
action find
entity Q19660
relation P17
type Q15617994
action filter_type
action find
entity Q587746
relation P17
type Q15617994
action filter_type
action find
entity Q855187
relation P17
type Q15617994
['Q19660', 'P17', {'concept': 'Q15617994'}] ['Q587746', 'P17', {'concept': 'Q15617994'}] ['Q855187', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:Q15617994 . resource:Q19660 property:P17 ?e } UNION { resource:Q587746 property:P17 ?e . ?e rdf:type ontology:Q15617994 } }
Bucharest Siret Câmpeni
action union
action filter_type
action find
entity Bucharest
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Siret
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Câmpeni
relation country
type designation for an administrative territorial entity
['Bucharest', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Siret', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Câmpeni', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bucharest property:country ?e } UNION { resource:Siret property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q218 Q218 Q218
SYSTEM
Romania
Q389004 Q218 Q218 Q218
(Q19660,P17,c(Q15617994)) (Q587746,P17,c(Q15617994)) (Q855187,P17,c(Q15617994))
action union
action filter_type
action find
entity Q19660
relation P17
type Q15617994
action filter_type
action find
entity Q587746
relation P17
type Q15617994
action filter_type
action find
entity Q855187
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Bucharest, Siret and Câmpeni situated in
['Q19660', 'P17', {'concept': 'Q15617994'}] ['Q587746', 'P17', {'concept': 'Q15617994'}] ['Q855187', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:Q15617994 . resource:Q19660 property:P17 ?e } UNION { resource:Q587746 property:P17 ?e . ?e rdf:type ontology:Q15617994 } }
Wallachia Romania Romania Romania
Romania, Romania and Romania are Bucharest, Siret and Câmpeni situated in
Romania Romania Romania
action union
action filter_type
action find
entity Bucharest
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Siret
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Câmpeni
relation country
type designation for an administrative territorial entity
['Bucharest', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Siret', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Câmpeni', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bucharest property:country ?e } UNION { resource:Siret property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19660
P6
Q502895
USER
What people are Bucharest the head of goverment of ?
(Q19660,P6,c(Q502895))
action filter_type
action find
entity Q19660
relation P6
type Q502895
['Q19660', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q19660 property:P6 ?a }
Bucharest
action filter_type
action find
entity Bucharest
relation head of government
type common name
['Bucharest', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Bucharest property:head_of_government ?a }
[]
common name
Q57279 Q16593781 Q2016394
SYSTEM
Traian Băsescu, Gabriela Firea, Adriean Videanu
Q2016394 Q57279 Q16593781 Q980828
(Q19660,P6,c(Q502895))
action filter_type
action find
entity Q19660
relation P6
type Q502895
[ANSWERS] are Bucharest the head of goverment of
['Q19660', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q19660 property:P6 ?a }
Adriean Videanu Traian Băsescu Gabriela Firea Sorin Oprescu
Traian Băsescu, Gabriela Firea and Adriean Videanu are Bucharest the head of goverment of
Traian Băsescu Gabriela Firea Adriean Videanu
action filter_type
action find
entity Bucharest
relation head of government
type common name
['Bucharest', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Bucharest property:head_of_government ?a }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q57279 Q16593781 Q2016394
P6
Q515
USER
Which cities are Traian Băsescu, Gabriela Firea and Adriean Videanu the head of the goverment of ?
(c(Q515),P6,Q57279) (c(Q515),P6,Q16593781) (c(Q515),P6,Q2016394)
action union
action filter_type
action find_reverse
entity Q57279
relation P6
type Q515
action filter_type
action find_reverse
entity Q16593781
relation P6
type Q515
action filter_type
action find_reverse
entity Q2016394
relation P6
type Q515
[{'concept': 'Q515'}, 'P6', 'Q57279'] [{'concept': 'Q515'}, 'P6', 'Q16593781'] [{'concept': 'Q515'}, 'P6', 'Q2016394']
SELECT DISTINCT ?w WHERE { { ?w property:P6 resource:Q16593781 . ?w rdf:type ontology:Q515 } UNION { ?w property:P6 resource:Q57279 . ?w rdf:type ontology:Q515 } }
Traian Băsescu Gabriela Firea Adriean Videanu
action union
action filter_type
action find_reverse
entity Traian Băsescu
relation head of government
type city
action filter_type
action find_reverse
entity Gabriela Firea
relation head of government
type city
action filter_type
action find_reverse
entity Adriean Videanu
relation head of government
type city
[{'concept': 'city'}, 'head of government', 'Traian Băsescu'] [{'concept': 'city'}, 'head of government', 'Gabriela Firea'] [{'concept': 'city'}, 'head of government', 'Adriean Videanu']
SELECT DISTINCT ?w WHERE { { ?w property:head_of_government resource:Gabriela_Firea . ?w rdf:type ontology:city } UNION { ?w property:head_of_government resource:Traian_Băsescu . ?w rdf:type ontology:city } }
[]
city
Q19660
SYSTEM
Bucharest
Q19660
(c(Q515),P6,Q57279) (c(Q515),P6,Q16593781) (c(Q515),P6,Q2016394)
action union
action filter_type
action find_reverse
entity Q57279
relation P6
type Q515
action filter_type
action find_reverse
entity Q16593781
relation P6
type Q515
action filter_type
action find_reverse
entity Q2016394
relation P6
type Q515
[ANSWER] is Traian Băsescu, Gabriela Firea and Adriean Videanu the head of the goverment of
[{'concept': 'Q515'}, 'P6', 'Q57279'] [{'concept': 'Q515'}, 'P6', 'Q16593781'] [{'concept': 'Q515'}, 'P6', 'Q2016394']
SELECT DISTINCT ?w WHERE { { ?w property:P6 resource:Q16593781 . ?w rdf:type ontology:Q515 } UNION { ?w property:P6 resource:Q57279 . ?w rdf:type ontology:Q515 } }
Bucharest
Bucharest is Traian Băsescu, Gabriela Firea and Adriean Videanu the head of the goverment of
Bucharest
action union
action filter_type
action find_reverse
entity Traian Băsescu
relation head of government
type city
action filter_type
action find_reverse
entity Gabriela Firea
relation head of government
type city
action filter_type
action find_reverse
entity Adriean Videanu
relation head of government
type city
[{'concept': 'city'}, 'head of government', 'Traian Băsescu'] [{'concept': 'city'}, 'head of government', 'Gabriela Firea'] [{'concept': 'city'}, 'head of government', 'Adriean Videanu']
SELECT DISTINCT ?w WHERE { { ?w property:head_of_government resource:Gabriela_Firea . ?w rdf:type ontology:city } UNION { ?w property:head_of_government resource:Traian_Băsescu . ?w rdf:type ontology:city } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19660
P47
Q515
USER
Who share the border with that one ?
(Q19660,P47,c(Q515))
action filter_type
action find
entity Q19660
relation P47
type Q515
['Q19660', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q19660 property:P47 ?x . ?x rdf:type ontology:Q515 }
Bucharest
action filter_type
action find
entity Bucharest
relation shares border with
type city
['Bucharest', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Bucharest property:shares_border_with ?x . ?x rdf:type ontology:city }
[]
city
Q2198771 Q727421
SYSTEM
Măgurele, Otopeni
Q2198771 Q727421
(Q19660,P47,c(Q515))
action filter_type
action find
entity Q19660
relation P47
type Q515
[ANSWERS] share the border with that one
['Q19660', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q19660 property:P47 ?x . ?x rdf:type ontology:Q515 }
Măgurele Otopeni
Măgurele and Otopeni share the border with that one
Măgurele Otopeni
action filter_type
action find
entity Bucharest
relation shares border with
type city
['Bucharest', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Bucharest property:shares_border_with ?x . ?x rdf:type ontology:city }
[]