Simple Question (Direct)
Simple Question
Q5158143
P50
Q502895
USER
Who authored Conan the Avenger ?
(Q5158143,P50,c(Q502895))
action filter_type
action find
entity Q5158143
relation P50
type Q502895
['Q5158143', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q5158143 property:P50 ?b }
Conan the Avenger
action filter_type
action find
entity Conan the Avenger
relation author
type common name
['Conan the Avenger', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Conan_the_Avenger property:author ?b }
[]
common name
Q2205443 Q316313 Q207640
SYSTEM
Björn Nyberg, Lyon Sprague de Camp, Robert E. Howard
Q2205443 Q316313 Q207640
(Q5158143,P50,c(Q502895))
action filter_type
action find
entity Q5158143
relation P50
type Q502895
[ANSWERS] authored Conan the Avenger
['Q5158143', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q5158143 property:P50 ?b }
Björn Nyberg Lyon Sprague de Camp Robert E. Howard
Björn Nyberg, Lyon Sprague de Camp and Robert E. Howard authored Conan the Avenger
Björn Nyberg Lyon Sprague de Camp Robert E. Howard
action filter_type
action find
entity Conan the Avenger
relation author
type common name
['Conan the Avenger', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Conan_the_Avenger property:author ?b }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2205443 Q316313 Q207640
P21
Q290
USER
Which sexes do those people possess ?
(Q2205443,P21,c(Q290)) (Q316313,P21,c(Q290)) (Q207640,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q2205443', 'P21', {'concept': 'Q290'}] ['Q316313', 'P21', {'concept': 'Q290'}] ['Q207640', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?s ) { ( resource:Q2205443 ) ( resource:Q316313 ) ( resource:Q207640 ) } . ?l rdf:type ontology:Q290 . ?s property:P21 ?l }
Björn Nyberg Lyon Sprague de Camp Robert E. Howard
action filter_type
action find
entity prev_answer
relation gender
type sex
['Björn Nyberg', 'gender', {'concept': 'sex'}] ['Lyon Sprague de Camp', 'gender', {'concept': 'sex'}] ['Robert E. Howard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?s ) { ( resource:Björn_Nyberg ) ( resource:Lyon_Sprague_de_Camp ) ( resource:Robert_E._Howard ) } . ?l rdf:type ontology:sex . ?s property:gender ?l }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q2205443,P21,c(Q290)) (Q316313,P21,c(Q290)) (Q207640,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people possess a [ANSWER], [ANSWER] and [ANSWER]
['Q2205443', 'P21', {'concept': 'Q290'}] ['Q316313', 'P21', {'concept': 'Q290'}] ['Q207640', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?s ) { ( resource:Q2205443 ) ( resource:Q316313 ) ( resource:Q207640 ) } . ?l rdf:type ontology:Q290 . ?s property:P21 ?l }
male male male
Those people possess a male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Björn Nyberg', 'gender', {'concept': 'sex'}] ['Lyon Sprague de Camp', 'gender', {'concept': 'sex'}] ['Robert E. Howard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?s ) { ( resource:Björn_Nyberg ) ( resource:Lyon_Sprague_de_Camp ) ( resource:Robert_E._Howard ) } . ?l rdf:type ontology:sex . ?s property:gender ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5158143
P136
Q223393
USER
What can be considered as category for Conan the Avenger ?
(Q5158143,P136,c(Q223393))
action filter_type
action find
entity Q5158143
relation P136
type Q223393
['Q5158143', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?s WHERE { resource:Q5158143 property:P136 ?s . ?s rdf:type ontology:Q223393 }
Conan the Avenger
action filter_type
action find
entity Conan the Avenger
relation genre
type literary genre
['Conan the Avenger', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?s WHERE { resource:Conan_the_Avenger property:genre ?s . ?s rdf:type ontology:literary_genre }
[]
literary genre
Q132311 Q1999690
SYSTEM
fantasy, sword and sorcery
Q132311 Q1999690
(Q5158143,P136,c(Q223393))
action filter_type
action find
entity Q5158143
relation P136
type Q223393
And [ANSWERS] can be considered as category for Conan the Avenger
['Q5158143', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?s WHERE { resource:Q5158143 property:P136 ?s . ?s rdf:type ontology:Q223393 }
fantasy sword and sorcery
And fantasy and sword and sorcery can be considered as category for Conan the Avenger
fantasy sword and sorcery
action filter_type
action find
entity Conan the Avenger
relation genre
type literary genre
['Conan the Avenger', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?s WHERE { resource:Conan_the_Avenger property:genre ?s . ?s rdf:type ontology:literary_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2541785
Q223393
USER
And also tell me about Oedipus?
(Q2541785,P136,c(Q223393))
action filter_type
action find
entity Q2541785
relation P136
type Q223393
['Q2541785', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q223393 . resource:Q2541785 property:P136 ?d }
Oedipus
action filter_type
action find
entity Oedipus
relation genre
type literary genre
['Oedipus', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:literary_genre . resource:Oedipus property:genre ?d }
[]
literary genre
Q80930
SYSTEM
tragedy
Q80930
(Q2541785,P136,c(Q223393))
action filter_type
action find
entity Q2541785
relation P136
type Q223393
[ANSWER]
['Q2541785', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q223393 . resource:Q2541785 property:P136 ?d }
tragedy
tragedy
action filter_type
action find
entity Oedipus
relation genre
type literary genre
['Oedipus', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:literary_genre . resource:Oedipus property:genre ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2541785
P495
Q15617994
USER
What is the country of origin of that work of art ?
(Q80930,P495,c(Q15617994))
action filter_type
action find
entity Q2541785
relation P495
type Q15617994
['Q80930', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q2541785 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
Oedipus
action filter_type
action find
entity Oedipus
relation country of origin
type designation for an administrative territorial entity
['tragedy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Oedipus property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q80930,P495,c(Q15617994))
action filter_type
action find
entity Q2541785
relation P495
type Q15617994
The country of origin of that work of art is in [ANSWER]
['Q80930', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q2541785 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
France
The country of origin of that work of art is in France
France
action filter_type
action find
entity Oedipus
relation country of origin
type designation for an administrative territorial entity
['tragedy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Oedipus property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q180516 Q35749
USER
How many rooms and parliaments had that administrative territory as their member ?
(Q142,P463,c(Q180516)) (Q142,P463,c(Q35749)) (Q142,P463,c(Q180516)) (Q142,P463,c(Q35749))
action count
action union
action filter_type
action find
entity Q142
relation P463
type Q180516
action filter_type
action find
entity Q142
relation P463
type Q35749
['Q142', 'P463', {'concept': 'Q180516'}] ['Q142', 'P463', {'concept': 'Q35749'}] ['Q142', 'P463', {'concept': 'Q180516'}] ['Q142', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { resource:Q142 property:P463 ?d . ?d rdf:type ontology:Q180516 } UNION { resource:Q142 property:P463 ?d . ?d rdf:type ontology:Q35749 } }
action count
action union
action filter_type
action find
entity France
relation member of
type room
action filter_type
action find
entity France
relation member of
type parliament
['France', 'member of', {'concept': 'room'}] ['France', 'member of', {'concept': 'parliament'}] ['France', 'member of', {'concept': 'room'}] ['France', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { resource:France property:member_of ?d . ?d rdf:type ontology:room } UNION { resource:France property:member_of ?d . ?d rdf:type ontology:parliament } }
[]
room parliament
SYSTEM
1 rooms and 1 parliaments
Q37470 Q141720
(Q142,P463,c(Q180516)) (Q142,P463,c(Q35749)) (Q142,P463,c(Q180516)) (Q142,P463,c(Q35749))
action count
action union
action filter_type
action find
entity Q142
relation P463
type Q180516
action filter_type
action find
entity Q142
relation P463
type Q35749
[ANSWER]
['Q142', 'P463', {'concept': 'Q180516'}] ['Q142', 'P463', {'concept': 'Q35749'}] ['Q142', 'P463', {'concept': 'Q180516'}] ['Q142', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { resource:Q142 property:P463 ?d . ?d rdf:type ontology:Q180516 } UNION { resource:Q142 property:P463 ?d . ?d rdf:type ontology:Q35749 } }
United Nations Security Council European Air Transport Command
1 rooms and 1 parliaments
action count
action union
action filter_type
action find
entity France
relation member of
type room
action filter_type
action find
entity France
relation member of
type parliament
['France', 'member of', {'concept': 'room'}] ['France', 'member of', {'concept': 'parliament'}] ['France', 'member of', {'concept': 'room'}] ['France', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { resource:France property:member_of ?d . ?d rdf:type ontology:room } UNION { resource:France property:member_of ?d . ?d rdf:type ontology:parliament } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q33
P530
Q15617994
USER
How many administrative territories have diplomatic relations with France and Finland ?
(c(Q15617994),P530,Q142) (c(Q15617994),P530,Q33)
action count
action intersection
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q33
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q142'] [{'concept': 'Q15617994'}, 'P530', 'Q33']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P530 resource:Q142 . ?o rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?o property:P530 resource:Q33 }
France Finland
action count
action intersection
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Finland']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:diplomatic_relation resource:France . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation resource:Finland }
[]
designation for an administrative territorial entity
SYSTEM
2
Q184 Q38
(c(Q15617994),P530,Q142) (c(Q15617994),P530,Q33)
action count
action intersection
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q33
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q142'] [{'concept': 'Q15617994'}, 'P530', 'Q33']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P530 resource:Q142 . ?o rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?o property:P530 resource:Q33 }
Belarus Italy
2
action count
action intersection
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Finland']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:diplomatic_relation resource:France . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation resource:Finland }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P17
Q161837 Q15324
USER
How many public services and bodies of water are situated in France ?
(c(Q161837),P17,Q142) (c(Q15324),P17,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P17
type Q161837
action filter_type
action find_reverse
entity Q142
relation P17
type Q15324
[{'concept': 'Q161837'}, 'P17', 'Q142'] [{'concept': 'Q15324'}, 'P17', 'Q142']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { ?h property:P17 resource:Q142 . ?h rdf:type ontology:Q161837 } UNION { ?h property:P17 resource:Q142 . ?h rdf:type ontology:Q15324 } }
France
action count
action union
action filter_type
action find_reverse
entity France
relation country
type public service
action filter_type
action find_reverse
entity France
relation country
type body of water
[{'concept': 'public service'}, 'country', 'France'] [{'concept': 'body of water'}, 'country', 'France']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { ?h property:country resource:France . ?h rdf:type ontology:public_service } UNION { ?h property:country resource:France . ?h rdf:type ontology:body_of_water } }
[]
public service body of water
SYSTEM
3 public services and 54 bodies of water
Q2861206 Q6013329 Q2571760 Q2879719 Q1612543 Q1144680 Q2879480 Q2879639 Q856641 Q7402274 Q1528992 Q7249975 Q2377582 Q7236966 Q7683592 Q24037731 Q8700 Q5313764 Q4949516 Q4853933 Q4495374 Q810532 Q27068062 Q5613279 Q178914 Q27068068 Q5516399 Q2879789 Q2879605 Q15621908 Q1141366 Q5087418 Q2879490 Q803717 Q213517 Q803715 Q803714 Q2321467 Q5581147 Q200793 Q2879593 Q210118 Q6989862 Q6894640 Q3059070 Q6987869 Q5588124 Q21513109 Q549647 Q3108353 Q3108334 Q7099080 Q1129568 Q6375284 Q7701830 Q7081073 Q583591
(c(Q161837),P17,Q142) (c(Q15324),P17,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P17
type Q161837
action filter_type
action find_reverse
entity Q142
relation P17
type Q15324
[ANSWER]
[{'concept': 'Q161837'}, 'P17', 'Q142'] [{'concept': 'Q15324'}, 'P17', 'Q142']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { ?h property:P17 resource:Q142 . ?h rdf:type ontology:Q161837 } UNION { ?h property:P17 resource:Q142 . ?h rdf:type ontology:Q15324 } }
public transport in Île-de-France Inaccessible Bay Quiberon Bay Baie de la Seine Glacier de Leschaux Gulf of Morbihan Baie Larose Baie de Douarnenez Schœlcher library Saint Vincent Bay Glacier Blanc Prony Bay Baie de Bouéni Poya Bay Tanle Bay bay of Le Croisic Transports en commun lyonnais Dumbéa Bay Boulari Bay Banare Bay Hana Vave Arcachon Bay anse du Gouvernement Guadeloupe Passage Martinique Passage Bay of Figari Gadji Bay Le Pouliguen Bay Camaret Bay Baie de La Forêt Glacier Noir Chasseloup Bay Baie Norvégienne Mont Saint-Michel Bay Gironde estuary Baie des Trépassés Baie des Anges Glacier du Tour Gomen Bay Argentière Glacier bay of Bourgneuf Gulf of Lion Nekoro Bay Moindou Bay Loire estuary Nehoue Bay Gouaro Bay Saint-Pierre Bay Bossons Glacier Mont Blanc glacier flood Glacier de Freydane Opunohu Bay Cook Glacier Katavilli Bay Teremba Bay Ohland Bay Mer de Glace
3 public services and 54 bodies of water
action count
action union
action filter_type
action find_reverse
entity France
relation country
type public service
action filter_type
action find_reverse
entity France
relation country
type body of water
[{'concept': 'public service'}, 'country', 'France'] [{'concept': 'body of water'}, 'country', 'France']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { ?h property:country resource:France . ?h rdf:type ontology:public_service } UNION { ?h property:country resource:France . ?h rdf:type ontology:body_of_water } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P1001
Q2352616
USER
Which catalog has jurisdiction over France ?
(c(Q2352616),P1001,Q142)
action filter_type
action find_reverse
entity Q142
relation P1001
type Q2352616
[{'concept': 'Q2352616'}, 'P1001', 'Q142']
SELECT DISTINCT ?t WHERE { ?t property:P1001 resource:Q142 . ?t rdf:type ontology:Q2352616 }
France
action filter_type
action find_reverse
entity France
relation applies to jurisdiction
type catalog
[{'concept': 'catalog'}, 'applies to jurisdiction', 'France']
SELECT DISTINCT ?t WHERE { ?t property:applies_to_jurisdiction resource:France . ?t rdf:type ontology:catalog }
[]
catalog
Q2138605
SYSTEM
Registre du commerce et des sociétés
Q2138605
(c(Q2352616),P1001,Q142)
action filter_type
action find_reverse
entity Q142
relation P1001
type Q2352616
[ANSWER] has jurisdiction over France
[{'concept': 'Q2352616'}, 'P1001', 'Q142']
SELECT DISTINCT ?t WHERE { ?t property:P1001 resource:Q142 . ?t rdf:type ontology:Q2352616 }
Registre du commerce et des sociétés
Registre du commerce et des sociétés has jurisdiction over France
Registre du commerce et des sociétés
action filter_type
action find_reverse
entity France
relation applies to jurisdiction
type catalog
[{'concept': 'catalog'}, 'applies to jurisdiction', 'France']
SELECT DISTINCT ?t WHERE { ?t property:applies_to_jurisdiction resource:France . ?t rdf:type ontology:catalog }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P101
Q5962346 Q1914636 Q2342494
USER
Which collectables work in the domain of max number of classification schemes or activities ?
(c(Q2342494),P101,c(Q5962346)|c(Q1914636))
action argmax
action union
action find_tuple_counts
relation P101
type Q2342494
type Q5962346
action find_tuple_counts
relation P101
type Q2342494
type Q1914636
[{'concept': 'Q2342494'}, 'P101', [{'concept': 'Q5962346'}, {'concept': 'Q1914636'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) ?k WHERE { VALUES ( ?c ) { ( ontology:Q5962346 ) ( ontology:Q1914636 ) } . ?h rdf:type ?c } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?i WHERE { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1914636 ) ( ontology:Q5962346 ) } } GROUP BY ?i } . FILTER ( ?r = ?x ) }
action argmax
action union
action find_tuple_counts
relation field of work
type collectable
type classification scheme
action find_tuple_counts
relation field of work
type collectable
type activity
[{'concept': 'collectable'}, 'field of work', [{'concept': 'classification scheme'}, {'concept': 'activity'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) ?k WHERE { VALUES ( ?c ) { ( ontology:classification_scheme ) ( ontology:activity ) } . ?h rdf:type ?c } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?i WHERE { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:activity ) ( ontology:classification_scheme ) } } GROUP BY ?i } . FILTER ( ?r = ?x ) }
[]
classification scheme activity collectable
Q20032127 Q20018074 Q514727
SYSTEM
Riječi na granici punoznačnosti, Relativna rečenica, The Spirit of the Laws
Q1162210 Q20018074 Q123397 Q15830505 Q20032127 Q514727
(c(Q2342494),P101,c(Q5962346)|c(Q1914636))
action argmax
action union
action find_tuple_counts
relation P101
type Q2342494
type Q5962346
action find_tuple_counts
relation P101
type Q2342494
type Q1914636
[ANSWERS] work in the domain of max number of classification schemes or activities
[{'concept': 'Q2342494'}, 'P101', [{'concept': 'Q5962346'}, {'concept': 'Q1914636'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) ?k WHERE { VALUES ( ?c ) { ( ontology:Q5962346 ) ( ontology:Q1914636 ) } . ?h rdf:type ?c } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?i WHERE { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1914636 ) ( ontology:Q5962346 ) } } GROUP BY ?i } . FILTER ( ?r = ?x ) }
Fantômas Relativna rečenica The Republic The Boynton family and the family seat of Burton Agnes Riječi na granici punoznačnosti The Spirit of the Laws
Riječi na granici punoznačnosti, Relativna rečenica and The Spirit of the Laws work in the domain of max number of classification schemes or activities
Riječi na granici punoznačnosti Relativna rečenica The Spirit of the Laws
action argmax
action union
action find_tuple_counts
relation field of work
type collectable
type classification scheme
action find_tuple_counts
relation field of work
type collectable
type activity
[{'concept': 'collectable'}, 'field of work', [{'concept': 'classification scheme'}, {'concept': 'activity'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) ?k WHERE { VALUES ( ?c ) { ( ontology:classification_scheme ) ( ontology:activity ) } . ?h rdf:type ?c } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?i WHERE { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:activity ) ( ontology:classification_scheme ) } } GROUP BY ?i } . FILTER ( ?r = ?x ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P629
Q571 Q223393 Q2342494
USER
Which collectables represent an edition or translation of min number of books or literary genres ?
(c(Q2342494),P629,c(Q571)|c(Q223393))
action argmin
action union
action find_tuple_counts
relation P629
type Q2342494
type Q571
action find_tuple_counts
relation P629
type Q2342494
type Q223393
[{'concept': 'Q2342494'}, 'P629', [{'concept': 'Q571'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?x ) WHERE { { ?w property:P629 ?g . ?g rdf:type ontology:Q571 . ?w rdf:type ontology:Q2342494 } UNION { ?w property:P629 ?g . ?w rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q223393 } } GROUP BY ?w } . FILTER ( ?x = ?f ) . { SELECT DISTINCT ( MIN ( ?o ) AS ?f ) { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?o ) WHERE { { ?y property:P629 ?n . ?y rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q223393 } UNION { ?y property:P629 ?n . ?y rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q571 } } GROUP BY ?y } } }
action argmin
action union
action find_tuple_counts
relation edition or translation of
type collectable
type book
action find_tuple_counts
relation edition or translation of
type collectable
type literary genre
[{'concept': 'collectable'}, 'edition or translation of', [{'concept': 'book'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?x ) WHERE { { ?w property:edition_or_translation_of ?g . ?g rdf:type ontology:book . ?w rdf:type ontology:collectable } UNION { ?w property:edition_or_translation_of ?g . ?w rdf:type ontology:collectable . ?g rdf:type ontology:literary_genre } } GROUP BY ?w } . FILTER ( ?x = ?f ) . { SELECT DISTINCT ( MIN ( ?o ) AS ?f ) { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?o ) WHERE { { ?y property:edition_or_translation_of ?n . ?y rdf:type ontology:collectable . ?n rdf:type ontology:literary_genre } UNION { ?y property:edition_or_translation_of ?n . ?y rdf:type ontology:collectable . ?n rdf:type ontology:book } } GROUP BY ?y } } }
[]
book literary genre collectable
Q21286489 Q6517916 Q15895126
SYSTEM
The Comedies of Aristophanes, Legends II, International Code of Botanical Nomenclature (Vienna Code)
Q961566 Q26937308 Q15732178 Q866134 Q19219752 Q1502139 Q19200252 Q18918473 Q15964730 Q6517916 Q15895076 Q15895151 Q25991168 Q25991180 Q25991155 Q8035681 Q4894530 Q5378289 Q12412127 Q4264194 Q2462802 Q7768064 Q7741206 Q1786390 Q5083751 Q1555509 Q19113362 Q19842227 Q2906565 Q1571095 Q14866876 Q17292611 Q3526597 Q21286489 Q11306262 Q26696290 Q26691315 Q15895126 Q26691331 Q23809256 Q15895201 Q11323186 Q27251920 Q1240869 Q19366550 Q19076567 Q7047658 Q15732180 Q1138103 Q7744806
(c(Q2342494),P629,c(Q571)|c(Q223393))
action argmin
action union
action find_tuple_counts
relation P629
type Q2342494
type Q571
action find_tuple_counts
relation P629
type Q2342494
type Q223393
[ANSWERS] represent an edition or translation of min number of books or literary genres
[{'concept': 'Q2342494'}, 'P629', [{'concept': 'Q571'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?x ) WHERE { { ?w property:P629 ?g . ?g rdf:type ontology:Q571 . ?w rdf:type ontology:Q2342494 } UNION { ?w property:P629 ?g . ?w rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q223393 } } GROUP BY ?w } . FILTER ( ?x = ?f ) . { SELECT DISTINCT ( MIN ( ?o ) AS ?f ) { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?o ) WHERE { { ?y property:P629 ?n . ?y rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q223393 } UNION { ?y property:P629 ?n . ?y rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q571 } } GROUP BY ?y } } }
The Autumn of the Patriarch Marcus Aureliuser Atmachinta The Adventures of Werner Holt (vol. 1) Bishops' Bible Meyers Konversations-Lexikon (1888–1889) Geneva Bible Le Talisman Bible (Wikisource) Beowulf: A Translation and Commentary Legends II International Code of Nomenclature for algae, fungi, and plants (Melbourne Code) International Code of Botanical Nomenclature (Saint Louis Code) Aviel revé Sant Maheu Buez ar Pêvar Mab Emon Barzaz Breiz World English Bible Bernie Wrightson's Frankenstein English Hymnal Tanakh Ram American Standard Version Tyndale Bible The Talmud: The Steinsaltz Edition The Hymnal 1982 Bible of Kralice Charles XII Bible Gustav Vasa Bible Uncle Remus: His Songs and His Sayings Zwerversbloed Vilna Edition Shas Luther Bible Syllabus der Pflanzenfamilien Deutsches Bühnen-Jahrbuch 1942 The Theology of Aristotle The Comedies of Aristophanes Samkok Orgoglio e pregiudizio (1945) Rajyog International Code of Botanical Nomenclature (Vienna Code) Râja-yoga Fishes of the World (4th edition) International Code of Botanical Nomenclature (Tokyo Code) Doctor Dolittle Books (Japanese translation) Bharatbarshe Douay–Rheims Bible Ludwig der Deutsche (1st edition) Bible (Wycliffe) Noise: The Political Economy of Music The Adventures of Werner Holt (vol. 2) Coverdale Bible The Klingon Hamlet
The Comedies of Aristophanes, Legends II and International Code of Botanical Nomenclature (Vienna Code) represent an edition or translation of min number of books or literary genres
The Comedies of Aristophanes Legends II International Code of Botanical Nomenclature (Vienna Code)
action argmin
action union
action find_tuple_counts
relation edition or translation of
type collectable
type book
action find_tuple_counts
relation edition or translation of
type collectable
type literary genre
[{'concept': 'collectable'}, 'edition or translation of', [{'concept': 'book'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?x ) WHERE { { ?w property:edition_or_translation_of ?g . ?g rdf:type ontology:book . ?w rdf:type ontology:collectable } UNION { ?w property:edition_or_translation_of ?g . ?w rdf:type ontology:collectable . ?g rdf:type ontology:literary_genre } } GROUP BY ?w } . FILTER ( ?x = ?f ) . { SELECT DISTINCT ( MIN ( ?o ) AS ?f ) { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?o ) WHERE { { ?y property:edition_or_translation_of ?n . ?y rdf:type ontology:collectable . ?n rdf:type ontology:literary_genre } UNION { ?y property:edition_or_translation_of ?n . ?y rdf:type ontology:collectable . ?n rdf:type ontology:book } } GROUP BY ?y } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15895126
P291
Q56061
USER
Which administrative territory is the publication region of that collectable ?
(Q15895126,P291,c(Q56061))
action filter_type
action find
entity Q15895126
relation P291
type Q56061
['Q15895126', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q15895126 property:P291 ?l . ?l rdf:type ontology:Q56061 }
International Code of Botanical Nomenclature (Vienna Code)
action filter_type
action find
entity International Code of Botanical Nomenclature (Vienna Code)
relation place of publication
type administrative territorial entity
['International Code of Botanical Nomenclature (Vienna Code)', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:International_Code_of_Botanical_Nomenclature_(Vienna_Code) property:place_of_publication ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q6517916
SYSTEM
Did you mean Legends II ?
Q21286489 Q6517916 Q15895126
(Q21286489,P291,c(Q56061)) (Q6517916,P291,c(Q56061)) (Q15895126,P291,c(Q56061))
[ANSWER]
['Q21286489', 'P291', {'concept': 'Q56061'}] ['Q6517916', 'P291', {'concept': 'Q56061'}] ['Q15895126', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q15895126 property:P291 ?l . ?l rdf:type ontology:Q56061 }
The Comedies of Aristophanes Legends II International Code of Botanical Nomenclature (Vienna Code)
Did you mean Legends II ?
Legends II
['The Comedies of Aristophanes', 'place of publication', {'concept': 'administrative territorial entity'}] ['Legends II', 'place of publication', {'concept': 'administrative territorial entity'}] ['International Code of Botanical Nomenclature (Vienna Code)', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:International_Code_of_Botanical_Nomenclature_(Vienna_Code) property:place_of_publication ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant International Code of Botanical Nomenclature (Vienna Code). Could you tell me the answer for that?
(Q15895126,P291,c(Q56061))
Q15895126
['Q15895126', 'P291', {'concept': 'Q56061'}]
['International Code of Botanical Nomenclature (Vienna Code)', 'place of publication', {'concept': 'administrative territorial entity'}]
[]
Q569661
SYSTEM
Königstein im Taunus
Q569661
(Q15895126,P291,c(Q56061))
action filter_type
action find
entity Q15895126
relation P291
type Q56061
[ANSWER] is the publication region of that collectable
['Q15895126', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q15895126 property:P291 ?l . ?l rdf:type ontology:Q56061 }
Königstein im Taunus
Königstein im Taunus is the publication region of that collectable
Königstein im Taunus
action filter_type
action find
entity International Code of Botanical Nomenclature (Vienna Code)
relation place of publication
type administrative territorial entity
['International Code of Botanical Nomenclature (Vienna Code)', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:International_Code_of_Botanical_Nomenclature_(Vienna_Code) property:place_of_publication ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q569661
P190
Q20667921
USER
Which french administrative division is twin city of that administrative territory ?
(Q569661,P190,c(Q20667921))
action filter_type
action find
entity Q569661
relation P190
type Q20667921
['Q569661', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q569661 property:P190 ?x . ?x rdf:type ontology:Q20667921 }
Königstein im Taunus
action filter_type
action find
entity Königstein im Taunus
relation sister city
type type of french administrative division
['Königstein im Taunus', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Königstein_im_Taunus property:sister_city ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q207967
SYSTEM
Le Cannet
Q207967
(Q569661,P190,c(Q20667921))
action filter_type
action find
entity Q569661
relation P190
type Q20667921
[ANSWER] is twin city of that administrative territory
['Q569661', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q569661 property:P190 ?x . ?x rdf:type ontology:Q20667921 }
Le Cannet
Le Cannet is twin city of that administrative territory
Le Cannet
action filter_type
action find
entity Königstein im Taunus
relation sister city
type type of french administrative division
['Königstein im Taunus', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Königstein_im_Taunus property:sister_city ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]