Simple Question (Direct)
Simple Question
Q5218565
P1344
Q2312410
USER
Which sport discipline did Daniel Repacholi take part in ?
(Q5218565,P1344,c(Q2312410))
action filter_type
action find
entity Q5218565
relation P1344
type Q2312410
['Q5218565', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?t WHERE { resource:Q5218565 property:P1344 ?t . ?t rdf:type ontology:Q2312410 }
Daniel Repacholi
action filter_type
action find
entity Daniel Repacholi
relation participant of
type sport discipline
['Daniel Repacholi', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?t WHERE { resource:Daniel_Repacholi property:participant_of ?t . ?t rdf:type ontology:sport_discipline }
[]
sport discipline
Q18020584
SYSTEM
shooting at the 2016 Summer Olympics
Q18020584
(Q5218565,P1344,c(Q2312410))
action filter_type
action find
entity Q5218565
relation P1344
type Q2312410
Daniel Repacholi took in part in [ANSWER]
['Q5218565', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?t WHERE { resource:Q5218565 property:P1344 ?t . ?t rdf:type ontology:Q2312410 }
shooting at the 2016 Summer Olympics
Daniel Repacholi took in part in shooting at the 2016 Summer Olympics
shooting at the 2016 Summer Olympics
action filter_type
action find
entity Daniel Repacholi
relation participant of
type sport discipline
['Daniel Repacholi', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?t WHERE { resource:Daniel_Repacholi property:participant_of ?t . ?t rdf:type ontology:sport_discipline }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5218565
P27
Q1048835
USER
Which political territory is Daniel Repacholi an inhabitant of ?
(Q5218565,P27,c(Q1048835))
action filter_type
action find
entity Q5218565
relation P27
type Q1048835
['Q5218565', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q5218565 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Daniel Repacholi
action filter_type
action find
entity Daniel Repacholi
relation country of citizenship
type political territorial entity
['Daniel Repacholi', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Daniel_Repacholi property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q5218565,P27,c(Q1048835))
action filter_type
action find
entity Q5218565
relation P27
type Q1048835
[ANSWER] is Daniel Repacholi an inhabitant of
['Q5218565', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q5218565 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Australia
Australia is Daniel Repacholi an inhabitant of
Australia
action filter_type
action find
entity Daniel Repacholi
relation country of citizenship
type political territorial entity
['Daniel Repacholi', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Daniel_Repacholi property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P1923
Q500834
USER
What did that political territory participate in ?
(c(Q500834),P1923,Q408)
action filter_type
action find_reverse
entity Q408
relation P1923
type Q500834
[{'concept': 'Q500834'}, 'P1923', 'Q408']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q500834 . ?l property:P1923 resource:Q408 }
Australia
action filter_type
action find_reverse
entity Australia
relation participating teams
type tournament
[{'concept': 'tournament'}, 'participating teams', 'Australia']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:tournament . ?l property:participating_teams resource:Australia }
[]
tournament
Q16822104
SYSTEM
1991 Trans-Tasman Test series
Q16822104
(c(Q500834),P1923,Q408)
action filter_type
action find_reverse
entity Q408
relation P1923
type Q500834
That political territory participated in [ANSWER]
[{'concept': 'Q500834'}, 'P1923', 'Q408']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q500834 . ?l property:P1923 resource:Q408 }
1991 Trans-Tasman Test series
That political territory participated in 1991 Trans-Tasman Test series
1991 Trans-Tasman Test series
action filter_type
action find_reverse
entity Australia
relation participating teams
type tournament
[{'concept': 'tournament'}, 'participating teams', 'Australia']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:tournament . ?l property:participating_teams resource:Australia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that political territory ?
(Q16822104,P1313,c(Q12737077))
action filter_type
action find
entity Q408
relation P1313
type Q12737077
['Q16822104', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q408 property:P1313 ?b . ?b rdf:type ontology:Q12737077 }
Australia
action filter_type
action find
entity Australia
relation office held by head of government
type occupation
['1991 Trans-Tasman Test series', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Australia property:office_held_by_head_of_government ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q319145
SYSTEM
Prime Minister of Australia
Q319145
(Q16822104,P1313,c(Q12737077))
action filter_type
action find
entity Q408
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that political territory
['Q16822104', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q408 property:P1313 ?b . ?b rdf:type ontology:Q12737077 }
Prime Minister of Australia
The Prime Minister of Australia serves as the political office that is fulfilled by the head of the government of that political territory
Prime Minister of Australia
action filter_type
action find
entity Australia
relation office held by head of government
type occupation
['1991 Trans-Tasman Test series', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Australia property:office_held_by_head_of_government ?b . ?b rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q20489032
P180
Q12737077 Q838948 Q1792379
USER
How many occupations are expressed in lesser number of works of art or art genres than salt pan worker ?
(c(Q838948)|c(Q1792379),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q20489032
relation P180
type Q838948
type Q1792379
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?u WHERE { { ?y rdf:type ontology:Q838948 . ?u rdf:type ontology:Q12737077 . ?y property:P180 ?u } UNION { ?y property:P180 ?u . ?y rdf:type ontology:Q1792379 . ?u rdf:type ontology:Q12737077 } } GROUP BY ?u } . FILTER ( ?f < ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:P180 resource:Q20489032 . { { ?r rdf:type ontology:Q838948 } UNION { ?r rdf:type ontology:Q1792379 } } } } }
salt pan worker
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity salt pan worker
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?u WHERE { { ?y rdf:type ontology:work_of_art . ?u rdf:type ontology:occupation . ?y property:depicts ?u } UNION { ?y property:depicts ?u . ?y rdf:type ontology:art_genre . ?u rdf:type ontology:occupation } } GROUP BY ?u } . FILTER ( ?f < ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:depicts resource:salt_pan_worker . { { ?r rdf:type ontology:work_of_art } UNION { ?r rdf:type ontology:art_genre } } } } }
[]
occupation work of art art genre
SYSTEM
177
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q16735601 Q37226 Q1401609 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q327321 Q549322 Q327029 Q733786 Q2309900 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q537575 Q20826540 Q715301 Q11338576 Q14009165 Q15954519 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q15725121 Q185992 Q133485 Q674067 Q901 Q589897 Q4594605 Q242468 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q11063 Q774306 Q2276446 Q207651 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q7622988 Q157195
(c(Q838948)|c(Q1792379),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q20489032
relation P180
type Q838948
type Q1792379
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?u WHERE { { ?y rdf:type ontology:Q838948 . ?u rdf:type ontology:Q12737077 . ?y property:P180 ?u } UNION { ?y property:P180 ?u . ?y rdf:type ontology:Q1792379 . ?u rdf:type ontology:Q12737077 } } GROUP BY ?u } . FILTER ( ?f < ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:P180 resource:Q20489032 . { { ?r rdf:type ontology:Q838948 } UNION { ?r rdf:type ontology:Q1792379 } } } } }
fiddler acrobat milkmaid worker standard-bearer sheep shearer florist teacher vaquero cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor valet sex worker woman of letters ventriloquist amateur wrestler geographer Archbishop of Canterbury minister receptionist milkman coachman model deacon wet nurse sailor clown spinner religious servant detective midwife pianist stonemason explorer artist merchant civil servant abbé architect street musician nurse parson mandolinist mathematician tax collector mayor bell-ringer miner beekeeper washerwoman cellist bricklayer torero mechanic monk helmsman harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja friar hobo fishmonger recorder player laborer gravedigger erudite comics artist boxer trapper alchemist tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player bassoonist mufti rabbi mime artist scientist mahout magistrate tailor housekeeper theologian courier monarch porter pastor courtier judge abbot matador goldsmith astronomer surgeon domestic worker cook executioner embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher baker knife grinder police officer guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer sea captain street artist waiting staff
177
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity salt pan worker
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?u WHERE { { ?y rdf:type ontology:work_of_art . ?u rdf:type ontology:occupation . ?y property:depicts ?u } UNION { ?y property:depicts ?u . ?y rdf:type ontology:art_genre . ?u rdf:type ontology:occupation } } GROUP BY ?u } . FILTER ( ?f < ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:depicts resource:salt_pan_worker . { { ?r rdf:type ontology:work_of_art } UNION { ?r rdf:type ontology:art_genre } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q805221
P180
Q12737077 Q838948 Q1792379
USER
And what about ballet dancer?
(c(Q838948)|c(Q1792379),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q805221
relation P180
type Q838948
type Q1792379
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?j ) WHERE { { ?g property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q838948 } UNION { ?g property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q1792379 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:P180 resource:Q805221 . { ?v rdf:type ?m . VALUES ( ?m ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } } } } . FILTER ( ?j < ?a ) }
ballet dancer
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity ballet dancer
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?j ) WHERE { { ?g property:depicts ?x . ?x rdf:type ontology:occupation . ?g rdf:type ontology:work_of_art } UNION { ?g property:depicts ?x . ?x rdf:type ontology:occupation . ?g rdf:type ontology:art_genre } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:depicts resource:ballet_dancer . { ?v rdf:type ?m . VALUES ( ?m ) { ( ontology:work_of_art ) ( ontology:art_genre ) } } } } . FILTER ( ?j < ?a ) }
[]
occupation work of art art genre
SYSTEM
177
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q16735601 Q37226 Q1401609 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q327321 Q549322 Q327029 Q733786 Q2309900 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q537575 Q20826540 Q715301 Q11338576 Q14009165 Q15954519 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q15725121 Q185992 Q133485 Q674067 Q901 Q589897 Q4594605 Q242468 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q11063 Q774306 Q2276446 Q207651 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q7622988 Q157195
(c(Q838948)|c(Q1792379),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q805221
relation P180
type Q838948
type Q1792379
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?j ) WHERE { { ?g property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q838948 } UNION { ?g property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q1792379 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:P180 resource:Q805221 . { ?v rdf:type ?m . VALUES ( ?m ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } } } } . FILTER ( ?j < ?a ) }
fiddler acrobat milkmaid worker standard-bearer sheep shearer florist teacher vaquero cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor valet sex worker woman of letters ventriloquist amateur wrestler geographer Archbishop of Canterbury minister receptionist milkman coachman model deacon wet nurse sailor clown spinner religious servant detective midwife pianist stonemason explorer artist merchant civil servant abbé architect street musician nurse parson mandolinist mathematician tax collector mayor bell-ringer miner beekeeper washerwoman cellist bricklayer torero mechanic monk helmsman harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja friar hobo fishmonger recorder player laborer gravedigger erudite comics artist boxer trapper alchemist tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player bassoonist mufti rabbi mime artist scientist mahout magistrate tailor housekeeper theologian courier monarch porter pastor courtier judge abbot matador goldsmith astronomer surgeon domestic worker cook executioner embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher baker knife grinder police officer guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer sea captain street artist waiting staff
177
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity ballet dancer
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?j ) WHERE { { ?g property:depicts ?x . ?x rdf:type ontology:occupation . ?g rdf:type ontology:work_of_art } UNION { ?g property:depicts ?x . ?x rdf:type ontology:occupation . ?g rdf:type ontology:art_genre } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:depicts resource:ballet_dancer . { ?v rdf:type ?m . VALUES ( ?m ) { ( ontology:work_of_art ) ( ontology:art_genre ) } } } } . FILTER ( ?j < ?a ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of approximately 1 occupation ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:P417 ?h . ?h rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?h } . FILTER ( ?p = 1 ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:patron_saint ?h . ?h rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?h } . FILTER ( ?p = 1 ) }
[]
common name occupation
Q9438 Q60059 Q44281
SYSTEM
Thomas Aquinas, Albertus Magnus, Ignatius of Loyola
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[ANSWERS] are the names of the patron saint of approximately 1 occupation
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:P417 ?h . ?h rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?h } . FILTER ( ?p = 1 ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
Thomas Aquinas, Albertus Magnus and Ignatius of Loyola are the names of the patron saint of approximately 1 occupation
Thomas Aquinas Albertus Magnus Ignatius of Loyola
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:patron_saint ?h . ?h rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?h } . FILTER ( ?p = 1 ) }
[]