Simple Question (Direct)
Simple Question
Q3383293
P106
Q12737077
USER
What does Pierre-Louis Rivière do for a living ?
(Q3383293,P106,c(Q12737077))
action filter_type
action find
entity Q3383293
relation P106
type Q12737077
['Q3383293', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3383293 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Pierre-Louis Rivière
action filter_type
action find
entity Pierre-Louis Rivière
relation occupation
type occupation
['Pierre-Louis Rivière', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Pierre-Louis_Rivière property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q3383293,P106,c(Q12737077))
action filter_type
action find
entity Q3383293
relation P106
type Q12737077
[ANSWER] Pierre-Louis Rivière does for a living
['Q3383293', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3383293 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
actor
Actor Pierre-Louis Rivière does for a living
actor
action filter_type
action find
entity Pierre-Louis Rivière
relation occupation
type occupation
['Pierre-Louis Rivière', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Pierre-Louis_Rivière property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33999
P425
Q1914636
USER
Who is associated with the field of occupation that one ?
(Q33999,P425,c(Q1914636))
action filter_type
action find
entity Q33999
relation P425
type Q1914636
['Q33999', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?e WHERE { resource:Q33999 property:P425 ?e . ?e rdf:type ontology:Q1914636 }
actor
action filter_type
action find
entity actor
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?e WHERE { resource:actor property:field_of_this_occupation ?e . ?e rdf:type ontology:activity }
[]
activity
Q222749
SYSTEM
acting
Q222749
(Q33999,P425,c(Q1914636))
action filter_type
action find
entity Q33999
relation P425
type Q1914636
Is [ANSWER] is associated with the field of occupation that one
['Q33999', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?e WHERE { resource:Q33999 property:P425 ?e . ?e rdf:type ontology:Q1914636 }
acting
Is acting is associated with the field of occupation that one
acting
action filter_type
action find
entity actor
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?e WHERE { resource:actor property:field_of_this_occupation ?e . ?e rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3383293
P19
Q20667921
USER
Which french administrative division is the place of birth of Pierre-Louis Rivière ?
(Q3383293,P19,c(Q20667921))
action filter_type
action find
entity Q3383293
relation P19
type Q20667921
['Q3383293', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q3383293 property:P19 ?r . ?r rdf:type ontology:Q20667921 }
Pierre-Louis Rivière
action filter_type
action find
entity Pierre-Louis Rivière
relation place of birth
type type of french administrative division
['Pierre-Louis Rivière', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Pierre-Louis_Rivière property:place_of_birth ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q13917
SYSTEM
Île-de-France
Q13917
(Q3383293,P19,c(Q20667921))
action filter_type
action find
entity Q3383293
relation P19
type Q20667921
[ANSWER] is the place of birth of Pierre-Louis Rivière
['Q3383293', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q3383293 property:P19 ?r . ?r rdf:type ontology:Q20667921 }
Île-de-France
Île-de-France is the place of birth of Pierre-Louis Rivière
Île-de-France
action filter_type
action find
entity Pierre-Louis Rivière
relation place of birth
type type of french administrative division
['Pierre-Louis Rivière', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Pierre-Louis_Rivière property:place_of_birth ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3383293
P734
Q82799
USER
Who has the surname Pierre-Louis Rivière ?
(Q3383293,P734,c(Q82799))
action filter_type
action find
entity Q3383293
relation P734
type Q82799
['Q3383293', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q3383293 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Pierre-Louis Rivière
action filter_type
action find
entity Pierre-Louis Rivière
relation family name
type name
['Pierre-Louis Rivière', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Pierre-Louis_Rivière property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q21431205
SYSTEM
Rivière
Q21431205
(Q3383293,P734,c(Q82799))
action filter_type
action find
entity Q3383293
relation P734
type Q82799
[ANSWER] has the surname Pierre-Louis [ANSWER]
['Q3383293', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q3383293 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Rivière
Rivière has the surname Pierre-Louis Rivière
Rivière
action filter_type
action find
entity Pierre-Louis Rivière
relation family name
type name
['Pierre-Louis Rivière', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Pierre-Louis_Rivière property:family_name ?v . ?v rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3383293
P27
Q15617994
USER
Which administrative territory is Pierre-Louis Rivière an inhabitant of ?
(Q3383293,P27,c(Q15617994))
action filter_type
action find
entity Q3383293
relation P27
type Q15617994
['Q3383293', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q3383293 property:P27 ?f }
Pierre-Louis Rivière
action filter_type
action find
entity Pierre-Louis Rivière
relation country of citizenship
type designation for an administrative territorial entity
['Pierre-Louis Rivière', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pierre-Louis_Rivière property:country_of_citizenship ?f }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3383293,P27,c(Q15617994))
action filter_type
action find
entity Q3383293
relation P27
type Q15617994
[ANSWER] is Pierre-Louis Rivière an inhabitant of
['Q3383293', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q3383293 property:P27 ?f }
France
France is Pierre-Louis Rivière an inhabitant of
France
action filter_type
action find
entity Pierre-Louis Rivière
relation country of citizenship
type designation for an administrative territorial entity
['Pierre-Louis Rivière', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pierre-Louis_Rivière property:country_of_citizenship ?f }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q3483322
P27
Q502895
USER
Is Sidney Drew a native of that administrative territory ?
(Q3483322,P27,Q142)
action is_in
entity Q3483322
action find
entity Q142
relation P27
['Q3483322', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q3483322 }
France Sidney Drew
action is_in
entity Sidney Drew
action find
entity France
relation country of citizenship
['Sidney Drew', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Sidney_Drew }
[]
common name
SYSTEM
NO
(Q3483322,P27,Q142)
action is_in
entity Q3483322
action find
entity Q142
relation P27
[ANSWER]
['Q3483322', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q3483322 }
No
action is_in
entity Sidney Drew
action find
entity France
relation country of citizenship
['Sidney Drew', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Sidney_Drew }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that administrative territory ?
action filter_type
action find
entity Q142
relation P1313
type Q12737077
SELECT DISTINCT ?v WHERE { resource:Q142 property:P1313 ?v . ?v rdf:type ontology:Q12737077 }
France
action filter_type
action find
entity France
relation office held by head of government
type occupation
SELECT DISTINCT ?v WHERE { resource:France property:office_held_by_head_of_government ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q1587677
SYSTEM
Prime Minister of France
Q1587677
action filter_type
action find
entity Q142
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
SELECT DISTINCT ?v WHERE { resource:Q142 property:P1313 ?v . ?v rdf:type ontology:Q12737077 }
Prime Minister of France
The Prime Minister of France serves as the political office that is fulfilled by the head of the government of that administrative territory
Prime Minister of France
action filter_type
action find
entity France
relation office held by head of government
type occupation
SELECT DISTINCT ?v WHERE { resource:France property:office_held_by_head_of_government ?v . ?v rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q8436 Q9332 Q82799
USER
Which names are a component of max number of families or behaviors ?
(c(Q82799),P361,c(Q8436)|c(Q9332))
action argmax
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q9332
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?w ) { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?m ) WHERE { { ?e property:P361 ?c . ?c rdf:type ontology:Q8436 . ?e rdf:type ontology:Q82799 } UNION { ?e property:P361 ?c . ?e rdf:type ontology:Q82799 . ?c rdf:type ontology:Q9332 } } GROUP BY ?e } } . { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?t ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q9332 ) ( ontology:Q8436 ) } } GROUP BY ?z } . FILTER ( ?t = ?w ) }
action argmax
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?w ) { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?m ) WHERE { { ?e property:part_of ?c . ?c rdf:type ontology:family . ?e rdf:type ontology:name } UNION { ?e property:part_of ?c . ?e rdf:type ontology:name . ?c rdf:type ontology:behavior } } GROUP BY ?e } } . { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?t ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:behavior ) ( ontology:family ) } } GROUP BY ?z } . FILTER ( ?t = ?w ) }
[]
family behavior name
Q235598 Q742083 Q382004
SYSTEM
Piso, Princes of Paliano, Afa-Negus
Q235598 Q742083 Q382004
(c(Q82799),P361,c(Q8436)|c(Q9332))
action argmax
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q9332
[ANSWERS] are a component of max number of families or behaviors
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?w ) { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?m ) WHERE { { ?e property:P361 ?c . ?c rdf:type ontology:Q8436 . ?e rdf:type ontology:Q82799 } UNION { ?e property:P361 ?c . ?e rdf:type ontology:Q82799 . ?c rdf:type ontology:Q9332 } } GROUP BY ?e } } . { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?t ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q9332 ) ( ontology:Q8436 ) } } GROUP BY ?z } . FILTER ( ?t = ?w ) }
Piso Princes of Paliano Afa-Negus
Piso, Princes of Paliano and Afa-Negus are a component of max number of families or behaviors
Piso Princes of Paliano Afa-Negus
action argmax
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?w ) { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?m ) WHERE { { ?e property:part_of ?c . ?c rdf:type ontology:family . ?e rdf:type ontology:name } UNION { ?e property:part_of ?c . ?e rdf:type ontology:name . ?c rdf:type ontology:behavior } } GROUP BY ?e } } . { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?t ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:behavior ) ( ontology:family ) } } GROUP BY ?z } . FILTER ( ?t = ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13917
P740
Q215380
USER
What was formed at Île-de-France ?
(c(Q215380),P740,Q13917)
action filter_type
action find_reverse
entity Q13917
relation P740
type Q215380
[{'concept': 'Q215380'}, 'P740', 'Q13917']
SELECT DISTINCT ?z WHERE { ?z property:P740 resource:Q13917 . ?z rdf:type ontology:Q215380 }
Île-de-France
action filter_type
action find_reverse
entity Île-de-France
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Île-de-France']
SELECT DISTINCT ?z WHERE { ?z property:location_of_formation resource:Île-de-France . ?z rdf:type ontology:band }
[]
band
Q318452
SYSTEM
Air
Q318452
(c(Q215380),P740,Q13917)
action filter_type
action find_reverse
entity Q13917
relation P740
type Q215380
[ANSWER] was formed at Île-de-France
[{'concept': 'Q215380'}, 'P740', 'Q13917']
SELECT DISTINCT ?z WHERE { ?z property:P740 resource:Q13917 . ?z rdf:type ontology:Q215380 }
Air
Air was formed at Île-de-France
Air
action filter_type
action find_reverse
entity Île-de-France
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Île-de-France']
SELECT DISTINCT ?z WHERE { ?z property:location_of_formation resource:Île-de-France . ?z rdf:type ontology:band }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13917
P159
Q874405
USER
Which social group has headquarters located at Île-de-France ?
(c(Q874405),P159,Q13917)
action filter_type
action find_reverse
entity Q13917
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q13917']
SELECT DISTINCT ?d WHERE { ?d property:P159 resource:Q13917 . ?d rdf:type ontology:Q874405 }
Île-de-France
action filter_type
action find_reverse
entity Île-de-France
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Île-de-France']
SELECT DISTINCT ?d WHERE { ?d property:headquarters_location resource:Île-de-France . ?d rdf:type ontology:social_group }
[]
social group
Q3459901
SYSTEM
SOS Amitié
Q3459901
(c(Q874405),P159,Q13917)
action filter_type
action find_reverse
entity Q13917
relation P159
type Q874405
[ANSWER] has headquarters located at Île-de-France
[{'concept': 'Q874405'}, 'P159', 'Q13917']
SELECT DISTINCT ?d WHERE { ?d property:P159 resource:Q13917 . ?d rdf:type ontology:Q874405 }
SOS Amitié
SOS Amitié has headquarters located at Île-de-France
SOS Amitié
action filter_type
action find_reverse
entity Île-de-France
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Île-de-France']
SELECT DISTINCT ?d WHERE { ?d property:headquarters_location resource:Île-de-France . ?d rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13917
P36
Q56061
USER
Which administrative territory is associated to that french administrative division as the capital ?
(Q3459901,P36,c(Q56061))
action filter_type
action find
entity Q13917
relation P36
type Q56061
['Q3459901', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q13917 property:P36 ?s . ?s rdf:type ontology:Q56061 }
Île-de-France
action filter_type
action find
entity Île-de-France
relation capital
type administrative territorial entity
['SOS Amitié', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Île-de-France property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3459901,P36,c(Q56061))
action filter_type
action find
entity Q13917
relation P36
type Q56061
[ANSWER] is associated to that french administrative division as the capital
['Q3459901', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q13917 property:P36 ?s . ?s rdf:type ontology:Q56061 }
Paris
Paris is associated to that french administrative division as the capital
Paris
action filter_type
action find
entity Île-de-France
relation capital
type administrative territorial entity
['SOS Amitié', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Île-de-France property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q90 Q1179
P194
Q11204
USER
How many legislatures represent Paris or Aquitaine ?
(Q90,P194,c(Q11204)) (Q1179,P194,c(Q11204))
action count
action union
action filter_type
action find
entity Q90
relation P194
type Q11204
action filter_type
action find
entity Q1179
relation P194
type Q11204
['Q90', 'P194', {'concept': 'Q11204'}] ['Q1179', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { VALUES ( ?v ) { ( resource:Q1179 ) ( resource:Q90 ) } . ?v property:P194 ?q }
Paris Aquitaine
action count
action union
action filter_type
action find
entity Paris
relation legislative body
type legislature
action filter_type
action find
entity Aquitaine
relation legislative body
type legislature
['Paris', 'legislative body', {'concept': 'legislature'}] ['Aquitaine', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { VALUES ( ?v ) { ( resource:Aquitaine ) ( resource:Paris ) } . ?v property:legislative_body ?q }
[]
legislature
SYSTEM
2
Q775994 Q2994243
(Q90,P194,c(Q11204)) (Q1179,P194,c(Q11204))
action count
action union
action filter_type
action find
entity Q90
relation P194
type Q11204
action filter_type
action find
entity Q1179
relation P194
type Q11204
[ANSWER]
['Q90', 'P194', {'concept': 'Q11204'}] ['Q1179', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { VALUES ( ?v ) { ( resource:Q1179 ) ( resource:Q90 ) } . ?v property:P194 ?q }
Council of Paris Aquitaine Regional Council
2
action count
action union
action filter_type
action find
entity Paris
relation legislative body
type legislature
action filter_type
action find
entity Aquitaine
relation legislative body
type legislature
['Paris', 'legislative body', {'concept': 'legislature'}] ['Aquitaine', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { VALUES ( ?v ) { ( resource:Aquitaine ) ( resource:Paris ) } . ?v property:legislative_body ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027339
P532
Q56061 Q2235308
USER
How many ship types have their base port as greater number of administrative territories than General Nott ?
(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 Q24027339
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:Q2235308 . resource:Q24027339 property:P532 ?w } } . FILTER ( ?x > ?b ) . { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?x ) WHERE { ?p property:P532 ?m . ?p rdf:type ontology:Q2235308 . ?m rdf:type ontology:Q56061 } GROUP BY ?p } }
General Nott
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 General Nott
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:ship_type . resource:General_Nott property:port_of_registry ?w } } . FILTER ( ?x > ?b ) . { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?x ) WHERE { ?p property:port_of_registry ?m . ?p rdf:type ontology:ship_type . ?m rdf:type ontology:administrative_territorial_entity } GROUP BY ?p } }
[]
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 Q24027339
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:Q2235308 . resource:Q24027339 property:P532 ?w } } . FILTER ( ?x > ?b ) . { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?x ) WHERE { ?p property:P532 ?m . ?p rdf:type ontology:Q2235308 . ?m rdf:type ontology:Q56061 } GROUP BY ?p } }
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 General Nott
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:ship_type . resource:General_Nott property:port_of_registry ?w } } . FILTER ( ?x > ?b ) . { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?x ) WHERE { ?p property:port_of_registry ?m . ?p rdf:type ontology:ship_type . ?m rdf:type ontology:administrative_territorial_entity } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027307
P532
Q56061 Q2235308
USER
And how about Ann Davies?
(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 Q24027307
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?z ) WHERE { ?t property:P532 ?j . ?t rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q24027307 property:P532 ?v . ?v rdf:type ontology:Q2235308 } } . FILTER ( ?z > ?x ) }
Ann Davies
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 Ann Davies
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?z ) WHERE { ?t property:port_of_registry ?j . ?t rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Ann_Davies property:port_of_registry ?v . ?v rdf:type ontology:ship_type } } . FILTER ( ?z > ?x ) }
[]
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 Q24027307
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?z ) WHERE { ?t property:P532 ?j . ?t rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q24027307 property:P532 ?v . ?v rdf:type ontology:Q2235308 } } . FILTER ( ?z > ?x ) }
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 Ann Davies
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?z ) WHERE { ?t property:port_of_registry ?j . ?t rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Ann_Davies property:port_of_registry ?v . ?v rdf:type ontology:ship_type } } . FILTER ( ?z > ?x ) }
[]