Simple Question (Direct)
Simple Question
Q723323
P734
Q82799
USER
Who is associated with Jean-Jérôme Adam ?
(Q723323,P734,c(Q82799))
action filter_type
action find
entity Q723323
relation P734
type Q82799
['Q723323', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q723323 property:P734 ?a }
Jean-Jérôme Adam
action filter_type
action find
entity Jean-Jérôme Adam
relation family name
type name
['Jean-Jérôme Adam', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Jean-Jérôme_Adam property:family_name ?a }
[]
name
Q10379699
SYSTEM
Adam
Q10379699
(Q723323,P734,c(Q82799))
action filter_type
action find
entity Q723323
relation P734
type Q82799
[ANSWER] is associated with Jean-Jérôme [ANSWER]
['Q723323', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q723323 property:P734 ?a }
Adam
Adam is associated with Jean-Jérôme Adam
Adam
action filter_type
action find
entity Jean-Jérôme Adam
relation family name
type name
['Jean-Jérôme Adam', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Jean-Jérôme_Adam property:family_name ?a }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q25167
P407
Q34770 Q82799
USER
How many languages are the languages of work for approximately the same number of names as Bokmål ?
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q25167
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P407 ?e . ?e rdf:type ontology:Q34770 . ?n rdf:type ontology:Q82799 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:Q25167 property:P407 ?v . ?v rdf:type ontology:Q34770 } } . FILTER ( ?z = ?i ) }
Bokmål
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Bokmål
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:language_of_work_or_name ?e . ?e rdf:type ontology:language . ?n rdf:type ontology:name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:Bokmål property:language_of_work_or_name ?v . ?v rdf:type ontology:language } } . FILTER ( ?z = ?i ) }
[]
language name
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q25167
relation P407
type Q34770
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P407 ?e . ?e rdf:type ontology:Q34770 . ?n rdf:type ontology:Q82799 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:Q25167 property:P407 ?v . ?v rdf:type ontology:Q34770 } } . FILTER ( ?z = ?i ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Bokmål
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:language_of_work_or_name ?e . ?e rdf:type ontology:language . ?n rdf:type ontology:name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:Bokmål property:language_of_work_or_name ?v . ?v rdf:type ontology:language } } . FILTER ( ?z = ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q35505
P407
Q34770 Q82799
USER
And also tell me about Old Norse language?
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q35505
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P407 ?n . ?n rdf:type ontology:Q34770 . ?t rdf:type ontology:Q82799 } GROUP BY ?n } . FILTER ( ?s = ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ontology:Q34770 . resource:Q35505 property:P407 ?q } } }
Old Norse language
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Old Norse language
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:language_of_work_or_name ?n . ?n rdf:type ontology:language . ?t rdf:type ontology:name } GROUP BY ?n } . FILTER ( ?s = ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ontology:language . resource:Old_Norse_language property:language_of_work_or_name ?q } } }
[]
language name
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q35505
relation P407
type Q34770
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P407 ?n . ?n rdf:type ontology:Q34770 . ?t rdf:type ontology:Q82799 } GROUP BY ?n } . FILTER ( ?s = ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ontology:Q34770 . resource:Q35505 property:P407 ?q } } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Old Norse language
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:language_of_work_or_name ?n . ?n rdf:type ontology:language . ?t rdf:type ontology:name } GROUP BY ?n } . FILTER ( ?s = ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ontology:language . resource:Old_Norse_language property:language_of_work_or_name ?q } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q723323
P21
Q290
USER
What is the sex of Jean-Jérôme Adam ?
(Q723323,P21,c(Q290))
action filter_type
action find
entity Q723323
relation P21
type Q290
['Q723323', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q723323 property:P21 ?t . ?t rdf:type ontology:Q290 }
Jean-Jérôme Adam
action filter_type
action find
entity Jean-Jérôme Adam
relation gender
type sex
['Jean-Jérôme Adam', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Jean-Jérôme_Adam property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q723323,P21,c(Q290))
action filter_type
action find
entity Q723323
relation P21
type Q290
The sex of Jean-Jérôme Adam is the [ANSWER]
['Q723323', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q723323 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of Jean-Jérôme Adam is the male
male
action filter_type
action find
entity Jean-Jérôme Adam
relation gender
type sex
['Jean-Jérôme Adam', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Jean-Jérôme_Adam property:gender ?t . ?t rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q723323
P27
Q15617994
USER
How many administrative territories are Jean-Jérôme Adam an inhabitant of ?
(Q723323,P27,c(Q15617994))
action count
action filter_type
action find
entity Q723323
relation P27
type Q15617994
['Q723323', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q723323 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Jean-Jérôme Adam
action count
action filter_type
action find
entity Jean-Jérôme Adam
relation country of citizenship
type designation for an administrative territorial entity
['Jean-Jérôme Adam', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Jean-Jérôme_Adam property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q723323,P27,c(Q15617994))
action count
action filter_type
action find
entity Q723323
relation P27
type Q15617994
[ANSWER]
['Q723323', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q723323 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Jean-Jérôme Adam
relation country of citizenship
type designation for an administrative territorial entity
['Jean-Jérôme Adam', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Jean-Jérôme_Adam property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q723323
P39
Q12737077
USER
What was the position for which that person was appointed ?
action filter_type
action find
entity Q723323
relation P39
type Q12737077
SELECT DISTINCT ?u WHERE { resource:Q723323 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Jean-Jérôme Adam
action filter_type
action find
entity Jean-Jérôme Adam
relation position held
type occupation
SELECT DISTINCT ?u WHERE { resource:Jean-Jérôme_Adam property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q49476
SYSTEM
archbishop
Q49476
action filter_type
action find
entity Q723323
relation P39
type Q12737077
S [ANSWER]
SELECT DISTINCT ?u WHERE { resource:Q723323 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
archbishop
S archbishop
archbishop
action filter_type
action find
entity Jean-Jérôme Adam
relation position held
type occupation
SELECT DISTINCT ?u WHERE { resource:Jean-Jérôme_Adam property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q723323
P611
Q43229
USER
What religion is Jean-Jérôme Adam affiliated to ?
(Q723323,P611,c(Q43229))
action filter_type
action find
entity Q723323
relation P611
type Q43229
['Q723323', 'P611', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { resource:Q723323 property:P611 ?g . ?g rdf:type ontology:Q43229 }
Jean-Jérôme Adam
action filter_type
action find
entity Jean-Jérôme Adam
relation religious order
type organization
['Jean-Jérôme Adam', 'religious order', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { resource:Jean-Jérôme_Adam property:religious_order ?g . ?g rdf:type ontology:organization }
[]
organization
Q687562
SYSTEM
Holy Ghost Fathers
Q687562
(Q723323,P611,c(Q43229))
action filter_type
action find
entity Q723323
relation P611
type Q43229
Jean-Jérôme Adam is affiliated with [ANSWER]
['Q723323', 'P611', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { resource:Q723323 property:P611 ?g . ?g rdf:type ontology:Q43229 }
Holy Ghost Fathers
Jean-Jérôme Adam is affiliated with Holy Ghost Fathers
Holy Ghost Fathers
action filter_type
action find
entity Jean-Jérôme Adam
relation religious order
type organization
['Jean-Jérôme Adam', 'religious order', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { resource:Jean-Jérôme_Adam property:religious_order ?g . ?g rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q723323
P27
Q15617994
USER
Which administrative territory does Jean-Jérôme Adam belong to ?
(Q723323,P27,c(Q15617994))
action filter_type
action find
entity Q723323
relation P27
type Q15617994
['Q723323', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q723323 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Jean-Jérôme Adam
action filter_type
action find
entity Jean-Jérôme Adam
relation country of citizenship
type designation for an administrative territorial entity
['Jean-Jérôme Adam', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Jean-Jérôme_Adam property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q723323,P27,c(Q15617994))
action filter_type
action find
entity Q723323
relation P27
type Q15617994
Jean-Jérôme Adam belongs to [ANSWER]
['Q723323', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q723323 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
France
Jean-Jérôme Adam belongs to France
France
action filter_type
action find
entity Jean-Jérôme Adam
relation country of citizenship
type designation for an administrative territorial entity
['Jean-Jérôme Adam', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Jean-Jérôme_Adam property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q723323
P140
Q874405
USER
What is the religious affiliation of that person ?
(Q142,P140,c(Q874405))
action filter_type
action find
entity Q723323
relation P140
type Q874405
['Q142', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?j WHERE { resource:Q723323 property:P140 ?j . ?j rdf:type ontology:Q874405 }
Jean-Jérôme Adam
action filter_type
action find
entity Jean-Jérôme Adam
relation religion
type social group
['France', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?j WHERE { resource:Jean-Jérôme_Adam property:religion ?j . ?j rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q142,P140,c(Q874405))
action filter_type
action find
entity Q723323
relation P140
type Q874405
The religious affiliation of that person is a [ANSWER]
['Q142', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?j WHERE { resource:Q723323 property:P140 ?j . ?j rdf:type ontology:Q874405 }
Catholicism
The religious affiliation of that person is a Catholicism
Catholicism
action filter_type
action find
entity Jean-Jérôme Adam
relation religion
type social group
['France', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?j WHERE { resource:Jean-Jérôme_Adam property:religion ?j . ?j rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q723323
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q1841,P20,c(Q56061))
action filter_type
action find
entity Q723323
relation P20
type Q56061
['Q1841', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q723323 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Jean-Jérôme Adam
action filter_type
action find
entity Jean-Jérôme Adam
relation place of death
type administrative territorial entity
['Catholicism', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jean-Jérôme_Adam property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q459369
SYSTEM
Franceville
Q459369
(Q1841,P20,c(Q56061))
action filter_type
action find
entity Q723323
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q1841', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q723323 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Franceville
Franceville is the place of death of that person
Franceville
action filter_type
action find
entity Jean-Jérôme Adam
relation place of death
type administrative territorial entity
['Catholicism', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jean-Jérôme_Adam property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027366
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as their base harbour than Star of Wales ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027366
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?n ) WHERE { ?v property:P532 ?p . ?v rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?n > ?t ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ontology:Q2235308 . resource:Q24027366 property:P532 ?m } } }
Star of Wales
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Star of Wales
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?n ) WHERE { ?v property:port_of_registry ?p . ?v rdf:type ontology:ship_type . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?n > ?t ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ontology:ship_type . resource:Star_of_Wales property:port_of_registry ?m } } }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027366
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?n ) WHERE { ?v property:P532 ?p . ?v rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?n > ?t ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ontology:Q2235308 . resource:Q24027366 property:P532 ?m } } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Star of Wales
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?n ) WHERE { ?v property:port_of_registry ?p . ?v rdf:type ontology:ship_type . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?n > ?t ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ontology:ship_type . resource:Star_of_Wales property:port_of_registry ?m } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027488
P532
Q56061 Q2235308
USER
And also tell me about Cadwgan?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027488
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?y ) WHERE { ?x property:P532 ?p . ?x rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q56061 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { ?s rdf:type ontology:Q2235308 . resource:Q24027488 property:P532 ?s } } . FILTER ( ?y > ?i ) }
Cadwgan
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Cadwgan
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?y ) WHERE { ?x property:port_of_registry ?p . ?x rdf:type ontology:ship_type . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { ?s rdf:type ontology:ship_type . resource:Cadwgan property:port_of_registry ?s } } . FILTER ( ?y > ?i ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027488
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?y ) WHERE { ?x property:P532 ?p . ?x rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q56061 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { ?s rdf:type ontology:Q2235308 . resource:Q24027488 property:P532 ?s } } . FILTER ( ?y > ?i ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Cadwgan
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?y ) WHERE { ?x property:port_of_registry ?p . ?x rdf:type ontology:ship_type . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { ?s rdf:type ontology:ship_type . resource:Cadwgan property:port_of_registry ?s } } . FILTER ( ?y > ?i ) }
[]