Simple Question (Direct)
Simple Question
Q1406253
P19
Q56061
USER
Which administrative territory was Ferhat Kıskanç born at ?
(Q1406253,P19,c(Q56061))
action filter_type
action find
entity Q1406253
relation P19
type Q56061
['Q1406253', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1406253 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Ferhat Kıskanç
action filter_type
action find
entity Ferhat Kıskanç
relation place of birth
type administrative territorial entity
['Ferhat Kıskanç', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Ferhat_Kıskanç property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q365
SYSTEM
Cologne
Q365
(Q1406253,P19,c(Q56061))
action filter_type
action find
entity Q1406253
relation P19
type Q56061
Ferhat Kıskanç was born in [ANSWER]
['Q1406253', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1406253 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Cologne
Ferhat Kıskanç was born in Cologne
Cologne
action filter_type
action find
entity Ferhat Kıskanç
relation place of birth
type administrative territorial entity
['Ferhat Kıskanç', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Ferhat_Kıskanç property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1406253
P21
Q290
USER
Which sex does that person have ?
(Q365,P21,c(Q290))
action filter_type
action find
entity Q1406253
relation P21
type Q290
['Q365', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1406253 property:P21 ?r . ?r rdf:type ontology:Q290 }
Ferhat Kıskanç
action filter_type
action find
entity Ferhat Kıskanç
relation gender
type sex
['Cologne', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Ferhat_Kıskanç property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q365,P21,c(Q290))
action filter_type
action find
entity Q1406253
relation P21
type Q290
That person has a [ANSWER]
['Q365', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1406253 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Ferhat Kıskanç
relation gender
type sex
['Cologne', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Ferhat_Kıskanç property:gender ?r . ?r rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q365
P1376
Q7275 Q183366
USER
How many states or territories have Cologne as their county seat ?
(Q365,P1376,c(Q7275)) (Q365,P1376,c(Q183366))
action count
action union
action filter_type
action find
entity Q365
relation P1376
type Q7275
action filter_type
action find
entity Q365
relation P1376
type Q183366
['Q365', 'P1376', {'concept': 'Q7275'}] ['Q365', 'P1376', {'concept': 'Q183366'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { VALUES ( ?q ) { ( ontology:Q7275 ) ( ontology:Q183366 ) } . ?a rdf:type ?q }
Cologne
action count
action union
action filter_type
action find
entity Cologne
relation capital of
type state
action filter_type
action find
entity Cologne
relation capital of
type territory
['Cologne', 'capital of', {'concept': 'state'}] ['Cologne', 'capital of', {'concept': 'territory'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { VALUES ( ?q ) { ( ontology:state ) ( ontology:territory ) } . ?a rdf:type ?q }
[]
state territory
SYSTEM
2
Q7904317 Q273025
(Q365,P1376,c(Q7275)) (Q365,P1376,c(Q183366))
action count
action union
action filter_type
action find
entity Q365
relation P1376
type Q7275
action filter_type
action find
entity Q365
relation P1376
type Q183366
[ANSWER]
['Q365', 'P1376', {'concept': 'Q7275'}] ['Q365', 'P1376', {'concept': 'Q183366'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { VALUES ( ?q ) { ( ontology:Q7275 ) ( ontology:Q183366 ) } . ?a rdf:type ?q }
Electorate of Cologne Gallic Empire
2
action count
action union
action filter_type
action find
entity Cologne
relation capital of
type state
action filter_type
action find
entity Cologne
relation capital of
type territory
['Cologne', 'capital of', {'concept': 'state'}] ['Cologne', 'capital of', {'concept': 'territory'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { VALUES ( ?q ) { ( ontology:state ) ( ontology:territory ) } . ?a rdf:type ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q365
P108
Q502895
USER
Which person works for Cologne ?
(c(Q502895),P108,Q365)
action filter_type
action find_reverse
entity Q365
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q365']
SELECT DISTINCT ?o WHERE { ?o property:P108 resource:Q365 . ?o rdf:type ontology:Q502895 }
Cologne
action filter_type
action find_reverse
entity Cologne
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Cologne']
SELECT DISTINCT ?o WHERE { ?o property:employer resource:Cologne . ?o rdf:type ontology:common_name }
[]
common name
Q19285371
SYSTEM
Henriette Reker
Q19285371
(c(Q502895),P108,Q365)
action filter_type
action find_reverse
entity Q365
relation P108
type Q502895
[ANSWER] works for Cologne
[{'concept': 'Q502895'}, 'P108', 'Q365']
SELECT DISTINCT ?o WHERE { ?o property:P108 resource:Q365 . ?o rdf:type ontology:Q502895 }
Henriette Reker
Henriette Reker works for Cologne
Henriette Reker
action filter_type
action find_reverse
entity Cologne
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Cologne']
SELECT DISTINCT ?o WHERE { ?o property:employer resource:Cologne . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q365
P190
Q56061
USER
Which administrative territories are sister towns of that one ?
(Q19285371,P190,c(Q56061))
action filter_type
action find
entity Q365
relation P190
type Q56061
['Q19285371', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q365 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Cologne
action filter_type
action find
entity Cologne
relation sister city
type administrative territorial entity
['Henriette Reker', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Cologne property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678 Q406 Q956
SYSTEM
Rio de Janeiro, Istanbul, Beijing
Q3992 Q588 Q956 Q16010 Q36647 Q33935 Q8678 Q648 Q17151 Q914 Q6346 Q495 Q1132939 Q34370 Q1492 Q5776 Q406 Q38511 Q24826
(Q19285371,P190,c(Q56061))
action filter_type
action find
entity Q365
relation P190
type Q56061
[ANSWERS] are sister towns of that one
['Q19285371', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q365 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Liège Katowice Beijing Esch-sur-Alzette Cork Tel Aviv Rio de Janeiro Lille Thessaloniki Volgograd Indianapolis Turin Corinto Rotterdam Barcelona Bethlehem Istanbul Turku Liverpool
Rio de Janeiro, Istanbul and Beijing are sister towns of that one
Rio de Janeiro Istanbul Beijing
action filter_type
action find
entity Cologne
relation sister city
type administrative territorial entity
['Henriette Reker', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Cologne property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1515596 Q406
P190 P937
Q56061
USER
Which administrative territories are twin cities of Istanbul and are the locations where Gertrude Kappel worked ?
AND((Q406,P190,c(Q56061)), (Q1515596,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q406
relation P190
action find
entity Q1515596
relation P937
type Q56061
{'AND': [['Q406', 'P190', {'concept': 'Q56061'}], ['Q1515596', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { resource:Q1515596 property:P937 ?y . resource:Q406 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Gertrude Kappel Istanbul
action filter_type
action intersection
action find
entity Istanbul
relation sister city
action find
entity Gertrude Kappel
relation work location
type administrative territorial entity
{'AND': [['Istanbul', 'sister city', {'concept': 'administrative territorial entity'}], ['Gertrude Kappel', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { resource:Gertrude_Kappel property:work_location ?y . resource:Istanbul property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
AND((Q406,P190,c(Q56061)), (Q1515596,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q406
relation P190
action find
entity Q1515596
relation P937
type Q56061
[ANSWER] is twin cities of Istanbul and is the locations where Gertrude Kappel worked
{'AND': [['Q406', 'P190', {'concept': 'Q56061'}], ['Q1515596', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { resource:Q1515596 property:P937 ?y . resource:Q406 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Vienna
Vienna is twin cities of Istanbul and is the locations where Gertrude Kappel worked
Vienna
action filter_type
action intersection
action find
entity Istanbul
relation sister city
action find
entity Gertrude Kappel
relation work location
type administrative territorial entity
{'AND': [['Istanbul', 'sister city', {'concept': 'administrative territorial entity'}], ['Gertrude Kappel', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { resource:Gertrude_Kappel property:work_location ?y . resource:Istanbul property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1741 Q1888988 Q604283
P190
Q56061
USER
Is that administrative territory twin town of Durukaynak and Coffs Harbour ?
(Q1741,P190,Q1888988) (Q1741,P190,Q604283)
action is_in
entity Q1741
action intersection
action find_reverse
entity Q1888988
relation P190
action find_reverse
entity Q604283
relation P190
['Q1741', 'P190', 'Q1888988'] ['Q1741', 'P190', 'Q604283']
ASK WHERE { resource:Q1741 property:P190 resource:Q1888988 . resource:Q1741 property:P190 resource:Q604283 }
Vienna Durukaynak Coffs Harbour
action is_in
entity Vienna
action intersection
action find_reverse
entity Durukaynak
relation sister city
action find_reverse
entity Coffs Harbour
relation sister city
['Vienna', 'sister city', 'Durukaynak'] ['Vienna', 'sister city', 'Coffs Harbour']
ASK WHERE { resource:Vienna property:sister_city resource:Durukaynak . resource:Vienna property:sister_city resource:Coffs_Harbour }
[]
administrative territorial entity
SYSTEM
NO
(Q1741,P190,Q1888988) (Q1741,P190,Q604283)
action is_in
entity Q1741
action intersection
action find_reverse
entity Q1888988
relation P190
action find_reverse
entity Q604283
relation P190
[ANSWER]
['Q1741', 'P190', 'Q1888988'] ['Q1741', 'P190', 'Q604283']
ASK WHERE { resource:Q1741 property:P190 resource:Q1888988 . resource:Q1741 property:P190 resource:Q604283 }
No
action is_in
entity Vienna
action intersection
action find_reverse
entity Durukaynak
relation sister city
action find_reverse
entity Coffs Harbour
relation sister city
['Vienna', 'sister city', 'Durukaynak'] ['Vienna', 'sister city', 'Coffs Harbour']
ASK WHERE { resource:Vienna property:sister_city resource:Durukaynak . resource:Vienna property:sister_city resource:Coffs_Harbour }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P610
Q14524493
USER
Which is the zenith of Vienna?
action filter_type
action find
entity Q1741
relation P610
type Q14524493
SELECT DISTINCT ?w WHERE { resource:Q1741 property:P610 ?w . ?w rdf:type ontology:Q14524493 }
Vienna
action filter_type
action find
entity Vienna
relation highest point
type terrain
SELECT DISTINCT ?w WHERE { resource:Vienna property:highest_point ?w . ?w rdf:type ontology:terrain }
[]
terrain
Q873943
SYSTEM
Hermannskogel
Q873943
action filter_type
action find
entity Q1741
relation P610
type Q14524493
The zenith of Vienna is the [ANSWER]
SELECT DISTINCT ?w WHERE { resource:Q1741 property:P610 ?w . ?w rdf:type ontology:Q14524493 }
Hermannskogel
The zenith of Vienna is the Hermannskogel
Hermannskogel
action filter_type
action find
entity Vienna
relation highest point
type terrain
SELECT DISTINCT ?w WHERE { resource:Vienna property:highest_point ?w . ?w rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P159
Q43229
USER
Which organizations have their HQ location at that administrative territory ?
(c(Q43229),P159,Q873943)
action filter_type
action find_reverse
entity Q1741
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q873943']
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q1741 . ?u rdf:type ontology:Q43229 }
Vienna
action filter_type
action find_reverse
entity Vienna
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Hermannskogel']
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Vienna . ?u rdf:type ontology:organization }
[]
organization
Q694257 Q688755 Q586665
SYSTEM
Vienna Insurance Group, Telekom Austria, Wienerberger
Q6716249 Q664267 Q277984 Q16014262 Q688755 Q3943699 Q1449271 Q306566 Q7942066 Q681316 Q699518 Q698568 Q664799 Q22583564 Q695110 Q297650 Q15851895 Q1602805 Q876849 Q168238 Q1350864 Q294205 Q688816 Q1019662 Q3557973 Q669558 Q688600 Q294291 Q1456018 Q1666157 Q16054225 Q2568787 Q697026 Q15088623 Q874506 Q681231 Q24696367 Q680662 Q292150 Q1247348 Q7543922 Q1233020 Q697619 Q689404 Q305967 Q873925 Q995051 Q1524334 Q19842766 Q7095671 Q694257 Q20963732 Q6926886 Q701608 Q1928761 Q672934 Q1280482 Q794636 Q7246592 Q2173695 Q5061042 Q685641 Q876883 Q2160090 Q388555 Q1433460 Q696867 Q931749 Q1879615 Q783510 Q386120 Q21898136 Q698535 Q407009 Q2314125 Q2127171 Q1519417 Q580195 Q873340 Q279219 Q305950 Q694468 Q498496 Q17100354 Q634723 Q16088560 Q872718 Q335971 Q278639 Q298700 Q7449036 Q15136346 Q702325 Q874243 Q293615 Q666941 Q446542 Q464579 Q7863908 Q17101066 Q875968 Q668983 Q2536827 Q804237 Q379938 Q395978 Q2142891 Q7795 Q83822 Q875603 Q2147902 Q7445781 Q1245964 Q1756974 Q422432 Q303404 Q19277588 Q1916213 Q1006210 Q7093730 Q2521695 Q877520 Q2501390 Q694690 Q699869 Q20757570 Q677560 Q1691896 Q241338 Q669423 Q670154 Q17006974 Q4043468 Q4897054 Q1025563 Q1770478 Q701721 Q700528 Q1815432 Q231134 Q1419421 Q1763505 Q586665 Q2208025 Q2384694 Q4033360 Q8042211 Q374677 Q1170531 Q668355 Q4651948 Q1676370 Q1455549 Q806631 Q806638 Q1666806 Q1501835 Q2495224
(c(Q43229),P159,Q873943)
action filter_type
action find_reverse
entity Q1741
relation P159
type Q43229
[ANSWERS] have their HQ location at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q873943']
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q1741 . ?u rdf:type ontology:Q43229 }
MITACS Artaria A-Trust OeMAG Abwicklungsstelle für Ökostrom Telekom Austria SKS365 Group Franz Tobisch Austrian Federal Computing Centre Vossloh Kiepe Strabag SE J. A. Baczewski Frey Wille Bösendorfer AGGM Austrian Gas Grid Management AG Volksbank ASFiNAG UPC Austria HellermannTyton Kleinbahn OMV Julius Hügler AKG Acoustics Verbund Böhlau Vienna Symphonic Library Piatnik & Söhne Schiebel AKV Aggstein Wien Freytag & Berndt Rohöl-Aufsuchungs Aktiengesellschaft Aforms2web Wien Energie Donaudampfschiffahrtsgesellschaft Speech Processing Solutions Communist Youth of Austria Kores Pauly Beds Austria Press Agency AFRA Holzindustrie Schweighofer Smart Agent Technologies Do & Co Bank Austria Mayr-Melnhof Austrian Student Aid Foundation S&T Trenkwalder Gilhofer Hollitzer Opel Wien Vienna Insurance Group Heinrich und Franz Glaser Moviecam Plasser & Theurer Friends of Nature Borealis Kapsch Aida Pro-Ject Audio Systems Rudolf Scheer & Söhne Central European Gas Hub Interxion J. & L. Lobmeyr Delta-Gnom Lohner-Werke Radio Arabella Erste Bank Inte:Ligand Löblich & Co. Austria Wirtschaftsservice Gesellschaft United Nations Industrial Development Organization Carl Gerold’s Sohn Verlag (Gerold Verlag) Wiener Börse Hutchison 3G Sproing Interactive Media Kronprinz Rudolf-Bahn Gessler Raiffeisen Zentralbank Cineplexx Cinemas A. Weiser & Sohn Österreichische Staatsdruckerei Creditanstalt International Centre for Migration Policy Development Kapsch CarrierCom AG Business Network International Wiener Städtische Versicherung Bunzl Wiener Lokalbahnen A. E. Köchert Austrian National Tourist Office Semantic Technology Institute International ÖBB-Technische Services Austrian Airlines Group Feurich ÖAF Research Institute of Molecular Pathology Semperit Casinos Austria UC4 Österreichische Postsparkasse Waagner-Biro Mobilkom Austria VA Tech Wabag Bakalowits BAWAG P.S.K. Agrana Rembrandtin OPEC Österreichische Bundesbahnen RHI AG Rheinmetall MAN Military Vehicles Seekda Wojnar Space Generation Advisory Council Aktion Regen Österreichische Industrieholding Constantia Flexibles Mediaprint Bundesimmobiliengesellschaft Onepharm Via donau ERSTE Foundation Ursa Gräf & Stift Schiedel Tlapa Augarten porcelain Joh. A. Benckiser Wiener Werkstätte Böhler-Uddeholm Julius Meinl Center for Global Dialogue and Cooperation MRC Markets Bestattung Wien Café+co Porr CEE Stock Exchange Group Jacob & Josef Kohn Leipnik-Lundenburger Zuwanderer-Fonds Internet Privatstiftung Österreichische Post Wienerberger STA Travel The TPA Group Activ Solar XIO Strategies International Commission on Illumination International Press Institute Simmering-Graz-Pauker AIMS International J. Pauly & Sohn Frequentis Bank Gutmann Bank Medici T-Mobile Austria Generali Gruppe Österreich Noctua
Vienna Insurance Group, Telekom Austria and Wienerberger have their HQ location at that administrative territory
Vienna Insurance Group Telekom Austria Wienerberger
action filter_type
action find_reverse
entity Vienna
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Hermannskogel']
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Vienna . ?u rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1741
P6
Q502895
USER
How many people have Vienna as their heads of government ?
(Q1741,P6,c(Q502895))
action count
action filter_type
action find
entity Q1741
relation P6
type Q502895
['Q1741', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Q1741 property:P6 ?z . ?z rdf:type ontology:Q502895 }
Vienna
action count
action filter_type
action find
entity Vienna
relation head of government
type common name
['Vienna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Vienna property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
16
Q95865 Q94496 Q13014 Q78531 Q85512 Q94472 Q78983 Q94424 Q84204 Q84254 Q112462 Q45377 Q2150882 Q78999 Q1705370 Q86676
(Q1741,P6,c(Q502895))
action count
action filter_type
action find
entity Q1741
relation P6
type Q502895
[ANSWER]
['Q1741', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Q1741 property:P6 ?z . ?z rdf:type ontology:Q502895 }
Philipp Wilhelm Jung Felix Slavik Franz Jonas Karl Lueger Hanns Blaschke Bruno Marek Helmut Zilk Jakob Reumann Theodor Körner Karl Seitz Hermann Neubacher Michael Häupl Richard Weiskirchner Leopold Gratz Josef Neumayer Richard Schmitz
16
action count
action filter_type
action find
entity Vienna
relation head of government
type common name
['Vienna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Vienna property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2716105
Q502895
USER
And what about Cănești?
(Q2716105,P6,c(Q502895))
action count
action filter_type
action find
entity Q2716105
relation P6
type Q502895
['Q2716105', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Q2716105 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Cănești
action count
action filter_type
action find
entity Cănești
relation head of government
type common name
['Cănești', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Cănești property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q2716105,P6,c(Q502895))
action count
action filter_type
action find
entity Q2716105
relation P6
type Q502895
[ANSWER]
['Q2716105', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Q2716105 property:P6 ?c . ?c rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Cănești
relation head of government
type common name
['Cănești', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Cănești property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21181 Q406
P190
Q56061
USER
Which administrative territories are a sister city of Istanbul or Fredericia ?
OR((c(Q56061),P190,Q406), (c(Q56061),P190,Q21181))
action filter_type
action union
action find_reverse
entity Q406
relation P190
action find_reverse
entity Q21181
relation P190
type Q56061
{'OR': [[{'concept': 'Q56061'}, 'P190', 'Q406'], [{'concept': 'Q56061'}, 'P190', 'Q21181']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P190 resource:Q406 } UNION { ?g property:P190 resource:Q21181 } } . ?g rdf:type ontology:Q56061 }
Fredericia Istanbul
action filter_type
action union
action find_reverse
entity Istanbul
relation sister city
action find_reverse
entity Fredericia
relation sister city
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Istanbul'], [{'concept': 'administrative territorial entity'}, 'sister city', 'Fredericia']]}
SELECT DISTINCT ?g WHERE { { { ?g property:sister_city resource:Istanbul } UNION { ?g property:sister_city resource:Fredericia } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34370 Q42053 Q85 Q83285 Q3766 Q1563 Q216 Q269 Q994 Q16555
SYSTEM
Some of them are Rotterdam, Isfahan, Cairo, Durrës, Damascus, Havana, Vilnius, Tashkent, Tbilisi, Houston
Q1754 Q8686 Q994 Q1741 Q727 Q3551 Q365 Q1963 Q384 Q641 Q42053 Q35493 Q269 Q192888 Q9248 Q459 Q1524 Q1520 Q1781 Q1489 Q1563 Q231318 Q3766 Q900 Q80053 Q3630 Q612 Q134712 Q2449 Q64 Q84 Q85 Q34370 Q8673 Q3820 Q216 Q172 Q270 Q187346 Q8678 Q5713 Q83285 Q191047 Q2044 Q3805 Q207891 Q16555 Q1085
OR((c(Q56061),P190,Q406), (c(Q56061),P190,Q21181))
action filter_type
action union
action find_reverse
entity Q406
relation P190
action find_reverse
entity Q21181
relation P190
type Q56061
[ANSWERS] are a sister city of Istanbul or Fredericia
{'OR': [[{'concept': 'Q56061'}, 'P190', 'Q406'], [{'concept': 'Q56061'}, 'P190', 'Q21181']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P190 resource:Q406 } UNION { ?g property:P190 resource:Q21181 } } . ?g rdf:type ontology:Q56061 }
Stockholm Shanghai Tbilisi Vienna Amsterdam Rabat Cologne Khartoum Skopje Venice Isfahan Almaty Tashkent Smolyan Baku Plovdiv Athens Astana Budapest Mexico City Havana Johor Bahru Damascus Kazan Tabriz Jakarta Dubai Šiauliai Mogadishu Berlin London Cairo Rotterdam Lagos Beirut Vilnius Toronto Warsaw Constantine Rio de Janeiro Mary Durrës Ilulissat Florence Amman Kokkola Houston Prague
Rotterdam, Isfahan, Cairo, Durrës, Damascus, Havana, Vilnius, Tashkent, Tbilisi and Houston are a sister city of Istanbul or Fredericia
Rotterdam Isfahan Cairo Durrës Damascus Havana Vilnius Tashkent Tbilisi Houston
action filter_type
action union
action find_reverse
entity Istanbul
relation sister city
action find_reverse
entity Fredericia
relation sister city
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Istanbul'], [{'concept': 'administrative territorial entity'}, 'sister city', 'Fredericia']]}
SELECT DISTINCT ?g WHERE { { { ?g property:sister_city resource:Istanbul } UNION { ?g property:sister_city resource:Fredericia } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people were born at that administrative territory ?
(c(Q502895),P19,Q42053)
[{'concept': 'Q502895'}, 'P19', 'Q42053']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q1098374 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'place of birth', 'Isfahan']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Isfahan . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q34370
SYSTEM
Did you mean Rotterdam ?
(c(Q502895),P19,Q34370) (c(Q502895),P19,Q42053) (c(Q502895),P19,Q85) (c(Q502895),P19,Q83285) (c(Q502895),P19,Q3766) (c(Q502895),P19,Q1563) (c(Q502895),P19,Q216) (c(Q502895),P19,Q269) (c(Q502895),P19,Q994) (c(Q502895),P19,Q16555)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q34370'] [{'concept': 'Q502895'}, 'P19', 'Q42053'] [{'concept': 'Q502895'}, 'P19', 'Q85'] [{'concept': 'Q502895'}, 'P19', 'Q83285'] [{'concept': 'Q502895'}, 'P19', 'Q3766'] [{'concept': 'Q502895'}, 'P19', 'Q1563'] [{'concept': 'Q502895'}, 'P19', 'Q216'] [{'concept': 'Q502895'}, 'P19', 'Q269'] [{'concept': 'Q502895'}, 'P19', 'Q994'] [{'concept': 'Q502895'}, 'P19', 'Q16555']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q1098374 . ?z rdf:type ontology:Q502895 }
Did you mean Rotterdam ?
Rotterdam
[{'concept': 'common name'}, 'place of birth', 'Rotterdam'] [{'concept': 'common name'}, 'place of birth', 'Isfahan'] [{'concept': 'common name'}, 'place of birth', 'Cairo'] [{'concept': 'common name'}, 'place of birth', 'Durrës'] [{'concept': 'common name'}, 'place of birth', 'Damascus'] [{'concept': 'common name'}, 'place of birth', 'Havana'] [{'concept': 'common name'}, 'place of birth', 'Vilnius'] [{'concept': 'common name'}, 'place of birth', 'Tashkent'] [{'concept': 'common name'}, 'place of birth', 'Tbilisi'] [{'concept': 'common name'}, 'place of birth', 'Houston']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Isfahan . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Isfahan. Could you tell me the answer for that?
(c(Q502895),P19,Q42053)
Q42053
[{'concept': 'Q502895'}, 'P19', 'Q42053']
[{'concept': 'common name'}, 'place of birth', 'Isfahan']
[]
SYSTEM
259
Q17992071 Q931786 Q225993 Q5945846 Q471787 Q4724904 Q6399773 Q3336241 Q3128160 Q10507696 Q3473285 Q1452594 Q4695446 Q6125870 Q19662637 Q3128175 Q5949890 Q18022318 Q18706699 Q2821737 Q4726891 Q6125868 Q1027475 Q6891762 Q5955454 Q5435148 Q5644447 Q17484161 Q5952795 Q3165871 Q2836206 Q1963864 Q4695424 Q3574863 Q5956139 Q3491263 Q2506226 Q6891631 Q20684076 Q359689 Q23007958 Q3481223 Q2713416 Q7506722 Q5951496 Q10858149 Q400624 Q1381611 Q3777140 Q742319 Q4115571 Q5955847 Q5962741 Q6892345 Q3481067 Q13530361 Q1501420 Q1942698 Q16048679 Q21693794 Q579469 Q6958100 Q228203 Q5948584 Q5945232 Q298410 Q6385287 Q10419808 Q6892380 Q506243 Q3284783 Q931799 Q373398 Q5947938 Q20641430 Q722527 Q1495799 Q4780864 Q17484216 Q7319729 Q16074707 Q8063504 Q17174568 Q3015845 Q5385753 Q15056348 Q5644574 Q15981927 Q6892041 Q5909094 Q19620378 Q4725331 Q20987993 Q25849640 Q5719915 Q5947962 Q3622129 Q6434510 Q3327312 Q16235011 Q7554813 Q5684765 Q5956402 Q7198083 Q3139580 Q755939 Q5436582 Q16074554 Q6914593 Q5943054 Q5398381 Q327424 Q3319157 Q6891939 Q2821332 Q24085030 Q26209576 Q10424320 Q5694666 Q12177901 Q26217980 Q3484853 Q4153 Q4281187 Q3371012 Q4215044 Q5933082 Q5639912 Q5644641 Q6809316 Q5610849 Q705827 Q4519011 Q5644656 Q361697 Q6125945 Q2749785 Q4837383 Q3492352 Q1393111 Q2284887 Q15536588 Q5436403 Q18758532 Q6809351 Q1776658 Q20109402 Q5639814 Q7451862 Q5951310 Q6737865 Q2706810 Q983299 Q4695274 Q7398247 Q2053784 Q2662869 Q5503312 Q2742258 Q3260265 Q2036479 Q21847033 Q7451851 Q6891859 Q5928951 Q3141004 Q4165727 Q3318281 Q16046329 Q335599 Q6891878 Q6413797 Q5705172 Q21000967 Q2817267 Q5960006 Q10511698 Q6891803 Q24033651 Q4308838 Q12845447 Q25756185 Q289766 Q4121790 Q10440508 Q6891835 Q4117659 Q10292378 Q16050896 Q7295163 Q15428028 Q23776853 Q17993902 Q2822174 Q5954413 Q23908918 Q5959085 Q4725132 Q16051796 Q6126801 Q5357633 Q3129332 Q20650847 Q12183068 Q24150766 Q16864026 Q48762 Q269296 Q1398536 Q5950228 Q714744 Q3099883 Q6916873 Q3428934 Q137375 Q4695483 Q6469930 Q5946252 Q10513343 Q6530245 Q4726884 Q7295337 Q3318940 Q7445322 Q400598 Q4726895 Q6355742 Q5719386 Q5940547 Q1768084 Q6351410 Q5556897 Q6892402 Q726612 Q2638857 Q6892819 Q20110363 Q8072887 Q10505399 Q17993827 Q4700430 Q457623 Q5946169 Q1776155 Q4665055 Q3125717 Q16192855 Q4056503 Q2656657 Q5909001 Q10858074 Q6914611 Q4390433 Q5963554 Q2044203 Q6583481 Q4724937 Q4842837 Q10539127
(c(Q502895),P19,Q42053)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q42053']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q1098374 . ?z rdf:type ontology:Q502895 }
Hossein Shahshahani Iman Zandi Soraya Esfandiary-Bakhtiari Alireza Ali Ahmadi Shapour Bakhtiar Ali Jafari Nushatu Isfahani Nasser Khalili Hassan Kassai Javad Maheri Sara Rastegar Khalil Esfandiary Bakhtiary Ahmad Reza Talebian Jalal Al-Din Taheri Alireza Mousavi Hassan Shamaizadeh Mohammad Gharazi Ali Choupani Milad Sarlak Abu Isa Alireza Noori Jalal Akbari Homayoun Ershadi Mohammad Ali Dadkhah Nosratollah Vahdat Farhad Sadeghi Amini Hamed Rasouli Mohammadreza Ghodratipour Hamidreza Fouladgar Jean-François Rousseau Ali Erfan Nairy Baghramian Ahmad Momenzadeh Zari Khoshkam Akbar Khan Norouzi Soroush Sehhat Mohammad Hejazi Mohammad-Reza Bateni Maryam Faghihimani Shaul Mofaz Amir Molkarai Shahla Sherkat Saib Tabrizi Siamak Kouroshi Annik Shefrazian Mohammad Ali Najafi Ahmad Jannati Teymur Bakhtiar Hatef Esfehani Imad ad-Din al-Isfahani Raghib Isfahani Ardeshir Ahmadi Mohammad Bagher Shafti Mohammad Reza Saket Seyyed Mohammad Ali Oraizi Ali Panjehpour Mohammad Alirezaei Mohammad Reza Mortazavi Manouchehr Ahmadi Seyyed Mohammad Bagher Movahed Abtahi Iman Jamali Naeim Ghalili Zufar ibn al-Hudhail Amina Bint al-Majlisi Mehrangiz Dowlatshahi Tahmasp I Keivan Amraei Masoud Homami Mohammad Saeedikia 'Adud al-Dawla Mamad Haghighat Javad Davari Rashid Sharifi mohammad zeimaran Peyman Salmani Sadegh Ghotbzadeh Reza Naderian Mohammad Reza Akbari Mehdi Mehdipour Reza Bahrami Nejad Mehdi Rahmani Zabihollah Rezaee Sogand Soheili Daud Khan Undiladze Erfan Morteza Ahmadi Harandi Hamid Azizzadeh Naser Pourmehdi Mohammad Hossein Moradmand Hossein Kharrazi Mohammad Javad Manavinejad Ali lotfi Amir Reza Nasr Azadani Seyed Mahmood Hosseini pozveh Ali Tayebnia Ali ebn-e Sahl Esfahani Aren Davoudi Kouhyar Goudarzi Muin Musavvir Iman Shirazi Sohrab Moradi Ahmad Salamatian Mahdi Pakdel Pirouz Adamiat Homayoun As’adian Muhammad Baqir Majlisi Farzad Sharifian Mohammad-Ali Moradi Morteza Moghtadai Heydar Saremi Esmaeil Farhadi Nusrat Bhutto Mohsen Nourbakhsh Mohammad Etemadi Abdollah Nouri Mehdi Sedghian Mehran Derakhshan Mehr Mansour Ebrahimzadeh Khalifa Sultan Ibn Furak Golnoush Sebghatollahi Sina Vodjani George Bournoutian Hrant Markarian Reza Ghasemi Mahmoud Karimi Sibaki Rasoul Khorvash Haji Muhammad Hussain Khan Nezam al-Daula Hamid Reza Kazemi Mehdi Hashemi Golamreza Azadi Houshang Golshiri Shahamir Shahamirian Hamid Shafiei Farshid Mesghali Jalaleddin Alimohammadi Bahman Farmanara Baba Rokneddin Beyzayi Ahmad Reihan Mohammad-Ali Jamalzadeh Mohammad Hoqouqi Alireza Mobasheri Farshad Bahadorani Francesco Bertoldi Mehdi Nasiri Alireza Nasr Azadani Morteza Atashzamzam Haj Aqa Nourollah Sepehr Heidari Najm-e Thani Majid Sharif Vaghefi Gholamhossein Ebrahimi Dinani Hazin Lahiji Ahmad Baghbanbashi Saeed Shahram Rasoul Korbekandi Imam-Quli Khan Freydoon Rassouli Alireza Eftekhari Jaber Rouzbahani Yahya Rahim Safavi Jack Mahfar Sepehr Mohammadi Mohammad Atrianfar Mehrdad Ziaei Hossein Omoumi Jaafar Modarres-Sadeghi Mohammad-Ali Keshavarz Reza Banki Abu al-Faraj al-Isfahani Mohammad Bagher Sadeghi Ibn-al-Ḥasan Ḥamza al-Iṣfahānī Nour ed-Din Mohammad Esfahani Milad Beigi Mohammad Mahmoudvand Mohammad Reza Emami Rasoul Navidkia Mohammad Amin Aghai Mehdi Taj Mohammad Yusef the Painter Salman Hüseynov Mohammad ali pourmiri Dariush Forouhar Mohammad Ghazi Mohammad Salsali Mohammad Asghari Jafar Zafarani Jahangir Forouhar Farnaz Rahnama Rasoul Azadani Mahnaz Badihian Minoo Khaleghi Erfan Maftoolkar Abu Nu`aym Luna Shad Ghasem Zaghinejad Aboutorab Esfahani Ali Rafie Mohammad Banki Jalil Shahnaz Fethullah Qa'ravi Isfahani Mohsen Bengar Mehdi Jamalinejad Ismail Sader Hamed Bahiraei Hossein Baharvand Heydar Moslehi Ahmad ibn Rustah Oshin Sahakian Alireza Rahimi Mohammad Beheshti Leila Forouhar Mostafa Salehinejad Reza Ghassemi Gholam-Hossein Mohseni-Eje'i Ahmad Tafazzoli Lady Amin Ali Akbar Parvaresh Niloufar Ardalan Mohammad Saleh Esfahani Alireza Marandi Rasul Sadr Ameli Mohammad Piram Sediqeh Dowlatabadi Ahmad Amir-Ahmadi Alireza Pourmand Kamaloddin Jenab Doust Ali Moayyer ol-Mamalek Shirin Yazdanbakhsh Hamed Komeili Ibn Manda Gholamreza Nikpey Mohammad Sattarifar Moharram Navidkia Mahmoud Farshchian Mohammadreza Jouze Zinatossadat Alevi Homayooni Ziya Movahed Sina Ashouri Masoud Pakdel Akbar Mass'oud Rahman Rezaei Mirza Shah Husayn Arsalan Kazemi Abdoldjavad Falaturi Hagopdjan de Deritchan Abulhassan Navab Agha Mirek Mirza Malkam Khan Hossein Charkhabi Mahboubeh Honarian Morteza Talaie Ahmad-Reza Radan Mansour Koushan Rostom of Kartli Mahmoud Yavari Ali Karimi Bahram Atef Iman Kiani
259
[{'concept': 'common name'}, 'place of birth', 'Isfahan']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Isfahan . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q34370
P190
Q56061
USER
How many administrative territories are twin towns of Rotterdam ?
(Q34370,P190,c(Q56061))
action count
action filter_type
action find
entity Q34370
relation P190
type Q56061
['Q34370', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { ?l rdf:type ontology:Q56061 . resource:Q34370 property:P190 ?l }
Rotterdam
action count
action filter_type
action find
entity Rotterdam
relation sister city
type administrative territorial entity
['Rotterdam', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Rotterdam property:sister_city ?l }
[]
administrative territorial entity
SYSTEM
17
Q8686 Q16010 Q648 Q365 Q24826 Q5168 Q11974 Q6509 Q1780 Q1563 Q3992 Q3630 Q585 Q81581 Q406 Q5092 Q495
(Q34370,P190,c(Q56061))
action count
action filter_type
action find
entity Q34370
relation P190
type Q56061
[ANSWER]
['Q34370', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { ?l rdf:type ontology:Q56061 . resource:Q34370 property:P190 ?l }
Shanghai Esch-sur-Alzette Lille Cologne Liverpool Makhachkala Las Palmas de Gran Canaria Burgas Bratislava Havana Liège Jakarta Oslo Szeged Istanbul Baltimore Turin
17
action count
action filter_type
action find
entity Rotterdam
relation sister city
type administrative territorial entity
['Rotterdam', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Rotterdam property:sister_city ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q129610
P190
Q56061
USER
And how about Galway?
(Q129610,P190,c(Q56061))
action count
action filter_type
action find
entity Q129610
relation P190
type Q56061
['Q129610', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n rdf:type ontology:Q56061 . resource:Q129610 property:P190 ?n }
Galway
action count
action filter_type
action find
entity Galway
relation sister city
type administrative territorial entity
['Galway', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Galway property:sister_city ?n }
[]
administrative territorial entity
SYSTEM
10
Q170532 Q457334 Q49193 Q5083 Q25410 Q37100 Q782760 Q22905 Q38022 Q1297
(Q129610,P190,c(Q56061))
action count
action filter_type
action find
entity Q129610
relation P190
type Q56061
[ANSWER]
['Q129610', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n rdf:type ontology:Q56061 . resource:Q129610 property:P190 ?n }
Amasya Moncton Brockton Seattle Aalborg Auckland Waitakere City Bradford St. Louis Chicago
10
action count
action filter_type
action find
entity Galway
relation sister city
type administrative territorial entity
['Galway', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Galway property:sister_city ?n }
[]