Simple Question (Direct)
Simple Question
Q1503729
P20
Q486972
USER
Where did Georg Blank die ?
(Q1503729,P20,c(Q486972))
action filter_type
action find
entity Q1503729
relation P20
type Q486972
['Q1503729', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?e WHERE { resource:Q1503729 property:P20 ?e . ?e rdf:type ontology:Q486972 }
Georg Blank
action filter_type
action find
entity Georg Blank
relation place of death
type human settlement
['Georg Blank', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?e WHERE { resource:Georg_Blank property:place_of_death ?e . ?e rdf:type ontology:human_settlement }
[]
human settlement
Q881462
SYSTEM
Dudweiler
Q881462
(Q1503729,P20,c(Q486972))
action filter_type
action find
entity Q1503729
relation P20
type Q486972
Georg Blank died in [ANSWER]
['Q1503729', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?e WHERE { resource:Q1503729 property:P20 ?e . ?e rdf:type ontology:Q486972 }
Dudweiler
Georg Blank died in Dudweiler
Dudweiler
action filter_type
action find
entity Georg Blank
relation place of death
type human settlement
['Georg Blank', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?e WHERE { resource:Georg_Blank property:place_of_death ?e . ?e rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1503729
P102
Q7210356
USER
Which party is Georg Blank affiliated with ?
(Q1503729,P102,c(Q7210356))
action filter_type
action find
entity Q1503729
relation P102
type Q7210356
['Q1503729', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q1503729 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Georg Blank
action filter_type
action find
entity Georg Blank
relation member of political party
type political organization
['Georg Blank', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Georg_Blank property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q13124
SYSTEM
Free Democratic Party
Q13124
(Q1503729,P102,c(Q7210356))
action filter_type
action find
entity Q1503729
relation P102
type Q7210356
Georg Blank is affiliated with [ANSWER]
['Q1503729', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q1503729 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Free Democratic Party
Georg Blank is affiliated with Free Democratic Party
Free Democratic Party
action filter_type
action find
entity Georg Blank
relation member of political party
type political organization
['Georg Blank', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Georg_Blank property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1503729
P937
Q56061
USER
Which is the work location of Georg Blank ?
(Q1503729,P937,c(Q56061))
action filter_type
action find
entity Q1503729
relation P937
type Q56061
['Q1503729', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1503729 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Georg Blank
action filter_type
action find
entity Georg Blank
relation work location
type administrative territorial entity
['Georg Blank', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Georg_Blank property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1724
SYSTEM
Saarbrücken
Q1724
(Q1503729,P937,c(Q56061))
action filter_type
action find
entity Q1503729
relation P937
type Q56061
[ANSWER] is the work location of Georg Blank
['Q1503729', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1503729 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Saarbrücken
Saarbrücken is the work location of Georg Blank
Saarbrücken
action filter_type
action find
entity Georg Blank
relation work location
type administrative territorial entity
['Georg Blank', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Georg_Blank property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1724
P36
Q7275
USER
Which state has that administrative territory as its capital ?
(c(Q7275),P36,Q1724)
action filter_type
action find_reverse
entity Q1724
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q1724']
SELECT DISTINCT ?v WHERE { ?v property:P36 resource:Q1724 . ?v rdf:type ontology:Q7275 }
Saarbrücken
action filter_type
action find_reverse
entity Saarbrücken
relation capital
type state
[{'concept': 'state'}, 'capital', 'Saarbrücken']
SELECT DISTINCT ?v WHERE { ?v property:capital resource:Saarbrücken . ?v rdf:type ontology:state }
[]
state
Q310293
SYSTEM
Saar Protectorate
Q310293
(c(Q7275),P36,Q1724)
action filter_type
action find_reverse
entity Q1724
relation P36
type Q7275
[ANSWER] has that administrative territory as its capital
[{'concept': 'Q7275'}, 'P36', 'Q1724']
SELECT DISTINCT ?v WHERE { ?v property:P36 resource:Q1724 . ?v rdf:type ontology:Q7275 }
Saar Protectorate
Saar Protectorate has that administrative territory as its capital
Saar Protectorate
action filter_type
action find_reverse
entity Saarbrücken
relation capital
type state
[{'concept': 'state'}, 'capital', 'Saarbrücken']
SELECT DISTINCT ?v WHERE { ?v property:capital resource:Saarbrücken . ?v rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1724
P190
Q56061
USER
How many administrative territories are twin cities of Saarbrücken ?
(Q1724,P190,c(Q56061))
action count
action filter_type
action find
entity Q1724
relation P190
type Q56061
['Q1724', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q1724 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Saarbrücken
action count
action filter_type
action find
entity Saarbrücken
relation sister city
type administrative territorial entity
['Saarbrücken', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Saarbrücken property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
4
Q994 Q270 Q3703 Q12191
(Q1724,P190,c(Q56061))
action count
action filter_type
action find
entity Q1724
relation P190
type Q56061
[ANSWER]
['Q1724', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q1724 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Tbilisi Warsaw Bamako Nantes
4
action count
action filter_type
action find
entity Saarbrücken
relation sister city
type administrative territorial entity
['Saarbrücken', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Saarbrücken property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1724
P190
Q56061
USER
Which administrative territories are sister town of that one ?
action filter_type
action find
entity Q1724
relation P190
type Q56061
SELECT DISTINCT ?q WHERE { resource:Q1724 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Saarbrücken
action filter_type
action find
entity Saarbrücken
relation sister city
type administrative territorial entity
SELECT DISTINCT ?q WHERE { resource:Saarbrücken property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270 Q994 Q12191
SYSTEM
Warsaw, Tbilisi, Nantes
Q270 Q3703 Q994 Q12191
action filter_type
action find
entity Q1724
relation P190
type Q56061
[ANSWERS] are sister town of that one
SELECT DISTINCT ?q WHERE { resource:Q1724 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Warsaw Bamako Tbilisi Nantes
Warsaw, Tbilisi and Nantes are sister town of that one
Warsaw Tbilisi Nantes
action filter_type
action find
entity Saarbrücken
relation sister city
type administrative territorial entity
SELECT DISTINCT ?q WHERE { resource:Saarbrücken property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q1724
P937 P21
Q502895
USER
Which people have Saarbrücken as their work location and have the gender as female ?
AND((c(Q502895),P937,Q1724), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q1724
relation P937
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q1724'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P21 resource:Q6581072 . ?x property:P937 resource:Q1724 }
female Saarbrücken
action filter_type
action intersection
action find_reverse
entity Saarbrücken
relation work location
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Saarbrücken'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:gender resource:female . ?x property:work_location resource:Saarbrücken }
[]
common name
Q1796905 Q1674483 Q1944563 Q1536254 Q1893262 Q1683816 Q750808 Q1268553 Q1097883 Q1902112
SYSTEM
Some of them are Luise Schiffgens, Isolde Ries, Monika Beck, Nicole Schuhmacher, Marcella Berger, Jasmin Maurer, Astrid Schramm, Marion Kemmerzell, Claudia Willger, Marlis Schwenk
Q1133347 Q1594512 Q1413692 Q556844 Q1097883 Q1896808 Q1683816 Q1527388 Q566102 Q109979 Q71359 Q1490762 Q2209751 Q1344664 Q1536254 Q750808 Q1354521 Q1944563 Q2286142 Q1163543 Q1353418 Q1896310 Q1674483 Q532333 Q1527434 Q1157283 Q1044254 Q120330 Q1231905 Q494576 Q1603146 Q2167944 Q1594548 Q1157271 Q2080111 Q1268553 Q1796905 Q105331 Q1646871 Q1124708 Q1673046 Q1451953 Q865250 Q1594429 Q1363383 Q556762 Q1895447 Q1078349 Q551317 Q549743 Q17326732 Q992657 Q90451 Q1895443 Q2503115 Q1659195 Q1513753 Q1902112 Q2370142 Q2091750 Q1082627 Q1331476 Q343530 Q1944559 Q1331482 Q1264932 Q992661 Q1043670 Q1897193 Q1893262 Q1729489 Q1722111 Q807642 Q2166917 Q566600
AND((c(Q502895),P937,Q1724), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q1724
relation P937
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] have Saarbrücken as their work location and have the gender as female
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q1724'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P21 resource:Q6581072 . ?x property:P937 resource:Q1724 }
Cornelia Hoffmann-Bethscheider Heike Grieser Petra Scherer Anke Rehlinger Claudia Willger Marianne Granz Jasmin Maurer Gisela Kolb Annelie Paulus Simone Peter Annegret Kramp-Karrenbauer Gaby Schäfer Sabine Hennrich Gabriele Bozok Nicole Schuhmacher Astrid Schramm Erika Ternes Monika Beck Silke Biendel Daniela Schlegel-Friedrich Karin Jäckel Maria Schweitzer Isolde Ries Angela Braun-Stratmann Gisela Rink Dagmar Heib Carola Reinsberg Margit Conrad Ruth Meyer Andrea Neumann Helma Kuhn-Theis Roswitha Hollinger Heike Kugler Dagmar Ensch-Engel Petra Berg Marion Kemmerzell Luise Schiffgens Nadine Schön Kerstin Backes-Ternig Edith Ennen Irmtraud Engeldinger Frauke Stein Birgit Huonker Heidrun Möller Irmgard Fuest Anke Heimes Margriet Zieder-Ripplinger Christel Steitz Anja Wagner-Scheid Anita Girst Ursula Wienen Brunhilde Müller Joelle Franzmann Margret Wintermantel Ute Schmid Ilse Reiter Gerlinde Neumann Marlis Schwenk Suzanne Dowaliby Pia Döring Christiane Blatt Elke Eder-Hippler İkbal Berber Monika Bachmann Elke Ferner Rita Waschbüsch Brunhilde Peter Carmen Lallemand-Sauder Marie-Luise Kuhn Marcella Berger Karin Lawall Silke Kohl Barbara Spaniol Rosemarie Scheurlen Annette John
Luise Schiffgens, Isolde Ries, Monika Beck, Nicole Schuhmacher, Marcella Berger, Jasmin Maurer, Astrid Schramm, Marion Kemmerzell, Claudia Willger and Marlis Schwenk have Saarbrücken as their work location and have the gender as female
Luise Schiffgens Isolde Ries Monika Beck Nicole Schuhmacher Marcella Berger Jasmin Maurer Astrid Schramm Marion Kemmerzell Claudia Willger Marlis Schwenk
action filter_type
action intersection
action find_reverse
entity Saarbrücken
relation work location
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Saarbrücken'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:gender resource:female . ?x property:work_location resource:Saarbrücken }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1796905 Q1674483 Q1944563 Q1536254 Q1893262 Q1683816 Q750808 Q1268553 Q1097883 Q1902112
P937
Q56061
USER
Which are the work locations of those people ?
(Q1796905,P937,c(Q56061)) (Q1674483,P937,c(Q56061)) (Q1944563,P937,c(Q56061)) (Q1536254,P937,c(Q56061)) (Q1893262,P937,c(Q56061)) (Q1683816,P937,c(Q56061)) (Q750808,P937,c(Q56061)) (Q1268553,P937,c(Q56061)) (Q1097883,P937,c(Q56061)) (Q1902112,P937,c(Q56061))
action filter_type
action find
entity prev_answer
relation P937
type Q56061
['Q1796905', 'P937', {'concept': 'Q56061'}] ['Q1674483', 'P937', {'concept': 'Q56061'}] ['Q1944563', 'P937', {'concept': 'Q56061'}] ['Q1536254', 'P937', {'concept': 'Q56061'}] ['Q1893262', 'P937', {'concept': 'Q56061'}] ['Q1683816', 'P937', {'concept': 'Q56061'}] ['Q750808', 'P937', {'concept': 'Q56061'}] ['Q1268553', 'P937', {'concept': 'Q56061'}] ['Q1097883', 'P937', {'concept': 'Q56061'}] ['Q1902112', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?j property:P937 ?c . ?c rdf:type ontology:Q56061 . VALUES ( ?j ) { ( resource:Q1133347 ) ( resource:Q1594512 ) ( resource:Q1413692 ) } }
Luise Schiffgens Isolde Ries Monika Beck Nicole Schuhmacher Marcella Berger Jasmin Maurer Astrid Schramm Marion Kemmerzell Claudia Willger Marlis Schwenk
action filter_type
action find
entity prev_answer
relation work location
type administrative territorial entity
['Luise Schiffgens', 'work location', {'concept': 'administrative territorial entity'}] ['Isolde Ries', 'work location', {'concept': 'administrative territorial entity'}] ['Monika Beck', 'work location', {'concept': 'administrative territorial entity'}] ['Nicole Schuhmacher', 'work location', {'concept': 'administrative territorial entity'}] ['Marcella Berger', 'work location', {'concept': 'administrative territorial entity'}] ['Jasmin Maurer', 'work location', {'concept': 'administrative territorial entity'}] ['Astrid Schramm', 'work location', {'concept': 'administrative territorial entity'}] ['Marion Kemmerzell', 'work location', {'concept': 'administrative territorial entity'}] ['Claudia Willger', 'work location', {'concept': 'administrative territorial entity'}] ['Marlis Schwenk', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?j property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity . VALUES ( ?j ) { ( resource:Cornelia_Hoffmann-Bethscheider ) ( resource:Heike_Grieser ) ( resource:Petra_Scherer ) } }
[]
administrative territorial entity
Q64 Q1724 Q1724
SYSTEM
Berlin for 1st, Saarbrücken for 2nd, 3rd
Q64 Q1724 Q1724 Q1724 Q1724 Q1724 Q1724 Q1724 Q1724 Q1724 Q1724
(Q1796905,P937,c(Q56061)) (Q1674483,P937,c(Q56061)) (Q1944563,P937,c(Q56061)) (Q1536254,P937,c(Q56061)) (Q1893262,P937,c(Q56061)) (Q1683816,P937,c(Q56061)) (Q750808,P937,c(Q56061)) (Q1268553,P937,c(Q56061)) (Q1097883,P937,c(Q56061)) (Q1902112,P937,c(Q56061))
action filter_type
action find
entity prev_answer
relation P937
type Q56061
[ANSWERS]
['Q1796905', 'P937', {'concept': 'Q56061'}] ['Q1674483', 'P937', {'concept': 'Q56061'}] ['Q1944563', 'P937', {'concept': 'Q56061'}] ['Q1536254', 'P937', {'concept': 'Q56061'}] ['Q1893262', 'P937', {'concept': 'Q56061'}] ['Q1683816', 'P937', {'concept': 'Q56061'}] ['Q750808', 'P937', {'concept': 'Q56061'}] ['Q1268553', 'P937', {'concept': 'Q56061'}] ['Q1097883', 'P937', {'concept': 'Q56061'}] ['Q1902112', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?j property:P937 ?c . ?c rdf:type ontology:Q56061 . VALUES ( ?j ) { ( resource:Q1133347 ) ( resource:Q1594512 ) ( resource:Q1413692 ) } }
Berlin Saarbrücken Saarbrücken Saarbrücken Saarbrücken Saarbrücken Saarbrücken Saarbrücken Saarbrücken Saarbrücken Saarbrücken
The work locations of those people are in Berlin, Saarbrücken and Saarbrücken
Berlin Saarbrücken Saarbrücken
action filter_type
action find
entity prev_answer
relation work location
type administrative territorial entity
['Luise Schiffgens', 'work location', {'concept': 'administrative territorial entity'}] ['Isolde Ries', 'work location', {'concept': 'administrative territorial entity'}] ['Monika Beck', 'work location', {'concept': 'administrative territorial entity'}] ['Nicole Schuhmacher', 'work location', {'concept': 'administrative territorial entity'}] ['Marcella Berger', 'work location', {'concept': 'administrative territorial entity'}] ['Jasmin Maurer', 'work location', {'concept': 'administrative territorial entity'}] ['Astrid Schramm', 'work location', {'concept': 'administrative territorial entity'}] ['Marion Kemmerzell', 'work location', {'concept': 'administrative territorial entity'}] ['Claudia Willger', 'work location', {'concept': 'administrative territorial entity'}] ['Marlis Schwenk', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?j property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity . VALUES ( ?j ) { ( resource:Cornelia_Hoffmann-Bethscheider ) ( resource:Heike_Grieser ) ( resource:Petra_Scherer ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270
P1001
Q12737077
USER
Which occupation applies to jurisdiction over Warsaw ?
(c(Q12737077),P1001,Q270)
action filter_type
action find_reverse
entity Q270
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q270']
SELECT DISTINCT ?c WHERE { ?c property:P1001 resource:Q270 . ?c rdf:type ontology:Q12737077 }
Warsaw
action filter_type
action find_reverse
entity Warsaw
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Warsaw']
SELECT DISTINCT ?c WHERE { ?c property:applies_to_jurisdiction resource:Warsaw . ?c rdf:type ontology:occupation }
[]
occupation
Q6627774
SYSTEM
Mayor of Warsaw
Q6627774
(c(Q12737077),P1001,Q270)
action filter_type
action find_reverse
entity Q270
relation P1001
type Q12737077
The [ANSWER] applies to jurisdiction over Warsaw
[{'concept': 'Q12737077'}, 'P1001', 'Q270']
SELECT DISTINCT ?c WHERE { ?c property:P1001 resource:Q270 . ?c rdf:type ontology:Q12737077 }
Mayor of Warsaw
The Mayor of Warsaw applies to jurisdiction over Warsaw
Mayor of Warsaw
action filter_type
action find_reverse
entity Warsaw
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Warsaw']
SELECT DISTINCT ?c WHERE { ?c property:applies_to_jurisdiction resource:Warsaw . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6627774
P39
Q502895
USER
Which people were responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q6627774)
action filter_type
action find_reverse
entity Q6627774
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q6627774']
SELECT DISTINCT ?s WHERE { ?s property:P39 resource:Q6627774 . ?s rdf:type ontology:Q502895 }
Mayor of Warsaw
action filter_type
action find_reverse
entity Mayor of Warsaw
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Mayor of Warsaw']
SELECT DISTINCT ?s WHERE { ?s property:position_held resource:Mayor_of_Warsaw . ?s rdf:type ontology:common_name }
[]
common name
Q2757 Q706178 Q271902
SYSTEM
Lech Kaczyński, Marian Spychalski, Hanna Gronkiewicz-Waltz
Q7941542 Q6185359 Q11767901 Q7941693 Q11724316 Q271902 Q8862627 Q6271017 Q8865075 Q11779645 Q2757 Q9376610 Q1375583 Q3511455 Q11725010 Q7944534 Q3849484 Q7944241 Q9343390 Q8864353 Q706178 Q55920
(c(Q502895),P39,Q6627774)
action filter_type
action find_reverse
entity Q6627774
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q6627774']
SELECT DISTINCT ?s WHERE { ?s property:P39 resource:Q6627774 . ?s rdf:type ontology:Q502895 }
Mieczysław Dębicki Jerzy Bolesławski Marcin Święcicki Zygmunt Dworakowski Jerzy Albrecht Hanna Gronkiewicz-Waltz Julian Kulski Paweł Piskorski Zygmunt Słomiński Mieczysław Bareja Lech Kaczyński Wojciech Kozak Marian Zyndram-Kościałkowski Mirosław Kochalski Jerzy Majewski Janusz Zarzycki Stefan Starzyński Stanisław Tołwiński Stanisław Wyganowski Marceli Porowski Marian Spychalski Kazimierz Marcinkiewicz
Lech Kaczyński, Marian Spychalski and Hanna Gronkiewicz-Waltz were responsible for occupying the position of that occupation
Lech Kaczyński Marian Spychalski Hanna Gronkiewicz-Waltz
action filter_type
action find_reverse
entity Mayor of Warsaw
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Mayor of Warsaw']
SELECT DISTINCT ?s WHERE { ?s property:position_held resource:Mayor_of_Warsaw . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2757 Q2513638
P39
Q12737077
USER
How many occupations were the positions occupied by Lech Kaczyński or Vandal Savage ?
(Q2757,P39,c(Q12737077)) (Q2513638,P39,c(Q12737077))
action count
action union
action filter_type
action find
entity Q2757
relation P39
type Q12737077
action filter_type
action find
entity Q2513638
relation P39
type Q12737077
['Q2757', 'P39', {'concept': 'Q12737077'}] ['Q2513638', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z rdf:type ontology:Q12737077 . resource:Q2757 property:P39 ?z } UNION { ?z rdf:type ontology:Q12737077 . resource:Q2513638 property:P39 ?z } }
Lech Kaczyński Vandal Savage
action count
action union
action filter_type
action find
entity Lech Kaczyński
relation position held
type occupation
action filter_type
action find
entity Vandal Savage
relation position held
type occupation
['Lech Kaczyński', 'position held', {'concept': 'occupation'}] ['Vandal Savage', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z rdf:type ontology:occupation . resource:Lech_Kaczyński property:position_held ?z } UNION { ?z rdf:type ontology:occupation . resource:Vandal_Savage property:position_held ?z } }
[]
occupation
SYSTEM
4
Q12097 Q30185 Q6627774 Q1054799
(Q2757,P39,c(Q12737077)) (Q2513638,P39,c(Q12737077))
action count
action union
action filter_type
action find
entity Q2757
relation P39
type Q12737077
action filter_type
action find
entity Q2513638
relation P39
type Q12737077
[ANSWER]
['Q2757', 'P39', {'concept': 'Q12737077'}] ['Q2513638', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z rdf:type ontology:Q12737077 . resource:Q2757 property:P39 ?z } UNION { ?z rdf:type ontology:Q12737077 . resource:Q2513638 property:P39 ?z } }
king mayor Mayor of Warsaw President of Poland
4
action count
action union
action filter_type
action find
entity Lech Kaczyński
relation position held
type occupation
action filter_type
action find
entity Vandal Savage
relation position held
type occupation
['Lech Kaczyński', 'position held', {'concept': 'occupation'}] ['Vandal Savage', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z rdf:type ontology:occupation . resource:Lech_Kaczyński property:position_held ?z } UNION { ?z rdf:type ontology:occupation . resource:Vandal_Savage property:position_held ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q215536
P180
Q12737077 Q3305213 Q18783400
USER
Which occupations are depicted in less number of paintings and genres of sculpture than merchant ?
(c(Q3305213)|c(Q18783400),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q215536
relation P180
type Q3305213
type Q18783400
[[{'concept': 'Q3305213'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) ?f WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:Q3305213 ) ( ontology:Q18783400 ) } } GROUP BY ?f } . FILTER ( ?h < ?r ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P180 resource:Q215536 . { ?s rdf:type ?q . VALUES ( ?q ) { ( ontology:Q3305213 ) ( ontology:Q18783400 ) } } } } }
merchant
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity merchant
relation depicts
type painting
type genre of sculpture
[[{'concept': 'painting'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) ?f WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:painting ) ( ontology:genre_of_sculpture ) } } GROUP BY ?f } . FILTER ( ?h < ?r ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:depicts resource:merchant . { ?s rdf:type ?q . VALUES ( ?q ) { ( ontology:painting ) ( ontology:genre_of_sculpture ) } } } } }
[]
occupation painting genre of sculpture
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q16735601 Q37226 Q27621374 Q152355 Q1218776 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q47064 Q185196 Q328325 Q11900058 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q12902372 Q170790 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q15954519 Q2981922 Q29182 Q326358 Q5575361 Q1161133 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q1627992 Q2309784 Q253567 Q3439798 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q373017 Q2180295 Q1294787 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3305213)|c(Q18783400),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q215536
relation P180
type Q3305213
type Q18783400
[ANSWERS] are depicted in less number of paintings and genres of sculpture than merchant
[[{'concept': 'Q3305213'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) ?f WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:Q3305213 ) ( ontology:Q18783400 ) } } GROUP BY ?f } . FILTER ( ?h < ?r ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P180 resource:Q215536 . { ?s rdf:type ?q . VALUES ( ?q ) { ( ontology:Q3305213 ) ( ontology:Q18783400 ) } } } } }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer florist teacher bear hunter cobbler arriero sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model deacon wet nurse sailor clown spinner butcher military personnel midwife stonemason explorer civil servant sower abbé architect street musician nurse parson flautist mathematician mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman alchemist American pioneer bishop joiner goatherd pedicure courtesan member of parliament bartender clogmaker peddler reaper condottiero canon discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge matador goldsmith waterseller pretender astronomer surgeon domestic worker cook Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker lady's maid sport cyclist apprentice King of France woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric basketry mail carrier artisan bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
Nurse, tailor and librarian are depicted in less number of paintings and genres of sculpture than merchant
nurse tailor librarian
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity merchant
relation depicts
type painting
type genre of sculpture
[[{'concept': 'painting'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) ?f WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:painting ) ( ontology:genre_of_sculpture ) } } GROUP BY ?f } . FILTER ( ?h < ?r ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:depicts resource:merchant . { ?s rdf:type ?q . VALUES ( ?q ) { ( ontology:painting ) ( ontology:genre_of_sculpture ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2730732
P180
Q12737077 Q3305213 Q18783400
USER
And how about equestrian?
(c(Q3305213)|c(Q18783400),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q2730732
relation P180
type Q3305213
type Q18783400
[[{'concept': 'Q3305213'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q3305213 } UNION { ?j property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q18783400 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P180 resource:Q2730732 . { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:Q3305213 ) ( ontology:Q18783400 ) } } } } . FILTER ( ?c < ?v ) }
equestrian
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity equestrian
relation depicts
type painting
type genre of sculpture
[[{'concept': 'painting'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:depicts ?f . ?f rdf:type ontology:occupation . ?j rdf:type ontology:painting } UNION { ?j property:depicts ?f . ?f rdf:type ontology:occupation . ?j rdf:type ontology:genre_of_sculpture } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:depicts resource:equestrian . { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:painting ) ( ontology:genre_of_sculpture ) } } } } . FILTER ( ?c < ?v ) }
[]
occupation painting genre of sculpture
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q16735601 Q37226 Q27621374 Q152355 Q1218776 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q47064 Q185196 Q328325 Q11900058 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q12902372 Q170790 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q15954519 Q2981922 Q29182 Q326358 Q5575361 Q1161133 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q1627992 Q2309784 Q253567 Q3439798 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q373017 Q2180295 Q1294787 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3305213)|c(Q18783400),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q2730732
relation P180
type Q3305213
type Q18783400
[ANSWERS]
[[{'concept': 'Q3305213'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q3305213 } UNION { ?j property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q18783400 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P180 resource:Q2730732 . { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:Q3305213 ) ( ontology:Q18783400 ) } } } } . FILTER ( ?c < ?v ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer florist teacher bear hunter cobbler arriero sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model deacon wet nurse sailor clown spinner butcher military personnel midwife stonemason explorer civil servant sower abbé architect street musician nurse parson flautist mathematician mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman alchemist American pioneer bishop joiner goatherd pedicure courtesan member of parliament bartender clogmaker peddler reaper condottiero canon discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge matador goldsmith waterseller pretender astronomer surgeon domestic worker cook Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker lady's maid sport cyclist apprentice King of France woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric basketry mail carrier artisan bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
nurse tailor librarian
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity equestrian
relation depicts
type painting
type genre of sculpture
[[{'concept': 'painting'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:depicts ?f . ?f rdf:type ontology:occupation . ?j rdf:type ontology:painting } UNION { ?j property:depicts ?f . ?f rdf:type ontology:occupation . ?j rdf:type ontology:genre_of_sculpture } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:depicts resource:equestrian . { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:painting ) ( ontology:genre_of_sculpture ) } } } } . FILTER ( ?c < ?v ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P425
Q12737077 Q223557
USER
How many occupations or physical objects have that occupation as thier associated field of occupation ?
(Q242468,P425,c(Q12737077)) (Q242468,P425,c(Q223557)) (Q186360,P425,c(Q12737077)) (Q186360,P425,c(Q223557)) (Q242468,P425,c(Q12737077)) (Q242468,P425,c(Q223557)) (Q182436,P425,c(Q12737077)) (Q182436,P425,c(Q223557))
['Q242468', 'P425', {'concept': 'Q12737077'}] ['Q242468', 'P425', {'concept': 'Q223557'}] ['Q186360', 'P425', {'concept': 'Q12737077'}] ['Q186360', 'P425', {'concept': 'Q223557'}] ['Q242468', 'P425', {'concept': 'Q12737077'}] ['Q242468', 'P425', {'concept': 'Q223557'}] ['Q182436', 'P425', {'concept': 'Q12737077'}] ['Q182436', 'P425', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q242468 property:P425 ?z } UNION { resource:Q242468 property:P425 ?y } UNION { resource:Q186360 property:P425 ?z } UNION { resource:Q186360 property:P425 ?y } UNION { resource:Q242468 property:P425 ?z } UNION { resource:Q242468 property:P425 ?y } UNION { resource:Q182436 property:P425 ?z } UNION { resource:Q182436 property:P425 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q223557 }
['tailor', 'field of this occupation', {'concept': 'occupation'}] ['tailor', 'field of this occupation', {'concept': 'physical object'}] ['nurse', 'field of this occupation', {'concept': 'occupation'}] ['nurse', 'field of this occupation', {'concept': 'physical object'}] ['tailor', 'field of this occupation', {'concept': 'occupation'}] ['tailor', 'field of this occupation', {'concept': 'physical object'}] ['librarian', 'field of this occupation', {'concept': 'occupation'}] ['librarian', 'field of this occupation', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:tailor property:field_of_this_occupation ?z } UNION { resource:tailor property:field_of_this_occupation ?y } UNION { resource:nurse property:field_of_this_occupation ?z } UNION { resource:nurse property:field_of_this_occupation ?y } UNION { resource:tailor property:field_of_this_occupation ?z } UNION { resource:tailor property:field_of_this_occupation ?y } UNION { resource:librarian property:field_of_this_occupation ?z } UNION { resource:librarian property:field_of_this_occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:physical_object }
[]
occupation physical object
Quantitative|Count|Mult. entity type|Clarification
Q242468
SYSTEM
Did you mean tailor ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q242468 property:P425 ?z } UNION { resource:Q242468 property:P425 ?y } UNION { resource:Q186360 property:P425 ?z } UNION { resource:Q186360 property:P425 ?y } UNION { resource:Q242468 property:P425 ?z } UNION { resource:Q242468 property:P425 ?y } UNION { resource:Q182436 property:P425 ?z } UNION { resource:Q182436 property:P425 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q223557 }
Did you mean tailor ?
tailor
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:tailor property:field_of_this_occupation ?z } UNION { resource:tailor property:field_of_this_occupation ?y } UNION { resource:nurse property:field_of_this_occupation ?z } UNION { resource:nurse property:field_of_this_occupation ?y } UNION { resource:tailor property:field_of_this_occupation ?z } UNION { resource:tailor property:field_of_this_occupation ?y } UNION { resource:librarian property:field_of_this_occupation ?z } UNION { resource:librarian property:field_of_this_occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:physical_object }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q242468,P425,c(Q12737077)) (Q242468,P425,c(Q223557)) (Q186360,P425,c(Q12737077)) (Q186360,P425,c(Q223557)) (Q242468,P425,c(Q12737077)) (Q242468,P425,c(Q223557)) (Q182436,P425,c(Q12737077)) (Q182436,P425,c(Q223557))
['Q242468', 'P425', {'concept': 'Q12737077'}] ['Q242468', 'P425', {'concept': 'Q223557'}] ['Q186360', 'P425', {'concept': 'Q12737077'}] ['Q186360', 'P425', {'concept': 'Q223557'}] ['Q242468', 'P425', {'concept': 'Q12737077'}] ['Q242468', 'P425', {'concept': 'Q223557'}] ['Q182436', 'P425', {'concept': 'Q12737077'}] ['Q182436', 'P425', {'concept': 'Q223557'}]
['tailor', 'field of this occupation', {'concept': 'occupation'}] ['tailor', 'field of this occupation', {'concept': 'physical object'}] ['nurse', 'field of this occupation', {'concept': 'occupation'}] ['nurse', 'field of this occupation', {'concept': 'physical object'}] ['tailor', 'field of this occupation', {'concept': 'occupation'}] ['tailor', 'field of this occupation', {'concept': 'physical object'}] ['librarian', 'field of this occupation', {'concept': 'occupation'}] ['librarian', 'field of this occupation', {'concept': 'physical object'}]
[]
SYSTEM
2
Q11460 Q652122
(Q242468,P425,c(Q12737077)) (Q242468,P425,c(Q223557)) (Q186360,P425,c(Q12737077)) (Q186360,P425,c(Q223557)) (Q242468,P425,c(Q12737077)) (Q242468,P425,c(Q223557)) (Q182436,P425,c(Q12737077)) (Q182436,P425,c(Q223557))
[ANSWER]
['Q242468', 'P425', {'concept': 'Q12737077'}] ['Q242468', 'P425', {'concept': 'Q223557'}] ['Q186360', 'P425', {'concept': 'Q12737077'}] ['Q186360', 'P425', {'concept': 'Q223557'}] ['Q242468', 'P425', {'concept': 'Q12737077'}] ['Q242468', 'P425', {'concept': 'Q223557'}] ['Q182436', 'P425', {'concept': 'Q12737077'}] ['Q182436', 'P425', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q242468 property:P425 ?z } UNION { resource:Q242468 property:P425 ?y } UNION { resource:Q186360 property:P425 ?z } UNION { resource:Q186360 property:P425 ?y } UNION { resource:Q242468 property:P425 ?z } UNION { resource:Q242468 property:P425 ?y } UNION { resource:Q182436 property:P425 ?z } UNION { resource:Q182436 property:P425 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q223557 }
clothing sewing
2
['tailor', 'field of this occupation', {'concept': 'occupation'}] ['tailor', 'field of this occupation', {'concept': 'physical object'}] ['nurse', 'field of this occupation', {'concept': 'occupation'}] ['nurse', 'field of this occupation', {'concept': 'physical object'}] ['tailor', 'field of this occupation', {'concept': 'occupation'}] ['tailor', 'field of this occupation', {'concept': 'physical object'}] ['librarian', 'field of this occupation', {'concept': 'occupation'}] ['librarian', 'field of this occupation', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:tailor property:field_of_this_occupation ?z } UNION { resource:tailor property:field_of_this_occupation ?y } UNION { resource:nurse property:field_of_this_occupation ?z } UNION { resource:nurse property:field_of_this_occupation ?y } UNION { resource:tailor property:field_of_this_occupation ?z } UNION { resource:tailor property:field_of_this_occupation ?y } UNION { resource:librarian property:field_of_this_occupation ?z } UNION { resource:librarian property:field_of_this_occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:physical_object }
[]