Simple Question (Direct)
Simple Question
Q112999
P21
Q290
USER
What is the sex of Michael Scharang ?
(Q112999,P21,c(Q290))
action filter_type
action find
entity Q112999
relation P21
type Q290
['Q112999', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q112999 property:P21 ?h . ?h rdf:type ontology:Q290 }
Michael Scharang
action filter_type
action find
entity Michael Scharang
relation gender
type sex
['Michael Scharang', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Michael_Scharang property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q112999,P21,c(Q290))
action filter_type
action find
entity Q112999
relation P21
type Q290
The sex of Michael Scharang is the [ANSWER]
['Q112999', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q112999 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of Michael Scharang is the male
male
action filter_type
action find
entity Michael Scharang
relation gender
type sex
['Michael Scharang', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Michael_Scharang property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people as that sex as their class ?
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?c WHERE { ?c property:P136 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?c WHERE { ?c property:genre resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q313288 Q18221191 Q23766532
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Pierre Laviron
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?c WHERE { ?c property:P136 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?c WHERE { ?c property:genre resource:male . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q313288 Q19092109
P84
Q44539
USER
How many temples were Augustus Pugin or Lapidge, Edward (DNB00) the designer of ?
(c(Q44539),P84,Q313288) (c(Q44539),P84,Q19092109)
action count
action union
action filter_type
action find_reverse
entity Q313288
relation P84
type Q44539
action filter_type
action find_reverse
entity Q19092109
relation P84
type Q44539
[{'concept': 'Q44539'}, 'P84', 'Q313288'] [{'concept': 'Q44539'}, 'P84', 'Q19092109']
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { ?j property:P84 resource:Q313288 . ?j rdf:type ontology:Q44539 } UNION { ?j property:P84 resource:Q19092109 . ?j rdf:type ontology:Q44539 } }
Augustus Pugin Lapidge, Edward (DNB00)
action count
action union
action filter_type
action find_reverse
entity Augustus Pugin
relation architect
type temple
action filter_type
action find_reverse
entity Lapidge, Edward (DNB00)
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Augustus Pugin'] [{'concept': 'temple'}, 'architect', 'Lapidge, Edward (DNB00)']
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { ?j property:architect resource:Augustus_Pugin . ?j rdf:type ontology:temple } UNION { ?j property:architect resource:Lapidge,_Edward_(DNB00) . ?j rdf:type ontology:temple } }
[]
temple
SYSTEM
12
Q17183220 Q7594513 Q7085076 Q7593468 Q7592239 Q7110746 Q7594312 Q7595022 Q5385292 Q18708785 Q7590105 Q15979465
(c(Q44539),P84,Q313288) (c(Q44539),P84,Q19092109)
action count
action union
action filter_type
action find_reverse
entity Q313288
relation P84
type Q44539
action filter_type
action find_reverse
entity Q19092109
relation P84
type Q44539
[ANSWER]
[{'concept': 'Q44539'}, 'P84', 'Q313288'] [{'concept': 'Q44539'}, 'P84', 'Q19092109']
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { ?j property:P84 resource:Q313288 . ?j rdf:type ontology:Q44539 } UNION { ?j property:P84 resource:Q19092109 . ?j rdf:type ontology:Q44539 } }
St John the Evangelist's Church, Kirkham St Mary's Parish Church, Hampton Old St Peter and St Paul's Church, Albury St James's Church, Reading St Alban's Church, Macclesfield Our Lady and St. Wilfrid's Roman Catholic church, Warwick Bridge St Mary's Church, Derby St Oswald's Church, Winwick Erdington Abbey St Joseph Church, Southampton St. Mary's Catholic Church, Uttoxeter St Oswald's Church, Old Swan, Liverpool
12
action count
action union
action filter_type
action find_reverse
entity Augustus Pugin
relation architect
type temple
action filter_type
action find_reverse
entity Lapidge, Edward (DNB00)
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Augustus Pugin'] [{'concept': 'temple'}, 'architect', 'Lapidge, Edward (DNB00)']
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { ?j property:architect resource:Augustus_Pugin . ?j rdf:type ontology:temple } UNION { ?j property:architect resource:Lapidge,_Edward_(DNB00) . ?j rdf:type ontology:temple } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313288
P800
Q16970
USER
What are a notable work of Augustus Pugin ?
(Q313288,P800,c(Q16970))
action filter_type
action find
entity Q313288
relation P800
type Q16970
['Q313288', 'P800', {'concept': 'Q16970'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q16970 . resource:Q313288 property:P800 ?e }
Augustus Pugin
action filter_type
action find
entity Augustus Pugin
relation notable work
type church
['Augustus Pugin', 'notable work', {'concept': 'church'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:church . resource:Augustus_Pugin property:notable_work ?e }
[]
church
Q1638891 Q1545350 Q1138066
SYSTEM
St Mary's Cathedral, Newcastle upon Tyne, Nottingham Cathedral, St. Aidan's Cathedral
Q1638891 Q1138066 Q1451262 Q1545350
(Q313288,P800,c(Q16970))
action filter_type
action find
entity Q313288
relation P800
type Q16970
A notable work of Augustus Pugin are at [ANSWERS]
['Q313288', 'P800', {'concept': 'Q16970'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q16970 . resource:Q313288 property:P800 ?e }
St Mary's Cathedral, Newcastle upon Tyne St. Aidan's Cathedral St George's Cathedral, Southwark Nottingham Cathedral
A notable work of Augustus Pugin are at St Mary's Cathedral, Newcastle upon Tyne, Nottingham Cathedral and St. Aidan's Cathedral
St Mary's Cathedral, Newcastle upon Tyne Nottingham Cathedral St. Aidan's Cathedral
action filter_type
action find
entity Augustus Pugin
relation notable work
type church
['Augustus Pugin', 'notable work', {'concept': 'church'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:church . resource:Augustus_Pugin property:notable_work ?e }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q60059
P417
Q502895 Q16970
USER
Which people are the patron saint of more number of churches than Albertus Magnus ?
(c(Q16970),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_type
action find
entity Q60059
relation P417
type Q502895
[{'concept': 'Q16970'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?x ) WHERE { ?t property:P417 ?l . ?t rdf:type ontology:Q16970 . ?l rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q60059 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?x > ?y ) }
Albertus Magnus
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_type
action find
entity Albertus Magnus
relation patron saint
type common name
[{'concept': 'church'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?x ) WHERE { ?t property:patron_saint ?l . ?t rdf:type ontology:church . ?l rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Albertus_Magnus property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?x > ?y ) }
[]
common name church
Q8413 Q8018 Q174044
SYSTEM
Constantine the Great, Augustine of Hippo, Alexander Nevsky
Q133704 Q152457 Q172390 Q696682 Q128267 Q328804 Q174044 Q163900 Q170547 Q676555 Q244380 Q539890 Q212850 Q115550 Q8413 Q42887 Q177903 Q8018 Q216946 Q33923 Q161775 Q128538 Q316599 Q145746 Q167477 Q297742 Q183332 Q48438 Q44281 Q170164 Q965463 Q196527 Q336731 Q9200 Q174880 Q2142772 Q43999 Q359259 Q369691 Q44269 Q43982 Q179718 Q445357 Q40662 Q80513 Q26486 Q158504 Q151967 Q149727 Q164294 Q159862 Q17590 Q200895 Q44248 Q1269112 Q310633
(c(Q16970),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_type
action find
entity Q60059
relation P417
type Q502895
[ANSWERS] are the patron saint of more number of churches than Albertus Magnus
[{'concept': 'Q16970'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?x ) WHERE { ?t property:P417 ?l . ?t rdf:type ontology:Q16970 . ?l rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q60059 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?x > ?y ) }
Martin of Tours Saint Roch Martin I Arnold von Arnoldsweiler Joseph John the Evangelist Alexander Nevsky Saint Francis Xavier Anthony the Great Francis of Assisi Saint Denis Lazarus of Bethany Vitus Nicholas of Flüe Constantine the Great Clement I Stephen I of Hungary Augustine of Hippo Charles Borromeo Peter Stephen Luke the Evangelist Saint Maurice Joseph Anthony of Padua Margaret the Virgin Saint Sebastian Saint George Ignatius of Loyola Helena of Constantinople Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Pancras of Rome Paul Teresa of Ávila Gereon James Saint Emeric of Hungary Saint Ursula Saint Nicholas Bartholomew the Apostle Catherine of Alexandria Henry John the Baptist Saint Cecilia Ladislaus I of Hungary Clement of Ohrid Saint Blaise Saint Giles Saint Anna Elizabeth of Hungary Lawrence of Rome Agatha of Sicily Jerome Saint Ninian Demetrius of Thessaloniki
Constantine the Great, Augustine of Hippo and Alexander Nevsky are the patron saint of more number of churches than Albertus Magnus
Constantine the Great Augustine of Hippo Alexander Nevsky
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_type
action find
entity Albertus Magnus
relation patron saint
type common name
[{'concept': 'church'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?x ) WHERE { ?t property:patron_saint ?l . ?t rdf:type ontology:church . ?l rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Albertus_Magnus property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?x > ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1284971
P417
Q502895 Q16970
USER
And also tell me about Victor Maurus?
(c(Q16970),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_type
action find
entity Q1284971
relation P417
type Q502895
[{'concept': 'Q16970'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P417 ?d . ?d rdf:type ontology:Q502895 . ?a rdf:type ontology:Q16970 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q1284971 property:P417 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?t > ?j ) }
Victor Maurus
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_type
action find
entity Victor Maurus
relation patron saint
type common name
[{'concept': 'church'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:patron_saint ?d . ?d rdf:type ontology:common_name . ?a rdf:type ontology:church } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Victor_Maurus property:patron_saint ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?t > ?j ) }
[]
common name church
Q8413 Q8018 Q174044
SYSTEM
Constantine the Great, Augustine of Hippo, Alexander Nevsky
Q133704 Q152457 Q172390 Q696682 Q128267 Q328804 Q174044 Q163900 Q170547 Q676555 Q244380 Q539890 Q212850 Q115550 Q8413 Q42887 Q177903 Q8018 Q216946 Q33923 Q161775 Q128538 Q316599 Q145746 Q167477 Q297742 Q183332 Q48438 Q44281 Q170164 Q965463 Q196527 Q336731 Q9200 Q174880 Q2142772 Q43999 Q359259 Q369691 Q44269 Q43982 Q179718 Q445357 Q40662 Q80513 Q26486 Q158504 Q151967 Q149727 Q164294 Q159862 Q17590 Q200895 Q44248 Q1269112 Q310633
(c(Q16970),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_type
action find
entity Q1284971
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q16970'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P417 ?d . ?d rdf:type ontology:Q502895 . ?a rdf:type ontology:Q16970 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q1284971 property:P417 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?t > ?j ) }
Martin of Tours Saint Roch Martin I Arnold von Arnoldsweiler Joseph John the Evangelist Alexander Nevsky Saint Francis Xavier Anthony the Great Francis of Assisi Saint Denis Lazarus of Bethany Vitus Nicholas of Flüe Constantine the Great Clement I Stephen I of Hungary Augustine of Hippo Charles Borromeo Peter Stephen Luke the Evangelist Saint Maurice Joseph Anthony of Padua Margaret the Virgin Saint Sebastian Saint George Ignatius of Loyola Helena of Constantinople Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Pancras of Rome Paul Teresa of Ávila Gereon James Saint Emeric of Hungary Saint Ursula Saint Nicholas Bartholomew the Apostle Catherine of Alexandria Henry John the Baptist Saint Cecilia Ladislaus I of Hungary Clement of Ohrid Saint Blaise Saint Giles Saint Anna Elizabeth of Hungary Lawrence of Rome Agatha of Sicily Jerome Saint Ninian Demetrius of Thessaloniki
Constantine the Great Augustine of Hippo Alexander Nevsky
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_type
action find
entity Victor Maurus
relation patron saint
type common name
[{'concept': 'church'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:patron_saint ?d . ?d rdf:type ontology:common_name . ?a rdf:type ontology:church } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Victor_Maurus property:patron_saint ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?t > ?j ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q8413 Q8018 Q174044
P106
Q12737077
USER
Which occupations have Constantine the Great, Augustine of Hippo and Alexander Nevsky as his/her 's career ?
(Q8413,P106,c(Q12737077)) (Q8018,P106,c(Q12737077)) (Q174044,P106,c(Q12737077))
action union
action filter_type
action find
entity Q8413
relation P106
type Q12737077
action filter_type
action find
entity Q8018
relation P106
type Q12737077
action filter_type
action find
entity Q174044
relation P106
type Q12737077
['Q8413', 'P106', {'concept': 'Q12737077'}] ['Q8018', 'P106', {'concept': 'Q12737077'}] ['Q174044', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:Q12737077 . resource:Q8413 property:P106 ?z } UNION { resource:Q8018 property:P106 ?z . ?z rdf:type ontology:Q12737077 } }
Constantine the Great Augustine of Hippo Alexander Nevsky
action union
action filter_type
action find
entity Constantine the Great
relation occupation
type occupation
action filter_type
action find
entity Augustine of Hippo
relation occupation
type occupation
action filter_type
action find
entity Alexander Nevsky
relation occupation
type occupation
['Constantine the Great', 'occupation', {'concept': 'occupation'}] ['Augustine of Hippo', 'occupation', {'concept': 'occupation'}] ['Alexander Nevsky', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:occupation . resource:Constantine_the_Great property:occupation ?z } UNION { resource:Augustine_of_Hippo property:occupation ?z . ?z rdf:type ontology:occupation } }
[]
occupation
Q201788 Q82955 Q16031530
SYSTEM
historian, politician, music theorist
Q82955 Q201788 Q16031530 Q4504549 Q1234713 Q36180 Q11900058
(Q8413,P106,c(Q12737077)) (Q8018,P106,c(Q12737077)) (Q174044,P106,c(Q12737077))
action union
action filter_type
action find
entity Q8413
relation P106
type Q12737077
action filter_type
action find
entity Q8018
relation P106
type Q12737077
action filter_type
action find
entity Q174044
relation P106
type Q12737077
The [ANSWERS] have Constantine the Great, Augustine of Hippo and Alexander Nevsky as his/her 's career
['Q8413', 'P106', {'concept': 'Q12737077'}] ['Q8018', 'P106', {'concept': 'Q12737077'}] ['Q174044', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:Q12737077 . resource:Q8413 property:P106 ?z } UNION { resource:Q8018 property:P106 ?z . ?z rdf:type ontology:Q12737077 } }
politician historian music theorist religious servant theologian writer explorer
The historian, politician and music theorist have Constantine the Great, Augustine of Hippo and Alexander Nevsky as his/her 's career
historian politician music theorist
action union
action filter_type
action find
entity Constantine the Great
relation occupation
type occupation
action filter_type
action find
entity Augustine of Hippo
relation occupation
type occupation
action filter_type
action find
entity Alexander Nevsky
relation occupation
type occupation
['Constantine the Great', 'occupation', {'concept': 'occupation'}] ['Augustine of Hippo', 'occupation', {'concept': 'occupation'}] ['Alexander Nevsky', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:occupation . resource:Constantine_the_Great property:occupation ?z } UNION { resource:Augustine_of_Hippo property:occupation ?z . ?z rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8413
P40
Q502895
USER
Who have Constantine the Great as an offspring ?
(c(Q502895),P40,Q201788) (c(Q502895),P40,Q82955) (c(Q502895),P40,Q16031530)
action filter_type
action find_reverse
entity Q8413
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q201788'] [{'concept': 'Q502895'}, 'P40', 'Q82955'] [{'concept': 'Q502895'}, 'P40', 'Q16031530']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q8413 . ?r rdf:type ontology:Q502895 }
Constantine the Great
action filter_type
action find_reverse
entity Constantine the Great
relation child
type common name
[{'concept': 'common name'}, 'child', 'historian'] [{'concept': 'common name'}, 'child', 'politician'] [{'concept': 'common name'}, 'child', 'music theorist']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Constantine_the_Great . ?r rdf:type ontology:common_name }
[]
common name
Q170164 Q131195
SYSTEM
Helena of Constantinople, Constantius Chlorus
Q170164 Q131195
(c(Q502895),P40,Q201788) (c(Q502895),P40,Q82955) (c(Q502895),P40,Q16031530)
action filter_type
action find_reverse
entity Q8413
relation P40
type Q502895
[ANSWERS] have Constantine the Great as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q201788'] [{'concept': 'Q502895'}, 'P40', 'Q82955'] [{'concept': 'Q502895'}, 'P40', 'Q16031530']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q8413 . ?r rdf:type ontology:Q502895 }
Helena of Constantinople Constantius Chlorus
Helena of Constantinople and Constantius Chlorus have Constantine the Great as an offspring
Helena of Constantinople Constantius Chlorus
action filter_type
action find_reverse
entity Constantine the Great
relation child
type common name
[{'concept': 'common name'}, 'child', 'historian'] [{'concept': 'common name'}, 'child', 'politician'] [{'concept': 'common name'}, 'child', 'music theorist']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Constantine_the_Great . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q131195
P20
Q56061
USER
Where did the demise of that person occur ?
(Q131195,P20,c(Q56061))
action filter_type
action find
entity Q131195
relation P20
type Q56061
['Q131195', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q131195 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Constantius Chlorus
action filter_type
action find
entity Constantius Chlorus
relation place of death
type administrative territorial entity
['Constantius Chlorus', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Constantius_Chlorus property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q131195
SYSTEM
Did you mean Constantius Chlorus ?
Q170164 Q131195
(Q170164,P20,c(Q56061)) (Q131195,P20,c(Q56061))
[ANSWER]
['Q170164', 'P20', {'concept': 'Q56061'}] ['Q131195', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q131195 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Helena of Constantinople Constantius Chlorus
Did you mean Constantius Chlorus ?
Constantius Chlorus
['Helena of Constantinople', 'place of death', {'concept': 'administrative territorial entity'}] ['Constantius Chlorus', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Constantius_Chlorus property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q131195,P20,c(Q56061))
['Q131195', 'P20', {'concept': 'Q56061'}]
['Constantius Chlorus', 'place of death', {'concept': 'administrative territorial entity'}]
[]
Q42462
SYSTEM
York
Q42462
(Q131195,P20,c(Q56061))
action filter_type
action find
entity Q131195
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q131195', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q131195 property:P20 ?r . ?r rdf:type ontology:Q56061 }
York
The demise of that person occurred in York
York
action filter_type
action find
entity Constantius Chlorus
relation place of death
type administrative territorial entity
['Constantius Chlorus', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Constantius_Chlorus property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types are the registry port of exactly 3 administrative territories ?
(c(Q2235308),P532,c(Q56061))
action count
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?v ) WHERE { ?l property:P532 ?u . ?l rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?l } . FILTER ( ?v = 3 ) }
action count
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?v ) WHERE { ?l property:port_of_registry ?u . ?l rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?v = 3 ) }
[]
administrative territorial entity ship type
SYSTEM
1
Q11707059
(c(Q2235308),P532,c(Q56061))
action count
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?v ) WHERE { ?l property:P532 ?u . ?l rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?l } . FILTER ( ?v = 3 ) }
MS Arrow
1
action count
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?v ) WHERE { ?l property:port_of_registry ?u . ?l rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?v = 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P84
Q502895 Q4830453 Q16970
USER
How many churches were designed by exactly 3 people or business enterprises ?
(c(Q16970),P84,c(Q502895)|c(Q4830453))
action count
action equal
action union
action find_tuple_counts
relation P84
type Q16970
type Q502895
action find_tuple_counts
relation P84
type Q16970
type Q4830453
value 3
[{'concept': 'Q16970'}, 'P84', [{'concept': 'Q502895'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?w ) WHERE { { ?y property:P84 ?e . ?y rdf:type ontology:Q16970 . ?e rdf:type ontology:Q502895 } UNION { ?y property:P84 ?e . ?e rdf:type ontology:Q4830453 . ?y rdf:type ontology:Q16970 } } GROUP BY ?y } . FILTER ( ?w = 3 ) }
action count
action equal
action union
action find_tuple_counts
relation architect
type church
type common name
action find_tuple_counts
relation architect
type church
type business enterprise
value 3
[{'concept': 'church'}, 'architect', [{'concept': 'common name'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?w ) WHERE { { ?y property:architect ?e . ?y rdf:type ontology:church . ?e rdf:type ontology:common_name } UNION { ?y property:architect ?e . ?e rdf:type ontology:business_enterprise . ?y rdf:type ontology:church } } GROUP BY ?y } . FILTER ( ?w = 3 ) }
[]
common name business enterprise church
SYSTEM
3
Q2942243 Q17722 Q1086358
(c(Q16970),P84,c(Q502895)|c(Q4830453))
action count
action equal
action union
action find_tuple_counts
relation P84
type Q16970
type Q502895
action find_tuple_counts
relation P84
type Q16970
type Q4830453
value 3
[ANSWER]
[{'concept': 'Q16970'}, 'P84', [{'concept': 'Q502895'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?w ) WHERE { { ?y property:P84 ?e . ?y rdf:type ontology:Q16970 . ?e rdf:type ontology:Q502895 } UNION { ?y property:P84 ?e . ?e rdf:type ontology:Q4830453 . ?y rdf:type ontology:Q16970 } } GROUP BY ?y } . FILTER ( ?w = 3 ) }
Montauban Cathedral St. Peter's Church St. Rumbold's Cathedral
3
action count
action equal
action union
action find_tuple_counts
relation architect
type church
type common name
action find_tuple_counts
relation architect
type church
type business enterprise
value 3
[{'concept': 'church'}, 'architect', [{'concept': 'common name'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?w ) WHERE { { ?y property:architect ?e . ?y rdf:type ontology:church . ?e rdf:type ontology:common_name } UNION { ?y property:architect ?e . ?e rdf:type ontology:business_enterprise . ?y rdf:type ontology:church } } GROUP BY ?y } . FILTER ( ?w = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42462
P931
Q62447
USER
Which aerodrome is served by York ?
(c(Q62447),P931,Q42462)
action filter_type
action find_reverse
entity Q42462
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q42462']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q62447 . ?y property:P931 resource:Q42462 }
York
action filter_type
action find_reverse
entity York
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'York']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:aerodrome . ?y property:place_served_by_airport resource:York }
[]
aerodrome
Q3275209
SYSTEM
Full Sutton Airfield
Q3275209
(c(Q62447),P931,Q42462)
action filter_type
action find_reverse
entity Q42462
relation P931
type Q62447
And [ANSWER] is served by York
[{'concept': 'Q62447'}, 'P931', 'Q42462']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q62447 . ?y property:P931 resource:Q42462 }
Full Sutton Airfield
And Full Sutton Airfield is served by York
Full Sutton Airfield
action filter_type
action find_reverse
entity York
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'York']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:aerodrome . ?y property:place_served_by_airport resource:York }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313288
P22
Q502895
USER
Who is the offspring of Augustus Pugin ?
(c(Q502895),P22,Q313288)
action filter_type
action find_reverse
entity Q313288
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q313288']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q313288 . ?o rdf:type ontology:Q502895 }
Augustus Pugin
action filter_type
action find_reverse
entity Augustus Pugin
relation father
type common name
[{'concept': 'common name'}, 'father', 'Augustus Pugin']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Augustus_Pugin . ?o rdf:type ontology:common_name }
[]
common name
Q5289445
SYSTEM
E. W. Pugin
Q5289445
(c(Q502895),P22,Q313288)
action filter_type
action find_reverse
entity Q313288
relation P22
type Q502895
The offspring of Augustus Pugin is the [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q313288']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q313288 . ?o rdf:type ontology:Q502895 }
E. W. Pugin
The offspring of Augustus Pugin is the E. W. Pugin
E. W. Pugin
action filter_type
action find_reverse
entity Augustus Pugin
relation father
type common name
[{'concept': 'common name'}, 'father', 'Augustus Pugin']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Augustus_Pugin . ?o rdf:type ontology:common_name }
[]