Simple Question (Direct)
Simple Question
Q3085507
P39
Q12737077
USER
What was the position held by François Paradis ?
(Q3085507,P39,c(Q12737077))
action filter_type
action find
entity Q3085507
relation P39
type Q12737077
['Q3085507', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q3085507 property:P39 ?z }
François Paradis
action filter_type
action find
entity François Paradis
relation position held
type occupation
['François Paradis', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:François_Paradis property:position_held ?z }
[]
occupation
Q3305338
SYSTEM
Member of the National Assembly
Q3305338
(Q3085507,P39,c(Q12737077))
action filter_type
action find
entity Q3085507
relation P39
type Q12737077
The position held by François Paradis was a [ANSWER]
['Q3085507', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q3085507 property:P39 ?z }
Member of the National Assembly
The position held by François Paradis was a Member of the National Assembly
Member of the National Assembly
action filter_type
action find
entity François Paradis
relation position held
type occupation
['François Paradis', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:François_Paradis property:position_held ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3085507
P1412
Q34770
USER
Which language can that person read ?
(Q3305338,P1412,c(Q34770))
action filter_type
action find
entity Q3085507
relation P1412
type Q34770
['Q3305338', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q34770 . resource:Q3085507 property:P1412 ?o }
François Paradis
action filter_type
action find
entity François Paradis
relation languages spoken, written or signed
type language
['Member of the National Assembly', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:language . resource:François_Paradis property:languages_spoken,_written_or_signed ?o }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3305338,P1412,c(Q34770))
action filter_type
action find
entity Q3085507
relation P1412
type Q34770
That person can read the [ANSWER]
['Q3305338', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q34770 . resource:Q3085507 property:P1412 ?o }
English
That person can read the English
English
action filter_type
action find
entity François Paradis
relation languages spoken, written or signed
type language
['Member of the National Assembly', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:language . resource:François_Paradis property:languages_spoken,_written_or_signed ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1860
P37
Q48204 Q2472587
USER
How many voluntary associations or peoples designates English as their official language ?
(c(Q48204),P37,Q1860) (c(Q2472587),P37,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P37
type Q48204
action filter_type
action find_reverse
entity Q1860
relation P37
type Q2472587
[{'concept': 'Q48204'}, 'P37', 'Q1860'] [{'concept': 'Q2472587'}, 'P37', 'Q1860']
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { ?n property:P37 resource:Q1860 . ?n rdf:type ontology:Q48204 } UNION { ?n rdf:type ontology:Q2472587 . ?n property:P37 resource:Q1860 } }
English
action count
action union
action filter_type
action find_reverse
entity English
relation official language
type voluntary association
action filter_type
action find_reverse
entity English
relation official language
type people
[{'concept': 'voluntary association'}, 'official language', 'English'] [{'concept': 'people'}, 'official language', 'English']
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { ?n property:official_language resource:English . ?n rdf:type ontology:voluntary_association } UNION { ?n rdf:type ontology:people . ?n property:official_language resource:English } }
[]
voluntary association people
SYSTEM
3
Q33438 Q2031854 Q7108926
(c(Q48204),P37,Q1860) (c(Q2472587),P37,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P37
type Q48204
action filter_type
action find_reverse
entity Q1860
relation P37
type Q2472587
[ANSWER]
[{'concept': 'Q48204'}, 'P37', 'Q1860'] [{'concept': 'Q2472587'}, 'P37', 'Q1860']
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { ?n property:P37 resource:Q1860 . ?n rdf:type ontology:Q48204 } UNION { ?n rdf:type ontology:Q2472587 . ?n property:P37 resource:Q1860 } }
International Union of Pure and Applied Chemistry Wappo people Otoe-Missouria Tribe of Indians
3
action count
action union
action filter_type
action find_reverse
entity English
relation official language
type voluntary association
action filter_type
action find_reverse
entity English
relation official language
type people
[{'concept': 'voluntary association'}, 'official language', 'English'] [{'concept': 'people'}, 'official language', 'English']
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { ?n property:official_language resource:English . ?n rdf:type ontology:voluntary_association } UNION { ?n rdf:type ontology:people . ?n property:official_language resource:English } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12953273 Q1860
P361
Q5962346
USER
Which classification schemes are English or North Wahgi language a component of ?
OR((Q1860,P361,c(Q5962346)), (Q12953273,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q12953273
relation P361
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q12953273', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1860 property:P361 ?l } UNION { resource:Q12953273 property:P361 ?l } } . ?l rdf:type ontology:Q5962346 }
North Wahgi language English
action filter_type
action union
action find
entity English
relation part of
action find
entity North Wahgi language
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['North Wahgi language', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?l WHERE { { { resource:English property:part_of ?l } UNION { resource:North_Wahgi_language property:part_of ?l } } . ?l rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q34018 Q5329170
SYSTEM
Anglic languages, trans–New Guinea languages, Anglo-Frisian languages
Q1346342 Q34018 Q5329170
OR((Q1860,P361,c(Q5962346)), (Q12953273,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q12953273
relation P361
type Q5962346
[ANSWERS] are English or North Wahgi language a component of
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q12953273', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1860 property:P361 ?l } UNION { resource:Q12953273 property:P361 ?l } } . ?l rdf:type ontology:Q5962346 }
Anglic languages trans–New Guinea languages Anglo-Frisian languages
Anglic languages, trans–New Guinea languages and Anglo-Frisian languages are English or North Wahgi language a component of
Anglic languages trans–New Guinea languages Anglo-Frisian languages
action filter_type
action union
action find
entity English
relation part of
action find
entity North Wahgi language
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['North Wahgi language', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?l WHERE { { { resource:English property:part_of ?l } UNION { resource:North_Wahgi_language property:part_of ?l } } . ?l rdf:type ontology:classification_scheme }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q874405 Q58778 Q5962346
USER
How many classification schemes are a component of greater number of social groups and systems than that classification scheme ?
(c(Q5962346),P361,c(Q874405)|c(Q58778))
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q58778'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?y ) ( ?x ) } . ?z property:P361 ?e } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q874405 . ?x rdf:type ontology:Q58778 }
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'social group'}, {'concept': 'system'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?y ) ( ?x ) } . ?z property:part_of ?e } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:social_group . ?x rdf:type ontology:system }
[]
social group system classification scheme
Comparative|Count over More/Less|Mult. entity type|Clarification
Q34018
SYSTEM
Did you mean trans–New Guinea languages ?
(c(Q5962346),P361,c(Q874405)|c(Q58778))
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q58778'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?y ) ( ?x ) } . ?z property:P361 ?e } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q874405 . ?x rdf:type ontology:Q58778 }
Did you mean trans–New Guinea languages ?
trans–New Guinea languages
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'social group'}, {'concept': 'system'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?y ) ( ?x ) } . ?z property:part_of ?e } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:social_group . ?x rdf:type ontology:system }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Anglic languages. Could you tell me the answer for that?
(c(Q5962346),P361,c(Q874405)|c(Q58778))
Q1346342
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q58778'}]]
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'social group'}, {'concept': 'system'}]]
[]
SYSTEM
7
Q205740 Q294217 Q1063076 Q396188 Q1944497 Q591763 Q372449
(c(Q5962346),P361,c(Q874405)|c(Q58778))
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q58778'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q874405 . ?x rdf:type ontology:Q58778 }
Egyptian mythology public sector voluntary sector Agricultural journalism Crop protection private sector Forest protection
7
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'social group'}, {'concept': 'system'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:social_group . ?x rdf:type ontology:system }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1346342
P361
Q5962346
USER
How many classification schemes are Anglic languages a portion of ?
(Q1346342,P361,c(Q5962346))
action count
action filter_type
action find
entity Q1346342
relation P361
type Q5962346
['Q1346342', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q1346342 property:P361 ?e . ?e rdf:type ontology:Q5962346 }
Anglic languages
action count
action filter_type
action find
entity Anglic languages
relation part of
type classification scheme
['Anglic languages', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Anglic_languages property:part_of ?e . ?e rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
2
Q26721 Q5329170
(Q1346342,P361,c(Q5962346))
action count
action filter_type
action find
entity Q1346342
relation P361
type Q5962346
[ANSWER]
['Q1346342', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q1346342 property:P361 ?e . ?e rdf:type ontology:Q5962346 }
West Germanic languages Anglo-Frisian languages
2
action count
action filter_type
action find
entity Anglic languages
relation part of
type classification scheme
['Anglic languages', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Anglic_languages property:part_of ?e . ?e rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q11732444
P361
Q5962346
USER
And also tell me about Menya language?
(Q11732444,P361,c(Q5962346))
action count
action filter_type
action find
entity Q11732444
relation P361
type Q5962346
['Q11732444', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q11732444 property:P361 ?f . ?f rdf:type ontology:Q5962346 }
Menya language
action count
action filter_type
action find
entity Menya language
relation part of
type classification scheme
['Menya language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Menya_language property:part_of ?f . ?f rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
3
Q34018 Q236425 Q3217366
(Q11732444,P361,c(Q5962346))
action count
action filter_type
action find
entity Q11732444
relation P361
type Q5962346
[ANSWER]
['Q11732444', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q11732444 property:P361 ?f . ?f rdf:type ontology:Q5962346 }
trans–New Guinea languages Papuan languages Angan languages
3
action count
action filter_type
action find
entity Menya language
relation part of
type classification scheme
['Menya language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Menya_language property:part_of ?f . ?f rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5111
Q5962346
USER
And what about Abkhaz?
(Q5111,P361,c(Q5962346))
action count
action filter_type
action find
entity Q5111
relation P361
type Q5962346
['Q5111', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q5111 property:P361 ?z . ?z rdf:type ontology:Q5962346 }
Abkhaz
action count
action filter_type
action find
entity Abkhaz
relation part of
type classification scheme
['Abkhaz', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Abkhaz property:part_of ?z . ?z rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
2
(Q5111,P361,c(Q5962346))
action count
action filter_type
action find
entity Q5111
relation P361
type Q5962346
[ANSWER]
['Q5111', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q5111 property:P361 ?z . ?z rdf:type ontology:Q5962346 }
2
action count
action filter_type
action find
entity Abkhaz
relation part of
type classification scheme
['Abkhaz', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Abkhaz property:part_of ?z . ?z rdf:type ontology:classification_scheme }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P629
Q571
USER
Which book represents an edition or translation of English ?
(c(Q571),P629,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
[{'concept': 'Q571'}, 'P629', 'Q1860']
SELECT DISTINCT ?d WHERE { ?d property:P629 resource:Q1860 . ?d rdf:type ontology:Q571 }
English
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', 'English']
SELECT DISTINCT ?d WHERE { ?d property:edition_or_translation_of resource:English . ?d rdf:type ontology:book }
[]
book
Q24036077
SYSTEM
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Q24036077
(c(Q571),P629,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
[ANSWER] represents an edition or translation of English
[{'concept': 'Q571'}, 'P629', 'Q1860']
SELECT DISTINCT ?d WHERE { ?d property:P629 resource:Q1860 . ?d rdf:type ontology:Q571 }
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Two Addresses from the Governour, Council and Convention of the Massachusets Colony represents an edition or translation of English
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', 'English']
SELECT DISTINCT ?d WHERE { ?d property:edition_or_translation_of resource:English . ?d rdf:type ontology:book }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20177216
Q571
USER
And also tell me about Marseillaise (Strandberg)?
(Q20177216,P629,c(Q571))
action filter_type
action find
entity Q20177216
relation P629
type Q571
['Q20177216', 'P629', {'concept': 'Q571'}]
SELECT DISTINCT ?h WHERE { resource:Q20177216 property:P629 ?h . ?h rdf:type ontology:Q571 }
Marseillaise (Strandberg)
action filter_type
action find
entity Marseillaise (Strandberg)
relation edition or translation of
type book
['Marseillaise (Strandberg)', 'edition or translation of', {'concept': 'book'}]
SELECT DISTINCT ?h WHERE { resource:Marseillaise_(Strandberg) property:edition_or_translation_of ?h . ?h rdf:type ontology:book }
[]
book
Q41180
SYSTEM
La Marseillaise
Q41180
(Q20177216,P629,c(Q571))
action filter_type
action find
entity Q20177216
relation P629
type Q571
[ANSWER]
['Q20177216', 'P629', {'concept': 'Q571'}]
SELECT DISTINCT ?h WHERE { resource:Q20177216 property:P629 ?h . ?h rdf:type ontology:Q571 }
La Marseillaise
La Marseillaise
action filter_type
action find
entity Marseillaise (Strandberg)
relation edition or translation of
type book
['Marseillaise (Strandberg)', 'edition or translation of', {'concept': 'book'}]
SELECT DISTINCT ?h WHERE { resource:Marseillaise_(Strandberg) property:edition_or_translation_of ?h . ?h rdf:type ontology:book }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P676
Q502895
USER
How many people are the lyricist of that book ?
(Q41180,P676,c(Q502895))
action count
action filter_type
action find
entity Q41180
relation P676
type Q502895
['Q41180', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Q41180 property:P676 ?a . ?a rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity La Marseillaise
relation lyrics by
type common name
['La Marseillaise', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:La_Marseillaise property:lyrics_by ?a . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q207660
(Q41180,P676,c(Q502895))
action count
action filter_type
action find
entity Q41180
relation P676
type Q502895
[ANSWER]
['Q41180', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Q41180 property:P676 ?a . ?a rdf:type ontology:Q502895 }
Claude Joseph Rouget de Lisle
1
action count
action filter_type
action find
entity La Marseillaise
relation lyrics by
type common name
['La Marseillaise', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:La_Marseillaise property:lyrics_by ?a . ?a rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1492
P291
Q56061 Q571
USER
How many administrative territories are the places of publication of less number of books than Barcelona ?
(c(Q571),P291,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find_reverse
entity Q1492
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?j ) WHERE { ?p rdf:type ontology:Q571 . ?i rdf:type ontology:Q56061 . ?p property:P291 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P291 resource:Q1492 . ?z rdf:type ontology:Q571 } } . FILTER ( ?j < ?r ) }
Barcelona
action count
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find_reverse
entity Barcelona
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?j ) WHERE { ?p rdf:type ontology:book . ?i rdf:type ontology:administrative_territorial_entity . ?p property:place_of_publication ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:place_of_publication resource:Barcelona . ?z rdf:type ontology:book } } . FILTER ( ?j < ?r ) }
[]
administrative territorial entity book
SYSTEM
334
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q1757 Q41876 Q1754 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q8818 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q6346 Q495 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1724 Q11967 Q1729 Q8717 Q3519 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q571),P291,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find_reverse
entity Q1492
relation P291
type Q571
[ANSWER]
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?j ) WHERE { ?p rdf:type ontology:Q571 . ?i rdf:type ontology:Q56061 . ?p property:P291 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P291 resource:Q1492 . ?z rdf:type ontology:Q571 } } . FILTER ( ?j < ?r ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Bilbao Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Helsinki Reims Stockholm Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Valencia Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Indianapolis Turin Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Murcia Bristol Rome Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Saarbrücken Huesca Erfurt Seville Bari Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg
334
action count
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find_reverse
entity Barcelona
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?j ) WHERE { ?p rdf:type ontology:book . ?i rdf:type ontology:administrative_territorial_entity . ?p property:place_of_publication ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:place_of_publication resource:Barcelona . ?z rdf:type ontology:book } } . FILTER ( ?j < ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q5112
P291
Q56061 Q571
USER
And also tell me about Adelaide?
(c(Q571),P291,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find_reverse
entity Q5112
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t rdf:type ontology:Q571 . ?t property:P291 resource:Q5112 } } . FILTER ( ?r < ?s ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:P291 ?k . ?k rdf:type ontology:Q56061 . ?n rdf:type ontology:Q571 } GROUP BY ?k } }
Adelaide
action count
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find_reverse
entity Adelaide
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t rdf:type ontology:book . ?t property:place_of_publication resource:Adelaide } } . FILTER ( ?r < ?s ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:place_of_publication ?k . ?k rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:book } GROUP BY ?k } }
[]
administrative territorial entity book
SYSTEM
300
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q987 Q8692 Q23051 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q41876 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q5831 Q22889 Q12892 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q406 Q234178 Q739452 Q15468 Q6346 Q887 Q576165 Q5465 Q2141 Q54217 Q1679567 Q2814 Q15093 Q162279 Q671288 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q3033 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q40269 Q2081145 Q1024911 Q193478 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q71 Q2617448 Q37100 Q38022 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q437 Q8745 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1724 Q11967 Q1729 Q8717 Q3519 Q65 Q159232 Q207891 Q2028 Q61 Q3395358 Q683512 Q3889 Q9125 Q5818 Q1867 Q204382 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q193367 Q59169 Q669171 Q204720 Q206988 Q3012 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q47048 Q178277 Q192155 Q883 Q41262 Q6441 Q125080 Q2066 Q12303 Q156990 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q571),P291,c(Q56061))
action count
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find_reverse
entity Q5112
relation P291
type Q571
[ANSWER]
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t rdf:type ontology:Q571 . ?t property:P291 resource:Q5112 } } . FILTER ( ?r < ?s ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:P291 ?k . ?k rdf:type ontology:Q56061 . ?n rdf:type ontology:Q571 } GROUP BY ?k } }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin New Delhi Bilbao Swansea Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Reims Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Melilla Bath Antwerp Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Istanbul Bangor Garden City Badalona Indianapolis Yekaterinburg Warsaw Cape Town Halifax Norwalk Jakobstad Halle (Saale) Ciudad Real Kuopio Bend Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Göttingen Havana Chester Colombo Copenhagen Coimbra Alexandria Porto Alegre Milborne Port Welshpool Buda Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Geneva Edinburgh Auckland St. Louis New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Ljubljana Vigo Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Murcia Bristol Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Saarbrücken Huesca Erfurt Seville Bari Los Angeles Santa Cruz Kokkola Verona Washington, D.C. Kidwelly Savonlinna Maputo Winterthur Córdoba Taipei Kouvola Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Porvoo Mo i Rana Newtown Hereford Cheltenham Ulm León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Oulu Montvale Kotka Novosibirsk Nottingham Montpellier Vaasa Essen Jerez de la Frontera Monmouth Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg
300
action count
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find_reverse
entity Adelaide
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t rdf:type ontology:book . ?t property:place_of_publication resource:Adelaide } } . FILTER ( ?r < ?s ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:place_of_publication ?k . ?k rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:book } GROUP BY ?k } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q8192 Q2001982 Q34770
USER
How many languages have writing system as around 3 writing systems or notations ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 3
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) ?o WHERE { { ?o property:P282 ?i . ?o rdf:type ontology:Q34770 . ?i rdf:type ontology:Q8192 } UNION { ?o property:P282 ?i . ?o rdf:type ontology:Q34770 . ?i rdf:type ontology:Q2001982 } } GROUP BY ?o } . FILTER ( ?q = 3 ) }
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 3
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) ?o WHERE { { ?o property:writing_system ?i . ?o rdf:type ontology:language . ?i rdf:type ontology:writing_system } UNION { ?o property:writing_system ?i . ?o rdf:type ontology:language . ?i rdf:type ontology:notation } } GROUP BY ?o } . FILTER ( ?q = 3 ) }
[]
writing system notation language
SYSTEM
1
Q182695
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 3
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) ?o WHERE { { ?o property:P282 ?i . ?o rdf:type ontology:Q34770 . ?i rdf:type ontology:Q8192 } UNION { ?o property:P282 ?i . ?o rdf:type ontology:Q34770 . ?i rdf:type ontology:Q2001982 } } GROUP BY ?o } . FILTER ( ?q = 3 ) }
Late Old Japanese
1
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 3
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) ?o WHERE { { ?o property:writing_system ?i . ?o rdf:type ontology:language . ?i rdf:type ontology:writing_system } UNION { ?o property:writing_system ?i . ?o rdf:type ontology:language . ?i rdf:type ontology:notation } } GROUP BY ?o } . FILTER ( ?q = 3 ) }
[]