Simple Question (Direct)
Simple Question
Q5239499
P69
Q1055028
USER
What is the college of the University of Cambridge where David Saunders-Davies was educated ?
(Q5239499,P69,c(Q1055028))
action filter_type
action find
entity Q5239499
relation P69
type Q1055028
['Q5239499', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?d WHERE { resource:Q5239499 property:P69 ?d . ?d rdf:type ontology:Q1055028 }
David Saunders-Davies
action filter_type
action find
entity David Saunders-Davies
relation educated at
type college of the University of Cambridge
['David Saunders-Davies', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?d WHERE { resource:David_Saunders-Davies property:educated_at ?d . ?d rdf:type ontology:college_of_the_University_of_Cambridge }
[]
college of the University of Cambridge
Q765642
SYSTEM
Queens' College
Q765642
(Q5239499,P69,c(Q1055028))
action filter_type
action find
entity Q5239499
relation P69
type Q1055028
The college of the University of Cambridge David Saunders-Davies was educated is [ANSWER]
['Q5239499', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?d WHERE { resource:Q5239499 property:P69 ?d . ?d rdf:type ontology:Q1055028 }
Queens' College
The college of the University of Cambridge David Saunders-Davies was educated is Queens' College
Queens' College
action filter_type
action find
entity David Saunders-Davies
relation educated at
type college of the University of Cambridge
['David Saunders-Davies', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?d WHERE { resource:David_Saunders-Davies property:educated_at ?d . ?d rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5239499
P607
Q198
USER
What was was that person a part of ?
(Q765642,P607,c(Q198))
action filter_type
action find
entity Q5239499
relation P607
type Q198
['Q765642', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q5239499 property:P607 ?c . ?c rdf:type ontology:Q198 }
David Saunders-Davies
action filter_type
action find
entity David Saunders-Davies
relation conflict
type war
["Queens' College", 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:David_Saunders-Davies property:conflict ?c . ?c rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q765642,P607,c(Q198))
action filter_type
action find
entity Q5239499
relation P607
type Q198
That person was a part of [ANSWER]
['Q765642', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q5239499 property:P607 ?c . ?c rdf:type ontology:Q198 }
World War II
That person was a part of World War II
World War II
action filter_type
action find
entity David Saunders-Davies
relation conflict
type war
["Queens' College", 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:David_Saunders-Davies property:conflict ?c . ?c rdf:type ontology:war }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q198 Q176799
USER
How many wars are lesser number of military units a portion of than that war ?
(c(Q176799),P361,c(Q198))
action count
action less
action find_tuple_counts
relation P361
type Q198
type Q176799
action count
action filter_type
action find
entity Q362
relation P361
type Q198
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?f ) WHERE { ?y property:P361 ?e . ?y rdf:type ontology:Q198 . ?e rdf:type ontology:Q176799 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q362 property:P361 ?z . ?z rdf:type ontology:Q198 } } . FILTER ( ?f < ?w ) }
action count
action less
action find_tuple_counts
relation part of
type war
type military unit
action count
action filter_type
action find
entity World War II
relation part of
type war
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?f ) WHERE { ?y property:part_of ?e . ?y rdf:type ontology:war . ?e rdf:type ontology:military_unit } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:World_War_II property:part_of ?z . ?z rdf:type ontology:war } } . FILTER ( ?f < ?w ) }
[]
war military unit
SYSTEM
0
(c(Q176799),P361,c(Q198))
action count
action less
action find_tuple_counts
relation P361
type Q198
type Q176799
action count
action filter_type
action find
entity Q362
relation P361
type Q198
[ANSWER]
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?f ) WHERE { ?y property:P361 ?e . ?y rdf:type ontology:Q198 . ?e rdf:type ontology:Q176799 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q362 property:P361 ?z . ?z rdf:type ontology:Q198 } } . FILTER ( ?f < ?w ) }
0
action count
action less
action find_tuple_counts
relation part of
type war
type military unit
action count
action filter_type
action find
entity World War II
relation part of
type war
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?f ) WHERE { ?y property:part_of ?e . ?y rdf:type ontology:war . ?e rdf:type ontology:military_unit } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:World_War_II property:part_of ?z . ?z rdf:type ontology:war } } . FILTER ( ?f < ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q362
P136
Q166142 Q2342494
USER
How many applications and collectables have World War II as genre ?
(c(Q166142),P136,Q362) (c(Q2342494),P136,Q362)
action count
action union
action filter_type
action find_reverse
entity Q362
relation P136
type Q166142
action filter_type
action find_reverse
entity Q362
relation P136
type Q2342494
[{'concept': 'Q166142'}, 'P136', 'Q362'] [{'concept': 'Q2342494'}, 'P136', 'Q362']
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } }
World War II
action count
action union
action filter_type
action find_reverse
entity World War II
relation genre
type application
action filter_type
action find_reverse
entity World War II
relation genre
type collectable
[{'concept': 'application'}, 'genre', 'World War II'] [{'concept': 'collectable'}, 'genre', 'World War II']
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:application ) ( ontology:collectable ) } }
[]
application collectable
SYSTEM
1 applications and 4 collectables
Q7749726 Q7569028 Q9199598 Q5046338 Q7728268
(c(Q166142),P136,Q362) (c(Q2342494),P136,Q362)
action count
action union
action filter_type
action find_reverse
entity Q362
relation P136
type Q166142
action filter_type
action find_reverse
entity Q362
relation P136
type Q2342494
[ANSWER]
[{'concept': 'Q166142'}, 'P136', 'Q362'] [{'concept': 'Q2342494'}, 'P136', 'Q362']
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } }
The Making of the Atomic Bomb South by Java Head Czterej pancerni i pies Carrier Aces The Cruel Sea
1 applications and 4 collectables
action count
action union
action filter_type
action find_reverse
entity World War II
relation genre
type application
action filter_type
action find_reverse
entity World War II
relation genre
type collectable
[{'concept': 'application'}, 'genre', 'World War II'] [{'concept': 'collectable'}, 'genre', 'World War II']
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:application ) ( ontology:collectable ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q765642
P1435
Q41176
USER
Which building gives the heritage status of Queens' College ?
(Q765642,P1435,c(Q41176))
action filter_type
action find
entity Q765642
relation P1435
type Q41176
['Q765642', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q41176 . resource:Q765642 property:P1435 ?s }
Queens' College
action filter_type
action find
entity Queens' College
relation heritage status
type building
["Queens' College", 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:building . resource:Queens'_College property:heritage_status ?s }
[]
building
Q15700818
SYSTEM
Grade I listed building
Q15700818
(Q765642,P1435,c(Q41176))
action filter_type
action find
entity Q765642
relation P1435
type Q41176
[ANSWER] gives the heritage status of Queens' College
['Q765642', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q41176 . resource:Q765642 property:P1435 ?s }
Grade I listed building
Grade I listed building gives the heritage status of Queens' College
Grade I listed building
action filter_type
action find
entity Queens' College
relation heritage status
type building
["Queens' College", 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:building . resource:Queens'_College property:heritage_status ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q765642
P112
Q502895
USER
Who were the founders of that college of the University of Cambridge ?
(Q15700818,P112,c(Q502895))
action filter_type
action find
entity Q765642
relation P112
type Q502895
['Q15700818', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q765642 property:P112 ?i . ?i rdf:type ontology:Q502895 }
Queens' College
action filter_type
action find
entity Queens' College
relation founder
type common name
['Grade I listed building', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Queens'_College property:founder ?i . ?i rdf:type ontology:common_name }
[]
common name
Q231145 Q229214
SYSTEM
Margaret of Anjou, Elizabeth Woodville
Q231145 Q229214
(Q15700818,P112,c(Q502895))
action filter_type
action find
entity Q765642
relation P112
type Q502895
The founders of that college of the University of Cambridge were Princess [ANSWERS]
['Q15700818', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q765642 property:P112 ?i . ?i rdf:type ontology:Q502895 }
Margaret of Anjou Elizabeth Woodville
The founders of that college of the University of Cambridge were Princess Margaret of Anjou and Elizabeth Woodville
Margaret of Anjou Elizabeth Woodville
action filter_type
action find
entity Queens' College
relation founder
type common name
['Grade I listed building', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Queens'_College property:founder ?i . ?i rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q229214
P25
Q502895
USER
Which person was the mother of that one ?
(Q229214,P25,c(Q502895))
action filter_type
action find
entity Q229214
relation P25
type Q502895
['Q229214', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q229214 property:P25 ?q . ?q rdf:type ontology:Q502895 }
Elizabeth Woodville
action filter_type
action find
entity Elizabeth Woodville
relation mother
type common name
['Elizabeth Woodville', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Elizabeth_Woodville property:mother ?q . ?q rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q229214
SYSTEM
Did you mean Elizabeth Woodville ?
Q231145 Q229214
(Q231145,P25,c(Q502895)) (Q229214,P25,c(Q502895))
[ANSWER]
['Q231145', 'P25', {'concept': 'Q502895'}] ['Q229214', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q229214 property:P25 ?q . ?q rdf:type ontology:Q502895 }
Margaret of Anjou Elizabeth Woodville
Did you mean Elizabeth Woodville ?
Elizabeth Woodville
['Margaret of Anjou', 'mother', {'concept': 'common name'}] ['Elizabeth Woodville', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Elizabeth_Woodville property:mother ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q229214,P25,c(Q502895))
['Q229214', 'P25', {'concept': 'Q502895'}]
['Elizabeth Woodville', 'mother', {'concept': 'common name'}]
[]
Q448289
SYSTEM
Jacquetta of Luxembourg
Q448289
(Q229214,P25,c(Q502895))
action filter_type
action find
entity Q229214
relation P25
type Q502895
[ANSWER] was the mother of that one
['Q229214', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q229214 property:P25 ?q . ?q rdf:type ontology:Q502895 }
Jacquetta of Luxembourg
Jacquetta of Luxembourg was the mother of that one
Jacquetta of Luxembourg
action filter_type
action find
entity Elizabeth Woodville
relation mother
type common name
['Elizabeth Woodville', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Elizabeth_Woodville property:mother ?q . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q231145
P9 P21
Q502895
USER
Which people had Margaret of Anjou as sister and are a male ?
AND((c(Q502895),P9,Q231145), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q231145
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q231145'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k property:P9 resource:Q231145 . ?k property:P21 resource:Q6581097 . ?k rdf:type ontology:Q502895 }
male Margaret of Anjou
action filter_type
action intersection
action find_reverse
entity Margaret of Anjou
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Margaret of Anjou'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k property:sister resource:Margaret_of_Anjou . ?k property:gender resource:male . ?k rdf:type ontology:common_name }
[]
common name
Q21098641 Q21096568 Q721244 Q21096587 Q3263348
SYSTEM
René of Anjou, Nicolas of Anjou, John II, Duke of Lorraine, Charles of Anjou, Louis of Anjou, Marquis of Pont-à-Mousson
Q21098641 Q21096568 Q721244 Q21096587 Q3263348
AND((c(Q502895),P9,Q231145), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q231145
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q231145'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k property:P9 resource:Q231145 . ?k property:P21 resource:Q6581097 . ?k rdf:type ontology:Q502895 }
René of Anjou Nicolas of Anjou John II, Duke of Lorraine Charles of Anjou Louis of Anjou, Marquis of Pont-à-Mousson
René of Anjou, Nicolas of Anjou, John II, Duke of Lorraine, Charles of Anjou and Louis of Anjou, Marquis of Pont-à-Mousson had Margaret of Anjou as sister and are a male
René of Anjou Nicolas of Anjou John II, Duke of Lorraine Charles of Anjou Louis of Anjou, Marquis of Pont-à-Mousson
action filter_type
action intersection
action find_reverse
entity Margaret of Anjou
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Margaret of Anjou'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k property:sister resource:Margaret_of_Anjou . ?k property:gender resource:male . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q5398426
USER
Which television series have been dubbed by max number of people ?
(c(Q5398426),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q5398426
type Q502895
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?i ) { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?f ) WHERE { ?r property:P725 ?x . ?r rdf:type ontology:Q5398426 . ?x rdf:type ontology:Q502895 } GROUP BY ?r } } . FILTER ( ?g = ?i ) . { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?g ) WHERE { ?d property:P725 ?n . ?n rdf:type ontology:Q502895 . ?d rdf:type ontology:Q5398426 } GROUP BY ?d } }
action argmax
action find_tuple_counts
relation voice actor
type television series
type common name
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?i ) { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?f ) WHERE { ?r property:voice_actor ?x . ?r rdf:type ontology:television_series . ?x rdf:type ontology:common_name } GROUP BY ?r } } . FILTER ( ?g = ?i ) . { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?g ) WHERE { ?d property:voice_actor ?n . ?n rdf:type ontology:common_name . ?d rdf:type ontology:television_series } GROUP BY ?d } }
[]
common name television series
Q386361
SYSTEM
Devil May Cry: The Animated Series
Q386361
(c(Q5398426),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q5398426
type Q502895
[ANSWER] have been dubbed by max number of people
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?i ) { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?f ) WHERE { ?r property:P725 ?x . ?r rdf:type ontology:Q5398426 . ?x rdf:type ontology:Q502895 } GROUP BY ?r } } . FILTER ( ?g = ?i ) . { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?g ) WHERE { ?d property:P725 ?n . ?n rdf:type ontology:Q502895 . ?d rdf:type ontology:Q5398426 } GROUP BY ?d } }
Devil May Cry: The Animated Series
Devil May Cry: The Animated Series have been dubbed by max number of people
Devil May Cry: The Animated Series
action argmax
action find_tuple_counts
relation voice actor
type television series
type common name
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?i ) { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?f ) WHERE { ?r property:voice_actor ?x . ?r rdf:type ontology:television_series . ?x rdf:type ontology:common_name } GROUP BY ?r } } . FILTER ( ?g = ?i ) . { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?g ) WHERE { ?d property:voice_actor ?n . ?n rdf:type ontology:common_name . ?d rdf:type ontology:television_series } GROUP BY ?d } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q386361 Q17
P495
Q15617994
USER
Is Japan the country of origin of Devil May Cry: The Animated Series ?
(Q386361,P495,Q17)
action is_in
entity Q17
action find
entity Q386361
relation P495
['Q386361', 'P495', 'Q17']
ASK WHERE { resource:Q386361 property:P495 resource:Q17 }
Devil May Cry: The Animated Series Japan
action is_in
entity Japan
action find
entity Devil May Cry: The Animated Series
relation country of origin
['Devil May Cry: The Animated Series', 'country of origin', 'Japan']
ASK WHERE { resource:Devil_May_Cry:_The_Animated_Series property:country_of_origin resource:Japan }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q386361,P495,Q17)
action is_in
entity Q17
action find
entity Q386361
relation P495
[ANSWER]
['Q386361', 'P495', 'Q17']
ASK WHERE { resource:Q386361 property:P495 resource:Q17 }
Yes
action is_in
entity Japan
action find
entity Devil May Cry: The Animated Series
relation country of origin
['Devil May Cry: The Animated Series', 'country of origin', 'Japan']
ASK WHERE { resource:Devil_May_Cry:_The_Animated_Series property:country_of_origin resource:Japan }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q386361
P449
Q4830453
USER
Which business enterprise is the original network that television series was aired on ?
action filter_type
action find
entity Q386361
relation P449
type Q4830453
SELECT DISTINCT ?n WHERE { resource:Q386361 property:P449 ?n . ?n rdf:type ontology:Q4830453 }
Devil May Cry: The Animated Series
action filter_type
action find
entity Devil May Cry: The Animated Series
relation original network
type business enterprise
SELECT DISTINCT ?n WHERE { resource:Devil_May_Cry:_The_Animated_Series property:original_network ?n . ?n rdf:type ontology:business_enterprise }
[]
business enterprise
Q775216
SYSTEM
WOWOW
Q775216
action filter_type
action find
entity Q386361
relation P449
type Q4830453
[ANSWER] is the original network that television series was aired on
SELECT DISTINCT ?n WHERE { resource:Q386361 property:P449 ?n . ?n rdf:type ontology:Q4830453 }
WOWOW
WOWOW is the original network that television series was aired on
WOWOW
action filter_type
action find
entity Devil May Cry: The Animated Series
relation original network
type business enterprise
SELECT DISTINCT ?n WHERE { resource:Devil_May_Cry:_The_Animated_Series property:original_network ?n . ?n rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q35749 Q1002697 Q502895
USER
How many people have been stated in atleast 1 parliaments or periodical literatures ?
(c(Q502895),P248,c(Q35749)|c(Q1002697))
action count
action atleast
action union
action find_tuple_counts
relation P248
type Q502895
type Q35749
action find_tuple_counts
relation P248
type Q502895
type Q1002697
value 1
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q35749'}, {'concept': 'Q1002697'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?w WHERE { VALUES ( ?x ) { ( ontology:Q35749 ) ( ontology:Q1002697 ) } . ?b rdf:type ?x } GROUP BY ?w } }
action count
action atleast
action union
action find_tuple_counts
relation stated in
type common name
type parliament
action find_tuple_counts
relation stated in
type common name
type periodical literature
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'parliament'}, {'concept': 'periodical literature'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?w WHERE { VALUES ( ?x ) { ( ontology:parliament ) ( ontology:periodical_literature ) } . ?b rdf:type ?x } GROUP BY ?w } }
[]
parliament periodical literature common name
SYSTEM
17
Q6237320 Q6255181 Q5606264 Q5606262 Q16849502 Q6260652 Q17626521 Q16031816 Q6228730 Q6237308 Q5537319 Q18166520 Q5239885 Q17385895 Q6255286 Q5537325 Q16065563
(c(Q502895),P248,c(Q35749)|c(Q1002697))
action count
action atleast
action union
action find_tuple_counts
relation P248
type Q502895
type Q35749
action find_tuple_counts
relation P248
type Q502895
type Q1002697
value 1
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q35749'}, {'concept': 'Q1002697'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?w WHERE { VALUES ( ?x ) { ( ontology:Q35749 ) ( ontology:Q1002697 ) } . ?b rdf:type ?x } GROUP BY ?w } }
John Hall John Roberts Greg Smith Greg Smith David Wilson John Thompson Colin Campbell William Walker John Davies John Hall George Brown William Thompson David Smith David Evans John Robinson George Brown William Thompson
17
action count
action atleast
action union
action find_tuple_counts
relation stated in
type common name
type parliament
action find_tuple_counts
relation stated in
type common name
type periodical literature
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'parliament'}, {'concept': 'periodical literature'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?w WHERE { VALUES ( ?x ) { ( ontology:parliament ) ( ontology:periodical_literature ) } . ?b rdf:type ?x } GROUP BY ?w } }
[]